thanks to Sauveron for his help in getting the IFDHGetCapabilities modified to support multiple instances of reader....now IFDCreateChannel is getting called sometimes...sometimes it fails...
I have a compaq PC that has two usb ports in the front and two in the rear end of the PC. The device connected in the front is enumerated under bus 04 the rear one is enumerated as bus 02 case 1: 1.in bus:004 first a device was assigned an address 54 and the corresponding Create channel was called 2.in same bus :004 the second device address 55 was inserted but then the IFDCreate channel was not called??? case 2: when they are in different buses then the handler is called automatically but sometimes when we change the order of plugging in...the IFDCreatechannel is called infinitely?????? when a device is first plugged into bus04 (front) and one next at the rear bus 002....the IFDCreate channel is caled infinitely.for the second instance of the device what is the method followed in pcsc-lite for enumeration and loading of drivers.???..is this a known issue?...what is the solution to make the setup work for any order of arrival of device Message: 2 Date: Wed, 26 Nov 2003 14:03:59 +0100 From: Damien Sauveron <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [Muscle] usb driver not loading Reply-To: [EMAIL PROTECTED] > hi , > i had two USB readers connected ...for the first reader IFDCreate > channel was called for the corresponding driver bundle that matches VID/PID > of the device from /usr/local/pcsc/drivers.but when i plug in the same kind > of device(i.e with same VID/PID) ...IFD Create channel is not > called.???..what could be the problemm.is this a limitationof pcsc-lite??.. Which is the version of PC/SC Lite used? With the last release of PC/SC Lite there are no limitation if your driver says that it can accept to driver more than one reader. For this your driver must answer to the tag TAG_IFD_SIMULTANEOUS_ACCESS in function IFDHGetCapabilities. An example of the driver's behaviour is available in the open source CCID driver. See in the following file the implementation of IFDHGetCapabilities [1]. If you need to used them in parallel you must also answer to the tag TAG_IFD_THREAD_SAFE. [1] http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/Drivers/ccid/src/ifdhandler. c?rev=1.4&content-type=text/x-cvsweb-markup&cvsroot=pcsclite If you have again the problem, send us the log of "pcscd -a -f -d stdout" Regards, Damien Sauveron _____________________________________________ Free email with personality! Over 200 domains! http://www.MyOwnEmail.com Looking for friendships,romance and more? http://www.MyOwnFriends.com _______________________________________________ Muscle mailing list [EMAIL PROTECTED] http://lists.musclecard.com/mailman/listinfo/muscle
