我正在尝试让触摸屏显示器在 Khadas VIM3L 上工作。触摸屏是USB接口。一旦我将其插入,SBC 的两个 USB 都会停止工作(无论我插入什么设备)。这是dmesg
:
[ 8384.786265] usb 1-1.1: new full-speed USB device number 4 using xhci-hcd
[ 8384.907490] usb 1-1.1: New USB device found, idVendor=0416, idProduct=c168, bcdDevice= 0.00
[ 8384.907507] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8384.907512] usb 1-1.1: Product: MTouch
[ 8384.907516] usb 1-1.1: Manufacturer: TSTP
[ 8384.907520] usb 1-1.1: SerialNumber: CMTP_1.0
[ 8395.322240] xhci-hcd xhci-hcd.2.auto: xHCI host not responding to stop endpoint command.
[ 8395.322254] xhci-hcd xhci-hcd.2.auto: USBSTS:
[ 8395.346452] xhci-hcd xhci-hcd.2.auto: xHCI host controller not responding, assume dead
[ 8395.348739] xhci-hcd xhci-hcd.2.auto: HC died; cleaning up
[ 8395.354199] usb 1-1: USB disconnect, device number 2
[ 8395.354932] usb 1-1.1: USB disconnect, device number 4
[ 8395.356118] usb 1-1.2: USB disconnect, device number 3
我尝试过 4.9 和主线内核,尝试过不同的操作系统,但结果仍然相同。
这是dmesg
在我的工作站上触摸屏实际工作的地方(当然不同的架构):
[ 1855.744065] usb 1-2: new full-speed USB device number 8 using xhci_hcd
[ 1855.897352] usb 1-2: New USB device found, idVendor=0416, idProduct=c168, bcdDevice= 0.00
[ 1855.897367] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1855.897373] usb 1-2: Product: MTouch
[ 1855.897377] usb 1-2: Manufacturer: TSTP
[ 1855.897381] usb 1-2: SerialNumber: CMTP_1.0
[ 1855.900892] input: TSTP MTouch as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:0416:C168.0006/input/input31
[ 1855.964524] hid-generic 0003:0416:C168.0006: input,hidraw5: USB HID v1.11 Mouse [TSTP MTouch] on usb-0000:00:14.0-2/input0
[ 1855.967057] input: TSTP MTouch as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:0416:C168.0007/input/input32
[ 1855.967237] hid-generic 0003:0416:C168.0007: input,hidraw6: USB HID v1.11 Device [TSTP MTouch] on usb-0000:00:14.0-2/input1
[ 1856.060779] input: TSTP MTouch as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:0416:C168.0007/input/input33
[ 1856.061121] hid-multitouch 0003:0416:C168.0007: input,hidraw6: USB HID v1.11 Device [TSTP MTouch] on usb-0000:00:14.0-2/input1
答案1
尝试在 BIOS 中关闭 iommu,然后尝试添加iommu=soft
内核参数。