我已经将带有HDMI和USB的Iiyama T1731SR-W1 17“触摸屏连接到我完全更新的Raspberry Pi。触摸不是即插即用,花了好几个小时才能让它正常工作。
lsusb
Bus 001 Device 004: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen
evtest / dev / input / event0 +在屏幕上单击一下
Event: time 1514922218.165932, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1514922218.165932, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1
Event: time 1514922218.165932, type 3 (EV_ABS), code 0 (ABS_X), value 3612
Event: time 1514922218.165932, type 3 (EV_ABS), code 1 (ABS_Y), value 556
Event: time 1514922218.165932, -------------- SYN_REPORT ------------
Event: time 1514922218.175900, type 3 (EV_ABS), code 1 (ABS_Y), value 554
Event: time 1514922218.175900, -------------- SYN_REPORT ------------
Event: time 1514922218.181900, type 3 (EV_ABS), code 1 (ABS_Y), value 552
Event: time 1514922218.181900, -------------- SYN_REPORT ------------
Event: time 1514922218.237903, type 4 (EV_MSC), code 4 (MSC_SCAN), value d0042
Event: time 1514922218.237903, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0
Event: time 1514922218.237903, -------------- SYN_REPORT ------------
dmesg 会出错,但我不确定它是否与
有关[ 3.612578] hid-multitouch 0003:0EEF:0001.0001: failed to fetch feature 7
[ 3.613008] input: eGalax Inc. USB TouchController Pen as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:0EEF:0001.0001/input/input0
[ 3.614540] input: eGalax Inc. USB TouchController as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:0EEF:0001.0001/input/input1
[ 3.736799] raspberrypi-touchscreen 3f700000.dsi.0: Unknown Atmel firmware revision: 0xfa
cat / proc / bus / input / devices
I: Bus=0003 Vendor=0eef Product=0001 Version=0210
N: Name="eGalax Inc. USB TouchController Pen"
P: Phys=usb-3f980000.usb-1.2/input0
S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:0EEF:0001.0001/input/input0
U: Uniq=
H: Handlers=mouse0 event0
B: PROP=0
B: EV=1b
B: KEY=c01 0 0 0 0 0 0 0 0 0 0
B: ABS=3
B: MSC=10
所以我认为设备已被正确识别,但是当我触摸屏幕时光标没有移动。我一直在尝试使用 xinput_calibrator 校准屏幕,但此工具也无法识别触摸事件。
我正在使用内核4.9.59-v7 +
请帮忙
答案 0 :(得分:0)
我有完全一样的问题。 我终于在一个荷兰论坛的帮助下修复了它: https://zeilersforum.nl/index.php/forum-125/73-stroom-elektrische-apparatuur-aan-boord/574771-faytech-touch-op-raspberry-pi-werkt-niet?start=25#841523
它归结为:
sudo apt-get install xserver-xorg-input-evdev
sudo nano /usr/share/X11/xorg.conf.d/40-libinput.conf
at the lines with touchscreen driver replace libinput by evdev