I think your reader is working correctly, but here's a quick overview of what you need:

For USB readers you need the appropriate bundle for the reader in /usr/local/pcsc/drivers. It should have a Info.plist and an .so file in the appropriate places in the bundle directory: (Your RPM probably put them here already)

/usr/local/pcsc/drivers/ifd-drivername.bundle
/usr/local/pcsc/drivers/ifd-drivername.bundle/Contents/Info.plist
/usr/local/pcsc/drivers/ifd-drivername.bundle/Contents/Linux/libdrivername.so

The Info.plist text file should have the appropriate vendor/product id's for your USB reader in it, as well as the correct name for the .so file.

Run pcscd in the foreground (e.g. pcscd -f) to see if it tries to load your .so file. Ignore the kernel's 'USB device is not claimed' warnings since we aren't using kernel drivers.

You should see something like this if your reader is found and the appropriate bundle was located:

readerfactory.c:1319 RFInitializeReader: Attempting startup of DriverName 0 0.
readerfactory.c:1061 RFBindFunctions: Loading IFD Handler 2.0


You should then be able to run something like opensc-tool to see if your reader is working. You probably should be able to at least get the ATR from your card. Here's what my opensc-tool says when I have the usb reader disconnected and then connected while my Cryptoflex card is in it:

[EMAIL PROTECTED] tools]# ./opensc-tool -a
Failed to establish context: No readers found

[EMAIL PROTECTED] tools]# ./opensc-tool -a
Connecting to card in reader DriverName 0 0...
Using card driver: Schlumberger Multiflex/Cryptoflex
Card ATR:
3B 95 18 40 FF 62 01 02 01 04 ;[EMAIL PROTECTED]

I hope this helps! Good luck!


Phil



Casey Pogue wrote:


I've been issued a DoD CAC card and SCM SCR331 reader. I'm running Redhat 8.0 linux on x86 platform. I've downloaded and installed pscs-lite-1.1.1 and scr331ccidDriver-0.9.0-1.i368.rpm from SCM. When I look at /var/log/messages here is the output

Manufacturer: SCM Microsystems Inc.
Mar 26 14:50:47 Product: STCII Smart Card Reader
Mar 26 14:50:47 SerialNumber: 20001114
Mar 26 14:50:47 usb.c: unhandled interfaces on device
Mar 26 14:50:47 usb.c: USB device 2 (vend/prod 0x4e6/0xe000) is not claimed by any active driver.


What driver am I missing?

Thanks
Casey


_______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.musclecard.com/mailman/listinfo/muscle




_______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.musclecard.com/mailman/listinfo/muscle

Reply via email to