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
for these transactions. Thanks. Yuliya On Tue, Oct 2, 2012 at 5:23 PM, Yuliya T yuliyat...@gmail.com 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

Re: Linux xHCI driver problems (URB cancellation)

2012-10-17 Thread Yuliya T
debugging turned on). Thanks, Yuliya On Tue, Oct 2, 2012 at 5:09 PM, Yuliya T yuliyat...@gmail.com 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 lspci -vvv -n`. I have

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 the

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