Files
device_google_wahoo/usb/android.hardware.usb@1.0-service.device.rc
Badhri Jagan Sridharan 1cf5094895 USB HAL: type-c hal for muskie/walleye
Bug: 36097487
Test: Manually tested role swap and UI behavior
Change-Id: I5ce520da521e0714001b60164ac850dddbd644c3
2017-03-27 20:18:35 +00:00

11 lines
369 B
Plaintext

service usb-hal-1-0 /vendor/bin/hw/android.hardware.usb@1.0-service.device
class hal
user system
group system
on boot
chown root system /sys/class/typec/usbc0/current_power_role
chown root system /sys/class/typec/usbc0/current_data_role
chmod 664 /sys/class/typec/usbc0/current_power_role
chmod 664 /sys/class/typec/usbc0/current_data_role