SmartCard: USB Weirdnesses
Georg C. F. Greve
greve at gnu.org
Fri May 6 09:54:46 CEST 2005
|| On Wed, 04 May 2005 21:20:15 +0200
|| "Georg C. F. Greve" <greve at fsfeurope.org> wrote:
gg> The device seems to be reset *after* successfully accessing the
Actually, when taking a look at the code, I found that in function
do_close_reader in ccid-driver.c the USB reader does indeed get reset
after every single operation.
Since those resets were what made it die, I commented the usb_reset
out and now the SmartCard reader appears to be stable without a USB
Hub even though it has an old bios.
So my feeling is that:
- unnecessary resets should really be avoided
- Linux USB code probably has some problem with the way it handles
the resets that makes devices die since it does not cause problems
for devices behind a Hub.
Georg C. F. Greve <greve at gnu.org>
Free Software Foundation Europe (http://fsfeurope.org)
Join the Fellowship and protect your freedom! (http://www.fsfe.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 306 bytes
Desc: not available
Url : /pipermail/attachments/20050506/ed4c4d9f/attachment.pgp
More information about the Gnupg-devel