On Wed, 28 Aug 2002, Sean Atkinson wrote:

> I've just received an ACF30 USB smart card reader from
www.smartcardfocus.com, and it doesn't seem to be working under Linux.  I
installed the Windows drivers to check the hardware, and all seems fine
(it lights up when a card's inserted).  However when it's plugged in under
Linux dmesg reports:
>
> usb_control/bulk_msg: timeout

Hi!

It seems that ACS completely screwed USB in their reader. I use my own
solution to communicate to smart card readers - USB kernel driver +
modified PC/SC drivers which use /dev nodes brought by kernel
driver module. This solution does USB The Right Way (original pc/sc
directly calls usb_ functions which is considered 'improper') and allows
me to discover, that:

1. Reader uses Bulk Transfer in one direction, to reader, and Control
Transfer in another, to PC
2. Reader declares one endpoint address but of type Interrupt instead of
Bulk (which is what it really does)

> Any thoughts?

Original ACS driver does transfers in both directions (works for me)
provided that all 'improperly' used structures are identical to kernel
ones, if anything changes (which is possible from kernel version to
version - these are 'internal') driver can stop working.

Radosław Chyra

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Radosław Chyra [-ve Electronics][http://el.negativeIQ.pl]    <- Linux ->
[mailto:[EMAIL PROTECTED]]           <- It's a C++ world we live in ->
Take a glance at: http://www.upr.org.pl/                       <- UPR ->
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.musclecard.com/mailman/listinfo/muscle

Reply via email to