ACR38U Does not work on 12.10

Bug #1161882 reported by oleg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pcsc-lite (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I have ACR38U CCID reader and it works great under Ubuntu 10.10
but it doesn't work under 12.10

here's log from Ubuntu 10.10 (it works there)
-----
00000336 ifdhandler.c:1565:init_driver() DriverOptions: 0x0000
00000013 ifdhandler.c:82:IFDHCreateChannelByName() lun: 0, device: usb:072f/90cc:libusb:005:002
00000674 ccid_usb.c:285:OpenUSBByName() Manufacturer: Ludovic Rousseau (<email address hidden>)
00000301 ccid_usb.c:295:OpenUSBByName() ProductString: Generic CCID driver
00000294 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.
00053062 ccid_usb.c:501:OpenUSBByName() Found Vendor/Product: 072F/90CC (ACS ACR 38U-CCID)
00000016 ccid_usb.c:503:OpenUSBByName() Using USB bus/device: 005/002
00002747 ccid_usb.c:893:get_data_rates() IFD does not support GET_DATA_RATES request: Success
00008994 ifdhandler.c:364:IFDHGetCapabilities() tag: 0xFB0, usb:072f/90cc:libusb:005:002 (lun: 0)
00000020 readerfactory.c:249:RFAddReader() Using the pcscd polling thread
00002025 ifdhandler.c:364:IFDHGetCapabilities() tag: 0xFAE, usb:072f/90cc:libusb:005:002 (lun: 0)
00000014 ifdhandler.c:418:IFDHGetCapabilities() Reader supports 1 slot(s)
00003935 ifdhandler.c:1043:IFDHPowerICC() action: PowerUp, usb:072f/90cc:libusb:005:002 (lun: 0)
00152050 Card ATR: 3B 6D 00 00 80 31 80 65 B0 87 27 01 BC 83 08 90 00
----------
but doesn't on Ubuntu 12.10

00005311 ccid_usb.c:649:OpenUSBByName() Found Vendor/Product: 072F/90CC (ACS ACR38U-CCID)
00000019 ccid_usb.c:651:OpenUSBByName() Using USB bus/device: 004/007
00002590 ccid_usb.c:1366:get_data_rates() IFD does not support GET_DATA_RATES request: Success
00001979 ifdhandler.c:220:IFDHCreateChannelByName() dwFeatures: 0x00010030
00000047 ifdhandler.c:221:IFDHCreateChannelByName() wLcdLayout: 0x0000
00000034 ifdhandler.c:222:IFDHCreateChannelByName() bPINSupport: 0x00
00000050 ifdhandler.c:223:IFDHCreateChannelByName() dwMaxCCIDMessageLength: 271
00000045 ifdhandler.c:224:IFDHCreateChannelByName() dwMaxIFSD: 247
00000044 ifdhandler.c:225:IFDHCreateChannelByName() dwDefaultClock: 4000
00000033 ifdhandler.c:226:IFDHCreateChannelByName() dwMaxDataRate: 344100
00000045 ifdhandler.c:227:IFDHCreateChannelByName() bMaxSlotIndex: 0
00000043 ifdhandler.c:228:IFDHCreateChannelByName() bCurrentSlotIndex: 0
00000044 ifdhandler.c:229:IFDHCreateChannelByName() bInterfaceProtocol: 0x00
00000033 ifdhandler.c:230:IFDHCreateChannelByName() bNumEndpoints: 3
00000038 ifdhandler.c:231:IFDHCreateChannelByName() bVoltageSupport: 0x07
00000041 ifdhandler.c:536:IFDHGetCapabilities() tag: 0xFB3, usb:072f/90cc:libudev:0:/dev/bus/usb/004/007 (lun: 0)
00000040 readerfactory.c:327:RFAddReader() Using the pcscd polling thread
00001538 ifdhandler.c:536:IFDHGetCapabilities() tag: 0xFAE, usb:072f/90cc:libudev:0:/dev/bus/usb/004/007 (lun: 0)
00000028 ifdhandler.c:630:IFDHGetCapabilities() Reader supports 1 slot(s)
00003888 ifdhandler.c:1354:IFDHPowerICC() action: PowerUp, usb:072f/90cc:libudev:0:/dev/bus/usb/004/007 (lun: 0)
00152081 eventhandler.c:256:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
00000047 Card ATR: 3B 6D 00 00 80 31 80 65 B0 87 27 01 BC 83 08 90 00
00404960 ifdhandler.c:1354:IFDHPowerICC() action: PowerDown, usb:072f/90cc:libudev:0:/dev/bus/usb/004/007 (lun: 0)
00098010 eventhandler.c:446:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED

