Hello everyone,

This is the first patch I ever try to submit, so please forgive me if I'm
doing something terribly wrong. :-) Anyway, I have a 128 MB USB Memory Key
by IBM, and without my patch it doesn't work at all. It was telling about
"usb_control/bulk_msg: timeout" all the time.

Then I did find out the other IBM USB Memory Key patch already submitted
to some 2.4.21-pre kernel and just changed the idProduct to match with the
one I have. Voila!, the memory stick started to work.

Here's the patch against kernel 2.4.21-pre4:

--- unusual_devs-2.4.21-pre4.h  2003-01-29 20:51:24.000000000 +0200
+++ unusual_devs.h      2003-01-29 20:51:55.000000000 +0200
@@ -541,0 +542,6 @@
+
+UNUSUAL_DEV(  0x0a16, 0x9989, 0x0100, 0x0100,
+               "IBM",
+               "IBM USB Memory Key",
+               US_SC_SCSI, US_PR_BULK, NULL,
+               US_FL_FIX_INQUIRY ),

and here's the information about my USB memory key, reported by lsusb:

Bus 001 Device 003: ID 0a16:9989 Trek Technology (S) PTE Ltd.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 Interface
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0a16 Trek Technology (S) PTE Ltd.
  idProduct          0x9989
  bcdDevice            1.00
  iManufacturer           1 IBM
  iProduct                2 IBM USB Memory Key
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          3
    bmAttributes         0x80
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
  Language IDs: (length=4)
     0409 English(US)





-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to