rconty wrote:Hey, sorry
According to your pcsc debug trace, this package (or CCID package) is too old to support your reader.
So, you could fix it many ways :
* Upgrade your distribution version (if possible)
* Or found a new repository which provide updated package for your dist (if possible)
* Or rebuild a new package from debian (or ubuntu) packages updated sources. (suggested)
* Or compile and install "by hands" equivalent of packages : pcscd, libpcsclite and libccid (last chance
)
1) unfortunately, that depends on the manufacturer of the device. (smartdevices inc.) no source has been released as of yet. Or untill Mer finally reaches a usuable edition. (currently @ v0.15)
2) Specific repos are rare.
3+4) I suspected that libccid might be the problem, however the version in the repo is 1.3.1. Which should support the tikitag.
rconty wrote:You don't need (and it is not recommanded at this time) to fetch development version of libnfc.
I have tested libnfc 1.2.1 with libpcsclite/pcscd 1.5.5 and ccid 1.3.11: it compile and runs fine.
I wasn't planning on getting the development versions, just the latest sources and compiling most parts on the system itself. I just did this for libccid, but it didn't work after all.
Anyway, what I did so far:
Compiled libccid (probably not needed since the v1.3 was in the repo)
Compiled libnfc with debug options.
output of nfc-list debug
user@mojo:~$ nfc-list
Found the following PCSC device(s)
- ACS ACR 38U-CCID 00 00
Tx: ff 00 00 00 04 d4 06 00 00
output of pcscd debug
user@mojo:~$ sudo /etc/init.d/pcscd stop
user@mojo:~$ sudo pcscd --foreground --debug
00000000 pcscdaemon.c:295:main() pcscd set to foreground with debug send to stderr
00000597 debuglog.c:236:DebugLogSetLevel() debug level=debug
00006041 pcscdaemon.c:513:main() pcsc-lite 1.4.99 daemon ready.
02262038 hotplug_libusb.c:478:HPAddHotPluggable() Adding USB device: 001:003
00000398 readerfactory.c:1116:RFInitializeReader() Attempting startup of ACS ACR 38U-CCID 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
00017339 readerfactory.c:983:RFBindFunctions() Loading IFD Handler 3.0
00001244 ifdhandler.c:1532:init_driver() Driver version: 1.3.11
00004307 ifdhandler.c:1545:init_driver() LogLevel: 0x0003
00033750 ifdhandler.c:1565:init_driver() DriverOptions: 0x0000
00000475 ifdhandler.c:82:IFDHCreateChannelByName() lun: 0, device: usb:072f/90cc:libusb:001:003
00011118 ccid_usb.c:285:OpenUSBByName() Manufacturer: Ludovic Rousseau (ludovic.rousseau@free.fr)
00003310 ccid_usb.c:295:OpenUSBByName() ProductString: Generic CCID driver
00016456 ccid_usb.c:301:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.
00565099 ccid_usb.c:501:OpenUSBByName() Found Vendor/Product: 072F/90CC (ACS ACR 38U-CCID)
00000494 ccid_usb.c:503:OpenUSBByName() Using USB bus/device: 001/003
00001036 ccid_usb.c:893:get_data_rates() IFD does not support GET_DATA_RATES request: Success
00050734 ifdhandler.c:1043:IFDHPowerICC() action: PowerUp, usb:072f/90cc:libusb:001:003 (lun: 0)
00055122 Card ATR: 3B BE 96 00 00 41 03 00 00 00 00 00 00 00 00 00 02 90 00
00010163 ifdhandler.c:364:IFDHGetCapabilities() tag: 0xFAE, usb:072f/90cc:libusb:001:003 (lun: 0)
00000129 ifdhandler.c:418:IFDHGetCapabilities() Reader supports 1 slot(s)
00000145 hotplug_libusb.c:402:HPEstablishUSBNotifications() Driver ifd-ccid.bundle does not support IFD_GENERATE_HOTPLUG. Using active polling instead.
00000099 hotplug_libusb.c:411:HPEstablishUSBNotifications() Polling forced every 1 second(s)
10302725 winscard_msg_srv.c:217:SHMProcessEventsServer() Common channel packet arrival
00000428 winscard_msg_srv.c:226:SHMProcessEventsServer() SHMProcessCommonChannelRequest detects: 6
00000199 pcscdaemon.c:175:SVCServiceRunLoop() A new context thread creation is requested: 6
00000933 winscard_svc.c:131:ContextThread() Thread is started: 6
00001956 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 6
00000230 winscard_svc.c:179:ContextThread() Client is protocol version 3:0
00003370 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 6
00000582 winscard.c:242:SCardEstablishContext() Establishing Context: 17038016
00029989 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 6
00000178 winscard.c:298:SCardConnect() Attempting Connect to ACS ACR 38U-CCID 00 00 using protocol: 3
00000123 prothandler.c:130:PHSetProtocol() Attempting PTS to T=0
00000160 ifdhandler.c:581:IFDHSetProtocolParameters() protocol T=0, usb:072f/90cc:libusb:001:003 (lun: 0)
00015516 winscard.c:433:SCardConnect() Active Protocol: T=0
00000140 winscard.c:443:SCardConnect() hCard Identity: 1c6af
00403380 winscard_msg_srv.c:288:SHMProcessEventsContext() correctly processed client: 6
00000152 winscard.c:1610:SCardTransmit() Send Protocol: T=0
00000113 ifdhandler.c:1170:IFDHTransmitToICC() usb:072f/90cc:libusb:001:003 (lun: 0)
Last edited by Keasis (2009-09-20 18:16:34)