mirror of
https://github.com/Evolution-X-Devices/device_google_redfin
synced 2026-02-01 05:34:34 +00:00
Supports to enable/disable USB data signaling Bug: 161414036 Test: Pass USB V1.3 HIDL tests Signed-off-by: Albert Wang <albertccwang@google.com> Change-Id: I85cf5282e487c1695a4cedad00b7fede2c3ad1f8
27 lines
980 B
Plaintext
27 lines
980 B
Plaintext
service vendor.usb-hal-1-3 /vendor/bin/hw/android.hardware.usb@1.3-service.redfin
|
|
class hal
|
|
user system
|
|
group system shell mtp
|
|
|
|
service init-gadgethal-sh /vendor/bin/init.gadgethal.sh
|
|
class hal
|
|
user root
|
|
disabled
|
|
oneshot
|
|
|
|
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
|
|
|
|
on post-fs
|
|
chown root system /sys/devices/platform/soc/a600000.ssusb/id
|
|
chown root system /sys/devices/platform/soc/a600000.ssusb/b_sess
|
|
chown root system /sys/devices/platform/soc/a600000.ssusb/usb_data_enabled
|
|
chmod 664 /sys/devices/platform/soc/a600000.ssusb/id
|
|
chmod 664 /sys/devices/platform/soc/a600000.ssusb/b_sess
|
|
chmod 664 /sys/devices/platform/soc/a600000.ssusb/usb_data_enabled
|