usb: add gadget hal

* Copy from hardware/interfaces/usb/gadget/1.2/default with udc
  path changed and service renamed for Raspberry Pi.
This commit is contained in:
Konsta
2023-09-20 15:25:28 +03:00
parent 1ac293a581
commit 3f4462dd77
10 changed files with 566 additions and 64 deletions

View File

@@ -0,0 +1,7 @@
service vendor.usb-gadget-hal-1-2 /vendor/bin/hw/android.hardware.usb.gadget@1.2-service.rpi
interface android.hardware.usb.gadget@1.0::IUsbGadget default
interface android.hardware.usb.gadget@1.1::IUsbGadget default
interface android.hardware.usb.gadget@1.2::IUsbGadget default
class hal
user system
group system shell mtp