You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

技术问询:未打补丁Ubuntu 17.10下Wacom Artpad II串口数位板的使用

成功在Ubuntu 17.10配置Wacom Artpad II串口数位板的经验

我确实在未打补丁的Ubuntu 17.10上搞定过Wacom Artpad II串口数位板,当时搜遍谷歌全是过时文档和现代Intuos的内容,踩了不少坑,分享下我的配置和关键步骤:

1. 确认内核驱动支持

Ubuntu 17.10默认内核(4.13.x)自带的wacom_serial4.ko驱动是支持Artpad II的,但默认可能没自动加载。先手动加载并验证:

  • 加载驱动:sudo modprobe wacom_serial4
  • 检查是否加载成功:lsmod | grep wacom_serial4,有输出说明驱动已加载
  • 查看内核日志确认识别:dmesg | grep Wacom,后续执行inputattach后会出现类似input: Wacom Artpad II as /dev/input/eventX的日志

2. 正确的inputattach命令

你用的-w8001参数是针对现代Intuos串口设备的,Artpad II需要用旧版Wacom协议,正确的命令是:

sudo inputattach -w8000 /dev/ttyS0

执行后如果没有报错,查看/dev/input/目录下是否新增了event设备(比如event5),或者用evtest工具检测是否能接收到数位板的输入信号。

另外要解决串口权限问题:把当前用户加入dialout组,避免每次都用sudo:

sudo usermod -aG dialout $USER

执行后注销再登录生效。

3. Xorg配置文件

在/etc/X11/xorg.conf.d/目录下创建99-wacom-artpad.conf文件,内容如下(根据你的屏幕分辨率调整坐标参数):

Section "InputClass"
    Identifier "Wacom Artpad II Serial Stylus"
    MatchProduct "Wacom Artpad II"
    MatchDevicePath "/dev/input/event*"
    Driver "wacom"
    Option "Type" "stylus"
    Option "Device" "/dev/ttyS0"
    Option "Mode" "Absolute"
    # 替换成你的屏幕分辨率参数
    Option "TopX" "0"
    Option "TopY" "0"
    Option "BottomX" "1920"
    Option "BottomY" "1080"
    # 优化抖动的参数
    Option "Suppress" "2"
    Option "CursorProx" "1"
EndSection

Section "InputClass"
    Identifier "Wacom Artpad II Serial Eraser"
    MatchProduct "Wacom Artpad II"
    MatchDevicePath "/dev/input/event*"
    Driver "wacom"
    Option "Type" "eraser"
    Option "Device" "/dev/ttyS0"
EndSection

4. 验证与调试

  • 重启Xorg(或直接重启系统)后,用xsetwacom list devices查看是否识别出数位板设备
  • 如果没反应,先检查串口硬件:用screen /dev/ttyS0 9600打开串口,用笔在数位板上滑动,有乱码输出说明串口连接正常
  • 查看Xorg日志/var/log/Xorg.0.log,搜索Wacom关键词,排查配置是否有错误

内容的提问来源于stack exchange,提问作者Autumn

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 03:38:42