[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] usb: change VID/PID for usb-hub and usb-msd to
From: |
Roy Tam |
Subject: |
Re: [Qemu-devel] [PATCH] usb: change VID/PID for usb-hub and usb-msd to prevent conflict |
Date: |
Fri, 16 Sep 2011 08:14:27 +0800 |
2011/9/16 Gerd Hoffmann <address@hidden>:
> On 09/15/11 05:25, Roy Tam wrote:
>>
>> Some USB drivers, for example USBASPI.SYS, will skip different type of
>> device which has same VID/PID. The following patch helps preventing
>> usb-msd being skipped by the driver.
>
> How and why did you pick those IDs?
>
>> static const USBDesc desc_hub = {
>> .id = {
>> - .idVendor = 0,
>> - .idProduct = 0,
>> + .idVendor = 0x0409,
>> + .idProduct = 0x55aa,
>
> lsusb says: Bus 004 Device 002: ID 0409:55aa NEC Corp. Hub
>
> Looks sensible. Is that actually a USB 1.1 Hub?
>
Yes. If you want a USB 2.0 ID, use 0x03f0:0x2002 (HP Hub) instead.
Using USB 1.1 ID to prevent "High Speed" information cloud in XP.
BTW I can't add "usb-ehci" in my MinGW build, it just not available in
"-device ?".
>> static const USBDesc desc = {
>> .id = {
>> - .idVendor = 0,
>> - .idProduct = 0,
>> + .idVendor = 0x46f4,
>> + .idProduct = 0x0001,
>
> lsusb doesn't find those IDs in the database.
>
This is expected. Just like my ATA-to-USB adapter which has
0x152D:0x2338 and not in usb.ids.
0x46f4 is CRC16() of "QEMU".
> cheers,
> Gerd
>
>