Discussion:
Supporting multiple identical USB readers under pcsc-lite 1.1.1
Amira Solomovici
2003-05-25 11:56:13 UTC
Permalink
Hi,

I have posted an email regarding this problem long time ago, but I still couldnt solve the following problem:

I am writing a pcsc-lite device driver for a usb reader under pcsc-lite-1.1.1.
The driver works fine when only one reader is connected. However, when two (or more) identical usb readers are connected, IFDHCreateChannel() is still called only once for the first reader detected by the resource manager. I tried looking into the pcsc-lite code, but I couldnt figure out a way to get a different Lun for each reader (I always get 0). I added code for the TAG_IFD_SIMULTANEOUS_ACCESS tag in IFDHGetCapabilities(), but it didnt help.

How should I fix it?

Thanks in advance,
Amira.
s***@labri.fr
2003-05-25 13:04:51 UTC
Permalink
I hope that you will solve this problem quickly.
On linuxnet, I looked for the readers USB whose drivers source are free.
Our team of research needs for a project to connect several readers on the same host (perhaps 50 or more).
We wish that the reader's drivers is free and perhaps that the products of athena-scs can interest us.
We would have wished a solution containing reader CCID, but there is no free drivers.

The solutions explored for the moment are as follows.
The problem with solution based on the GemPC430 is that this product is not sold any more.
The GemPC433 is at the end of the sale and is a CCID product with no driver for pcsc-lite.
The next Gemplus product GemPCTwin is also a CCID product with no driver for pcsc-lite.
The Schlumberger Reflex USB driver is only available on binary form.
It seems to me that the SCM331 is also only available with the drivers in binary object. It is a pity, because the product is CCID.

For the moment do we have only to consider our project under linux but perhaps that there would be less problem under Windows? Under Windows 98, PC/SC supported only one reader at the same time. But with the other Windows version, does someone have a feedback?

Does somebody have a fast and practical solution to support several readers USB?

I have really the felling through research carried out for setting up this project that there must be an important discussion to have on the drivers licence and support for linux on the compagnies distributing the smart card readers.
I have also the feeling that the support of several identical readers on the same host is a frequent request.
I thank all the volunteers who develop free drivers.

Best regards,

Damien Sauveron
Post by Amira Solomovici
Hi,
I have posted an email regarding this problem long time ago, but I still
I am writing a pcsc-lite device driver for a usb reader under
pcsc-lite-1.1.1.
The driver works fine when only one reader is connected. However, when two
(or more) identical usb readers are connected, IFDHCreateChannel() is still
called only once for the first reader detected by the resource manager. I
tried looking into the pcsc-lite code, but I couldnt figure out a way to get
a different Lun for each reader (I always get 0). I added code for the
TAG_IFD_SIMULTANEOUS_ACCESS tag in IFDHGetCapabilities(), but it didnt help.
How should I fix it?
Thanks in advance,
Amira.
_______________________________________________
Muscle mailing list
http://lists.musclecard.com/mailman/listinfo/muscle
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
Ludovic Rousseau
2003-05-27 17:43:52 UTC
Permalink
Hello all,
Post by s***@labri.fr
We would have wished a solution containing reader CCID, but there is no free drivers.
And you know what you have to do to get a free software CCID driver:
- do it yourself
or
- pay someone for the work. As I already said to you I volunteer for that.

I know we have a serious problem with the CCID driver. And it will
become even more serious in the future.
Post by s***@labri.fr
Does somebody have a fast and practical solution to support several readers USB?
pcsc-lite [1] already supports several identical readers (USB or
serial). The ifd-gempc driver [2] also supports multiple readers.

If I connect two GemPC430 (USB readers) I have:
$ pcsc_scan
PC/SC device scanner
V 1.2.5 (c) 2001-2002, Ludovic Rousseau <***@free.fr>
PC/SC lite version: 1.1.2
Scanning present readers
0: GemPC430 0 0
1: GemPC430 1 0
Post by s***@labri.fr
I have really the felling through research carried out for setting up this project that there must be an important discussion to have on the drivers licence and support for linux on the compagnies distributing the smart card readers.
Maybe the problems come from the fact that the drivers are (often) not
developped and supported by the company producing the reader but by
volunteers who want to use the hardware they have.
Post by s***@labri.fr
I have also the feeling that the support of several identical readers on the same host is a frequent request.
Maybe it is a frequent request but it is already working. So I don't
know what else I can do. Maybe you can point me to a (pcsc-lite)
documentation stating that _only one_ reader is supported. I should then
update this documentation.
Post by s***@labri.fr
I thank all the volunteers who develop free drivers.
Thank you.

I wish you will find a satisfactory solution for your project.
Regards,

[1] http://pcsclite.alioth.debian.org/
[2] http://ludovic.rousseau.free.fr/softwares/ifd-GemPC/
--
Dr. Ludovic Rousseau ***@free.fr
-- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --
Loading...