Hi.

>         Is there anybody here successful using Linux
> driver with Towitoko ChipDrive Micro Reader?

Yes, but I wrote them myself ;)

>         I baught one of this SmartCard reader from
> Autostart Singapore. It came with an example memory
> card, [...]
> But when I try with Linux driver written by
> Carlos Prados, the CT-API version 1.6.3, it error
> when try to reset and get ATR response from card.
> Other functions like activate, deactivate,
> set LED (even though this reader has no LED), and
> card detect work fine.

That is one problem I had in the beginning, too. The
answer to your question is simple. Carlos driver does
only support one of five different mainstream protocol
types, T=0. T=0 is used for processor cards, like
GSM-SIM-Cards for mobile telefones. T=0 is one
of two asynchronous protocols, the other is called
T=1. Apart from this protocol family there is those of
the synchronous protocols, which are used for memory
cards. It consists of three members: 2-wire, 3-wire
and I2C. 

I would guess that you have tried to use the memory
card that was delivered with the reader with Carlos
routines. That would be the same failure I made some
months ago. This wonīt work. You would need a driver
that supports the protocol that the card speaks that
you want to use. To determine which protocol a card
speaks you can take the "smartcard explorer" from the
Towitoko CD.

For the i2c-protocol there is another library written
by the "Towitoko Driver Project". For more information
on that you should have a look at
http://www.penguinteam.org/towitoko. Matthias Bruestle
wrote a library that supports every Chipdrive family
reader beside others and can handle synchronous
protocols iirc. But I couldnīt find the right URL. He
is reading this list, maybe he tells you :)
I wrote my own lib that implements only T=1. There has
been one release only yet and it had a lot of bugs.
I didnīt had the time to finish work on the next
version, especially on the documentation.

Hope that helps a bit.

cu, Mike


***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************

Reply via email to