Inside ccid source tree I've found scardcontrol example and run it and got following output:
SCardControl sample code V 1.3 2004-2008, Ludovic Rousseau <[email protected]> THIS PROGRAM IS NOT DESIGNED AS A TESTING TOOL! Do NOT use it unless you really know what you do. SCardListReaders: OK 0: OCS ID-One Cosmo Card 00 00 Protocol: 0 SCardConnect: OK Reader: OCS ID-One Cosmo Card 00 00 (length 28 bytes) State: 0x000C Prot: 0 ATR (length 33 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 SCardStatus: OK TLV (0): SCardControl(CM_IOCTL_GET_FEATURE_REQUEST): OK Reader OCS ID-One Cosmo Card 00 00 does not support PIN verification Does this mean that my token supported (without PIN verification)? On Wed, Mar 18, 2009 at 2:16 PM, Bolta Teshaev <[email protected]>wrote: > Hello, > > I've got an Oberthur ID-One token and trying to use it under linux. > The distro is Ubuntu 8.10, I've downloaded and installed (latest) drivers > myself. > pcsc lite - 1.5.2 > ccid - 1.3.10 > libmusclecard - 1.3.3 > > First I've tried with libhal and second with libusb, but I get the same > error. > Just for the sake of test, I've enabled libusb and disabled libhal, I dont > think it made the sense. :) > > Can anyone tell me if this card is supported? If so how I can make it work? > > By the way, I've tried to use different driver options for powering up the > card in Info.plist file with no success. > > Thanks in advance! > > Here is the log when I run pcsc using libusb: > > pcscdaemon.c:505:main() pcsc-lite 1.5.2 daemon ready. > Mar 18 13:18:53 mypc pcscd: hotplug_libusb.c:477:HPAddHotPluggable() Adding > USB device: 001:008 > Mar 18 13:18:53 mypc pcscd: readerfactory.c:999:RFInitializeReader() > Attempting startup of OCS ID-One Cosmo Card 00 00 using > /usr/local/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so > Mar 18 13:18:53 mypc pcscd: readerfactory.c:873:RFBindFunctions() Loading > IFD Handler 3.0 > Mar 18 13:18:53 mypc pcscd: ifdhandler.c:1417:init_driver() Driver version: > 1.3.10 > Mar 18 13:18:53 mypc pcscd: ifdhandler.c:1430:init_driver() LogLevel: > 0x0003 > Mar 18 13:18:53 mypc pcscd: ifdhandler.c:1450:init_driver() DriverOptions: > 0x0030 > Mar 18 13:18:53 mypc pcscd: ifdhandler.c:81:IFDHCreateChannelByName() lun: > 0, device: usb:1a74/6354:libusb:001:008 > Mar 18 13:18:53 mypc pcscd: ccid_usb.c:238:OpenUSBByName() Manufacturer: > Ludovic Rousseau ([email protected]) > Mar 18 13:18:53 mypc pcscd: ccid_usb.c:248:OpenUSBByName() ProductString: > Generic CCID driver > Mar 18 13:18:53 mypc pcscd: ccid_usb.c:254: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. > Mar 18 13:18:53 mypc pcscd: ccid_usb.c:410:OpenUSBByName() Found > Vendor/Product: 1A74/6354 (OCS ID-One Cosmo Card) > Mar 18 13:18:53 mypc pcscd: ccid_usb.c:412:OpenUSBByName() Using USB > bus/device: 001/008 > Mar 18 13:18:53 mypc pcscd: ccid_usb.c:784:get_data_rates() IFD does not > support GET_DATA_RATES request: Success > Mar 18 13:18:53 mypc pcscd: Data Block: > Mar 18 13:18:53 mypc pcscd: ifdhandler.c:334:IFDHGetCapabilities() tag: > 0xFB0, usb:1a74/6354:libusb:001:008 (lun: 0) > Mar 18 13:18:53 mypc pcscd: readerfactory.c:248:RFAddReader() Using the > pcscd polling thread > Mar 18 13:18:53 mypc pcscd: ifdhandler.c:334:IFDHGetCapabilities() tag: > 0xFAE, usb:1a74/6354:libusb:001:008 (lun: 0) > Mar 18 13:18:53 mypc pcscd: ifdhandler.c:377:IFDHGetCapabilities() Reader > supports 1 slot(s) > Mar 18 13:18:53 mypc pcscd: > hotplug_libusb.c:403:HPEstablishUSBNotifications() Driver ifd-ccid.bundle > does not support IFD_GENERATE_HOTPLUG. Using active polling instead. > Mar 18 13:18:53 mypc pcscd: > hotplug_libusb.c:412:HPEstablishUSBNotifications() Polling forced every 1 > second(s) > Mar 18 13:18:53 mypc pcscd: eventhandler.c:292:EHStatusHandlerThread() > Error powering up card: -2146434967 0x80100069 >
_______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