syslog
---
Mar 29 18:55:07 ubuntu12 kernel: [ 1959.368178] usb 4-1: USB disconnect, device number 7
Mar 29 18:55:11 ubuntu12 kernel: [ 1963.700087] usb 4-1: new full-speed USB device number 9 using uhci_hcd
Mar 29 18:55:11 ubuntu12 kernel: [ 1963.876838] usb 4-1: New USB device found, idVendor=072f, idProduct=90cc
Mar 29 18:55:11 ubuntu12 kernel: [ 1963.876851] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Mar 29 18:55:11 ubuntu12 kernel: [ 1963.876859] usb 4-1: Product: CCID USB Reader
Mar 29 18:55:11 ubuntu12 kernel: [ 1963.876867] usb 4-1: Manufacturer: ACS
Mar 29 18:55:11 ubuntu12 mtp-probe: checking bus 4, device 9: "/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1"
Mar 29 18:55:11 ubuntu12 mtp-probe: bus: 4, device: 9 was not an MTP device

what can be a reason?

Revision history for this message
Ludovic Rousseau (ludovic-rousseau-gmail) wrote :

Why do you say it does not work?

I do not see any error in your log.
Please send a COMPLETE log. Do not remove the first lines.

Revision history for this message
oleg (getmequick) wrote :
Download full text (5.0 KiB)

Thanks for a quick reply,
Well, under Ubuntu 10.10 led indicator lights once it's plugged in
but Under 12.10 it's blinking and I cannot login the bank system where this cardreader is used., so I guess it's not working?

This is complete dump from 12.10
---
sudo pcscd -f -d
00000000 debuglog.c:269:DebugLogSetLevel() debug level=debug
00000313 configfile.l:245:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000049 configfile.l:298:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
00000079 configfile.l:257:DBGetReaderListDir() Skipping non regular file: ..
00000023 configfile.l:257:DBGetReaderListDir() Skipping non regular file: .
00000018 configfile.l:298:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/0comments.dpkg-new
00000065 pcscdaemon.c:516:main() pcsc-lite 1.8.5 daemon ready.
00001225 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/003/001
00000243 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000234 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
00000188 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/004/001
00000182 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x0458, PID: 0x003A, path: /dev/bus/usb/004/002
00000226 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/005/001
00000227 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0001, path: /dev/bus/usb/006/001
00000297 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
07699572 hotplug_libudev.c:260:get_driver() Looking for a driver for VID: 0x072F, PID: 0x90CC, path: /dev/bus/usb/005/002
00000037 hotplug_libudev.c:312:HPAddDevice() Adding USB device: ACS ACR38U-CCID
00000133 readerfactory.c:978:RFInitializeReader() Attempting startup of ACS ACR38U-CCID 00 00 using /usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.s
00046606 readerfactory.c:868:RFBindFunctions() Loading IFD Handler 3.0
00000206 ifdhandler.c:2335:init_driver() Driver version: 1.0.4
00000248 ifdhandler.c:2348:init_driver() LogLevel: 0x0003
00000190 ifdhandler.c:2368:init_driver() DriverOptions: 0x00C0
00000184 ifdhandler.c:2395:init_driver() ACR38CardVoltage: 0
00000182 ifdhandler.c:2402:init_driver() ACR38CardType: 0
00000013 ifdhandler.c:94:IFDHCreateChannelByName() lun: 0, device: usb:072f/90cc:libudev:0:/dev/bus/usb/005/002
00106815 ccid_usb.c:375:OpenUSBByName() Manufacturer: Advanced Card Systems Ltd.
00000390 ccid_usb.c:385:OpenUSBByName() ProductString: ACS CCID driver
00000372 ccid_usb.c:391:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later
00005304 ccid_usb.c:649:OpenUSBByName() Found Vendor/Product: 072F/90CC (ACS ACR38U-CCID)
00000021 ccid_usb.c:651:OpenUSBByName() Using USB bus/device: 005/002
00002506 ccid_usb.c:1366:get_data_rates() IFD does...

Read more...

Revision history for this message
Ludovic Rousseau (ludovic-rousseau-gmail) wrote :

The behaviour you see is expected.
See http://ludovicrousseau.blogspot.fr/2010/10/card-auto-power-on-and-off.html

The bug may be in the application using the smart card.

Revision history for this message
oleg (getmequick) wrote :

Thanks, I wasn't aware, so it';s app bug, I replaced java7 with Java6 (ubuntu 10.10 had java6) and it started to work now.
Many thanks for you support.

Revision history for this message
Joy Latten (j-latten) wrote :

This bug was not applicable to pcsc-lite package. Closing since no activity and eol.

Changed in pcsc-lite (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.