Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2019 00:58:51 +0000
From:      <Shichun.Ma@dell.com>
To:        <freebsd-usb@freebsd.org>, <hps@selasky.org>
Subject:   can not receive xfer interrupt after stop xfer is called intel XHCI Gemini Lake SOC
Message-ID:  <1577408331523.24347@Dell.com>

next in thread | raw e-mail | index | archive | help

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@dell.com<https://mymail.ap.dell.com/owa/redir.aspx?C=uPOrYjgya0C5bBLwgkoWNY7P8Ilwg9MI8ATWIwmDlYQHlJ86n78H9fPUPlHLsPjzuTLRK07T_LQ.&URL=mailto%3ashichun_ma%40dell.com>;





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1577408331523.24347>