我在 Ubuntu 20.04 上。我买了一个新的 XP-Pen Deco01 V2 绘图板。它连接正常,但只要我尝试使用绘图笔移动光标,x 服务器就会崩溃。
关于如何解决这个问题有什么线索吗?
/var/log/syslog:
May 28 00:13:39 Lyra /usr/lib/gdm3/gdm-x-session[20807]: (II) libinput: UGTABLET 10 inch PenTablet: needs a virtual subdevice
May 28 00:13:39 Lyra /usr/lib/gdm3/gdm-x-session[20807]: (**) UGTABLET 10 inch PenTablet Pen (0): Applying InputClass "libinput tablet catchall"
May 28 00:13:39 Lyra /usr/lib/gdm3/gdm-x-session[20807]: (II) Using input driver 'libinput' for 'UGTABLET 10 inch PenTablet Pen (0)'
May 28 00:13:39 Lyra /usr/lib/gdm3/gdm-x-session[20807]: (II) systemd-logind: returning pre-existing fd for /dev/input/event259 13:259
May 28 00:13:39 Lyra /usr/lib/gdm3/gdm-x-session[20807]: (**) UGTABLET 10 inch PenTablet Pen (0): always reports core events
May 28 00:13:39 Lyra /usr/lib/gdm3/gdm-x-session[20807]: (**) Option "Device" "/dev/input/event259"
May 28 00:13:39 Lyra /usr/lib/gdm3/gdm-x-session[20807]: (**) Option "_source" "_driver/libinput"
May 28 00:13:39 Lyra /usr/lib/gdm3/gdm-x-session[20807]: (II) libinput: UGTABLET 10 inch PenTablet Pen (0): is a virtual subdevice
May 28 00:13:39 Lyra /usr/lib/gdm3/gdm-x-session[20807]: (EE) Too many input devices. Ignoring UGTABLET 10 inch PenTablet Pen (0)
May 28 00:13:39 Lyra /usr/lib/gdm3/gdm-x-session[20807]: (II) UnloadModule: "libinput"
May 28 00:13:39 Lyra /usr/lib/gdm3/gdm-x-session[20807]: (II) systemd-logind: not releasing fd for 13:259, still in use
May 28 00:13:39 Lyra blueman-tray[21419]: blueman-tray: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
May 28 00:13:39 Lyra blueman-applet[21329]: blueman-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
May 28 00:13:39 Lyra at-spi-bus-launcher[21098]: X connection to :1 broken (explicit kill or server shutdown).
May 28 00:13:39 Lyra redshift-gtk[21316]: redshift-gtk: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
May 28 00:13:39 Lyra pulseaudio[20755]: X connection to :1 broken (explicit kill or server shutdown).
May 28 00:13:39 Lyra evolution-alarm[21319]: evolution-alarm-notify: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
May 28 00:13:39 Lyra gsd-wacom[21251]: gsd-wacom: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
May 28 00:13:39 Lyra gsd-keyboard[21233]: gsd-keyboard: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
May 28 00:13:39 Lyra gsd-xsettings[21259]: gsd-xsettings: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
May 28 00:13:39 Lyra update-notifier[22071]: update-notifier: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
May 28 00:13:39 Lyra gsd-media-keys[21234]: gsd-media-keys: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
May 28 00:13:39 Lyra gsd-power[21235]: gsd-power: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
May 28 00:13:39 Lyra systemd[2742]: Stopped target GNOME Wacom handling.
May 28 00:13:39 Lyra bluetoothd[1536]: Endpoint unregistered: sender=:1.342 path=/MediaEndpoint/A2DPSink/sbc
May 28 00:13:39 Lyra bluetoothd[1536]: Endpoint unregistered: sender=:1.342 path=/MediaEndpoint/A2DPSource/sbc
May 28 00:13:39 Lyra gsd-color[21230]: gsd-color: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
May 28 00:13:39 Lyra acpid: client 20807[0:0] has disconnected
May 28 00:13:39 Lyra gnome-terminal-[21460]: gnome-terminal-server: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
May 28 00:13:39 Lyra systemd[2742]: gsd-media-keys.service: Main process exited, code=exited, status=1/FAILURE
May 28 00:13:39 Lyra systemd[2742]: gsd-media-keys.service: Failed with result 'exit-code'.
May 28 00:13:39 Lyra systemd[2742]: gsd-power.service: Main process exited, code=exited, status=1/FAILURE
May 28 00:13:39 Lyra systemd[2742]: gsd-power.service: Failed with result 'exit-code'.
May 28 00:13:39 Lyra systemd[2742]: gsd-wacom.service: Main process exited, code=exited, status=1/FAILURE
May 28 00:13:39 Lyra systemd[2742]: gsd-wacom.service: Failed with result 'exit-code'.
May 28 00:13:39 Lyra systemd[2742]: Stopped GNOME Wacom handling.
May 28 00:13:39 Lyra systemd[2742]: gsd-wacom.service: Triggering OnFailure= dependencies.
May 28 00:13:39 Lyra systemd[2742]: gsd-keyboard.service: Main process exited, code=exited, status=1/FAILURE
May 28 00:13:39 Lyra systemd[2742]: gsd-keyboard.service: Failed with result 'exit-code'.
May 28 00:13:39 Lyra systemd[2742]: Stopped target GNOME Keyboard handling.
May 28 00:13:39 Lyra systemd[2742]: Stopped target GNOME Media keys handling.
May 28 00:13:39 Lyra systemd[2742]: Stopped target GNOME Power management handling.
May 28 00:13:39 Lyra gnome-shell[21045]: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
May 28 00:13:39 Lyra systemd[2742]: Started GNOME Session Failed lockdown screen (user).
May 28 00:13:39 Lyra systemd[2742]: Reached target GNOME Session Failed.
May 28 00:13:39 Lyra systemd[2742]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
May 28 00:13:39 Lyra systemd[2742]: pulseaudio.service: Failed with result 'exit-code'.
May 28 00:13:39 Lyra systemd[2742]: gsd-color.service: Main process exited, code=exited, status=1/FAILURE
May 28 00:13:39 Lyra systemd[2742]: gsd-color.service: Failed with result 'exit-code'.
May 28 00:13:39 Lyra systemd[2742]: gnome-terminal-server.service: Main process exited, code=exited, status=1/FAILURE
May 28 00:13:39 Lyra systemd[2742]: gnome-terminal-server.service: Failed with result 'exit-code'.
更新:由于日志行
May 28 00:13:39 Lyra /usr/lib/gdm3/gdm-x-session[20807]: (EE) Too many input devices. Ignoring UGTABLET 10 inch PenTablet Pen (0)
断开网络摄像头以减少输入设备的数量后,它可以正常工作。
有没有更好的方法来解决这个问题?
答案1
在 xorg-server 版本 1.20.10 中,输入设备的最大数量从 40 个增加到 256 个,这应该允许您同时使用平板电脑和网络摄像头。主 focal 存储库只有 1.20.9,但 1.20.11 可从 focal-updates 存储库获得(截至 2021-09-20)。