|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: [Muscle] usb driver for scm scr331 reader
From: Casey Pogue (casey.pogue
sed.redstone.army.mil)
Date: Mon Mar 31 2003 - 14:34:17 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have the appropriate bundle in /usr/local/pcsc/drivers.
I don't have /etc/reader.conf ( didn't think I needed this for usb) here is
the output from pcscd -f -d stdout
pcscdaemon.c:258 main: debug messages to stdout
pcscdaemon.c:395 main: warning: no reader.conf found
pcscdaemon.c:413 main: pcsc-lite daemon ready.
If I create /etc/reader.conf
FRIENDLYNAME "scm"
DEVICENAME GEN_SMART_RDR
LIBPATH
/usr/local/pcsc/drivers/scr331ccidDriver.bundle/Contents/Linux/scr331ccidDriver
CHANNELID 0x000001
this is the output from pcscd -f -d stdout
pcscdaemon.c:258 main: debug messages to stdout
readerfactory.c:1318 RFInitializeReader: Attempting startup of scm 0 0.
readerfactory.c:1060 RFBindFunctions: Loading IFD Handler 2.0
readerfactory.c:1355 RFInitializeReader: Open Port 1 Failed
readerfactory.c:1190 RFUnloadReader: Unloading reader driver.
readerfactory.c:219 RFAddReader: scm init failed.
pcscdaemon.c:413 main: pcsc-lite daemon ready.
Thanks for the help
Casey
On Monday 31 March 2003 12:49 pm, Philip Edelbrock wrote:
> 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/libdriverna
> me.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:
>
> [root
drtheopolis tools]# ./opensc-tool -a
> Failed to establish context: No readers found
>
> [root
drtheopolis 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 ;..
.b....
>
> 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
> >Muscle
lists.musclecard.com
> >http://lists.musclecard.com/mailman/listinfo/muscle
--
Casey Pogue
Davidson Technologies, INC.
phone 256-876-4456
fax 256-955-6817
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.musclecard.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]