Is SLE4004 a memory card? The driver is not tested with
such card. Is it a 2 wire, 3 wire or I2C protocol card? If
it isn't any of these, it'll probably be not supported by
the Linux driver.

It may have nothing to do with communication speed, but if
you wan't to change it for memory cards, you'll need to
edit the file icc_sync.c and set the #define
ICC_SYNC_BAUDRATE to 9600L (or any other speed supported by
the Chipdrive, see io_serial.c).

How do you read the CARD ID. Wich command are you issuing
the card? I recommend you to first try a simple Read Binary
of the main memory file (0x3f00) to see if it works with
your card. See tester.c.
 
Hope it helps.
Carlos.

--- [EMAIL PROTECTED] wrote:
> Hello,
> 
> I'm currently developing a cardreader authentification
> prototype at work - it's basically nothing more than
> reading out the CARD ID on the card and assigning a name
> to it. It is supposed to run under 3 OS's - that is NT
> 4.0, Win2000 and Linux. We're using a towitoko chipdrive
> external (serial)
> 
> Win32 is making no problems - but Linux is.
> 
> The application just sends a reset, a request ICC and a
> read binary command through the CT API to the CardReadre
> and i get my 7 char- card id back.
> 
> But, under Linux i get unexpected results - instead of
> the card id i get weird bytes - example: �U��� - that's
> not encrypted or masked or whatever, i checked.
> 
> I believe this has to do something that the Linux CT Api
> is communicating with the card/reader with the wrong
> bitrate/parity etc, it's the only explanation i can come
> up with. FYI - i am able to get "normal" error codes from
> the reader like 62 00 (card not inserted). So i can
> communicate with the cardreader just fine. It's the card
> that's making me problems, it's a Siemens SLE4004.
> 
> I've read that you can somehow set the communication
> speed through the CT api - i have searched this mailing
> list and found an example for gemcard readers - that
> didn't work.
> 
> Can anyone give me examples (ie commands etc) how to set
> the baudrate for the towitoko reader? Or any other
> explaination for the problems i am experiencing? Any help
> is much appreicated.
> 
> Thank you!
> 
>
***************************************************************
> Unix Smart Card Developers - M.U.S.C.L.E.
> (Movement for the Use of Smart Cards in a Linux
> Environment)
> http://www.linuxnet.com/
> To unsubscribe send an email to [EMAIL PROTECTED]
> with
> unsubscribe sclinux
>
***************************************************************


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
***************************************************************
Unix Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/
To unsubscribe send an email to [EMAIL PROTECTED] with
unsubscribe sclinux
***************************************************************

Reply via email to