我必须xinput test 8
查看触摸屏输入。但 5 小时后我看不到它接触了哪里。5 小时前它工作正常。
然后我更新了内核,也更新到了最新内核,但问题仍然和往常一样。我如何确保xinput test 8
触摸屏捕获功能是否正常工作?
$ download http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.5.1-quantal/
wget http://91.189.94.216/~kernel-ppa/mainline/v3.5.1-quantal/linux-image-3.5.1-030501-generic_3.5.1-030501.201208091310_amd64.deb
wget http://91.189.94.216/~kernel-ppa/mainline/v3.5.1-quantal/linux-image-extra-3.5.1-030501-generic_3.5.1-030501.201208091310_amd64.deb
wget http://91.189.94.216/~kernel-ppa/mainline/v3.5.1-quantal/linux-headers-3.5.1-030501-generic_3.5.1-030501.201208091310_amd64.deb
wget http://91.189.94.216/~kernel-ppa/mainline/v3.5.1-quantal/linux-headers-3.5.1-030501_3.5.1-030501.201208091310_all.deb
sudo dpkg -i linux*.deb
$ init 6
$ udevadm info --export-db | grep Elo
E: ID_MODEL=Elo_TouchSystems_2700_IntelliTouch_r__USB_Touchmonitor_Interfac
E: ID_MODEL_ENC=Elo\x20TouchSystems\x202700\x20IntelliTouch\x28r\x29\x20USB\x20Touchmonitor\x20Interface
E: ID_SERIAL=Elo_TouchSystems__Inc._Elo_TouchSystems_2700_IntelliTouch_r__USB_Touchmonitor_Interfac_20E10439
E: ID_VENDOR=Elo_TouchSystems__Inc.
E: ID_VENDOR_ENC=Elo\x20TouchSystems\x2c\x20Inc.
$ sudo evtest /dev/input/event3
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x4e7 product 0x20 version 0x100
Input device name: "Elo TouchSystems, Inc. Elo TouchSystems 2700 IntelliTouch(r) USB Touchmonitor Interface"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 272 (BTN_LEFT)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 0
Min 0
Max 4095
Event code 1 (ABS_Y)
Value 0
Min 0
Max 4095
Event code 40 (ABS_MISC)
Value 0
Min 0
Max 256
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Testing ... (interrupt to exit)
答案1
从您的问题中无法完全清楚您的触摸屏是否完全停止工作,或者只是xinput test
停止工作。
在后一种情况下:设备 ID 可能8
已更改。尝试运行
xinput list
看看触摸屏旁边显示的 ID 号。然后将其替换为
xinput test NUMBER
答案2
它使用旧内核,最新的所有内核均不起作用,并且触摸时速度很慢。
$ sudo modprobe elo`
$ uname -r
3.2.0-29-generic