Update android_winusb.inf , add compatible ID#23
Update android_winusb.inf , add compatible ID#23alongL wants to merge 4 commits intokoush:masterfrom alongL:master
Conversation
If there is no suitable configuration up here, compatible ID is also useable. %CompositeAdbInterface% = USB_Install, USB\Class_FF&SubClass_42&Prot_01 %SingleAdbInterface% = USB_Install, USB\Class_FF&SubClass_42&Prot_03 You can get some information from http://msdn.microsoft.com/en-us/library/windows/hardware/ff553356(v=vs.85).aspx The adb interface is always defined as USB\Class_FF&SubClass_42&Prot_01 in adb.h as follow: #define ADB_CLASS 0xff #define ADB_SUBCLASS 0x42 #define ADB_PROTOCOL 0x1 see https://github.com/jcs/adb/blob/master/adb.h#L436
|
Oh, is this a catch all then? |
|
Yes, if we just keep this in .inf file, windows can also use the driver when you plug in an Adb device. |
|
I found there is a bug if you add these two lines in .inf file. info2cat will report some error. |
|
Please look at this universal driver , it has only these two lines in the .inf files and is signed. |
|
it works very well thank you |
|
@koush if you are still interested I figured out a very easy way to generate the cat and sign/install the driver |
If there is no suitable configuration up here, compatible ID is also useable.
%CompositeAdbInterface% = USB_Install, USB\Class_FF&SubClass_42&Prot_01
%SingleAdbInterface% = USB_Install, USB\Class_FF&SubClass_42&Prot_03
You can get some information from http://msdn.microsoft.com/en-us/library/windows/hardware/ff728853(v=vs.85).aspx
The adb interface is always defined as USB\Class_FF&SubClass_42&Prot_01 in adb.h as follow:
define ADB_CLASS 0xff
define ADB_SUBCLASS 0x42
define ADB_PROTOCOL 0x1
see https://github.com/jcs/adb/blob/master/adb.h#L436