无法校准触摸屏

Cha*_*les 8 11.04 touchscreen

我在 WeTab 上安装了 11.04(虽然 wetab os 现在已经消失了,现在只有 11.04)。我使用 eGalax Inc. USB TouchController 设备驱动程序。我想使用触摸屏设置校准屏幕,但收到以下错误消息:

“无法开始校准。无法获得对指针的独占访问”

这很烦人,因为校准有点错误,这意味着我无法到达屏幕右侧,包括关闭/注销等。

有没有解决方法,或者手动更改校准设置的方法?

小智 3

嘿老兄四也有类似的问题......

为了解决这个问题,我安装了 xinput-calibrator

 sudo apt-get install xinput-calibrator
Run Code Online (Sandbox Code Playgroud)

然后,您可以从“系统”>“管理”>“校准触摸屏”运行它

校准后,它将显示类似于此的终端输出

   Warning: multiple calibratable devices found, calibrating last one (eGalax INC. USB TouchController)
    use --device to select another one.
Calibrating EVDEV driver for "eGalax INC. USB TouchController" id=12
    current calibration values (from XInput): min_x=0, max_x=4095 and min_y=0, max_y=4095

Doing dynamic recalibration:
    Setting new calibration data: 77, 3935, 115, 3984


--> 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"   "77 3935 115 3984"
EndSection
Run Code Online (Sandbox Code Playgroud)

忽略其中的大部分,你唯一需要的是

Option  "Calibration"   "77 3935 115 3984"
Run Code Online (Sandbox Code Playgroud)

在终端类型中

sudo nano /usr/share/X11/xorg.conf.d/10-evdev.conf
Run Code Online (Sandbox Code Playgroud)

并将校准选项添加到触摸屏部分

Section "InputClass"
        Identifier "evdev touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "Calibration" "77 3935 115 3984"
EndSection
Run Code Online (Sandbox Code Playgroud)

对于 /etc/X11/xorg.conf.d/99-calibration.conf 的简单说明可以在http://gnometechblog.weebly.com/1/post/2012/03/first-post.html上找到