|
Re: Dell Smartcard Drivers: msg#00025encryption.opensc.user
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)Meanwhile I read through the pcsc-lite documentation and I saw that I need pcscd running for applications to work with the card reader. I don't know how the /etc/pcmcia/smartcardreader-ozscr script should be called (automatically) so had to do what it was supposed to do manually, that is, create the /dev/ozscrlx device node with the appropriate major number. The /etc/reader.conf file is OK, it's from the driver and looks like this: FRIENDLYNAME "O2Micro SmartCardBus Reader" DEVICENAME /dev/ozscrlx LIBPATH /usr/local/o2micro/lib_OZSCR.so CHANNELID 0xF10000 All the preparations done, I start pcscd in the foreground, with debug messages turned on. # pcscd --foreground --debug pcscdaemon.c:259:main() pcscd set to foreground with debug send to stderr debuglog.c:207:DebugLogSetLevel() debug level=debug readerfactory.c:1095:RFInitializeReader() Attempting startup of O2Micro SmartCardBus Reader 00 00. readerfactory.c:933:RFBindFunctions() Loading IFD Handler 2.0 readerfactory.c:1130:RFInitializeReader() Open Port F10000 Failed (/dev/ozscrlx) readerfactory.c:1012:RFUnloadReader() Unloading reader driver. readerfactory.c:251:RFAddReader() O2Micro SmartCardBus Reader init failed. pcscdaemon.c:464:main() pcsc-lite 1.3.1 daemon ready. Now I don't know that the fact that the module loads in the kernel without warnings really means that it found a device that it was written for or not, but this driver was originally written for PCMCIA card readers. Now the one in my laptop is built in, but I don't know how to find out if it connects through CardBus interface or something else. If it's the CardBus interface, then maybe changing CHANNELID in /etc/reader.conf will suffice (although I don't know how to find out the exact value), but if not, the device is probably not supported by the driver. Any hints how should I continue the exploration of the problem? Thank you in advance, Loránd Jakab Ludovic Rousseau wrote: > On 08/05/06, Loránd Jakab <ljakab@xxxxxxxxxx> wrote: >> Thanks for the hint, I checked the O2Micro website, but they had no >> driver download page. However, the M.U.S.C.L.E. project >> (www.linuxnet.com) does have an open source driver, which I could >> compile and load successfully as a kernel module, with the following >> line showing up in dmesg: >> OZSCRLX version: O2Micro SmartCardBus Reader for kernel 2.6 (upto 2.6.12) >> >> I assume it should work, however, I could not test it, because I have no >> idea how. My initial plan was to buy an OpenPGP card if it works, this >> is why I was asking about it. It would be great if you could point me to >> some generic/testing software for smartcards in Linux, as I have a debit >> card which I could test with. > > You can use the command line tool pcsc_scan from pcsc-tools [1]. It > will print the name of the smart card readers found by pcsc-lite and > display the ATR of the inserted card. If you can see the reader name > and get the card ATR your driver is working (bugs aside). > > Bye, > > [1] http://ludovic.rousseau.free.fr/softwares/pcsc-tools/index.html > > -- > Dr. Ludovic Rousseau
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | OpenSwan: 00025, Peter Koch |
|---|---|
| Next by Date: | Re: OpenSwan: 00025, Christian Horn |
| Previous by Thread: | Re: Dell Smartcard Driversi: 00025, Ludovic Rousseau |
| Next by Thread: | Netkey E4: detect if local pins are already set: 00025, Christian Horn |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |