mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-01-27 18:19:03 +00:00
RNDIS: expose as Wireless Controller device base class
RNDIS kernel driver will expose itself as USB_CLASS_WIRELESS_CONTROLLER 0xe0, SubClass:01, Protocol:03 to work on Linux, MacOS and Windows. Bug: 66725783 Change-Id: I8534dee9077e9f5a939d6964e4d25f9e4ad05d58 Signed-off-by: Thierry Strudel <tstrudel@google.com>
This commit is contained in:
@@ -52,6 +52,7 @@ on boot
|
||||
setprop sys.usb.controller "a800000.dwc3"
|
||||
write /sys/module/libcomposite/parameters/disable_l1_for_hs "y"
|
||||
symlink /config/usb_gadget/g1/configs/b.1 /config/usb_gadget/g1/os_desc/b.1
|
||||
write /config/usb_gadget/g1/functions/gsi.rndis/rndis_wceis 1
|
||||
|
||||
on property:sys.usb.config=none && property:sys.usb.configfs=1
|
||||
write /config/usb_gadget/g1/os_desc/use 0
|
||||
|
||||
Reference in New Issue
Block a user