Re: [xhci-host] change device configuration assistance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 06, 2011 at 09:56:05AM +0300, Tanya Brokhman wrote:
> > > [   65.694680] xhci_hcd 0000:01:00.0: Wrote link toggle flag to
> > segment ffff880122acc460 (virtual), 0xc5021000 (DMA)
> > > [   65.694683] xhci_hcd 0000:01:00.0: WARN no SS endpoint bMaxBurst
> > 
> > Do you have a SuperSpeed Endpoint Companion descriptor for all your
> > endpoints?  Because this message seems to indicate you don't.  Can you
> > send me the lsusb -vvv for your device?
> 
> Lsusb log is attached. We do have SS Endpoint Companion descriptor, I think
> the warning here is because the bMaxBurst field of the Endpoint Companion
> descriptor is 0.
> 
> > > [  108.742142] xhci_hcd 0000:01:00.0: Wrote link toggle flag to
> > segment ffff880037bde560 (virtual), 0x37a93400 (DMA)
> > > [  108.742146] xhci_hcd 0000:01:00.0: WARN no SS endpoint bMaxBurst
> > 
> > More issues with the SuperSpeed Endpoint Companion descriptors here.
> 
> Is it a problem that we report that bMaxBurst is 0?

Looking at the spec, no, there shouldn't be a problem.  I should remove
that warning, I suppose.  I guess I've just never seen a USB 3.0 device
that couldn't burst more than one packet.

> Bus 010 Device 003: ID 0525:a4a5 Netchip Technology, Inc. Linux-USB File Storage Gadget
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               3.00
>   bDeviceClass            0 (Defined at Interface level)
>   bDeviceSubClass         0 
>   bDeviceProtocol         0 
>   bMaxPacketSize0         9
>   idVendor           0x0525 Netchip Technology, Inc.
>   idProduct          0xa4a5 Linux-USB File Storage Gadget
>   bcdDevice            0.00
>   iManufacturer           2 Linux 2.6.39+ with pcd
>   iProduct                3 Mass Storage Gadget
>   iSerial                 0 
>   bNumConfigurations      2
>   Configuration Descriptor:
>     bLength                 9
>     bDescriptorType         2
>     wTotalLength           44
>     bNumInterfaces          1
>     bConfigurationValue     1
>     iConfiguration          0 
>     bmAttributes         0xc0
>       Self Powered
>     MaxPower                2mA
>     Interface Descriptor:
>       bLength                 9
>       bDescriptorType         4
>       bInterfaceNumber        0
>       bAlternateSetting       0
>       bNumEndpoints           2
>       bInterfaceClass         8 Mass Storage
>       bInterfaceSubClass      6 SCSI
>       bInterfaceProtocol     80 Bulk (Zip)
>       iInterface              1 Mass Storage
>       Endpoint Descriptor:
>         bLength                 7
>         bDescriptorType         5
>         bEndpointAddress     0x81  EP 1 IN
>         bmAttributes            2
>           Transfer Type            Bulk
>           Synch Type               None
>           Usage Type               Data
>         wMaxPacketSize     0x0400  1x 1024 bytes
>         bInterval               0
>         ** UNRECOGNIZED:  06 30 00 00 00 00

Oh, what version of lsusb are you using?  The latest version of usbutils
has support to display the SuperSpeed Endpoint Companion descriptor.
The git repo is here, if you're interested:

git://kernel.org/pub/scm/linux/kernel/git/gregkh/usbutils.git

But yes, it looks like you do have the SuperSpeed Endpoint Companion
descriptor.

Sarah Sharp
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux