Hello,
I am trying to get a smart card reader and my CAC card to work with a Debian "etch" based distro, Xandros 4.5 OCE. Here are results of lsusb and pcsc_scan:
xandroslaptop:~# lsusb
Bus 003 Device 005: ID 08e6:3437 Gemplus GemPC Twin SmartCard Reader
Bus 003 Device 004: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
xandroslaptop:~# pcsc_scan
PC/SC device scanner
V 1.4.8 (c) 2001-2006, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.3.2
Scanning present readers
0: Gemplus GemPC Twin 00 00
Sun Dec 28 23:16:34 2008
Reader 0: Gemplus GemPC Twin 00 00
Card state: Card inserted,
ATR: (removed)
ATR: (removed)
+ TS = 3B --> Direct Convention
+ T0 = 6B, Y(1): 0110, K: 11 (historical bytes)
TB(1) = 00 --> VPP is not electrically connected
TC(1) = 00 --> Extra guard time: 0
+ Historical bytes: (removed)
Category indicator byte: 80 (compact TLV data object)
Tag: 6, len: 5 (pre-issuing data)
Data: B0 83 01 04 74
Tag: 8, len: 3 (status indicator)
LCS (life card cycle): 00 (No information given)
SW: 9000 (Normal processing.)
Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
(removed)
Gemplus GXP3 64V2N
U.S. Department of Defense Common Access Card (DoD CAC)
I have the following packages installed on my system:
libccid 1.1.0-1
libopenct1 0.6.11-1
libopensc2 0.11.1-2etch2
mozilla-opensc 0.11.1-2etch2
libp11-0 0.2.2-2
libpcsclite1 1.3.2-5
libpcsc-perl 1.4.4-1
openct 0.6.11-1
opensc 0.11.1-2etch2
pcscd 1.3.2-
pcsc-tools 1.4.8-1
coolkey 1.1.0-7
(converted from a deb package by alien version 8.64)
It seems I have the correct drivers and pcscd restart works correctly and the pcsc_scan gives me a correct result. The problem is that when I am trying to add a new device module in Firefox, using the coolkey package and the module from that library, it says "unable to install module."
I am wondering if I should go with the driver and software from gemalto itself. Here is their readme:
"Readme for the Gemalto CCID Smart Card reader driver for the DEBIAN "Sarge".
Gemalto CCID Smart card reader drivers for Debian Sarge 3.1 Linux distribution
and x86 processor architecture.
Version 1.2.4, March 2006.
Before proceeding, you might want to check whether a new driver version
is available from http://support.gemalto.com/
Contents:
---------
0. License
1. Description
2. Installation
3. Troubleshooting
4. Release notes
5. Support
0. License
----------
All included programs are free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the License,
or (at your option) any later version.
All included programs are distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Lesser Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1. Description
--------------
This archive contains DEB packages of the CCID device driver for the Gemplus
CCID based devices and the PCSC-Lite daemon.
The CCID device driver:
* libccid_1.2.4-0_i386.deb
The pcsc-lite :
( from http://www.backports.org/debian/pool/main/p/pcsc-lite/)
* libpcsclite1_1.2.9-beta9-0bpo1_i386.deb
* libpcsclite-dev_1.2.9-beta9-0bpo1_i386.deb
* pcscd_1.2.9-beta9-0bpo1_i386.deb
This archive contains the source code of the CCID device driver for
the Gemplus CCID based devices and the PCSC-Lite daemon.
The CCID device driver:
* ccid-1.2.4.tar.gz
The pcsc-lite:
* pcsc-lite-1.2.9-beta10.tar.gz
It requires:
* A Debian Sarge 3.1 platform based on a x86 processor architecture,
* A Gemplus CCID based device
If you intend to use this driver with a different configuration (such
as a non x86 platform), please contact the support at the address
indicated at the very end of this document.
2. Installation
---------------
- Install the driver: # dpkg -i libccid_1.2.4-0_i386.deb
- Install the pcscd provided with this package:
# dpkg -i pcscd_1.2.9-beta9-0bpo1_i386.deb
libpcsclite-dev_1.2.9-beta9-0bpo1_i386.deb
libpcsclite1_1.2.9-beta9-0bpo1_i386.deb
The pcsc-lite daemon will (re)start automatically during installation.
3. Troubleshooting
------------------
For some Linux distributions, the pcmcia daemon should be loaded after
the pcscd daemon. As the pcscd daemon does not manage PCMCIA smart card
reader as hotplug devices, it might not take into account your GemPCCard
presence. To solve this issue, please restart the pcscd daemon as
explained below:
# /etc/init.d/pcscd restart
4. Release notes
----------------
Version 1.0.0: This is the initial driver version.
Version 1.1.0: Support of PCCard smart card reader and improvements.
Version 1.2.4: Support of PCPin PAD and GemPC Xpress smart card readers. "
This is a Debian Sarge package, I believe that I can use the alien trick on this package for OCE 4.5.
I can remove all of the packages I have installed before I run this. Please note, I am able to restart the pcscd dameon and also get a pcsc_scan result with my CAC card installed.
Essentially, I am unable to get Firefox to load a CAC module and use it. I have the required certs.
It seems that my middleware is missing. Coolkey is made for Lenny or Sid. I have seen some other middleware packages but they don't seem to help out at all. openct seems to create an installable device-yet is remains detached all the time.
I have also tried using the opensc/openct module *.s0 and that results in devices that are detached.
Thoughts?
Regards,
James