Ошибки проброса USB-устройства в ВМ
Версии, в которых встречается проблема: 4.X
1. Проблема
При подключении USB-токенов в логах гипервизора наблюдаются ошибки:
dmesg | grep -i usb
usb 1-6: reset full-speed USB device number 4 using xhci_hcd
usb 1-6: usbfs: process 3362463 (pcscd) did not claim interface 0 before use
usb 1-6: reset full-speed USB device number 4 using xhci_hcd
usb 1-6: usbfs: process 3362463 (pcscd) did not claim interface 0 before use
usb 1-6: reset full-speed USB device number 4 using xhci_hcd
usb 1-6: usbfs: process 3362463 (pcscd) did not claim interface 0 before use
usb 1-6: reset full-speed USB device number 4 using xhci_hcd
usb 1-6: usbfs: process 3362463 (pcscd) did not claim interface 0 before use
usb 1-6: reset full-speed USB device number 4 using xhci_hcd
usb 1-6: usbfs: process 3362463 (pcscd) did not claim interface 0 before use
2. Решение
Для решения проблемы необходимо:
-
Отключить службу
pcscdи исключить её из автозагрузки с помощью команды:systemctl disable --now pcscd -
Переподключить USB-токен.
-
Проверить подключение устройства. В выводе отображено успешное подключение USB-токена.
dmesg | grep -i usb new full-speed USB device number 5 using xhci_hcd usb 1-6: New USB device found, idVendor=0a89, idProduct=0030, usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumb usb 1-6: Product: Rutoken ECP usb 1-6: Manufacturer: Aktiv usb 1-6: reset full-speed USB device number 5 using xhci_hcd