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?

  static const USBDesc desc = {
      .id = {
-        .idVendor          = 0,
-        .idProduct         = 0,
+        .idVendor          = 0x46f4,
+        .idProduct         = 0x0001,

lsusb doesn't find those IDs in the database.

cheers,
  Gerd


Reply via email to