Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2008 18:07:44 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org
Subject:   Re: USB Smart card reader/writer problem
Message-ID:  <200803061807.46113.hselasky@c2i.net>
In-Reply-To: <20080306183641.c941b83a.vlady@gbservices.biz>
References:  <20080306183641.c941b83a.vlady@gbservices.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 06 March 2008, Vladimir Terziev wrote:
> 	Hi,
>
> 	i have ACS ACR38T Smart card reader/write device (idVendor=0x072f,
> idProduct=0x90cc), which is an USB stick. I try to make it to work under
> FreeBSD (trys have been done on 5.4, 5.5 and 6.2).
>
> 	The device has 3 endpoints -- interrupt-in, configured as /dev/ugenX.1 and
> bulk-in/bulk-out, configured as /dev/ugenX.2.
>
> 	Neither the driver from openct-0.6.14 port nor the driver from ccid-1.3.5
> port work for the device.
>
> 	The communication with the device gets stuck on BULK-OUT operations.
> write(2) calls to /dev/ugenX.2 hang forever despite the timeout set with
> USB_SET_TIMEOUT.
>
> 	The device has been tested to work under Windoze, so as general, it's not
> broken, but just irresponsive.
>
> 	Could someone give me some clues about the nature of the problem ?
>
> 	Thanks in advance!
>
> 		Vladimir

Hi,

Some USB devices have problems with Clear Stall. FreeBSD usually clears the 
stall on the endpoints before starting to use them. Some devices empty the 
fifo when receiving this clear stall, and does not requeue the data. That is 
why your device most likely does not work.

--HPS



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