我有一个 Waveshare 7 英寸 HDMI 触摸屏显示器版本 2.1(通过 USB 端口和 HDMI 显示器进行触摸)(产品链接)并且我想将其与 BeagleBone Black 连接。
制造商称 7 英寸触摸屏显示器无需驱动程序(就像鼠标一样)。但是当我将其与 BeagleBone Black 连接时,通过 HDMI 的显示工作正常,但触摸无法工作。
为触摸屏创建设备文件和事件/开发/和/开发/输入/分别
/dev/hidraw0
/dev/input/event1
然后我输入以下命令来读取原始数据/dev/hidraw0通过以下命令创建文件
xxd -c 25 /dev/hidraw0
但没有得到输出数据。
下面是输出消息命令
dmesg |grep USB
[ 0.734182] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 0.734189] Initializing USB Mass Storage driver...
[ 0.734266] USB Mass Storage support registered.
[ 0.736593] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 0.736895] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 0.736922] musb-hdrc musb-hdrc.1.auto: supports USB remote wakeup
[ 0.737045] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.737057] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.737068] usb usb1: Product: MUSB HDRC host driver
[ 0.737806] hub 1-0:1.0: USB hub found
[ 0.889044] usbhid: USB HID core driver
[ 1.118512] usb 1-1: new full-speed USB device number 2 using musb-hdrc
[ 1.238731] usb 1-1: New USB device found, idVendor=0eef, idProduct=0005
[ 1.238743] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1.253486] hid-multitouch 0003:0EEF:0005.0001: input,hiddev0,hidraw0: USB HID v1.10 Mouse [BYZHYYZHY By ZH851] on usb-musb-hdrc.1.auto-1/input0
[ 13.907878] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[ 13.910518] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 2
[ 13.910555] musb-hdrc musb-hdrc.0.auto: supports USB remote wakeup
[ 13.910678] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 13.910690] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 13.910702] usb usb2: Product: MUSB HDRC host driver
[ 13.920011] hub 2-0:1.0: USB hub found
在上述输出中,1.1 秒时已检测到 USB 触摸。
我无法解释为什么触摸屏不起作用以及如何使其工作。