problem accessing smartcard

Istvan Buki <[email protected]>
Newsgroups gmane.comp.lib.muscle
Message-ID <CAMx0pBnrFqRjYF6XrZKvuG-JJA4sAaZSYACDEnMv33XQ91vz5g@mail.gmail.com>
Hello,

I just purchased an Akasa AK-ICR-09 card reader and I'm trying to use it
with a NagraVision smartcard.
For some unknown reason, the reader is unable to access that card.
I tried the same card in a different reader. No problem there.
I also tried a different card in the Akasa reader and it works as well.
So, it looks like it is a very specific combination of reader/card that is
not working.

I'm a complete newbie with this technology and I hope you will be able to
provide some help to make it work.

Thanks

Here is a complete description of my configuration:


   - CCID driver version: 1.4.15
   - pcsc-lite version: 1.8.8
   - smart card reader name: Alcor Micro AU9520
   - Reader manufacturer name and reader model name: Akasa AK-ICR-09
   - smart card name: Nagra Vision - nagra ID VO-01
   - O/S: Opensuse 13.1 x86_64

# /usr/sbin/pcscd --version
pcsc-lite version 1.8.8.
Copyright (C) 1999-2002 by David Corcoran <[email protected]>.
Copyright (C) 2001-2011 by Ludovic Rousseau <[email protected]>.
Copyright (C) 2003-2004 by Damien Sauveron <[email protected]>.
Report bugs to <[email protected]>.
Enabled features: Linux x86_64-suse-linux-gnu serial usb libudev
usbdropdir=/usr/lib64/readers ipcdir=/var/run/pcscd
configdir=/etc/reader.conf.d


