2010/5/19 Andreas Jellinghaus <[email protected]>: > Hi, Hello Andreas,
> can you give me some advice: > which card readers for pcsc-lite have serial numbers? > with "lsusb -v" I find this: > Bus 004 Device 012: ID 04e6:5115 SCM Microsystems, Inc. SCR335 SmartCard > Reader > > ... > idVendor 0x04e6 SCM Microsystems, Inc. > idProduct 0x5115 SCR335 SmartCard Reader > bcdDevice 5.14 > iManufacturer 1 SCM Microsystems Inc. > iProduct 2 SCR33x USB Smart Card Reader > iSerial 5 21120443106689 > > > hurray, a reader with a serial number. I'm told by some people that > many vendors have no serial number in their readers or only a dummy > value. > > So can anyone suggest even more reader with serial numbers? > Of course I had a look at Ludovics ccid driver with the > reader/ directory, but all those txt files do not include > "iSerial" field. I would say many SCM readers have a serial number. > bonus if you have the same reader twice and can check if the serial > number is different. :) Sorry. I don't think I have two identical readers. So I can't tell if the serial numbers are different. > And the second part of my question is: can you use pcsc API with > pcsc-lite and some driver (ccid prefered of course) to query all > readers including the serial number, so you don't have to rely > on usb plug-in order? Under pcsc-lite the reader name contains the serial number (if present) and is something like: "READER FOO (serial) 00 00" > maybe there is even a portable way that works on windows too? I don't think so. And pcsc-lite on Mac OS X does not show the serial number. PCSC defines a SCARD_ATTR_VENDOR_IFD_SERIAL_NO but it is the serial number of the IFD (driver) not the device. I have added the serial number in the PC/SC reader name to be able to differentiate two identical readers. Just the need you have now. Bye, -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
