[<<][simtrace][>>][..]
Tue Oct 29 15:48:34 EDT 2013

CCID part

- Compile usb-device-ccid-project-simtrace-at91sam7s128-flash_dfu.elf

- pcscd doesn't pick up the device.  reason?  USB ID needs to be
  recorded in:
    /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
  on Debian:
    /etc/libccid_Info.plist

	<key>ifdVendorID</key>
	<array>
+		<string>0x03EB</string>
		<string>0x072F</string>

	<key>ifdProductID</key>
	<array>
+		<string>0x6129</string>
		<string>0x90CC</string>

	<key>ifdFriendlyName</key>
	<array>
+		<string>SIMtrace CCID</string>
		<string>ACS ACR 38U-CCID</string>


- Error then is:

Oct 29 16:01:47 tx pcscd: ccid_usb.c:1065:ControlUSB() control failed (4/49): -7 Success
Oct 29 16:01:47 tx pcscd: ccid_usb.c:712:ReadUSB() read failed (4/49): -7 Success
Oct 29 16:01:47 tx pcscd: ccid_usb.c:712:ReadUSB() read failed (4/49): -7 Success
Oct 29 16:01:47 tx pcscd: ifdhandler.c:155:CreateChannelByNameOrChannel() failed
Oct 29 16:01:47 tx pcscd: readerfactory.c:1009:RFInitializeReader() Open Port 0x200000 Failed (usb:03eb/6129:libudev:0:/dev/bus/usb/004/049)
Oct 29 16:01:47 tx pcscd: readerfactory.c:312:RFAddReader() Simtrace CCID (0123456789AF) init failed.
Oct 29 16:01:47 tx pcscd: hotplug_libudev.c:384:HPAddDevice() Failed adding USB device: Simtrace CC


- Enabling debug console messages:

  at91work/usb-device-ccid-project/Makefile
  TRACE_LEVEL = 5


- run pcscd on console with debug on:

  sudo pcscd -f -d

  this shows that regardless of the error messages, there is some
  activity:

00000030 eventhandler.c:387:EHStatusHandlerThread() Card inserted into Simtrace CCID (0123456789AF) 00 00
Card ATR: 00 00 




[Reply][About]
[<<][simtrace][>>][..]