2013/8/21 Xiaofan Chen <xiaof...@gmail.com>

> I think in the past we have fixed a few issues for some of the Renesas
> and Intel issues. Could you give more details of the USB host
> controllers you are seeing the problems? And you may want to
> list the driver version you are using. Maybe the vendors have
> already come out with some new version of the drivers which
> fixes the problems.
>

Intel 7 series/C210 XHCI controller (dev 1e31) rev 4, driver versions 1.0.4.225
and 1.0.8.251.
Renesas uPD720201/uPD720202 (dev 0194), driver version  2.0.32.0. (I'm not
certain which chip, I haven't looked at the board to identify.)
Texas Instruments XHCI controller 73x0 rev 2, driver version 1.12.24.0.
(Again, I'm not sure whether it's the 7320 or 7340, I haven't looked at the
board to try to identify.)

Here's what quirks/bugs I'm seeing with the different controllers:
Intel: IOCTL_USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION inconsistently fails
with ERROR_GEN_FAILURE. (It fails about 50% of the time on the same machine
with the same test program being run repeatedly.)

Renesas: both IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX and
IOCTL_USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION fail with
ERROR_INVALID_PARAMETER.

TI: IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX returns success, but
doesn't modify the buffer. Since the buffer is set to 0 prior to calling
it, this results in the connection status being left at NoDeviceConnected.
IOCTL_USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION fails with ERROR_GEN_FAILURE.

I have a hack that works for me by falling back to WinUsb when these ioctls
fail, but it's pretty hacky since I don't actually know (in GEN_PASS)
whether the device is a WinUsb device or not. I'll work on postponing the
ioctls until DEV_PASS to have something a little more concrete (and less
ugly) to propose.

Thanks,
--Juan
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to