ubuntu 12.4下 电阻触摸屏 校准

CPU/显卡/打印机/USB设备等硬件问题
回复
55157894
帖子: 3
注册时间: 2015-01-18 19:51
系统: ubuntu12.4

ubuntu 12.4下 电阻触摸屏 校准

#1

帖子 55157894 » 2015-01-18 20:03

各位大大,
我刚学用ubuntu,现用12.4的系统,接USB接口的电阻触摸屏,系统安装后,可以正常识别,但每次较正后,重新启动系统后又得重新校准。

代码:
● xinput_calibrator
Calibrating EVDEV driver for "eGalax Inc. USB TouchController" id=15
current calibration values (from XInput): min_x=0, max_x=2047 and min_y=0, max_y=2047

Doing dynamic recalibration:
Setting new calibration data: -3, 2047, -1, 2039


--> Making the calibration permanent <--
copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf'
Section "InputClass"
Identifier "calibration"
MatchProduct "eGalax Inc. USB TouchController"
Option "Calibration" "-3 2047 -1 2039"
EndSection
以上是得到的较正结果,根据提示和路径,我新建立了99-calibraton.conf,并将配置信息复制去,保存,重启系统,依然无效。 另将,配置信息保存到usr/share/x11/xorg.conf.d/10.evdev.conf之中,结果还是一样。


特些,来请教各位有使用过触摸屏的朋友,我接下来应该如何下手?谢谢
55157894
帖子: 3
注册时间: 2015-01-18 19:51
系统: ubuntu12.4

Re: ubuntu 12.4下 电阻触摸屏 校准

#2

帖子 55157894 » 2015-01-19 9:47

如果我将校正到的信息,写成一个脚本,并添加到启动项,那应该如何写?
回复