On Sep 25, 2011, at 8:40 PM, Eric Vought wrote:

I am trying to get the integrated smartcard reader on a Panasonic CF-29 working under Linux (Fedora Core 15).

Following up to my own problem in hopes it may help someone else:

I have been able to detect this reader using the gempc driver of pcsc- lite:

# Gemalto reader with serial communication
#  - n is the serial port to use n in [0..3]
#  - reader is the reader name. It is needed for multi-slot readers.
# Possible reader values are: GemPCPinPad, GemCorePOSPro, GemCoreSIMPro,
#    GemPCTwin (default value)
# example: /dev/ttyS0:GemPCPinPad
FRIENDLYNAME      "GemPCTwin serial"
DEVICENAME        /dev/ttyS2:GemPCTwin
LIBPATH           /usr/lib/pcsc/drivers/serial/libccidtwin.so
CHANNELID        2

placed in a file in "/etc/reader.conf.d".

The interesting thing is that this only worked after changing the reader IRQ in the BIOS to 7 (i.e. COM3 or ttyS2). When it was set on COM2, the driver did not detect it (even given the appropriate changes in the above file). In both cases, lshal detected a 15550A compatible UART on the appropriate IO.

Also the openct gempc driver does not detect it regardless of IRQ. I get the following output when trying:

[root@scylla reader.conf.d]# ifdhandler -Fd gempc serial /dev/ttyS2
Debug: ifd_open: trying to open gempc@serial:/dev/ttyS2
Debug: gpc_open: called, device=serial:/dev/ttyS2
Debug: ifd_serial_set_params: setting serial line to 9600, 8N1, dtr=1, rts=1 Debug: ifd_serial_set_params: setting serial line to 9600, 8N1, dtr=1, rts=1
Debug: gpc_set_serial: called, speed=38400, cs=8, parity=0

Debug: ifd_protocol_transceive: cmd:  0a 02
Debug: ifd_protocol_transceive: resp: 0a 02
Debug: ifd_serial_set_params: setting serial line to 38400, 8N1, dtr=1, rts=1
Debug: ifd_protocol_transceive: cmd:  01 00 08
Debug: ifd_protocol_transceive: resp: 01 00 08
Debug: ifd_protocol_transceive: cmd:  22 05 3f e0 10
Debug: ifd_protocol_transceive: resp: 22 05 3f e0 10
Debug: gpc_activate: called.
Debug: ifdhandler_run: events inactive for reader Gemplus Reader (pre-alpha, untested)
Debug: ifd_protocol_transceive: cmd:  17
Debug: ifd_protocol_transceive: resp: 17
Debug: ifd_protocol_transceive: cmd:  17

The last line repeats endlessly.

With the pcsc settings and IRQ7, pcsc_scan detects the reader, responds properly to card inserts/ejects, and gnupg detects the card correctly. I am using pcsc-lite 1,7,2-3.fc15 and openct 0.60.20-2.fc15.


"...above all, to thine own self be true." ---Polonius, _Hamlet_ William Shakespeare

Sincerely, Eric Vought



_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to