device_google_zumapro/usb/usb
Kuen-Han Tsai 5cfc68b55b Limit hub tuning when enable_hub is enabled
Some external hubs have the same VID and PID as the internal hub,
causing unintended hub tuning and compatibility issues.

This patch restricts hub tuning to only the internal hub located on
bus 1, port 1 when enable_hub is set to 1.

Bug: 353650207
Test: Verified an external GL852G speakerphone dock works when docked.
Test: adb shell cmd android.hardware.usb.IUsb/default hub-vendor-cmd <hex wValue> <hex wIndex>
Flag: EXEMPT bugfix
Change-Id: I381f3883c90628753f0e5e9c11eb546fb15ce679
Signed-off-by: Kuen-Han Tsai <khtsai@google.com>
2024-08-06 09:45:05 +00:00
..
Android.bp switch over to use new storage read api instead of 2024-06-07 13:09:09 +00:00
android.hardware.usb-service-i2c6.rc Add shell command to send vendor command to GL852G 2024-05-22 00:49:45 +00:00
android.hardware.usb-service-i2c11.rc Add shell command to send vendor command to GL852G 2024-05-22 00:49:45 +00:00
android.hardware.usb-service.xml usb: update usb hal version to v3 2023-11-16 00:03:56 +00:00
service.cpp init zumapro from zuma sha 4daedb8feb4d4 2023-03-31 15:10:16 +00:00
Usb.cpp Limit hub tuning when enable_hub is enabled 2024-08-06 09:45:05 +00:00
Usb.h usb: Log for retry on role switch 2024-06-13 17:04:11 +08:00
UsbDataSessionMonitor.cpp usb: dump flag value in the constructor 2024-01-10 10:47:32 +00:00
UsbDataSessionMonitor.h usb: implement heuristics to flag data compliance warnings 2023-12-26 23:12:07 +00:00