Commit Graph

22 Commits

Author SHA1 Message Date
Anjelique Melendez
880748ed9e sm8550-common: ueventd: Add group permissions for LED repeat and hw_pattern sysfs
Add group permissions for LED device pattern trigger's repeat and
hw_pattern sysfs files.

Change-Id: I95492e7305107776c3dc0f610ea6fec5c5a6d12d
2025-07-12 08:37:46 -03:00
Wesley Cheng
aa886490f3 sm8550-common: ueventd: Modify DWC3 MSM mode file settings
In order for the USB HAL to issue a USB port reset, the ownership for the
mode sysfs path needs to be under the system usb group.

Change-Id: I8c330206c40b9c355fbe2f9beba0dde406026912
(cherry picked from commit 9daea1b9f6ce27f72e5b8e2a05bb7ae30acdb49d)
2025-07-12 08:37:46 -03:00
Wesley Cheng
88ce57ae4e sm8550-common: ueventd: Modify USB root hub authorize setting
Change the ownership of the authorize file to allow the USB bus reset audio
recovery mechanism in the USB HAL to work.  This only modifies the
ownership of the USB root hubs that are present on the system.  For all
other connected devices, the default ownership is fine, as the recovery is
only allowed on direct connection to the USB root hub.

Change-Id: Idbce78b52054f75c09891aa1c1c827dda60f1d0a
2025-07-12 08:37:46 -03:00
Jack Pham
e46e4d58f4 sm8550-common: ueventd: Change ownership of USB device power control settings
Change ownership of USB devices' power autosuspend, control and wakeup
file nodes to system user and usb group.  This allows the USB HAL
running as non-root to dynamically enable autosuspend for enumerated
devices.

Change-Id: I92806107a46ea0256cef5f211e7ea910541f1705
2025-07-12 08:37:46 -03:00
Anjelique Melendez
bca43271cb sm8550-common: ueventd: Add group permissions for haptics class sysfs files
Add group permissions for haptics class visense_enabled and
primitive_duration sysfs files.

Change-Id: I1796b991bb79b4da8b524e35612a3f1928db7d83
2025-07-12 08:37:46 -03:00
Jack Pham
d40dd074e5 sm8550-common: ueventd.qcom.rc: Reassign Type-C sysfs node ownership
Assign the /sys/class/typec/port0 entries for data and power
role switching to system / usb ownership to allow the USB HAL
to run as non-root and write to these nodes.

Change-Id: I6317a5e6ef99179570e87705cd43a8fa667f0d03
2025-07-12 08:37:46 -03:00
Phani Deepak Parasuramuni
6c57ca3875 sm8550-common: Add ipa_events node permissions
Change-Id: I448bfeb9e575b1c8acc929b7eefb3ad4ae024ef1
2025-07-12 08:37:46 -03:00
Huang Yiwei
6d7fec7bc8 sm8550-common: ueventd: Update RemoteProc state user and group
Update RemoteProc state user and group, so system health monitor
service can trigger a RemoteProc restart.

Change-Id: I63da50a498d15e9c98607b277a26812513553219
2025-07-12 08:37:46 -03:00
Umesh Vats
5093a04945 sm8550-common: UWB: Update Q2SPI device user and group
Updated user and group for Q2SPI UWB device.

Change-Id: I50b19e83c54a103d03707f910b62a9bc14407114
(cherry picked from commit 01d6f18dd892ce96e1ee672fb2fc831959e8aae6)
2025-07-12 08:37:46 -03:00
Shashank Sivakumar
8ff5de79ea sm8550-common: Add permission for gunyah node
For AVF, the permission for the /dev/gunyah node is set in the ueventd
file.

Change-Id: Id8ce809c744bac4be70f8bbfd65c39f3703d82fa
2025-07-12 08:37:46 -03:00
Ekansh Gupta
b6045c7473 sm8550-common: ueventd: Add fastrpc upstream driver device permissions
Add rwx permissions for fastrpc upstream device node.

Change-Id: I9d178f8af63406d8aebfc19556d4604ee9ff3dc1
2025-07-12 08:37:46 -03:00
Chris Goldsworthy
2a76ca1a8c sm8550-common: ueventd: Add ueventd policies for the SMMU proxy device
Add ueventd policies for the SMMU proxy device.

Change-Id: I88037bb152bc4daf74e6b2c3f95214145425cb3d
2025-07-12 08:37:46 -03:00
Himanshu Shukla
a022e23089 sm8550-common: Add device node for IMS
Desc: Add device node for Data Channel sub wise

Change-Id: I2a77d860f347c7217876cd69b0eadd0510ca0d0c
2025-07-12 08:37:46 -03:00
Satish Kumar Kodishala
efd4682f7f sm8550-common: Add permissions for btfmswr node
Add permissions for btfmswr node to be
able to access from FTM.

CRs-Fixed: 3794899
Change-Id: Ib4d5f0fbba261439ed931aae4e73b21ca43bc9c6
2025-07-12 08:37:46 -03:00
Rama Krishna Nunna
293b201063 sm8550-common: ueventd: Add UBWCP permission for Camera
- Add permission for the new ubwcp device.

Change-Id: I9e5954cdd40391b9f98531a78fa5cf1d0abc32a3
2025-07-12 08:37:46 -03:00
Ethan Chen
c7d9f66130 sm8550-common: Remove wigig components
Change-Id: If730bffdf749f30ddf0dfeec8ce769848b19b17e
2025-07-06 23:18:27 -03:00
Zun Qiao
5d9c711014 sm8550-common: init: Add permission for HDMI-IN bridge UXE
Add permission for HDMI-IN bridge UXE

Change-Id: Id540007a14d6e3a9e2623b7a5a9118d120c8dd83
2025-04-25 21:35:54 +08:00
Zun Qiao
d7b86c9a8d sm8550-common: init: Add permission for DP bridge driver
Add permission for DP bridge driver

Change-Id: I5e31e61caac8b3b2f9cea6ce633136c1728ba343
2025-04-25 21:35:54 +08:00
chaptsand
4f23356c79 sm8550-common: init: Checkout to LA.VENDOR.13.2.0.r1-22400-KAILUA.QSSI14.0
Change-Id: I02932f3da7923dfc8b4fcdc04f98f89cbb610c69
2024-04-06 16:07:27 +08:00
PRANAY BHARGAV BHAVARAJU
2590d1bf37 sm8550-common: init: Avoid setting permission for /dev/hw_random
Below patch from system/core is setting required access policy
for /dev/hw_random. And CTS test is updated accordingly

https://android-review.googlesource.com/c/platform/system/core/+/2229337
https://android-review.googlesource.com/c/platform/cts/+/2232052

Change-Id: I762dfa3b1e84dee6c49fc178b5b75cf1c134cfb7
2023-10-06 23:20:54 +08:00
chaptsand
a0f579ec47 sm8550-common: Import device specific init modifications
Change-Id: I1d3aa5c661f169b6585924471e91c8d166e0e7ab
2023-10-06 10:57:52 +08:00
chaptsand
7bbddae53a sm8550-common: Import QCOM init scripts from LA.VENDOR.13.2.0.r1-15000-KAILUA.0
Change-Id: I43f08ebf85177675166116e41f761677446675dc
2023-10-06 09:51:15 +08:00