00000000 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000050 debuglog.c:298:DebugLogSetCategory() Debug options: APDU
00000158 configfile.l:245:DBGetReaderListDir() Parsing conf directory:
/etc/reader.conf.d
00000035 configfile.l:257:DBGetReaderListDir() Skipping non regular file: ..
00000014 configfile.l:298:DBGetReaderList() Parsing conf file:
/etc/reader.conf.d/reader.conf
00000135 configfile.l:298:DBGetReaderList() Parsing conf file:
/etc/reader.conf.d/libccidtwin
00000054 configfile.l:257:DBGetReaderListDir() Skipping non regular file: .
00000017 pcscdaemon.c:525:main() pcsc-lite 1.8.8 daemon ready.
00004637 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
00000384 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
00000344 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x072F, PID: 0x9000, path: /dev/bus/usb/002/005
00000214 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x072F, PID: 0x9000, path: /dev/bus/usb/002/005
00000020 hotplug_libudev.c:312:HPAddDevice() Adding USB device: ACS ACR38U
00000063 readerfactory.c:978:RFInitializeReader() Attempting startup of ACS
ACR38U 00 00 using
/usr/lib64/readers/ACR38UDriver.bundle/Contents/Linux/ACR38UDriver.so
00000792 dyn_unix.c:81:DYN_GetAddress() IFDHCreateChannelByName:
/usr/lib64/readers/ACR38UDriver.bundle/Contents/Linux/ACR38UDriver.so:
undefined symbol: IFDHCreateChannelByName
00000017 readerfactory.c:836:RFBindFunctions() Loading IFD Handler 2.0
00005950 readerfactory.c:327:RFAddReader() Using the pcscd polling thread
00004483 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
00000381 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x046D, PID: 0xC03E, path: /dev/bus/usb/002/002
00000365 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0001, path: /dev/bus/usb/002/001
00000404 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x058F, PID: 0x9520, path: /dev/bus/usb/002/003
00000260 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x058F, PID: 0x9520, path: /dev/bus/usb/002/003
00000059 hotplug_libudev.c:312:HPAddDevice() Adding USB device: Alcor Micro
AU9520
00000099 readerfactory.c:978:RFInitializeReader() Attempting startup of
Alcor Micro AU9520 00 00 using
/usr/lib64/readers/ifd-ccid.bundle/Contents/Linux/libccid.so
00000248 readerfactory.c:868:RFBindFunctions() Loading IFD Handler 3.0
00000058 ifdhandler.c:1910:init_driver() Driver version: 1.4.15
00001640 ifdhandler.c:1927:init_driver() LogLevel: 0x0003
00000021 ifdhandler.c:1938:init_driver() DriverOptions: 0x0010
00000246 ifdhandler.c:1951:init_driver() LogLevel from LIBCCID_ifdLogLevel:
0x000F
00000014 ifdhandler.c:83:CreateChannelByNameOrChannel() Lun: 0, device:
usb:058f/9520:libudev:0:/dev/bus/usb/002/003
00000018 ccid_usb.c:233:OpenUSBByName() Reader index: 0, Device:
usb:058f/9520:libudev:0:/dev/bus/usb/002/003
00000025 ccid_usb.c:265:OpenUSBByName() interface_number: 0
00000008 ccid_usb.c:281:OpenUSBByName() Using:
/usr/lib64/readers/ifd-ccid.bundle/Contents/Info.plist
00001379 ccid_usb.c:299:OpenUSBByName() ifdManufacturerString: Ludovic
Rousseau ([email protected])
00000020 ccid_usb.c:300:OpenUSBByName() ifdProductString: Generic CCID
driver
00000013 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.
00001404 ccid_usb.c:426:OpenUSBByName() Checking device: 2/3
00000018 ccid_usb.c:488:OpenUSBByName() Trying to open USB bus/device: 2/3
00000208 ccid_usb.c:589:OpenUSBByName() Found Vendor/Product: 058F/9520
(Alcor Micro AU9520)
00000009 ccid_usb.c:591:OpenUSBByName() Using USB bus/device: 2/3
00000008 ccid_usb.c:1149:ControlUSB() request: 0x03
00004675 receive: 0F 07 00 00 C5 07 00 00 69 09 00 00 B7 09 00 00 F3 0C 00
00 1D 0E 00 00 8A 0F 00 00 D2 12 00 00 6D 13 00 00 E7 19 00 00 3B 1C 00 00
15 1F 00 00 A3 25 00 00 DA 26 00 00 CE 33 00 00 75 38 00 00 2A 3E 00 00 47
4B 00 00 B4 4D 00 00 B0 54 00 00 3F 5D 00 00 9B 67 00 00 EA 70 00 00 8F 74
00 00 54 7C 00 00 25 8D 00 00 8E 96 00 00 69 9B 00 00 5F A9 00 00 31 BC 00
00 43 C2 00 00 37 CF 00 00 D5 E1 00 00 1D E9 00 00 A8 F8 00 00 04 03 01 00
4A 1A 01 00 1B 2D 01 00 D2 36 01 00 BF 52 01 00 62 78 01 00 86 84 01 00 6D
9E 01 00 A9 C3 01 00 3B D2 01 00 08 06 02 00 93 34 02 00 37 5A 02 00 A4 6D
02 00 0D 09 03 00 DA 3C 03 00 52 87 03 00 48 DB 04 00
00000026 ccid_usb.c:1129:get_data_rates() declared: 1807 bps
00000008 ccid_usb.c:1129:get_data_rates() declared: 1989 bps
00000006 ccid_usb.c:1129:get_data_rates() declared: 2409 bps
00000006 ccid_usb.c:1129:get_data_rates() declared: 2487 bps
00000006 ccid_usb.c:1129:get_data_rates() declared: 3315 bps
00000006 ccid_usb.c:1129:get_data_rates() declared: 3613 bps
00000006 ccid_usb.c:1129:get_data_rates() declared: 3978 bps
00000673 ccid_usb.c:1129:get_data_rates() declared: 4818 bps
00000007 ccid_usb.c:1129:get_data_rates() declared: 4973 bps
00000006 ccid_usb.c:1129:get_data_rates() declared: 6631 bps
00000006 ccid_usb.c:1129:get_data_rates() declared: 7227 bps
00000349 ccid_usb.c:1129:get_data_rates() declared: 7957 bps
00000019 ccid_usb.c:1129:get_data_rates() declared: 9635 bps
00000007 ccid_usb.c:1129:get_data_rates() declared: 9946 bps
00000006 ccid_usb.c:1129:get_data_rates() declared: 13262 bps
00000006 ccid_usb.c:1129:get_data_rates() declared: 14453 bps
00000355 ccid_usb.c:1129:get_data_rates() declared: 15914 bps
00000018 ccid_usb.c:1129:get_data_rates() declared: 19271 bps
00000007 ccid_usb.c:1129:get_data_rates() declared: 19892 bps
00000006 ccid_usb.c:1129:get_data_rates() declared: 21680 bps
00000006 ccid_usb.c:1129:get_data_rates() declared: 23871 bps
00000102 ccid_usb.c:1129:get_data_rates() declared: 26523 bps
00000063 ccid_usb.c:1129:get_data_rates() declared: 28906 bps
00000048 ccid_usb.c:1129:get_data_rates() declared: 29839 bps
00000044 ccid_usb.c:1129:get_data_rates() declared: 31828 bps
00000044 ccid_usb.c:1129:get_data_rates() declared: 36133 bps
00000043 ccid_usb.c:1129:get_data_rates() declared: 38542 bps
00000080 ccid_usb.c:1129:get_data_rates() declared: 39785 bps
00000046 ccid_usb.c:1129:get_data_rates() declared: 43359 bps
00000043 ccid_usb.c:1129:get_data_rates() declared: 48177 bps
00000044 ccid_usb.c:1129:get_data_rates() declared: 49731 bps
00000043 ccid_usb.c:1129:get_data_rates() declared: 53047 bps
00000044 ccid_usb.c:1129:get_data_rates() declared: 57813 bps
00000045 ccid_usb.c:1129:get_data_rates() declared: 59677 bps
00000045 ccid_usb.c:1129:get_data_rates() declared: 63656 bps
00000044 ccid_usb.c:1129:get_data_rates() declared: 66308 bps
00000070 ccid_usb.c:1129:get_data_rates() declared: 72266 bps
00000045 ccid_usb.c:1129:get_data_rates() declared: 77083 bps
00000043 ccid_usb.c:1129:get_data_rates() declared: 79570 bps
00000044 ccid_usb.c:1129:get_data_rates() declared: 86719 bps
00000074 ccid_usb.c:1129:get_data_rates() declared: 96354 bps
00000046 ccid_usb.c:1129:get_data_rates() declared: 99462 bps
00000044 ccid_usb.c:1129:get_data_rates() declared: 106093 bps
00000045 ccid_usb.c:1129:get_data_rates() declared: 115625 bps
00000044 ccid_usb.c:1129:get_data_rates() declared: 119355 bps
00000043 ccid_usb.c:1129:get_data_rates() declared: 132616 bps
00000045 ccid_usb.c:1129:get_data_rates() declared: 144531 bps
00000043 ccid_usb.c:1129:get_data_rates() declared: 154167 bps
00000046 ccid_usb.c:1129:get_data_rates() declared: 159140 bps
00000044 ccid_usb.c:1129:get_data_rates() declared: 198925 bps
00000043 ccid_usb.c:1129:get_data_rates() declared: 212186 bps
00000044 ccid_usb.c:1129:get_data_rates() declared: 231250 bps
00000044 ccid_usb.c:1129:get_data_rates() declared: 318280 bps
00005115 ccid_usb.c:1202:InterruptRead() before (0)
00100694 ccid_usb.c:1244:InterruptRead() after (0) (2)
00000035 -> 000000 65 00 00 00 00 00 00 00 00 00
00002912 <- 000000 81 00 00 00 00 00 00 42 FE 01
00000015 -> 000000 65 00 00 00 00 00 01 00 00 00
00003983 <- 000000 81 00 00 00 00 00 01 42 FE 01
00000020 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFB3,
usb:058f/9520:libudev:0:/dev/bus/usb/002/003 (lun: 0)
00000005 readerfactory.c:332:RFAddReader() Using the reader polling thread
00000010 ifdhandler.c:1770:IFDHICCPresence()
usb:058f/9520:libudev:0:/dev/bus/usb/002/003 (lun: 0)
00000007 -> 000000 65 00 00 00 00 00 02 00 00 00
00003958 <- 000000 81 00 00 00 00 00 02 42 FE 01
00000011 ifdhandler.c:1891:IFDHICCPresence() Card absent
00000091 ifdhandler.c:362:IFDHGetCapabilities() tag: 0xFAE,
usb:058f/9520:libudev:0:/dev/bus/usb/002/003 (lun: 0)
00000080 ifdhandler.c:450:IFDHGetCapabilities() Reader supports 1 slot(s)
00000064 ifdhandler.c:1770:IFDHICCPresence()
usb:058f/9520:libudev:0:/dev/bus/usb/002/003 (lun: 0)
00000051 -> 000000 65 00 00 00 00 00 03 00 00 00
00000210 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000150 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000148 hotplug_libudev.c:260:get_driver() Looking for a driver for VID:
0x058F, PID: 0x6362, path: /dev/bus/usb/001/004
00000063 readerfactory.c:1309:RFWaitForReaderInit() Waiting init for
reader: Alcor Micro AU9520 00 00
00003132 <- 000000 81 00 00 00 00 00 03 42 FE 01
00000011 ifdhandler.c:1891:IFDHICCPresence() Card absent
00000008 ifdhandler.c:1770:IFDHICCPresence()
usb:058f/9520:libudev:0:/dev/bus/usb/002/003 (lun: 0)
00000008 -> 000000 65 00 00 00 00 00 04 00 00 00
00003972 <- 000000 81 00 00 00 00 00 04 42 FE 01
00000012 ifdhandler.c:1891:IFDHICCPresence() Card absent
00000005 ifdhandler.c:291:IFDHPolling()
usb:058f/9520:libudev:0:/dev/bus/usb/002/003 (lun: 0) 600000 ms
00000006 ccid_usb.c:1202:InterruptRead() before (0)
06906836 ccid_usb.c:1244:InterruptRead() after (0) (0)
00000029 NotifySlotChange: 50 07
00000014 ifdhandler.c:1770:IFDHICCPresence()
usb:058f/9520:libudev:0:/dev/bus/usb/002/003 (lun: 0)
00000015 -> 000000 65 00 00 00 00 00 05 00 00 00
00003919 <- 000000 81 00 00 00 00 00 05 41 FE 01
00000019 ifdhandler.c:1891:IFDHICCPresence() Card present
00000009 ifdhandler.c:1770:IFDHICCPresence()
usb:058f/9520:libudev:0:/dev/bus/usb/002/003 (lun: 0)
00000012 -> 000000 65 00 00 00 00 00 06 00 00 00
00003961 <- 000000 81 00 00 00 00 00 06 41 FE 01
00000107 ifdhandler.c:1891:IFDHICCPresence() Card present
00000050 ifdhandler.c:1122:IFDHPowerICC() action: PowerUp,
usb:058f/9520:libudev:0:/dev/bus/usb/002/003 (lun: 0)
00000042 -> 000000 62 00 00 00 00 00 07 00 00 00
00003801 <- 000000 80 00 00 00 00 00 07 41 88 00
00000018 commands.c:237:CmdPowerOn Unknown CCID error: 0x88
00000008 ifdhandler.c:1189:IFDHPowerICC() PowerUp failed
00000008 eventhandler.c:378:EHStatusHandlerThread() powerState:
POWER_STATE_UNPOWERED
00000007 eventhandler.c:387:EHStatusHandlerThread() Card inserted into
Alcor Micro AU9520 00 00
00000008 eventhandler.c:403:EHStatusHandlerThread() Error powering up card.
00000008 ifdhandler.c:291:IFDHPolling()
usb:058f/9520:libudev:0:/dev/bus/usb/002/003 (lun: 0) 600000 ms
00000008 ccid_usb.c:1202:InterruptRead() before (0)

_______________________________________________
Muscle mailing list
[email protected]
http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.