Re: [PATCH 1/5] USB: Add parsing of SuperSpeed endpoint companion descriptor.

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

 



On Fri, 23 Apr 2010, Sarah Sharp wrote:

> > Does this look okay to you?  I don't have any way to test it.
> 
> Yes and no.  Everything seems to behave properly with all the USB
> devices I have; the I can read and write to the USB 3.0 hard drives,
> etc.  (The one thing I don't have is a USB 3.0 device that has
> descriptors between the SuperSpeed Endpoint Companion Descriptor and the
> next Endpoint Descriptor, like a UAS device would have).
> 
> However, some devices are missing from the lsusb output, which is very
> strange.  Specifically, the roothub is always missing, and any hubs
> directly connected to it disappear after a device has been plugged into
> them.  Hubs further up the tree do not disappear from the lsusb output.
> I think this might be related to the fact that the roothub doesn't have
> a SuperSpeed Endpoint Companion Descriptor.

Very weird indeed.  What shows up in /sys/kernel/debug/usb/devices?  If 
that looks all right then maybe the problem is somehow in lsusb.  You 
can find out what lsusb is up to by doing

	echo 1 >/sys/module/usbcore/parameters/usbfs_snoop

before starting the program and then looking at the dmesg log after it 
runs.

> I'm not sure what to make of this, since the patch looks correct to me.
> Reverting the patch creates normal lsusb output, so I know the patch
> must be the cause of the issue.

If /sys/kernel/debug/usb/devices comes out wrong then there's 
definitely a bug in the patch.  But with no USB-3 hardware here, I'll 
have to ask you to debug it.

Alan Stern

--
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