2017-05-25 92 views
0

親愛的專家 我在通過x服務器校準我的Penmount觸摸屏時遇到問題。 我通過tslib連接。 在X中,我有一個編譯好的xf86-input-tslib庫。 不幸的是,ts_calibrate沒有使用「非法指令級別 」觸摸工作良好,它的響應很好,但有時在屏幕上出現錯誤的點,有時會出現偏差 我嘗試使用xinput-校準,但在XINPUT -list沒有觸摸屏:通過xfce4校準觸摸屏

xinput-calibrator 
No calibratable devices found 

mc ~ # DISPLAY=:0 xinput 
⎡ Virtual core pointer id=2 [master pointer (3)] 
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] 
⎜ ↳ Mouse1 id=6 [slave pointer (2)] 
⎣ Virtual core keyboard id=3 [master keyboard (2)] 
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] 
↳ Keyboard1 id=7 [slave keyboard (3)] 

雖然在內核:

mc ~ # dmesg | grep PenMount<br/> 
input: PenMount Serial TouchScreen as 
/devices/pci0000:00/0000:00:01.0/0000:01:02.2/tty/ttyS0/serio0/input/input3 

mc ~ # cat /proc/bus/input/devices 

I: Bus=0013 Vendor=0031 Product=9000 Version=01f2 
N: Name=«PenMount Serial TouchScreen» 
P: Phys=ttyS0/serio0/input0 
S: Sysfs=/devices/pci0000:00/0000:00:01.0/0000:01:02.2/tty/ttyS0/serio0/input/input3 
U: Uniq= 
H: Handlers=mouse0 event3 
B: PROP=0 
B: EV=b 
B: KEY=400 0 0 0 0 0 
B: ABS=3 

在Xorg.0.log我發現這一點:

[1051910.230] (II) config/udev: Adding input device PenMount Serial >TouchScreen(/dev/input/event3) 
[1051910.230] (II) AutoAddDevices is off - not adding device. 
[1051910.232] (II) config/udev: Adding input device PenMount Serial TouchScreen (/dev/input/mouse0) 
[1051910.232] (II) AutoAddDevices is off - not adding device. 
[1051910.237] (II) config/udev: Adding input device ltc2954 (/dev/input/event2) 
[1051910.237] (II) AutoAddDevices is off - not adding device. 

我能做什麼用於觸摸會出現在xinput --list?
Debain,kernel 3.14

回答

0

你使用了什麼版本的xf86-input-tslib和tslib?使用xf86-input-tslib 1.1.1和tslib 1.13實際上應該可以工作。如果你想運行ts_calibrate 而運行圖形桌面的,請考慮自己構建tslib,使用./configure --with-sdl2