blob: 3c9c1cce1f8673b007a563e6ab86dee6bad4d8cc [file] [log] [blame]
Ricky Niud6d0b7d2022-07-06 20:57:02 +08001service vendor.usb-gadget-hal /vendor/bin/hw/android.hardware.usb.gadget-service.gs101
Robin Pengc2b5ca92021-02-23 20:00:28 +08002 class hal
3 user system
Badhri Jagan Sridharan09719be2021-06-30 23:48:08 -07004 group system shell mtp wakelock
5 capabilities WAKE_ALARM BLOCK_SUSPEND
Robin Pengc2b5ca92021-02-23 20:00:28 +08006
7on post-fs
8 chown root system /sys/class/typec/port0/power_role
9 chown root system /sys/class/typec/port0/data_role
10 chown root system /sys/class/typec/port0/port_type
Manish Varma3fd056f2021-05-13 18:49:04 -070011 chown root system /sys/devices/platform/10d50000.hsi2c/i2c-5/i2c-max77759tcpc/contaminant_detection
12 chown root system /sys/devices/platform/10d50000.hsi2c/i2c-6/i2c-max77759tcpc/contaminant_detection
chungkaideca0772022-04-06 05:56:50 +000013 chown root system /sys/devices/platform/10d50000.hsi2c/i2c-7/i2c-max77759tcpc/contaminant_detection
14 chown root system /sys/devices/platform/10d50000.hsi2c/i2c-8/i2c-max77759tcpc/contaminant_detection
Albert Wanga9029922021-06-03 08:03:28 +000015 chown root system /sys/devices/platform/11110000.usb/dwc3_exynos_otg_b_sess
16 chown root system /sys/devices/platform/11110000.usb/dwc3_exynos_otg_id
17 chown root system /sys/devices/platform/11110000.usb/usb_data_enabled
Robin Pengc2b5ca92021-02-23 20:00:28 +080018 chmod 664 /sys/class/typec/port0/power_role
19 chmod 664 /sys/class/typec/port0/data_role
20 chmod 664 /sys/class/typec/port0/port_type
Albert Wanga9029922021-06-03 08:03:28 +000021 chmod 664 /sys/devices/platform/11110000.usb/dwc3_exynos_otg_b_sess
22 chmod 664 /sys/devices/platform/11110000.usb/dwc3_exynos_otg_id
23 chmod 664 /sys/devices/platform/11110000.usb/usb_data_enabled