如何手动配置 wacom 设备

Qwi*_*Dee 5 wacom graphics-tablet

在带有 xorg-1:7.6+7ubuntu7 和 xserver-xorg-input-wacom 1:0.11.0-0ubuntu2 的 ubuntu 11.10 中

我已经放入了 xorg.conf:

Section "InputDevice"
  Driver        "wacom"
  Identifier    "pen" # "eraser"|"finger"|"pad"
  Option        "Device"        "/dev/input/wacom"
  Option        "Type"          "stylus" # "eraser"|"touch"|"pad"
  Option        "Floating" "on"  
  Option        "Mode" "Absolute"
  Option        "Rotate" "NONE"
EndSection
Run Code Online (Sandbox Code Playgroud)

此外,我还取消了 /usr/share/X11/xorg.conf.d/10-evdev.conf 中的“evdev tablet catchall”以防止产生大量老鼠。

选项“浮动”效果很好:

$ xinput --list
? pen                                       id=6    [floating slave]
? eraser                                    id=7    [floating slave]
? finger                                    id=8    [floating slave]
? pad                                       id=9    [floating slave]
Run Code Online (Sandbox Code Playgroud)

但是,所有与 wacom 相关的选项都将被忽略:

$ xsetwacom get pen all
Option "Mode" "Relative"
Option "Rotate" "half"
Run Code Online (Sandbox Code Playgroud)

我必须手动运行 xsetwacom。

Mar*_*mo- 2

我从未见过 xorg.conf 中的设置影响 xsetwacom,甚至 linux-wacom 项目的网站也有将 xsetwacom 命令放入 xinitrc 的教程:

http://linuxwacom.sourceforge.net/index_old.php/howto/xsetwacom

但是,我认为没有理由不应该将这些设置设置为与 udev 系统即插即用。我们只需要一个开发人员来编写它。