Hello all,

I'm having problems with a smartcard reader and libccid, I guess someone
could help me. Maybe I'm missing something, but I cannot find it.

      I have a Dell Smart Card Reader Keyboard (the generic, not the SK-3106
one), which is supposed to be supported by libccid, as said in
http://svn.debian.org/wsvn/pcsclite/tags/ccid/ccid-1.3.10/README?op=file&rev=0&sc=0.
However, I cannot get the reader detected. Here follows a more detailed
explanation of what I did and what I get.

All the software I installed came from Debian packages. All of them came
from the official Ubuntu repositories, except the one I installed for the
spanish ID card (that came from
http://www.dnielectronico.es/descargas/PKCS11_para_Sistemas_Unix/distribuciones_linux.html
)

Mainly, I installed libccid, pcscd, pcsc-tools in their latest versions.

With the mentioned configuration, the LTC31 reader (also in the supported
devices list) worked properly, but the dell keyboard only works as keyboard,
but the smartcard reader is not detected.

I have tried the keyboard on a Windows system, and it works fine.

If anybody uses the same keyboard, please tell me what do I have to do,
because right now I have no idea. Thanks in advance.

Here is the detail of software in use:

*  CCID driver version
    I guess it is 1.3.1.1, at least this is what I found in the libccid
Debian package.

* Operating system name and version
    I am using Ubuntu on its 8.04 version (Hardy Heron)

* pcsc-lite version
    The libpcsclite1 Debian package says version 1.4.99-1ub

* smart card reader name
    Dell smart card reader keyboard. I'm not sure if this is enough, so here
you have the output of lsusb:
    .
    .
    Bus 005 Device 006: ID 413c:2101 Dell Computer Corp. SmartCard Reader
Keyboard
    .
    .

* the output of the command "/usr/sbin/pcscd --version"
    $ /usr/sbin/pcscd --version
    pcsc-lite version 1.4.99.
    Copyright (C) 1999-2002 by David Corcoran <corco...@linuxnet.com>.
    Copyright (C) 2001-2007 by Ludovic Rousseau <ludovic.rouss...@free.fr>.
    Copyright (C) 2003-2004 by Damien Sauveron <sauve...@labri.fr>.
    Report bugs to <scli...@linuxnet.com>.

The following detailed log was generated as you explained in
http://pcsclite.alioth.debian.org/ccid.html#support
(I put my comments preceded by #)

    00000000 pcscdaemon.c:295:main() pcscd set to foreground with debug send
to stderr
    00000051 debuglog.c:236:DebugLogSetLevel() debug level=debug
    00000016 debuglog.c:265:DebugLogSetCategory() Debug options: APDU
    00000514 pcscdaemon.c:513:main() pcsc-lite 1.4.99 daemon ready.
    #here I unplugged the usb keyboard.

    #here I plugged again the usb keyboard.
    07111959 hotplug_libusb.c:430:HPEstablishUSBNotifications() Reload
serial configuration
    00160106 hotplug_libusb.c:433:HPEstablishUSBNotifications() End reload
serial configuration
    00000021 hotplug_libusb.c:430:HPEstablishUSBNotifications() Reload
serial configuration
    00000526 hotplug_libusb.c:433:HPEstablishUSBNotifications() End reload
serial configuration
    00000011 hotplug_libusb.c:430:HPEstablishUSBNotifications() Reload
serial configuration
    00000476 hotplug_libusb.c:433:HPEstablishUSBNotifications() End reload
serial configuration
    00000010 hotplug_libusb.c:430:HPEstablishUSBNotifications() Reload
serial configuration
    00000476 hotplug_libusb.c:433:HPEstablishUSBNotifications() End reload
serial configuration

    #I run pcsc_scan in another terminal (I write its output later)
    06951176 winscard_msg_srv.c:217:SHMProcessEventsServer() Common channel
packet arrival
    00000042 winscard_msg_srv.c:226:SHMProcessEventsServer()
SHMProcessCommonChannelRequest detects: 7
    00000013 pcscdaemon.c:175:SVCServiceRunLoop() A new context thread
creation is requested: 7
    00000074 winscard_svc.c:131:ContextThread() Thread is started: 7
    00000038 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly
processed client: 7
    00000011 winscard_svc.c:179:ContextThread() Client is protocol version
3:0
    00000892 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly
processed client: 7
    00000055 winscard.c:242:SCardEstablishContext() Establishing Context:
17006330

    #^C
    193437683 pcscdaemon.c:578:signal_trap() Preparing for suicide
    01000136 readerfactory.c:1382:RFCleanupReaders() entering cleaning
function
    00000047 pcscdaemon.c:538:at_exit() cleaning /var/run/pcscd


And here is the output of pcsc_scan, which I run in another terminal (my
comments with #).
    $ pcsc_scan
    PC/SC device scanner
    V 1.4.11 (c) 2001-2007, Ludovic Rousseau <ludovic.rouss...@free.fr>
    Compiled with PC/SC lite version: 1.4.4
    Scanning present readers
    Waiting for the first reader...

    #at this moment, I pressed ^C in the pcscd terminal
    winscard_clnt.c:3471:SCardCheckDaemonAvailability() PCSC Not Running
    found one
    Scanning present readers
    winscard_clnt.c:3471:SCardCheckDaemonAvailability() PCSC Not Running
    SCardListReader: Service not available. (0x8010001D)
_______________________________________________
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to