Linux xHCI driver problems

2012-09-24 Thread Yuliya T
Dear Sarah, We noticed a couple of problems with the Linux xHCI driver: 1. There is a problem with URB cancellation for USB 2.0 device on USB 3.0 host. When we disable our device, we cancel all pending URBs by calling ioctl with the request code of USBDEVFS_DISCARDURB. When we re-enable our devi

Re: Linux xHCI driver problems (reset ep)

2012-10-02 Thread Yuliya T
Hi Sarah, >> 2. Clear Halt of EP > > Also note that the xHCI hardware will only allow the Reset Endpoint to > complete if the endpoint was actually halted due to a stall, babble, > transfer error, etc. It won't reset the endpoint toggles or sequence > number at arbitrary points, so we can't reset

Re: Linux xHCI driver problems (reset ep)

2012-10-12 Thread Yuliya T
u are releasing access to the device just to keep using it. While it is unlikely that we will have some other process come in and grab the interface, it still just strikes us as unclean. Yuliya On Wed, Oct 3, 2012 at 8:13 AM, Alan Stern wrote: > On Tue, 2 Oct 2012, Yuliya T wrote: > >&

Re: Linux xHCI driver problems (reset ep)

2012-10-17 Thread Yuliya T
Hi Alan and Sarah, I confirmed that simply calling usb_set_altinterface (which via libusb calls the kernel function usb_set_interface) does correctly clear the toggle bits for USB2 or sequence number for USB3 on an XHCI host controller, even when the alternate interface setting is the same as the

Re: Sequence number not incremented for large control transfer

2012-10-17 Thread Yuliya T
l for these transactions. Thanks. Yuliya On Tue, Oct 2, 2012 at 5:23 PM, Yuliya T wrote: > We ran into a problem when using ASMedia Technology Inc. ASM1042 > SuperSpeed USB Host Controller (integrated on the desktop's > motherboard) with Linux xHCI driver. The host is sending the &g

Re: Linux xHCI driver problems (URB cancellation)

2012-10-17 Thread Yuliya T
ernel debugging turned on). Thanks, Yuliya On Tue, Oct 2, 2012 at 5:09 PM, Yuliya T wrote: > Hi Sarah, > >>> Re: URB Cancellation for USB 2.0 device on xHCI host >> >> Which host controller are you running under? Please send the output of >> `sudo lspci -vvv` and `sudo