Hello Alan,

thanks for the quick response.

On 18.02.08, Alan Stern wrote:
> On Mon, 18 Feb 2008, Alan Stern wrote:
> > On Mon, 18 Feb 2008, Michael SCHINDLER wrote:
> > 
> > > I have recompiled the kernel with USB debugging, and now I see
> > > explicitly that EHCI hands over the device to its companion driver
> > > OHCI (see below).
> > > 
> > > However, I do not yet know why this happens and how I can avoid it and
> > > have the device handled by EHCI at full speed. Is it sufficient to
> > > create a new entry in unusual_dev.h? How do I specify the capability
> > > of USB2.0 there?

> > Judging from your log, the reason the handover occurs is because your 
> > device doesn't support high-speed operation.  To confirm this, let's 
> > see what "lsusb -v" has to say about the device.

The output from lsusb -v for the device is below. I tested the device
with MacOSX and found a transfer rate corresponding to high-speed
(approximately the same as for a nicely working USB key, see below).

In the meantime, I have tested the device with a different linux
computer (also debian lenny) and found the same transfer rates. Only,
this time the companion driver is UHCI and not OHCI. The logs below
correspond to this situation.

> Another possible explanation is that your computer's EHCI controller 
> doesn't work properly.  Can you run any devices attached to that USB 
> port at high speed?

Yes, I can. For comparison, I include the output from  lsusb -v for a
Toshiba USB key, which works nicely.


Michael

-------------- lsusb -v for the strange MP3-player ----------------

Bus 001 Device 002: ID 04e8:9826 Samsung Electronics Co., Ltd 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        16
  idVendor           0x04e8 Samsung Electronics Co., Ltd
  idProduct          0x9826 
  bcdDevice            1.00
  iManufacturer           1 NewTech Inc.
  iProduct                2 USB Mass Storage Device 2.0
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              200mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval             255



-------------- lsusb -v for a working USB key ----------------

Bus 005 Device 004: ID 0930:6528 Toshiba Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0930 Toshiba Corp.
  idProduct          0x6528 
  bcdDevice            1.00
  iManufacturer           1 TOSHIBA
  iProduct                2 TransMemory
  iSerial                 3 0A81F750B0F04A48
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              200mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               4
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)





-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to