Comment 23 for bug 1971984

Revision history for this message
Christophe Bourez (ropieur) wrote (last edit ): Re: pcscd 1.9.5-3 do not start automatically, only manual

Hello,

I am facing a very similar issue
I managed to make it work on fresh install but it stopped working after a reboot
The two commands above do not resolve on my laptop

========================================================
$ sudo service pcscd status
○ pcscd.service - PC/SC Smart Card Daemon
     Loaded: loaded (/lib/systemd/system/pcscd.service; indirect; vendor preset: enabled)
     Active: inactive (dead) since Wed 2022-10-26 13:52:17 CEST; 6min ago
TriggeredBy: ● pcscd.socket
       Docs: man:pcscd(8)
   Main PID: 88997 (code=exited, status=0/SUCCESS)
        CPU: 13ms

oct 26 13:50:59 dadbert systemd[1]: Started PC/SC Smart Card Daemon.
oct 26 13:51:06 dadbert pcscd[88997]: 00000000 ccid_usb.c:886:WriteUSB() write failed (3/3): LIBUSB_ERROR_TIMEOUT
oct 26 13:51:11 dadbert pcscd[88997]: 05000646 ccid_usb.c:886:WriteUSB() write failed (3/3): LIBUSB_ERROR_TIMEOUT
oct 26 13:51:16 dadbert pcscd[88997]: 05000454 ccid_usb.c:886:WriteUSB() write failed (3/3): LIBUSB_ERROR_TIMEOUT
oct 26 13:51:16 dadbert pcscd[88997]: 00000036 ifdhandler.c:202:CreateChannelByNameOrChannel() failed
oct 26 13:51:16 dadbert pcscd[88997]: 00000277 readerfactory.c:1138:RFInitializeReader() Open Port 0x200000 Failed (usb:0a5c/5842:libudev:1:/dev/bus/usb/003/003)
oct 26 13:51:16 dadbert pcscd[88997]: 00000017 readerfactory.c:380:RFAddReader() Broadcom Corp 58200 [Contacted SmartCard] (0123456789ABCD) init failed.
oct 26 13:51:16 dadbert pcscd[88997]: 00000112 hotplug_libudev.c:538:HPAddDevice() Failed adding USB device: Broadcom Corp 58200
oct 26 13:52:17 dadbert systemd[1]: pcscd.service: Deactivated successfully.

========================================================
$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0a5c:5842 Broadcom Corp. 58200
...
========================================================
$ pcscd --version
pcsc-lite version 1.9.5.
Copyright (C) 1999-2002 by David Corcoran <email address hidden>.
Copyright (C) 2001-2018 by Ludovic Rousseau <email address hidden>.
Copyright (C) 2003-2004 by Damien Sauveron <email address hidden>.
...
========================================================

OS: Ubuntu 22.04
Dell Precision 7670