[Intrepid] Smartcard adapter does not work any more (Gemplus Twin)

Bug #278668 reported by Jan
6
Affects Status Importance Assigned to Milestone
pcsc-lite (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The smart card reader was working before and is still working under Windows. Now I can not get it working on Ubuntu any more. When connecting to Ubuntu 8.10 (beta) the following messages appear in /var/log/messages :

Oct 5 18:31:04 otto kernel: [ 374.936112] usb 1-2.1: new full speed USB device using ehci_hcd and address 7
Oct 5 18:31:04 otto kernel: [ 375.065656] usb 1-2.1: configuration #1 chosen from 1 choice
Oct 5 18:31:04 otto pcscd: hotplug_libhal.c:342:HPAddDevice() Adding USB device: usb_device_8e6_3437_noserial_if0
Oct 5 18:31:05 otto pcscd: readerfactory.c:1082:RFInitializeReader() Attempting startup of Gemplus GemPC Twin 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
Oct 5 18:31:05 otto pcscd: readerfactory.c:949:RFBindFunctions() Loading IFD Handler 3.0
Oct 5 18:31:05 otto pcscd: ifdhandler.c:1323:init_driver() Driver version: 1.3.8
Oct 5 18:31:05 otto pcscd: ifdhandler.c:1336:init_driver() LogLevel: 0x0003
Oct 5 18:31:05 otto pcscd: ifdhandler.c:1356:init_driver() DriverOptions: 0x0000
Oct 5 18:31:05 otto pcscd: ifdhandler.c:81:IFDHCreateChannelByName() lun: 0, device: usb:08e6/3437:libhal:/org/freedesktop/Hal/devices/usb_device_8e6_3437_noserial_if0
Oct 5 18:31:05 otto pcscd: ccid_usb.c:236:OpenUSBByName() Manufacturer: Ludovic Rousseau (<email address hidden>)
Oct 5 18:31:05 otto pcscd: ccid_usb.c:246:OpenUSBByName() ProductString: Generic CCID driver
Oct 5 18:31:05 otto pcscd: ccid_usb.c:252: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.
Oct 5 18:31:05 otto pcscd: ccid_usb.c:402:OpenUSBByName() Can't claim interface 001/007: Device or resource busy
Oct 5 18:31:05 otto pcscd: ifdhandler.c:99:IFDHCreateChannelByName() failed
Oct 5 18:31:05 otto pcscd: readerfactory.c:1121:RFInitializeReader() Open Port 200000 Failed (usb:08e6/3437:libhal:/org/freedesktop/Hal/devices/usb_device_8e6_3437_noserial_if0)
Oct 5 18:31:05 otto pcscd: readerfactory.c:994:RFUnloadReader() Unloading reader driver.
Oct 5 18:31:05 otto pcscd: readerfactory.c:249:RFAddReader() Gemplus GemPC Twin init failed.
Oct 5 18:31:05 otto pcscd: hotplug_libhal.c:395:HPAddDevice() Failed adding USB device: usb_device_8e6_3437_noserial_if0

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

Oct 5 18:31:05 otto pcscd: ccid_usb.c:402:OpenUSBByName() Can't claim interface 001/007: Device or resource busy

remove the openct package and try again.

Revision history for this message
Jan (jan23) wrote :

Yes, you are right. This was the reason for the problem.

JanJan (jan-suhr-merged)
Changed in pcsc-lite:
status: New → Invalid
Revision history for this message
SteveClement (steve-ion) wrote :

Hi I have a very similar problem on my newly installed Ubuntu Intrepid 8.10

My reader is an Omnikey 5321 USB pcscd output:

steve@steve-laptop:~$ Nov 1 12:09:56 steve-laptop kernel: [ 1349.096133] usb 6-1: new full speed USB device using uhci_hcd and address 7
Nov 1 12:09:56 steve-laptop kernel: [ 1349.304852] usb 6-1: configuration #1 chosen from 1 choice
Nov 1 12:09:56 steve-laptop pcscd: hotplug_libhal.c:342:HPAddDevice() Adding USB device: usb_device_76b_5321_noserial_if0
Nov 1 12:09:57 steve-laptop pcscd: readerfactory.c:1082:RFInitializeReader() Attempting startup of OMNIKEY CardMan 5x21 00 00 using /usr/lib/pcsc/drivers/ifdokrfid_lnx-2.6.0.bundle/Contents/Linux/ifdokrfid.so
Nov 1 12:09:57 steve-laptop pcscd: readerfactory.c:949:RFBindFunctions() Loading IFD Handler 3.0
Nov 1 12:09:57 steve-laptop pcscd: readerfactory.c:1121:RFInitializeReader() Open Port 200000 Failed (usb:076b/5321:libhal:/org/freedesktop/Hal/devices/usb_device_76b_5321_noserial_if0)
Nov 1 12:09:57 steve-laptop pcscd: readerfactory.c:994:RFUnloadReader() Unloading reader driver.
Nov 1 12:09:57 steve-laptop pcscd: readerfactory.c:249:RFAddReader() OMNIKEY CardMan 5x21 init failed.
Nov 1 12:09:57 steve-laptop pcscd: hotplug_libhal.c:395:HPAddDevice() Failed adding USB device: usb_device_76b_5321_noserial_if0

steve@steve-laptop:~$ uname -a
Linux steve-laptop 2.6.27-7-generic #1 SMP Thu Oct 30 04:18:38 UTC 2008 i686 GNU/Linux

I suppose something is having an exclusive lock on my reader and that's why it wouldn't correctly load the driver.

Shall I open a new bug?

cheers, Steve

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

> startup of OMNIKEY CardMan 5x21 00 00 using /usr/lib/pcsc/drivers/ifdokrfid_lnx-2.6.0.bundle/Contents/Linux/ifdokrfid.so

You should report the bug to the pcsc-omnikey package providing the ifdokrfid_lnx-2.6.0 driver. This software is non-free. Good luck.

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.