Hello Nicolas,

Do you still have the problem with pcsc-lite 1.9.5?

Thanks

On Wed, 05 Sep 2018 16:34:18 +0200 Nicolas Braud-Santoni 
<nico...@braud-santoni.eu> wrote:
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


--
Dr. Ludovic Rousseau

Reply via email to