Smartcard reader: No cardreader found

Hi all

I’m trying to use the Thinkpad’s cardreader, but it won’t work.

Are you able to get it to work with a recent thinkpad? (Thinkpad P16 GEN2)

> lsusb
...
Bus 001 Device 003: ID 2ce3:9563 Generic EMV Smartcard Reader
...

> systemctl status pcscd.service
...
Active: active (running)
TriggeredBy: ● pcscd.socket
           systemd[1]: Started PC/SC Smart Card Daemon.
...

> systemctl status pcscd.socket
...
Active: active (running)
           systemd[1]: Listening on PC/SC Smart Card Daemon Activation Socket.
...

>> eid-viewer
Statusmessage in footer: "No cardreader found" 

> pcsc_scan
PC/SC device scanner
V 1.7.2 (c) 2001-2022, Ludovic Rousseau <ludovic.rousseau@free.fr>
Using reader plug'n play mechanism
Scanning present readers...
Waiting for the first reader... \
  config = lib.mkIf cfg.enable {
    environment.systemPackages = [ pkgs.eid-mw ];
    services.pcscd = {
      enable = true;
      plugins = [ pkgs.ccid ];
    };
  };

with a flake.lock from 6 weeks ago it does work.
I’ll dig further.

    nixpkgs.url = "github:NixOS/nixpkgs?rev=4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0"; # FAIL
    nixpkgs.url = "github:NixOS/nixpkgs?rev=5785b6bb5eaae44e627d541023034e1601455827"; # WORKS

this fixes it
it’ll soon hit unstable