[Pcsclite-muscle] ccid: Change order of card readers
Ludovic Rousseau
ludovic.rousseau at gmail.com
Wed Nov 6 10:41:59 PST 2024
Le mer. 6 nov. 2024 à 15:14, Bernhard Walle <bernhard.walle at posteo.eu> a écrit :
>
> Hello,
Hello Bernhard,
> is is possible to change the order of card readers detected by pcscd
> when using ccid drivers in some configuration file?
>
> I mean, we have two identical readers:
>
> $ pcsc_scan -r
> Using reader plug'n play mechanism
> Scanning present readers...
> 0: HID Global OMNIKEY 3x21 Smart Card Reader [OMNIKEY 3x21 Smart Card
> Reader] 00 00
> 1: HID Global OMNIKEY 3x21 Smart Card Reader [OMNIKEY 3x21 Smart Card
> Reader] 01 00
>
>
> So is it possible to revert the order?
No, it is not.
The order listed by PC/SC is the order the readers are connected.
So connect first the reader you want to have listed first.
It would be easier if your USB devices had a serial number.
See "What is in a PC/SC reader name?"
https://blog.apdu.fr/posts/2010/05/what-is-in-pcsc-reader-name/
Bye
--
Dr. Ludovic Rousseau
More information about the pcsclite-muscle
mailing list