summaryrefstree
path: root/vendor/etc/init/android.hardware.usb.gadget-aidl-service.mediatek.rc
blob: a2e32de1232e2a0fe08f4e89ff77f056c38975af (plain)
1
2
3
4
5
6
7
8
9
10
on boot
    chown root system /sys/class/udc/${sys.usb.controller}/current_speed
    chown root system /sys/class/udc/${sys.usb.controller}/soft_connect
    chmod 444 /sys/class/udc/${sys.usb.controller}/current_speed
    chmod 220 /sys/class/udc/${sys.usb.controller}/soft_connect

service vendor.usb_gadget_default /vendor/bin/hw/android.hardware.usb.gadget-aidl-service.mediatekv1.0
    class hal
    user system
    group system mtp shell