LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Problem with pc/sc smartcard reader. (http://www.linuxquestions.org/questions/linux-hardware-18/problem-with-pc-sc-smartcard-reader-624703/)

intz 02-29-2008 05:37 AM

Problem with pc/sc smartcard reader.
 
Hello!

I have a problem with Todos Argos Mini 2 USB smartcard reader drivers.

The driver requires glibc 2.4 but Debian don't use that version.

pcscd log from syslog
Code:

Feb 29 12:22:39 offv3 pcscd: pcscdaemon.c:529:signal_trap() Preparing for suicide
Feb 29 12:22:40 offv3 pcscd: hotplug_libusb.c:361:HPEstablishUSBNotifications() Hotplug stopped
Feb 29 12:22:40 offv3 pcscd: readerfactory.c:1348:RFCleanupReaders() entering cleaning function
Feb 29 12:22:40 offv3 pcscd: pcscdaemon.c:489:at_exit() cleaning /var/run
Feb 29 12:22:40 offv3 pcscd: pcscdaemon.c:464:main() pcsc-lite 1.3.2 daemon ready.
Feb 29 12:22:41 offv3 pcscd: hotplug_libusb.c:407:HPAddHotPluggable() Adding USB device: 002:002
Feb 29 12:22:41 offv3 pcscd: readerfactory.c:1093:RFInitializeReader() Attempting startup of Argos Mini II 00 00 using /usr/lib/pcsc/drivers/AgmIIusb.bundle/Contents/Linux/libAgmIIusb.so.1.0.0
Feb 29 12:22:41 offv3 pcscd: dyn_unix.c:36:DYN_LoadLibrary() /usr/lib/pcsc/drivers/AgmIIusb.bundle/Contents/Linux/libAgmIIusb.so.1.0.0: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/lib/pcsc/drivers/AgmIIusb.bundle/Contents/Linux/libAgmIIusb.so.1.0.0)
Feb 29 12:22:41 offv3 pcscd: readerfactory.c:249:RFAddReader() Argos Mini II init failed.

lsusb
Code:

Bus 002 Device 002: ID 0b0c:0009 Todos Data System AB Todos Argos Mini II Smart Card Reader

Emerson 02-29-2008 09:50 AM

Welcome to LQ!

http://www.fsfe.org/en/fellows/hno/f...ii_card_reader

Did you try writing them and requesting an update?

intz 03-01-2008 02:38 AM

Hello and thanx!

Yes, but they havent reply to me yet.

intz 03-01-2008 05:01 AM

This driver on todos.se homepage does't work on Debian GNU/linux PC. Now I tested this driver on Ubuntu 7.10. On Ubuntu pc it's working very well.

I write it here that how i done this on Ubuntu machine. Maybe someone want's to install same card reader.

First look that the card reader is listed in usb.ids.
Code:

root@indrekp:/# lsusb
Bus 003 Device 002: ID 0b0c:0009 Todos Data System AB Todos Argos Mini II Smart Card Reader

Then install the required packages.
Code:

root@indrekp:/# apt-get install libccid libusb-0.1-4 pcscd libpcsclite1 pcsc-tools opensc alien
Now it is time to install drivers.
Code:

root@indrekp:/# cd $HOME
root@indrekp:~# wget http://www.henriknordstrom.net/code/TodosArgosMiniII/agmiiusb-1.0.0-3.i386.rpm
root@indrekp:~# wget http://www.henriknordstrom.net/code/TodosArgosMiniII/agmiiusb-debuginfo-1.0.0-3.i386.rpm
root@indrekp:~# alien -i agmiiusb-1.0.0-3.i386.rpm
root@indrekp:~# alien -i agmiiusb-debuginfo-1.0.0-3.i386.rpm

Update readers and restart pcscd
Code:

root@indrekp:~# update-reader.conf
root@indrekp:~# /etc/init.d/pcscd restart

Check the syslog if the card reader is working.
Code:

root@indrekp:~# grep pcscd /var/log/syslog
it looks like this
Quote:

Mar 1 11:07:00 indrekp pcscd: pcscdaemon.c:586:signal_trap() Preparing for suicide
Mar 1 11:07:01 indrekp pcscd: readerfactory.c:1379:RFCleanupReaders() entering cleaning function
Mar 1 11:07:01 indrekp pcscd: pcscdaemon.c:532:at_exit() cleaning /var/run
Mar 1 11:07:01 indrekp pcscd: pcscdaemon.c:507:main() pcsc-lite 1.4.3 daemon ready.
Mar 1 11:07:01 indrekp pcscd: hotplug_libusb.c:454:HPAddHotPluggable() Adding USB device: 003:002
Mar 1 11:07:01 indrekp pcscd: readerfactory.c:1113:RFInitializeReader() Attempting startup of Argos Mini II 00 00 using /usr/lib/pcsc/drivers/AgmIIusb.bundle/Contents/Linux/libAgmIIusb.so.1.0.0
Mar 1 11:07:01 indrekp pcscd: readerfactory.c:946:RFBindFunctions() Loading IFD Handler 2.0
And at last insert card in to card reader and:
Code:

root@indrekp:~# pcsc_scan

PowerCheez 10-06-2008 05:46 AM

Amd63
 
This is all and well if your running i386-system, but I have the same problem on a 64-bit system. Now what?

Ofcourse it should be "64" in the title and not "63".

markor 05-10-2009 07:35 AM

64-bit
 
Maybe you should use .rpm made for 64-bit Linux on
http://www.henriknordstrom.net/code/TodosArgosMiniII/
e.g. replace wget line for i386 package with x86_64 one.
http://www.henriknordstrom.net/code/...0-4.x86_64.rpm
http://www.henriknordstrom.net/code/...0-2.x86_64.rpm


All times are GMT -5. The time now is 06:44 PM.