Hello, I recently received a new notebook, which includes the same reader as my old one.
Name: Broadcom 5880 USB: 0a5c:5800 The weird thing is, the reader worked like a charm on my old notebook, but does not on the new one. When i insert my smartcard, the card presence is detected but the service I'm using fails to handle (ask for pin, ...) the card There is one line within the logfile which seams to be an error: readerfactory.c:965: RFInitializeReader() Open Port 0x200001 Failed (usb:0a5c/5800:libudev:1:/dev/bus/usb/002/004) Full log below. Is this a bug, or is the reader simply not fully supported? libccid-version: 1.4.2-2 pcscd-version: 1.7.0-2ubuntu2 output of the command "/usr/sbin/pcscd --version": pcsc-lite version 1.7.0. Copyright (C) 1999-2002 by David Corcoran <[email protected]>. Copyright (C) 2001-2010 by Ludovic Rousseau <[email protected]>. Copyright (C) 2003-2004 by Damien Sauveron <[email protected]>. Report bugs to <[email protected]>. Enabled features: Linux x86_64-pc-linux-gnu serial usb libudev usbdropdir=/usr/lib/pcsc/drivers ipcdir=/var/run/pcscd configdir=/etc/reader.conf.d Thanks in advance ------------ debuglog.c:277:DebugLogSetLevel() debug level=debug debuglog.c:306:DebugLogSetCategory() Debug options: APDU configfile.l:245:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d configfile.l:287:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin pcscdaemon.c:550:main() pcsc-lite 1.7.0 daemon ready. hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/001/002 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x413C, PID: 0x2513, path: /dev/bus/usb/001/003 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/001/002 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x413C, PID: 0x2513, path: /dev/bus/usb/001/004 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC52B, path: /dev/bus/usb/001/006 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC52B, path: /dev/bus/usb/001/006 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC52B, path: /dev/bus/usb/001/006 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC52B, path: /dev/bus/usb/001/006 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x046D, PID: 0xC52B, path: /dev/bus/usb/001/006 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x413C, PID: 0x2513, path: /dev/bus/usb/001/004 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/001/002 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x05CA, PID: 0x181B, path: /dev/bus/usb/001/005 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x05CA, PID: 0x181B, path: /dev/bus/usb/001/005 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/001/002 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/002/002 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x413C, PID: 0x818D, path: /dev/bus/usb/002/003 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x413C, PID: 0x818D, path: /dev/bus/usb/002/003 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x413C, PID: 0x818D, path: /dev/bus/usb/002/003 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x413C, PID: 0x818D, path: /dev/bus/usb/002/003 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x413C, PID: 0x818D, path: /dev/bus/usb/002/003 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x413C, PID: 0x818D, path: /dev/bus/usb/002/003 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x413C, PID: 0x818D, path: /dev/bus/usb/002/003 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x413C, PID: 0x818D, path: /dev/bus/usb/002/003 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x413C, PID: 0x818D, path: /dev/bus/usb/002/003 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x413C, PID: 0x818D, path: /dev/bus/usb/002/003 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x413C, PID: 0x818D, path: /dev/bus/usb/002/003 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x413C, PID: 0x818D, path: /dev/bus/usb/002/003 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x413C, PID: 0x818D, path: /dev/bus/usb/002/003 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/002/002 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x5800, path: /dev/bus/usb/002/004 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x5800, path: /dev/bus/usb/002/004 hotplug_libudev.c:309:HPAddDevice() Adding USB device: Broadcom 5880 readerfactory.c:934:RFInitializeReader() Attempting startup of Broadcom 5880 [Broadcom USH] (0123456789ABCD) 00 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so readerfactory.c:824:RFBindFunctions() Loading IFD Handler 3.0 ifdhandler.c:1732:init_driver() Driver version: 1.4.2 ifdhandler.c:1750:init_driver() LogLevel: 0x0003 ifdhandler.c:1760:init_driver() LogLevel from LIBCCID_ifdLogLevel: 0x000F ifdhandler.c:1771:init_driver() DriverOptions: 0x0000 ifdhandler.c:79:IFDHCreateChannelByName() lun: 0, device: usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 ccid_usb.c:179:OpenUSBByName() Reader index: 0, Device: usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 ccid_usb.c:267:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau ( [email protected]) ccid_usb.c:268:OpenUSBByName() ifdProductString: Generic CCID driver ccid_usb.c:269: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. ccid_usb.c:380:OpenUSBByName() Checking device: 2/4 ccid_usb.c:435:OpenUSBByName() Trying to open USB bus/device: 2/4 ccid_usb.c:502:OpenUSBByName() Found Vendor/Product: 0A5C/5800 (Broadcom 5880) ccid_usb.c:504:OpenUSBByName() Using USB bus/device: 2/4 ccid_usb.c:990:ControlUSB() request: 0x03 receive: ccid_usb.c:934:get_data_rates() IFD does not support GET_DATA_RATES request: 0 ccid_usb.c:1030:InterruptRead() before (0) ccid_usb.c:1072:InterruptRead() after (0) (2) -> 000000 65 00 00 00 00 00 00 00 00 00 <- 000000 81 00 00 00 00 00 00 02 00 00 ifdhandler.c:401:IFDHGetCapabilities() tag: 0xFB3, usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) readerfactory.c:295:RFAddReader() Using the reader polling thread ifdhandler.c:1595:IFDHICCPresence() usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) -> 000000 65 00 00 00 00 00 01 00 00 00 <- 000000 81 00 00 00 00 00 01 02 00 00 ifdhandler.c:1713:IFDHICCPresence() Card absent ifdhandler.c:401:IFDHGetCapabilities() tag: 0xFAE, usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) ifdhandler.c:489:IFDHGetCapabilities() Reader supports 1 slot(s) ifdhandler.c:1595:IFDHICCPresence() usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) -> 000000 65 00 00 00 00 00 02 00 00 00 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x5800, path: /dev/bus/usb/002/004 hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x0A5C, PID: 0x5800, path: /dev/bus/usb/002/004 hotplug_libudev.c:309:HPAddDevice() Adding USB device: Broadcom 5880 <- 000000 81 00 00 00 00 00 02 02 00 00 ifdhandler.c:1713:IFDHICCPresence() Card absent ifdhandler.c:1595:IFDHICCPresence() usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) -> 000000 65 00 00 00 00 00 03 00 00 00 <- 000000 81 00 00 00 00 00 03 02 00 00 ifdhandler.c:1713:IFDHICCPresence() Card absent ifdhandler.c:331:IFDHPolling() usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) 600000 ms ccid_usb.c:1030:InterruptRead() before (0) ifdhandler.c:401:IFDHGetCapabilities() tag: 0xFAF, usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) readerfactory.c:587:RFSetReaderName() Support 16 simultaneous readers ifdhandler.c:401:IFDHGetCapabilities() tag: 0xFAD, usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) readerfactory.c:237:RFAddReader() Driver is thread safe readerfactory.c:934:RFInitializeReader() Attempting startup of Broadcom 5880 [Contacted SmartCard] (0123456789ABCD) 01 00 using /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so readerfactory.c:738:RFLoadReader() Reusing already loaded driver for /usr/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so readerfactory.c:824:RFBindFunctions() Loading IFD Handler 3.0 ifdhandler.c:79:IFDHCreateChannelByName() lun: 10000, device: usb:0a5c/5800:libudev:1:/dev/bus/usb/002/004 ccid_usb.c:179:OpenUSBByName() Reader index: 1, Device: usb:0a5c/5800:libudev:1:/dev/bus/usb/002/004 ccid_usb.c:267:OpenUSBByName() ifdManufacturerString: Ludovic Rousseau ( [email protected]) ccid_usb.c:268:OpenUSBByName() ifdProductString: Generic CCID driver ccid_usb.c:269: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. ccid_usb.c:380:OpenUSBByName() Checking device: 2/4 ccid_usb.c:428:OpenUSBByName() USB device 2/4 already in use. Checking next one. ifdhandler.c:101:IFDHCreateChannelByName() failed readerfactory.c:965:RFInitializeReader() Open Port 0x200001 Failed (usb:0a5c/5800:libudev:1:/dev/bus/usb/002/004) readerfactory.c:275:RFAddReader() Broadcom 5880 [Contacted SmartCard] (0123456789ABCD) init failed. readerfactory.c:985:RFUnInitializeReader() Attempting shutdown of Broadcom 5880 [Contacted SmartCard] (0123456789ABCD) 01 00. hotplug_libudev.c:258:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/002/002 winscard_msg_srv.c:202:ProcessEventsServer() Common channel packet arrival winscard_msg_srv.c:214:ProcessEventsServer() ProcessCommonChannelRequest detects: 9 pcscdaemon.c:91:SVCServiceRunLoop() A new context thread creation is requested: 9 winscard_svc.c:297:ContextThread() Thread is started: dwClientID=9, threadContext @2099D00 winscard_svc.c:315:ContextThread() Received command: CMD_VERSION from client 9 winscard_svc.c:327:ContextThread() Client is protocol version 4:2 winscard_svc.c:347:ContextThread() CMD_VERSION rv=0x0 for client 9 winscard_svc.c:315:ContextThread() Received command: ESTABLISH_CONTEXT from client 9 winscard.c:193:SCardEstablishContext() Establishing Context: 0x1037105 winscard_svc.c:406:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_WAIT_READER_STATE_CHANGE from client 9 ccid_usb.c:1072:InterruptRead() after (0) (0) NotifySlotChange: 50 03 ifdhandler.c:1595:IFDHICCPresence() usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) -> 000000 65 00 00 00 00 00 04 00 00 00 <- 000000 81 00 00 00 00 00 04 01 00 00 ifdhandler.c:1713:IFDHICCPresence() Card present ifdhandler.c:1595:IFDHICCPresence() usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) -> 000000 65 00 00 00 00 00 05 00 00 00 <- 000000 81 00 00 00 00 00 05 01 00 00 ifdhandler.c:1713:IFDHICCPresence() Card present ifdhandler.c:1151:IFDHPowerICC() action: PowerUp, usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) -> 000000 62 00 00 00 00 00 06 00 00 00 <- 000000 80 16 00 00 00 00 06 00 00 00 3B BD 18 00 81 31 FE 45 80 51 02 67 04 14 B1 01 01 02 00 81 05 3D eventhandler.c:372:EHStatusHandlerThread() powerState: POWER_STATE_POWERED eventhandler.c:387:EHStatusHandlerThread() Card inserted into Broadcom 5880 [Broadcom USH] (0123456789ABCD) 00 00 winscard_svc.c:729:MSGSignalClient() Signal client: 9 winscard_svc.c:732:MSGSignalClient() SIGNAL rv=0x0 for client 9 Card ATR: 3B BD 18 00 81 31 FE 45 80 51 02 67 04 14 B1 01 01 02 00 81 05 3D ifdhandler.c:331:IFDHPolling() usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) 5000 ms ccid_usb.c:1030:InterruptRead() before (0) winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CONNECT from client 9 winscard.c:235:SCardConnect() Attempting Connect to Broadcom 5880 [Broadcom USH] (0123456789ABCD) 00 00 using protocol: 3 winscard.c:328:SCardConnect() powerState: POWER_STATE_INUSE prothandler.c:127:PHSetProtocol() Attempting PTS to T=1 ifdhandler.c:700:IFDHSetProtocolParameters() protocol T=1, usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) ifdhandler.c:821:IFDHSetProtocolParameters() Set speed to 129032 bauds ifdhandler.c:978:IFDHSetProtocolParameters() BWI/CWI (TB3) present: 0x45 ifdhandler.c:1012:IFDHSetProtocolParameters() IFSC (TA3) present: 254 ifdhandler.c:1016:IFDHSetProtocolParameters() Timeout: 2538 ms commands.c:2088:SetParameters() length: 7 bytes -> 000000 61 07 00 00 00 00 07 01 00 00 18 10 00 45 00 FE 00 <- 000000 82 07 00 00 00 00 07 00 FF 00 18 10 00 45 00 FE 00 ifdhandler.c:1073:IFDHSetProtocolParameters() IFSC (TA3) present: 254 ifdhandler.c:1080:IFDHSetProtocolParameters() Negociate IFSD at 247 sending: 00 C1 01 F7 37 -> 000000 6F 05 00 00 00 00 08 00 00 00 00 C1 01 F7 37 <- 000000 80 05 00 00 00 00 08 00 00 00 00 E1 01 F7 17 received: 00 E1 01 F7 17 ifdhandler.c:1086:IFDHSetProtocolParameters() T=1: IFSC=254, IFSD=247 winscard.c:406:SCardConnect() Active Protocol: T=1 winscard.c:426:SCardConnect() hCard Identity: 1c608 winscard_svc.c:447:ContextThread() CONNECT rv=0x0 for client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: STATUS from client 9 winscard_svc.c:555:ContextThread() STATUS rv=0x0 for client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 9 winscard_svc.c:315:ContextThread() Received command: STATUS from client 9 winscard_svc.c:555:ContextThread() STATUS rv=0x0 for client 9 winscard_svc.c:315:ContextThread() Received command: CONTROL from client 9 ifdhandler.c:1323:IFDHControl() ControlCode: 0x42000D48, usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) Control TxBuffer: Control RxBuffer: 0A 04 42 33 00 0A 12 04 42 33 00 12 winscard_svc.c:646:ContextThread() CONTROL rv=0x0 for client 9 ccid_usb.c:1072:InterruptRead() after (0) (2) ifdhandler.c:1595:IFDHICCPresence() usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) -> 000000 65 00 00 00 00 00 09 00 00 00 <- 000000 81 00 00 00 00 00 09 00 00 00 ifdhandler.c:1713:IFDHICCPresence() Card present ifdhandler.c:331:IFDHPolling() usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) 600000 ms ccid_usb.c:1030:InterruptRead() before (0) pcscdaemon.c:676:signal_trap() Received signal: 2 pcscdaemon.c:681:signal_trap() Preparing for suicide readerfactory.c:1254:RFCleanupReaders() entering cleaning function readerfactory.c:1263:RFCleanupReaders() Stopping reader: Broadcom 5880 [Broadcom USH] (0123456789ABCD) 00 00 eventhandler.c:148:EHDestroyEventHandler() Stomping thread. ifdhandler.c:401:IFDHGetCapabilities() tag: 0xFB1, usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) ifdhandler.c:401:IFDHGetCapabilities() tag: 0xFB2, usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) eventhandler.c:173:EHDestroyEventHandler() Request stoping of polling thread ifdhandler.c:366:IFDHStopPolling() usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) ccid_usb.c:1072:InterruptRead() after (0) (3) ccid_usb.c:1087:InterruptRead() InterruptRead (2/4): Success eventhandler.c:469:EHStatusHandlerThread() Die eventhandler.c:188:EHDestroyEventHandler() Thread stomped. readerfactory.c:985:RFUnInitializeReader() Attempting shutdown of Broadcom 5880 [Broadcom USH] (0123456789ABCD) 00 00. ifdhandler.c:293:IFDHCloseChannel() usb:0a5c/5800:libudev:0:/dev/bus/usb/002/004 (lun: 0) -> 000000 63 00 00 00 00 00 0A 00 00 00 <- 000000 81 00 00 00 00 00 0A 01 00 01 ccid_usb.c:700:CloseUSB() Closing USB device: 2/4 ccid_usb.c:715:CloseUSB() Last slot closed. Release resources readerfactory.c:861:RFUnloadReader() Unloading reader driver. winscard_svc.c:130:ContextsDeinitialize() remaining threads: 1 pcscdaemon.c:628:at_exit() cleaning /var/run/pcscd
_______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
