Package: pcscd Version: 1.8.23-3 Severity: normal Hi,
pcscd fails to detect my Yubikey 4 Nano when resuming from suspend-to-disk, resulting in GnuPG prompting me to insert the device; the problem persists even if I unplug and replug the device, and until I restart pcscd. I found a work-around, which is simply to make systemd stop pcscd upon resuming from suspend (it's unnecessary to restart it, as it is a socket-activated service): > #!/bin/sh -e > # Executable script in /lib/systemd/system-sleep/pcscd.sh > > if [ "$1" = "post" ]; then > logger -t systemd-sleep "Shutting down pcscd after resuming from suspend." > exec systemctl stop pcscd.service > fi Best, nicoo -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.17.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages pcscd depends on: ii libc6 2.27-5 ii libccid [pcsc-ifd-handler] 1.4.29-2 ii libpcsclite1 1.8.23-3 ii libsystemd0 239-7 ii libudev1 239-7 ii lsb-base 9.20170808 pcscd recommends no packages. Versions of packages pcscd suggests: ii systemd 239-7 -- no debconf information