android_device_samsung_msm8.../usb/android.hardware.usb@1.1-service.gts3l.rc
Deokgyu Yang 8e7f2eebf9 gts3l: usb: Import USB HAL and it contains vinf itself
The USB HAL is from LineageOS/samsung_gts4lv-common, lineage-18.1

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I4800a5ccffcab78a1ac2e5605c6df37ad785b763
2021-05-24 22:24:25 +09:00

14 lines
554 B
Text

service vendor.usb-hal-1-1 /vendor/bin/hw/android.hardware.usb@1.1-service.gts3l
interface android.hardware.usb@1.1::IUsb default
interface android.hardware.usb@1.0::IUsb default
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