adbd: Update DeviceInterfaceGUID for WinUSB
The MS OS extended property descriptor is used to convey additional information to Windows hosts, in this case the DeviceInterfaceGUID which allows the inbox WinUSB driver to get automatically installed. However, the ADB windows client looks for USB devices by enumerating devices with a specific GUID {F72FE0D4-CBCB-407D-8814-9ED673D0DD6B}, and as a result fails to find the device since it was installed with a different DeviceInterfaceGUID. Update the OS descriptor to pass back the same GUID the client already uses. Change-Id: If664cdd9be821c502e8c2048ff79e79e311936f5
This commit is contained in:
parent
b773897b01
commit
b310da608b
|
@ -84,7 +84,7 @@ struct usb_os_desc_ext_prop {
|
|||
using usb_os_desc_guid_t = usb_os_desc_ext_prop<20, 39>;
|
||||
usb_os_desc_guid_t os_desc_guid = {
|
||||
.bPropertyName = "DeviceInterfaceGUID",
|
||||
.bProperty = "{64379D6C-D531-4BED-BBEC-5A16FC07D6BC}",
|
||||
.bProperty = "{F72FE0D4-CBCB-407D-8814-9ED673D0DD6B}",
|
||||
};
|
||||
|
||||
struct usb_ext_prop_values {
|
||||
|
|
Loading…
Reference in New Issue