On 1/3/19 12:35 PM, Matthias Apitz wrote:
but is doing so 3000++ times:
$ dmesg | grep 'PID 544' | wc -l
3441
This proc is started by devd(8) with that devd(8) hook:
Hi,
Basically pcscd is congesting the enumeration SX lock, preventing
usbconfig from running because it tries to open the same USB device over
and over again. I'm not sure why, but it can have something to do with
how you start pcscd.
Can you try to use the example rules given by the pcscd packet message?
attach 100 {
device-name "ugen[0-9]+";
action "/usr/local/sbin/pcscd -H";
};
detach 100 {
device-name "ugen[0-9]+";
action "/usr/local/sbin/pcscd -H";
};
Maybe there is a bug in pcsd that it tries to open the same USB device
over and over again if there is an libusb error? Maybe it should sleep a
bit before trying to re-enumerate devices?
I'm CC'ing Ludovic Rousseau, in case he has any comments.
--HPS
_______________________________________________
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"