android_device_samsung_msm8.../usb/android.hardware.usb@1.1-service.gts3l.rc

15 lines
554 B
Text
Raw Normal View History

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