Hello,

I partly solved my problem by creating the file:
[EMAIL PROTECTED] cat /etc/udev/rules.d/pcscd_ccid.rules
# generic CCID device
BUS=="usb", SYSFS{bInterfaceClass}=="0b", ACTION=="add",
RUN+="/usr/local/sbin/pcscd --hotplug"

now pscs_scan works:
PC/SC device scanner
V 1.4.8 (c) 2001-2006, Ludovic Rousseau <[EMAIL PROTECTED]>
Compiled with PC/SC lite version: 1.3.1
Scanning present readers
0: ACS ACR38U 00 00

Tue Jan 30 21:31:19 2007
 Reader 0: ACS ACR38U 00 00
  Card state: Card inserted,
  ATR: 3B 98 13 40 0A A5 03 01 01 01 AD 13 11

ATR: 3B 98 13 40 0A A5 03 01 01 01 AD 13 11
+ TS = 3B --> Direct Convention
+ T0 = 98, Y(1): 1001, K: 8 (historical bytes)
  TA(1) = 13 --> Fi=372, Di=4, 93 cycles/ETU (38400 bytes/s at 3.57 MHz)
  TD(1) = 40 --> Y(i+1) = 0100, Protocol T = 0
-----
  TC(2) = 0A --> Work waiting time: 960 x 10 x (Fi/F)
+ Historical bytes: A5 03 01 01 01 AD 13 11
  Category indicator byte: A5 (proprietary format)

Still I have the notification in /var/log/messages:

Jan 30 21:26:31 microserv kernel: usb 2-1: usbfs: process 2520 (pcscd) did
not claim interface 0 before use

If this could be phased out also..

kind regards




atsurfer wrote:
> 
> Hello,
> I try to use this cardreader on fedora core 5 but it fails.
> 
> currently I am using the following software:
> 
> libusb => 0.1.12
> pcsc-lite => 1.3.3
> ccid => 1.2.1
> kernel => 2.6.18-1.2257.fc5
> ACR38 card => ACR38_LINUX_100709_P
> 
> ACR38 driver,pcsc-lite was installed by compiling the latest sources
> ccid also
> 
> 
> lsusb gives:
> Bus 005 Device 001: ID 0000:0000
> Bus 001 Device 001: ID 0000:0000
> Bus 003 Device 001: ID 0000:0000
> Bus 004 Device 001: ID 0000:0000
> Bus 002 Device 005: ID 072f:9000 Advanced Card Systems, Ltd ACR38
> AC1038-based Smart Card Reader
> Bus 002 Device 001: ID 0000:0000
> 
> 
> problems start when pcsc-lite deamon starts:
> Jan 30 19:28:43 microserv kernel: usb 2-1: usbfs: process 32231 (pcscd)
> did not claim interface 0 before use
> 
> the [/proc/bus/usb/] entries exist:
> drwxr-xr-x 7 root root 0 Jan 28 13:35 .
> dr-xr-xr-x 6 root root 0 Jan 28 13:35 ..
> dr-xr-xr-x 2 root root 0 Jan 28 13:35 001
> dr-xr-xr-x 2 root root 0 Jan 28 13:35 002
> dr-xr-xr-x 2 root root 0 Jan 28 13:35 003
> dr-xr-xr-x 2 root root 0 Jan 28 13:35 004
> dr-xr-xr-x 2 root root 0 Jan 28 13:35 005
> -r--r--r-- 1 root root 0 Jan 30 19:23 devices
> 
> en devices contains:
> T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  5 Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=072f ProdID=9000 Rev= 1.00
> S:  Manufacturer=ACS
> S:  Product=ACR38 USB Reader
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
> I:  If#= 0 Alt= 0 #EPs= 3 Cls=00(>ifc ) Sub=00 Prot=00 Driver=(none)
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=2ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> 
> when I set pcsc to debug :
>  /usr/local/sbin/pcscd --debug -a -f
> pcscdaemon.c:319:main() pcscd set to foreground with debug send to stderr
> pcscdaemon.c:533:main() pcsc-lite 1.3.3 daemon ready.
> hotplug_libusb.c:446:HPAddHotPluggable() Adding USB device: 002:005
> readerfactory.c:1108:RFInitializeReader() Attempting startup of ACS ACR38U
> 00 00 using
> /usr/local/pcsc/drivers/ACR38UDriver.bundle/Contents/Linux/ACR38UDriver
> readerfactory.c:943:RFBindFunctions() Loading IFD Handler 2.0
> ifdwrapper.c:493:IFDStatusICC() Card not transacted: 612
> eventhandler.c:166:EHSpawnEventHandler() Initial Check Failed on ACS
> ACR38U 00 00
> hotplug_libusb.c:394:HPEstablishUSBNotifications() Driver ifd-ccid.bundle
> does not support IFD_GENERATE_HOTPLUG
> pcscdaemon.c:614:signal_trap() Preparing for suicide
> hotplug_libusb.c:368:HPRescanUsbBus() Hotplug stopped
> readerfactory.c:1363:RFCleanupReaders() entering cleaning function
> readerfactory.c:1372:RFCleanupReaders() Stopping reader: ACS ACR38U 00 00
> eventhandler.c:106:EHDestroyEventHandler() Thread never started (reader
> init failed?)
> readerfactory.c:1155:RFUnInitializeReader() Attempting shutdown of ACS
> ACR38U 00 00.
> readerfactory.c:1022:RFUnloadReader() Unloading reader driver.
> pcscdaemon.c:558:at_exit() cleaning /var/run
> 
> 
> when I start the deamon like:
> /usr/local/sbin/pcscd
> 
> and start pcsc_scan:
> PC/SC device scanner
> V 1.4.8 (c) 2001-2006, Ludovic Rousseau <[EMAIL PROTECTED]>
> Compiled with PC/SC lite version: 1.3.1
> Scanning present readers
> Waiting for the first reader...
> 
> pscs_scan hangs
> 
> and the syslog looks like this:
> 
> Jan 30 20:29:10 microserv pcscd: pcscdaemon.c:533:main() pcsc-lite 1.3.3
> daemon ready.
> Jan 30 20:29:10 microserv pcscd: hotplug_libusb.c:446:HPAddHotPluggable()
> Adding USB device: 002:005
> Jan 30 20:29:10 microserv pcscd: readerfactory.c:1108:RFInitializeReader()
> Attempting startup of ACS ACR38U 00 00 using
> /usr/local/pcsc/drivers/ACR38UDriver.bundle/Contents/Linux/ACR38UDriver
> Jan 30 20:29:10 microserv pcscd: readerfactory.c:943:RFBindFunctions()
> Loading IFD Handler 2.0
> Jan 30 20:29:10 microserv kernel: usb 2-1: usbfs: process 32649 (pcscd)
> did not claim interface 0 before use
> Jan 30 20:30:00 microserv pcscd: ifdwrapper.c:493:IFDStatusICC() Card not
> transacted: 612
> Jan 30 20:30:00 microserv pcscd: eventhandler.c:166:EHSpawnEventHandler()
> Initial Check Failed on ACS ACR38U 00 00
> Jan 30 20:30:00 microserv pcscd:
> hotplug_libusb.c:394:HPEstablishUSBNotifications() Driver ifd-ccid.bundle
> does not support IFD_GENERATE_HOTPLUG
> 
> 
> 
> 
> If anyone could help me, thanks in advance
> 
> Alain
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/another-ARC38-cardreader-problem-tf3144614.html#a8718485
Sent from the MuscleCard mailing list archive at Nabble.com.

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

Reply via email to