Re: Device enumeration fails in Linux. Success in Windows

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

 



On Mon, Jan 04, 2010 at 06:27:19PM +0530, Ramya Desai wrote:
> Dear All,
> 
> When I try to enumerate my MS device using Linux, I am getting
> Timeout. Increasing the time using usb_control_msg() also has no
> effect on enumeration.
> Where as if I try to do the same using windows machine, it is getting
> enumerated. I am using the kernel version 2.6.31-5 . Are there any
> timing issues in this kernel ?

One difference that may be an issue for you is that the Linux
enumeration sequence is slightly different than the Windows sequence.
If your device is timing out because it doesn't expect the different
sequence, it may be causing your problems.

With a USB 3.0 device, Linux will skip the device reset (since it has
already been link trained), set the device address, ask for 8 bytes of
the device descriptor, and then ask for the rest of the descriptor.
Windows will probably do a device reset, an 8 byte descriptor fetch, a
set address, and then a full descriptor fetch.  Your device must handle
either enumeration sequence.

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