From aa886490f32e0cfcbd577472aef890eda0a1ee4e Mon Sep 17 00:00:00 2001 From: Wesley Cheng Date: Wed, 5 Jul 2023 18:22:45 -0700 Subject: [PATCH] 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) --- init/ueventd.qcom.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init/ueventd.qcom.rc b/init/ueventd.qcom.rc index e70d9d2..5f0a373 100644 --- a/init/ueventd.qcom.rc +++ b/init/ueventd.qcom.rc @@ -487,6 +487,9 @@ subsystem mem_buf_vm #USB root hub authorize setting /sys/bus/usb/devices/usb* authorized 0660 system usb +#USB mode setting +/sys/bus/platform/devices/a600000.ssusb mode 0660 system usb + #Memory Offline /sys/devices/system/memory/memory* state 0660 system system