blob: ba7d5f6948a483e4a4f0b0c82ef5c9f354880eab [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
Ricky Niub77191c2023-02-01 19:40:22 +08004 group system shell mtp
Robin Pengc2b5ca92021-02-23 20:00:28 +08005
6on post-fs
7 chown root system /sys/class/typec/port0/power_role
8 chown root system /sys/class/typec/port0/data_role
9 chown root system /sys/class/typec/port0/port_type
Manish Varma3fd056f2021-05-13 18:49:04 -070010 chown root system /sys/devices/platform/10d50000.hsi2c/i2c-5/i2c-max77759tcpc/contaminant_detection
11 chown root system /sys/devices/platform/10d50000.hsi2c/i2c-6/i2c-max77759tcpc/contaminant_detection
chungkaideca0772022-04-06 05:56:50 +000012 chown root system /sys/devices/platform/10d50000.hsi2c/i2c-7/i2c-max77759tcpc/contaminant_detection
13 chown root system /sys/devices/platform/10d50000.hsi2c/i2c-8/i2c-max77759tcpc/contaminant_detection
Albert Wanga9029922021-06-03 08:03:28 +000014 chown root system /sys/devices/platform/11110000.usb/dwc3_exynos_otg_b_sess
15 chown root system /sys/devices/platform/11110000.usb/dwc3_exynos_otg_id
16 chown root system /sys/devices/platform/11110000.usb/usb_data_enabled
Robin Pengc2b5ca92021-02-23 20:00:28 +080017 chmod 664 /sys/class/typec/port0/power_role
18 chmod 664 /sys/class/typec/port0/data_role
19 chmod 664 /sys/class/typec/port0/port_type
Albert Wanga9029922021-06-03 08:03:28 +000020 chmod 664 /sys/devices/platform/11110000.usb/dwc3_exynos_otg_b_sess
21 chmod 664 /sys/devices/platform/11110000.usb/dwc3_exynos_otg_id
22 chmod 664 /sys/devices/platform/11110000.usb/usb_data_enabled