I got a Thinkpad X270 and there is an in-build Smart Card Reader. It is an “Alcor AU 9540”. What I did: In the Debian template I executed “sudo apt install pcscd pcsc-tools” and “sudo apt install cardpeek”. I shut down the template and started an AppVM and attached the “Generic_EMV_Smartcard_Reader” to this VM.
Executing “lsusb” shows the Reader but if I execute “pcsc_scan” it show me the Smart Card is removed although I inserted a Smart Card ("SD HC High Speed 4 GB).
If I insert it or put it out, in the right top corner Qubes tells me “Device () has been removed” or “Device () is available” so there is no name for it, do not know if it is important.
In Cardpeek it also says “Card removed” although it is inserted,
Unfortunately I have no second card for testing, but this card worked in an camera before.
You’re trying to access the SD card, not the Smart Card.
The Smart Card reader is a USB device but SD card reader is a PCIe device in Thinkpad X270.
So when you insert SD card in your laptop it’s connected to dom0 if your PCIe card reader is attached to dom0.
When you insert the SD card in your laptop it’s displayed as block device in Qubes Devices widget.
To attach the SD card to some qube you need to attach it as block device using Qubes Devices widget. The one named “Device ()”.
… Thank you so much! Yes, of course, it is a SD card… So simple sometimes! But Smart Cards a cards like bank cards right? If this slot is a Smart Card Reader, how I COULD use a Smart Card because the slot is only suitable for a SD card?