Hi,
I am having problems with the SCM SDI010 reader that is connected
on a debian lenny PC, with the following versions
ii libpcsc-perl 1.4.7-1+b1
ii libpcsclite-de 1.4.102-1
ii libpcsclite1 1.4.102-1
ii pcsc-tools 1.4.14-1
ii pcscd 1.4.102-1
ii libccid 1.3.8-1
When I connect the reader the syslog shows
... usb 1-6: new full speed USB device using ohci_hcd and address 17
... usb 1-6: configuration #1 chosen from 1 choice
... usb 1-6: New USB device found, idVendor=04e6, idProduct=5121
... usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=5
... usb 1-6: Product: SDI010 Smart Card Reader
... usb 1-6: Manufacturer: SCM Microsystems Inc.
... usb 1-6: SerialNumber: 21120706205078
The contact interface works, but the contacless doesn't and I get
lots of lines
Mar 3 15:36:26 pcscd: commands.c:714:CmdEscape Command not supported or not
allowed
Mar 3 15:36:26 pcscd: ifdhandler.c:1283:IFDHICCPresence() CmdEscape failed
Mar 3 15:36:26 pcscd: commands.c:714:CmdEscape Command not supported or not
allowed
Mar 3 15:36:26 pcscd: ifdhandler.c:1283:IFDHICCPresence() CmdEscape failed
Mar 3 15:36:26 pcscd: commands.c:714:CmdEscape Command not supported or not
allowed
Mar 3 15:36:26 pcscd: ifdhandler.c:1283:IFDHICCPresence() CmdEscape failed
Mar 3 15:36:26 pcscd: commands.c:714:CmdEscape Command not supported or not
allowed
Mar 3 15:36:26 pcscd: ifdhandler.c:1283:IFDHICCPresence() CmdEscape failed
Mar 3 15:36:27 pcscd: commands.c:714:CmdEscape Command not supported or not
allowed
Mar 3 15:36:27 pcscd: ifdhandler.c:1283:IFDHICCPresence() CmdEscape failed
Mar 3 15:36:27 pcscd: commands.c:714:CmdEscape Command not supported or not
allowed
Mar 3 15:36:27 pcscd: ifdhandler.c:1283:IFDHICCPresence() CmdEscape failed
Mar 3 15:36:27 pcscd: commands.c:714:CmdEscape Command not supported or not
allowed
Mar 3 15:36:27 pcscd: ifdhandler.c:1283:IFDHICCPresence() CmdEscape failed
Under debian etch the reader was running fine under with the
driver from scm. In order to use that driver I changed
/etc/libccid_Info.plist and the its symlink
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist in the
following way:
tandem etc 6> diff -u libccid_Info.plist.orig libccid_Info.plist
--- libccid_Info.plist.orig 2009-03-03 16:12:09.000000000 +0100
+++ libccid_Info.plist 2009-03-03 16:10:59.000000000 +0100
@@ -117,7 +117,7 @@
<string>0x04E6</string>
<string>0x04E6</string>
<string>0x04E6</string>
- <string>0x04E6</string>
+ <!-- <string>0x04E6</string> -->
<string>0x04E6</string>
<string>0x04E6</string>
<string>0x04E6</string>
@@ -216,7 +216,7 @@
<string>0x511C</string>
<string>0x511D</string>
<string>0x5120</string>
- <string>0x5121</string>
+ <!-- <string>0x5121</string> -->
<string>0xE001</string>
<string>0x5410</string>
<string>0xE003</string>
@@ -315,7 +315,7 @@
<string>Axalto Reflex USB v3</string>
<string>SCM SCR 3311</string>
<string>SCM SCR 331-DI NTTCom</string>
- <string>SCM SDI 010</string>
+ <!-- <string>SCM SDI 010</string> -->
<string>SCM SCR 331</string>
<string>SCM SCR 355</string>
<string>SCM SPR 532</string>
However, pcscd seems not to recognize xml comments, as it still
reports
Mar 3 16:14:44 tandem pcscd: readerfactory.c:1082:RFInitializeReader()
Attempting startup of SCM SDI 010 00 01 using
/usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
If I delete these comment lines then pcscd loads the scm driver:
Mar 3 16:17:46 tandem pcscd: readerfactory.c:1082:RFInitializeReader()
Attempting startup of SDI010 USB Smart Card Reader 00 00 using
/usr/lib/pcsc/drivers/scmcciddriver.bundle/Contents/Linux/libscmccid.so.5.0.8
However, then pcsc_scan fails with
tandem scmccid_5.0.8_linux 102> pcsc_scan
PC/SC device scanner
V 1.4.14 (c) 2001-2008, Ludovic Rousseau <[email protected]>
Compiled with PC/SC lite version: 1.4.101
SCardEstablishContext: Cannot Connect to Resource Manager: Service not
available. (0x8010001D)
And a java application that tries to connect to the card via the
javax.smartcardio package fails with
Terminated by escaping exception java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmException: Error constructing implementation
(algorithm: PC/SC, provider: SunPCSC, class:
sun.security.smartcardio.SunPCSC$Factory)
at java.security.Provider$Service.newInstance(Provider.java:1240)
at sun.security.jca.GetInstance.getInstance(GetInstance.java:227)
....
(the application is running fine with the libccid driver)
I am grateful for any suggestions.
Bye,
Hendrik
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle