On Sun, Sep 16, 2007 at 06:21:36PM +0200, Ludovic Rousseau wrote: > 2007/9/16, Gergely CZUCZY <[EMAIL PROTECTED]>: > > And i've got this version of libusb: > > libusb-0.1.12_1 Library giving userland programs access to USB devices > > (_1 is a packaging-specific version number) > > Can you try "testlibusb -v" then? > I don't think the command will be installed since it is for testing/demo only. Got it!
So, the problem was as it turned out that libusb failed to detect the devices because ifdhandler had already opened it, and because of this the open(2) syscall returned an error. Err, this is your parse application. Shall i also send the testlibusb -v output? So, the output: idVendor: 0x073D iManufacturer: Eutron idProduct: 0x0008 iProduct: CryptoIdentity CCID bcdDevice: 1.00 (firmware release?) bLength: 9 bDescriptorType: 4 bInterfaceNumber: 0 bAlternateSetting: 0 bNumEndpoints: 3 bulk-IN, bulk-OUT and Interrupt-IN bInterfaceClass: 0x0B [Chip Card Interface Device Class (CCID)] bInterfaceSubClass: 0 bInterfaceProtocol: 0 bulk transfer, optional interrupt-IN iInterface: 0 CCID Class Descriptor bLength: 0x36 bDescriptorType: 0x21 bcdCCID: 1.00 bMaxSlotIndex: 0x00 bVoltageSupport: 0x07 5.0V 3.0V 1.8V dwProtocols: 0x0000 0x0003 T=0 T=1 dwDefaultClock: 4.000 MHz dwMaximumClock: 4.000 MHz bNumClockSupported: 0 (will use whatever is returned) IFD does not support GET CLOCK FREQUENCIES request: Input/output error dwDataRate: 10752 bps dwMaxDataRate: 344086 bps bNumDataRatesSupported: 0 (will use whatever is returned) Support 9984 bps Support -1 bps Support -1 bps Support -1 bps Support -994159232 bps Support -1 bps Support -1 bps Support -1 bps Support -1 bps Support 8750 bps Support -1 bps Support -1 bps Support -1 bps Support -994159232 bps Support -1 bps Support -1 bps Support -1 bps Support -1 bps Support 7500 bps Support -1 bps Support -1 bps Support -1 bps Support -994159232 bps Support -1 bps Support -1 bps Support -1 bps Support -1 bps Support 6250 bps Support -1 bps Support -1 bps Support -1 bps Support -994159232 bps Support -1 bps Support -1 bps Support -1 bps Support -1 bps Support 5000 bps Support -1 bps Support -1 bps Support -1 bps Support -994159232 bps Support -1 bps Support -1 bps Support -1 bps Support -1 bps Support 3750 bps Support -1 bps Support -1 bps Support -1 bps Support -994159232 bps Support -1 bps Support -1 bps Support -1 bps Support -1 bps Support 2500 bps Support -1 bps Support -1 bps Support -1 bps Support -994159232 bps Support -1 bps Support -1 bps Support -1 bps Support -1 bps Support 1250 bps Support -1 bps Support -1 bps Support -1 bps Support -994159232 bps Support -1 bps Support -1 bps Support -1 bps Support -1 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 1 bps Support -992823296 bps Support -994475012 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps Support 0 bps dwMaxIFSD: 254 dwSynchProtocols: 0x00000000 dwMechanical: 0x00000000 No special characteristics dwFeatures: 0x00010230 ....10 Automatic ICC clock frequency change according to parameters ....20 Automatic baud rate change according to frequency and Fi, Di params ..02.. NAD value other than 00 accepted (T=1) 01.... TPDU level exchange dwMaxCCIDMessageLength: 271 bytes bClassGetResponse: 0x00 bClassEnveloppe: 0x00 wLcdLayout: 0x0000 bPINSupport: 0x00 bMaxCCIDBusySlots: 1 Sincerely, Gergely Czuczy mailto: [EMAIL PROTECTED] -- Weenies test. Geniuses solve problems that arise.
pgpjSEDX63l4a.pgp
Description: PGP signature
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel