我正在尝试使用带有 USB 转换器的旧 PS2 键盘(不错的机械键盘)。连接设备后,驱动程序失败。设备被检测为条形码阅读器,但在 Windows 中运行正常,(您认为将转换器检测为条形码阅读器可以吗?它基本上是一个键盘)。
# lsusb
...
Bus 001 Device 044: ID 13ba:0018 PCPlay Barcode PCP-BCG4209
...
#dmesg
...
[22164.756069] usb 1-2.4: New USB device found, idVendor=13ba, idProduct=0018
[22164.756073] usb 1-2.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[22164.756301] usb 1-2.4: no configuration chosen from 0 choices
[22178.179941] usb 1-2.4: USB disconnect, device number 43
[22179.965941] usb 1-2.4: new low-speed USB device number 44 using xhci_hcd
[22180.113937] usb 1-2.4: string descriptor 0 read error: -32
[22180.113947] usb 1-2.4: New USB device found, idVendor=13ba, idProduct=0018
[22180.113951] usb 1-2.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[22180.116927] usb 1-2.4: can't set config #1, error -32
在哪里可以找到驱动程序的 -32 错误含义?请注意,在配置失败之前,驱动程序无法读取字符串描述符。谢谢!