Le 15/04/2018 à 17:07, Luke W Faraone a écrit :
On 15/04/18 12:05, Ludovic Rousseau wrote:
- kill any already running pcscd process
- run the newly compiler pcscd
$ sudo src/pcscd --foreground --debug --color | tee log.txt
- connect the Yubikey 4 (USB-C)
- disconnect the device
- stop pcscd by Ctrl-C after the problem occurred
Send me the generated log.txt file.
Attached, thanks!
Please apply the attached patch to pcsc-lite and generate a new log.
Thanks
--
Dr. Ludovic Rousseau
diff --git a/src/hotplug_libudev.c b/src/hotplug_libudev.c
index 184b6b3..c28cba9 100644
--- a/src/hotplug_libudev.c
+++ b/src/hotplug_libudev.c
@@ -354,6 +354,7 @@ static void HPRemoveDevice(struct udev_device *dev)
Log1(PCSC_LOG_ERROR, "udev_device_get_sysname() failed");
return;
}
+ Log3(PCSC_LOG_DEBUG, "removing sysname: %s at %s", sysname, devpath);
for (i=0; i<PCSCLITE_MAX_READERS_CONTEXTS; i++)
{