> > Hello, > > I updated the online version to svn-4527 with an important bug correction. > But since I got no feedback from my previous announce I guess no one > ever tried to build or use these beta versions. Bad news :-( > > You should rebort bugs _now_. > > Bye >
Hello Ludovic, The new version compiles fine on Ubuntu 9.10 (karmic) AMD64. And for my great suprise, the Smart Enterprise Guardian [Smart Card Reader] (106A1D11163057150508) is working!!! (at least the reader is installed). But (just as openct/opensc) the reader seems to work, (pscs_scan output): Sat Oct 31 07:01:32 2009 Reader 0: Smart Enterprise Guardian [Smart Card Reader] (106A1D11163057150508) 00 00 Card state: Card inserted, ATR: 3B 16 96 41 73 74 72 69 64 ATR: 3B 16 96 41 73 74 72 69 64 + TS = 3B --> Direct Convention + T0 = 16, Y(1): 0001, K: 6 (historical bytes) TA(1) = 96 --> Fi=512, Di=32, 16 cycles/ETU 250000 bits/s at 4 MHz, fMax for Fi = 5 MHz => 312500 bits/s + Historical bytes: 41 73 74 72 69 64 Category indicator byte: 41 (proprietary format) But muscletools' muscleTool says "No Valid Tokens Found" for the "token" command. Surely this means I don't know what/how to do with a working pcscd, how to manage my card - any suggestions appreciated! Thanks for the great work, Tamás Gulácsi
## pwd /usr/local/src ## ls -l összesen 941 drwxr-xr-x 8 gthomas gthomas 1024 2009-10-31 06:49 ccid-1.3.11-svn-4527 -rw-r--r-- 1 gthomas gthomas 425348 2009-10-30 09:43 ccid-1.3.11-svn-4527.tar.bz2 drwxr-xr-x 11 gthomas root 1024 2009-10-17 09:29 compcache drwxr-xr-x 36 gthomas root 6144 2009-09-01 06:23 mplayer drwxr-xr-x 6 gthomas gthomas 1024 2009-10-31 06:48 pcsc-lite-1.5.6-svn-4527 -rw-r--r-- 1 gthomas gthomas 488124 2009-10-30 09:43 pcsc-lite-1.5.6-svn-4527.tar.bz2 -rw-r--r-- 1 gthomas gthomas 11688 2009-10-31 06:52 pcsc-lite-20091031T065133.log -rw-r--r-- 1 gthomas gthomas 23425 2009-10-31 07:05 pcsc-lite-20091031T065424.log -rw-r--r-- 1 gthomas gthomas 35 2009-10-31 07:06 pcsc-lite-20091031T070639.log -rw-r--r-- 1 gthomas gthomas 393 2009-10-09 06:16 pcsc-lite.sh ## uname -a Linux hackworth 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux ## lsusb Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 007: ID 08e6:8000 Gemplus Bus 001 Device 005: ID 0b97:7762 O2 Micro, Inc. Oz776 SmartCard Reader Bus 001 Device 004: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader Bus 001 Device 003: ID 0b97:7761 O2 Micro, Inc. Oz776 1.1 Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 413c:a005 Dell Computer Corp. Internal 2.0 Hub ## /usr/local/sbin/pcscd --version pcsc-lite version 1.5.6-svn-4527. Copyright (C) 1999-2002 by David Corcoran <corco...@linuxnet.com>. Copyright (C) 2001-2008 by Ludovic Rousseau <ludovic.rouss...@free.fr>. Copyright (C) 2003-2004 by Damien Sauveron <sauve...@labri.fr>. Report bugs to <muscle@lists.musclecard.com>. Enabled features: Linux libhal usbdropdir=/usr/local/pcsc/drivers confdir=/etc ipcdir=/var/run/pcscd ## sudo env LIBCCID_ifdLogLevel=0x0007 /usr/local/sbin/pcscd --foreground --debug --apdu debuglog.c:230:DebugLogSetLevel() debug level=debug debuglog.c:259:DebugLogSetCategory() Debug options: APDU pcscdaemon.c:488:main() pcsc-lite 1.5.6-svn-4527 daemon ready. hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x08E6, PID: 0x8000 hotplug_libhal.c:366:HPAddDevice() Adding USB device: usb_device_8e6_8000_106A1D11163057150508_if1 readerfactory.c:933:RFInitializeReader() Attempting startup of Smart Enterprise Guardian [Smart Card Reader] (106A1D11163057150508) 00 00 using /usr/local/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so readerfactory.c:802:RFBindFunctions() Loading IFD Handler 3.0 ifdhandler.c:1592:init_driver() Driver version: 1.3.11-svn-4527 ifdhandler.c:1605:init_driver() LogLevel: 0x0003 ifdhandler.c:1615:init_driver() LogLevel from LIBCCID_ifdLogLevel: 0x0007 ifdhandler.c:1625:init_driver() DriverOptions: 0x0000 ifdhandler.c:82:IFDHCreateChannelByName() lun: 0, device: usb:08e6/8000:libhal:/org/freedesktop/Hal/devices/usb_device_8e6_8000_106A1D11163057150508_if1 ccid_usb.c:162:OpenUSBByName() Reader index: 0, Device: usb:08e6/8000:libhal:/org/freedesktop/Hal/devices/usb_device_8e6_8000_106A1D11163057150508_if1 ccid_usb.c:279:OpenUSBByName() Manufacturer: Ludovic Rousseau (ludovic.rouss...@free.fr) ccid_usb.c:289:OpenUSBByName() ProductString: Generic CCID driver ccid_usb.c:295: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:377:OpenUSBByName() Checking device: 001/007 ccid_usb.c:431:OpenUSBByName() Trying to open USB bus/device: 001/007 ccid_usb.c:495:OpenUSBByName() Found Vendor/Product: 08E6/8000 (Smart Enterprise Guardian) ccid_usb.c:497:OpenUSBByName() Using USB bus/device: 001/007 ccid_usb.c:943:ControlUSB() request: 0x03 receive: ccid_usb.c:887:get_data_rates() IFD does not support GET_DATA_RATES request: error sending control message: Broken pipe ifdhandler.c:365:IFDHGetCapabilities() tag: 0xFB0, usb:08e6/8000:libhal:/org/freedesktop/Hal/devices/usb_device_8e6_8000_106A1D11163057150508_if1 (lun: 0) readerfactory.c:249:RFAddReader() Using the pcscd polling thread ifdhandler.c:365:IFDHGetCapabilities() tag: 0xFAE, usb:08e6/8000:libhal:/org/freedesktop/Hal/devices/usb_device_8e6_8000_106A1D11163057150508_if1 (lun: 0) ifdhandler.c:453:IFDHGetCapabilities() Reader supports 1 slot(s) ifdhandler.c:1087:IFDHPowerICC() action: PowerUp, usb:08e6/8000:libhal:/org/freedesktop/Hal/devices/usb_device_8e6_8000_106A1D11163057150508_if1 (lun: 0) -> 000000 62 00 00 00 00 00 04 00 00 00 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x08E6, PID: 0x8000 hotplug_libhal.c:366:HPAddDevice() Adding USB device: usb_device_8e6_8000_106A1D11163057150508_if0 <- 000000 80 09 00 00 00 00 04 00 00 00 3B 16 96 41 73 74 72 69 64 Card ATR: 3B 16 96 41 73 74 72 69 64 ifdhandler.c:365:IFDHGetCapabilities() tag: 0xFAF, usb:08e6/8000:libhal:/org/freedesktop/Hal/devices/usb_device_8e6_8000_106A1D11163057150508_if1 (lun: 0) readerfactory.c:515:RFSetReaderName() Support 16 simultaneous readers ifdhandler.c:365:IFDHGetCapabilities() tag: 0xFAD, usb:08e6/8000:libhal:/org/freedesktop/Hal/devices/usb_device_8e6_8000_106A1D11163057150508_if1 (lun: 0) readerfactory.c:195:RFAddReader() Driver is thread safe readerfactory.c:933:RFInitializeReader() Attempting startup of Smart Enterprise Guardian [Mass Storage] (106A1D11163057150508) 01 00 using /usr/local/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so readerfactory.c:663:RFLoadReader() Reusing already loaded driver for /usr/local/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so readerfactory.c:802:RFBindFunctions() Loading IFD Handler 3.0 ifdhandler.c:82:IFDHCreateChannelByName() lun: 10000, device: usb:08e6/8000:libhal:/org/freedesktop/Hal/devices/usb_device_8e6_8000_106A1D11163057150508_if0 ccid_usb.c:162:OpenUSBByName() Reader index: 1, Device: usb:08e6/8000:libhal:/org/freedesktop/Hal/devices/usb_device_8e6_8000_106A1D11163057150508_if0 ccid_usb.c:279:OpenUSBByName() Manufacturer: Ludovic Rousseau (ludovic.rouss...@free.fr) ccid_usb.c:289:OpenUSBByName() ProductString: Generic CCID driver ccid_usb.c:295: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:377:OpenUSBByName() Checking device: 001/007 ccid_usb.c:431:OpenUSBByName() Trying to open USB bus/device: 001/007 ccid_usb.c:476:OpenUSBByName() Wrong interface for USB device 001/007. Checking next one. tokenparser.l:175:LTPBundleFindValueWithKey() Value/Key not defined for: ifdVendorID in /usr/local/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist ifdhandler.c:104:IFDHCreateChannelByName() failed readerfactory.c:959:RFInitializeReader() Open Port 200001 Failed (usb:08e6/8000:libhal:/org/freedesktop/Hal/devices/usb_device_8e6_8000_106A1D11163057150508_if0) readerfactory.c:233:RFAddReader() Smart Enterprise Guardian [Mass Storage] (106A1D11163057150508) init failed. hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x413C, PID: 0xA005 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x0B97, PID: 0x7761 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x0B97, PID: 0x7762 hotplug_libhal.c:366:HPAddDevice() Adding USB device: usb_device_b97_7762_noserial_if0 ifdhandler.c:365:IFDHGetCapabilities() tag: 0xFAF, usb:08e6/8000:libhal:/org/freedesktop/Hal/devices/usb_device_8e6_8000_106A1D11163057150508_if1 (lun: 0) readerfactory.c:515:RFSetReaderName() Support 16 simultaneous readers ifdhandler.c:365:IFDHGetCapabilities() tag: 0xFAD, usb:08e6/8000:libhal:/org/freedesktop/Hal/devices/usb_device_8e6_8000_106A1D11163057150508_if1 (lun: 0) readerfactory.c:195:RFAddReader() Driver is thread safe readerfactory.c:933:RFInitializeReader() Attempting startup of O2 Micro Oz776 01 00 using /usr/local/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so readerfactory.c:663:RFLoadReader() Reusing already loaded driver for /usr/local/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so readerfactory.c:802:RFBindFunctions() Loading IFD Handler 3.0 ifdhandler.c:82:IFDHCreateChannelByName() lun: 10000, device: usb:0b97/7762:libhal:/org/freedesktop/Hal/devices/usb_device_b97_7762_noserial_if0 ccid_usb.c:162:OpenUSBByName() Reader index: 1, Device: usb:0b97/7762:libhal:/org/freedesktop/Hal/devices/usb_device_b97_7762_noserial_if0 ccid_usb.c:279:OpenUSBByName() Manufacturer: Ludovic Rousseau (ludovic.rouss...@free.fr) ccid_usb.c:289:OpenUSBByName() ProductString: Generic CCID driver ccid_usb.c:295: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:377:OpenUSBByName() Checking device: 001/005 ccid_usb.c:431:OpenUSBByName() Trying to open USB bus/device: 001/005 ccid_usb.c:495:OpenUSBByName() Found Vendor/Product: 0B97/7762 (O2 Micro Oz776) ccid_usb.c:497:OpenUSBByName() Using USB bus/device: 001/005 ccid_usb.c:943:ControlUSB() request: 0x03 receive: 80 25 00 00 ccid_usb.c:923:get_data_rates() declared: 9600 bps ifdhandler.c:365:IFDHGetCapabilities() tag: 0xFB0, usb:0b97/7762:libhal:/org/freedesktop/Hal/devices/usb_device_b97_7762_noserial_if0 (lun: 10000) readerfactory.c:249:RFAddReader() Using the pcscd polling thread ifdhandler.c:365:IFDHGetCapabilities() tag: 0xFAE, usb:0b97/7762:libhal:/org/freedesktop/Hal/devices/usb_device_b97_7762_noserial_if0 (lun: 10000) ifdhandler.c:453:IFDHGetCapabilities() Reader supports 1 slot(s) hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x0483, PID: 0x2016 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0002 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 hotplug_libhal.c:318:get_driver() Looking a driver for VID: 0x1D6B, PID: 0x0001 winscard_msg_srv.c:204:SHMProcessEventsServer() Common channel packet arrival winscard_msg_srv.c:216:SHMProcessEventsServer() SHMProcessCommonChannelRequest detects: 7 pcscdaemon.c:140:SVCServiceRunLoop() A new context thread creation is requested: 7 winscard_svc.c:174:ContextThread() Thread is started: 7 winscard_svc.c:190:ContextThread() Received command: CMD_VERSION from client 7 winscard_svc.c:207:ContextThread() Client is protocol version 4:0 winscard_svc.c:190:ContextThread() Received command: ESTABLISH_CONTEXT from client 7 winscard.c:218:SCardEstablishContext() Establishing Context: 0x103B49D winscard_svc.c:190:ContextThread() Received command: CMD_GET_READERS_STATE from client 7 winscard_svc.c:190:ContextThread() Received command: CMD_GET_READERS_STATE from client 7 winscard_svc.c:190:ContextThread() Received command: CMD_GET_READERS_STATE from client 7 winscard_svc.c:190:ContextThread() Received command: CMD_GET_READERS_STATE from client 7
_______________________________________________ Muscle mailing list Muscle@lists.musclecard.com http://lists.drizzle.com/mailman/listinfo/muscle