>I've written I2C support into Carlos' driver.  It seems to work fine,
>but there is still some stuff I'm trying to figure out.  One is how
>the Win32 driver figures out the size of the I2C card and pagemode, etc.
>
>I was sniffing the serial port while Smartcard Explorer was running, it
>seems to be sending some commands that aren't listed in the doc.  I've
>written to Towitoko regarding this, but as of yet, received no response.
>
>If anyone wants the updated code, let me know.
>
>--Chris
>
>On Tue, 14 Dec 1999, Michael Renzmann wrote:
>
>> 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
>> ***************************************************************
>>
>

David Corcoran                                  Purdue University

1008 Cherry Lane                                MUSCLE Smartcard Developers
West Lafayette, IN 47906                        http://www.linuxnet.com
765-463-0096                                    317-514-4797

If you can't make it work - at least make it look good.  ~ Bill Gates, M$



***************************************************************
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