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
This commit is contained in:
committed by
Mezaque Silver
parent
bca43271cb
commit
e46e4d58f4
@@ -478,6 +478,12 @@ subsystem mem_buf_vm
|
||||
# USB Dynamic Disable
|
||||
/sys/bus/platform/devices/a600000.ssusb dynamic_disable 0220 root usb
|
||||
|
||||
# USB autosuspend/wakeup settings
|
||||
/sys/bus/usb/devices/* power/autosuspend 0660 system usb
|
||||
/sys/bus/usb/devices/* power/autosuspend_delay_ms 0660 system usb
|
||||
/sys/bus/usb/devices/* power/control 0660 system usb
|
||||
/sys/bus/usb/devices/* power/wakeup 0660 system usb
|
||||
|
||||
#Memory Offline
|
||||
/sys/devices/system/memory/memory* state 0660 system system
|
||||
|
||||
|
Reference in New Issue
Block a user