Score:0

Select particular Smart-Card reader on Ubuntu using PCSC

fo flag

I have a device that has embedded smart-card reader (like the one on many keyboards found) and also 3 USB ports where I can plug another smart-card readers. I seen the man page about /etc/reader.conf however didn't get it - how can I disable that embedded smart-reader on the device and allow only the one I plug into the device to communicate with smart-cards?

Currently I what I have done is investigated the smart-reader name via pcsc-scan utility:

Reader 0: OMNIKEY CardMan 1021 00 00

And then I have created a /etc/reader.conf.d/reader.conf file:

# OMNIKEY CardMan reader with serial communication
#  - n is the serial port to use n in [0..3]
#  - reader is the reader name. It is needed for multi-slot readers.
#    Possible reader values are: 
#     GemCorePOSPro
#     GemCoreSIMPro
#     GemCoreSIMPro2
#     GemPCPinPad
#     GemPCTwin (default value)
#     SEC1210 (Dual slot Reader)
# example: /dev/ttyS0:GemPCPinPad
DEVICENAME        /dev/ttyS0:OMNIKEY
FRIENDLYNAME      "OMNIKEY CardMan 1021 00 00"
LIBPATH           /usr/lib/pcsc/drivers/serial/libccidtwin.so

Is it possible to do on the systemd level or how would look like the /etc/reader.conf file?

When I restart the pcscd daemon:

hotplug_libudev.c:538:HPAddDevice() Failed adding USB device: OMNIKEY CardMan 1021

What do I do wrong? :(

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.