android_device_samsung_msm8.../usb/android.hardware.usb@1.1-service.gts3l.rc
Deokgyu Yang 02403a83e9 gts3l: usb: Add USB HAL implement
This is from LineageOS/samsung_gts4lv-common, lineage-17.1.
Now it should support USB accessories including audio stuffs.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I284b239c4973b4a01dabc841d5b9202d07943fbf
2021-05-21 01:41:01 +09:00

12 lines
448 B
Text

service vendor.usb-hal-1-1 /vendor/bin/hw/android.hardware.usb@1.1-service.gts3l
class hal
user root
group root system
on boot
chown root system /sys/class/typec/port0/power_role
chown root system /sys/class/typec/port0/data_role
chown root system /sys/class/typec/port0/port_type
chmod 664 /sys/class/typec/port0/power_role
chmod 664 /sys/class/typec/port0/data_role
chmod 664 /sys/class/typec/port0/port_type