can not receive xfer interrupt after stop xfer is called intel XHCI Gemini Lake SOC

Shichun.Ma at dell.com Shichun.Ma at dell.com
Fri Dec 27 00:59:05 UTC 2019


Background of the issue, with latest release of FreeBSD kernel.

device used: CCID smart card reader,  a PC which has Intel Gemini Lake SOC. CCID reader has an interrupt endpoint which can detect card plugin.

ccid and pcscd is used as the application that read data from smard card, and CCID is using libusb to control the transfers.

CCID may cancel URB and resubmit the URB, here is the problem: XHCI can't receive interrupt after a cancel (stop) xfer is called.

And XHCI interrupt can work normal after 1 plug-in/out.


This issue can be avoided by do not call  "xhci_cmd_configure_ep " in "xhci_configure_reset_endpoint"


I wish to confirm, is there any guy encounter similar issue?



Thanks & Regards,

Shichun Ma
Software Engineer
Dell | Cloud Client Computing
office +86 10 82862579,  Mobile +86 13241851528
shichun_ma at dell.com<https://mymail.ap.dell.com/owa/redir.aspx?C=uPOrYjgya0C5bBLwgkoWNY7P8Ilwg9MI8ATWIwmDlYQHlJ86n78H9fPUPlHLsPjzuTLRK07T_LQ.&URL=mailto%3ashichun_ma%40dell.com>




More information about the freebsd-usb mailing list