Bug 217867 - SCM SCR 331 usb smart card reader fails to initialize
Summary: SCM SCR 331 usb smart card reader fails to initialize
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pcsc-lite
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bob Relyea
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-30 14:59 UTC by Jim Perrin
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-01 02:25:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jim Perrin 2006-11-30 14:59:25 UTC
Description of problem:
When an SCM SCR 331 usb smart card reader is connected, it fails to properly
initialize the reader. 

Version-Release number of selected component (if applicable):
pcsc-lite-1.3.1-7.i386


How reproducible:
always

Steps to Reproduce:
1.get an SCM SCR 331 usb reader with appropriate firmware
2.on fully updated fc6 system, connect smart card reader
3.tail /var/log/messages to see init failure.
  
Actual results:
tail -f /var/log/messages

Nov 30 09:55:43 localhost kernel: usb 4-2: new full speed USB device using
uhci_hcd and address 2
Nov 30 09:55:44 localhost kernel: usb 4-2: configuration #1 chosen from 1 choice
Nov 30 09:55:48 localhost pcscd: hotplug_libusb.c:407:HPAddHotPluggable() Adding
USB device: 004:002
Nov 30 09:55:48 localhost pcscd: readerfactory.c:1095:RFInitializeReader()
Attempting startup of SCM SCR 331 (401048CE) 00 00.
Nov 30 09:55:48 localhost pcscd: readerfactory.c:967:RFBindFunctions() Loading
IFD Handler 3.0
Nov 30 09:55:48 localhost pcscd: ifdhandler.c:1155:init_driver() LogLevel: 0x0003
Nov 30 09:55:48 localhost pcscd: ifdhandler.c:1165:init_driver() DriverOptions:
0x0000
Nov 30 09:55:48 localhost pcscd: ifdhandler.c:76:IFDHCreateChannelByName() lun:
0, device: usb:04e6/e001:libusb:004:002
Nov 30 09:55:48 localhost pcscd: ccid_usb.c:231:OpenUSBByName() Manufacturer:
Ludovic Rousseau (ludovic.rousseau)
Nov 30 09:55:48 localhost pcscd: ccid_usb.c:241:OpenUSBByName() ProductString:
Generic CCID driver v1.0.1
Nov 30 09:55:48 localhost pcscd: ccid_usb.c:247:OpenUSBByName() Copyright: This
driver is protected by terms of the GNU General Public License version 2, or (at
your option) any later version.
Nov 30 09:55:48 localhost pcscd: ccid_usb.c:389:OpenUSBByName() Can't claim
interface 004/002: Device or resource busy
Nov 30 09:55:48 localhost pcscd: ifdhandler.c:94:IFDHCreateChannelByName() failed
Nov 30 09:55:48 localhost pcscd: readerfactory.c:1130:RFInitializeReader() Open
Port 200000 Failed (usb:04e6/e001:libusb:004)
Nov 30 09:55:48 localhost pcscd: readerfactory.c:1012:RFUnloadReader() Unloading
reader driver.
Nov 30 09:55:48 localhost pcscd: readerfactory.c:251:RFAddReader() SCM SCR 331
(401048CE) init failed.

Expected results:

Reader initializes successfully and can be used with coolkey

Additional info:

Comment 1 Ludovic Rousseau 2006-11-30 20:18:01 UTC
Nov 30 09:55:48 localhost pcscd: ccid_usb.c:389:OpenUSBByName() Can't claim
interface 004/002: Device or resource busy

The reader is already used by another process. The general suspect is OpenCT.

Comment 2 Jim Perrin 2006-12-01 02:25:09 UTC
Absolutely correct, thank you. OpenCT was causing the failures. Removed it and
things work like a champ. 


Note You need to log in before you can comment on or make changes to this bug.