MUSCLE how get docs for card readers?
Hi everybody! We're about to develop drivers for card readers for a PDA. I've got some readers, namely the Gemplus GCR400 and a Litronic 210 (all connected via a serial interface). Alas, I have no bit of a technical doc on these readers. As I don't want to re-engineer everything, could somebody give me a hint where to look for the appropriate docs? How is your experience asking the manufacturers? My last resort would be to look at the code some of you are developing for the CT-API drivers for the MUSCLE project (btw, where do *you* get the specs from?). Your help is greatly appreciated! -Harald *** 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 ***
MUSCLE smartcard development under Linux
I'm interested in developing smartcard applications under Linux. I follow the MUSCLE mailing list, but I am a bit of confused about the current state of the project. Looking at the Web pages didn't help me a lot. Maybe somebody of you finds some time to answer my questions. Thanx! Has somebody thought of developing a tool that could help a programmer test debug his smartcard programs... I think of something that helps you create APDUs, logs the answers, name save APDUs,... The Xcard utility doesn't do that, or am I wrong? Of course, this tool should be build on top of the resource manager PC/SC framework. The Schlumberger kit supplies something similar under Windows. Does it also under Linux? I think there is only the mksolo utility available? Is the MUSCLE project ready so that someone (mayebe me?) could take on the effort developing a tool like that? I haven't installed tried MUSCLE yet, but I would like to. I'm just not sure how far I can get with it. -Harald *** 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 ***
Re: MUSCLE how get docs for card readers?
You should contact the support of the company that owns the reader for wich you are writting the driver. Commonly they use to be very friendly to give you support, (new platform supported implies more readers/cards sales for them :-) You can also take some code from the already written drivers. Mainly the CT-API skeleton code written by David Corcoran (it is on the web site, under code.html page) will help you with the low level functions to access serial port, and the driver structure itself. Regarding to Litronic, David Corcoran posted a message some days ago saying he is already developing a CT-API for this reader. Good luck, Carlos On Wed, 9 Dec 1998, Harald Vogt wrote: Hi everybody! We're about to develop drivers for card readers for a PDA. I've got some readers, namely the Gemplus GCR400 and a Litronic 210 (all connected via a serial interface). Alas, I have no bit of a technical doc on these readers. As I don't want to re-engineer everything, could somebody give me a hint where to look for the appropriate docs? How is your experience asking the manufacturers? My last resort would be to look at the code some of you are developing for the CT-API drivers for the MUSCLE project (btw, where do *you* get the specs from?). Your help is greatly appreciated! -Harald *** 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 *** *** 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 ***
Re: MUSCLE smartcard development under Linux
The MUSCLE PC/SC should be ready in about 2 weeks for Application development. I will be writing a quick ICCSP for a generic ISO-7816-4 card with no crypto services available. This will compile directly on the Resource Manager until the RPC stuff is finished which I'm guessing will be done by Christmas. In the meantime you could write your application on top of the current stuff that is available by talking through the function SCARDCOMM::Transmit() which allows you to send bare APDU's directly to the card. Since your application does not rely on a specific card this would be fine and the PC/SC Resource Manager would take care of reader dependencies. Thanks Dave -- ** David Corcoran Internet Security/Smartcards Work:School: 205 Industrial Blvd 2252 US Highway 52 West Apt C4 Sugar Land, TX 77478 West Lafayette, IN 47906 Quotes: If it's a hobby for us and a job for you, then why are you doing such a shoddy job (Microsoft) ? ~ Linus Torvalds If you can't make it work, at least make it look good. ~ Bill Gates ** *** 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 ***
MUSCLE Well, my reader kind of works.
I have an Reflex 64 reader. My reader kind of works. xcard is able to see the files on the smartcards that came with the dev kit. But, xcard has problems seeing the card the first time. I have to put the card in and click start, let xcard report a reader failure, and then click start again. Then it works fine. The testapp in the drv directory also doesn't seem to like my card very well. By following through it with gdb I can see that it sends 0x60 to the card reader to get the type, but it gets 0x47 back instead of the 0x60 that it expects. Any ideas?
MUSCLE New Reader Drivers as Modules?
I will soon publish a beta version of the following reader drivers for Linux: BULL CP8 Transac TLP224 BULL CP8 SmarTLP I also have plans for some Gemplus readers. As I silently read the MUSCLE Mailingslist for a while now I think it will be a good idea to integrate the SmartCard Reader Drivers as modules in the Kernel (misc-modules). This would especially help the people thinking about Keyboard Readers, PCMCIA Readers or Readers connected to a floppy port. The existing CT-API could be easily implemented using a /dev/scard0 device. What do you think about that idea??? ciao, Fl0 *** 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 ***