登录 Gnome/Ubuntu 会话几秒钟后触摸屏停止工作(Ubuntu 20.04)

登录 Gnome/Ubuntu 会话几秒钟后触摸屏停止工作(Ubuntu 20.04)

在全新安装的 Ubuntu 20.04 上,我无法让触摸屏正常工作。在登录屏幕上,我仍然可以触摸屏幕以选择用户和密码编辑框。即使在登录 Gnome/Ubuntu 桌面后的最初几秒钟内,触摸屏也会保持响应几秒钟,但随后停止工作(刚好够启动终端的时间……)

信息

  • 笔记本电脑/可转换电脑:HP Spectre x360 13-4230ng
  • 触摸屏:SYNAPTICS Synaptics Touch Digitizer V04(根据xinputevtest
  • xorg-server 中使用的驱动程序:(libinput我试过evdev,但触摸板也不再响应,所以我切换回 libinput)

对我来说,这似乎是 Xorg 驱动程序的一个奇怪的问题,但我无法弄清楚问题出在哪里。

使用后evtest我发现,只要 Gnome/Ubuntu 会话的 Xserver 尚未启动,触摸屏就会发送信号。此后,它不再发送信号。

事实上,在第一次会话期间,触摸屏就可以正常工作,这让我确信应该有一个解决方案,或者至少有一个解决方法。也许有一些配置文件是在 Gnome/Ubuntu 会话首次启动时创建的?我尝试删除 ~./config/dconf/user,但这没有帮助。还有其他的吗?有没有其他 Xorg 驱动程序可以尝试?

为了添加更多信息,我在这里附加了我的 Xorg.log 的相关部分:

[    17.425] (II) config/udev: Adding input device SYNAPTICS Synaptics Touch Digitizer V04 Mouse (/dev/input/event4)  
[    17.425] (**) SYNAPTICS Synaptics Touch Digitizer V04 Mouse: Applying InputClass "libinput pointer catchall"  
[    17.425] (II) Using input driver 'libinput' for 'SYNAPTICS Synaptics Touch Digitizer V04 Mouse'  
[    17.483] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 31 paused 0  
[    17.484] (**) SYNAPTICS Synaptics Touch Digitizer V04 Mouse: always reports core events  
[    17.484] (**) Option "Device" "/dev/input/event4"  
[    17.484] (**) Option "_source" "server/udev"  
[    17.487] (II) event4  - SYNAPTICS Synaptics Touch Digitizer V04 Mouse: is tagged by udev as: Mouse  
[    17.487] (II) event4  - SYNAPTICS Synaptics Touch Digitizer V04 Mouse: device is a pointer  
[    17.488] (II) event4  - SYNAPTICS Synaptics Touch Digitizer V04 Mouse: device removed  
[    17.488] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:06CB:16F9.0001/input/input13/event4"  
[    17.488] (II) XINPUT: Adding extended input device "SYNAPTICS Synaptics Touch Digitizer V04 Mouse" (type: MOUSE, id 10)  
[    17.488] (**) Option "AccelerationScheme" "none"  
[    17.488] (**) SYNAPTICS Synaptics Touch Digitizer V04 Mouse: (accel) selected scheme none/0  
[    17.488] (**) SYNAPTICS Synaptics Touch Digitizer V04 Mouse: (accel) acceleration factor: 2.000  
[    17.488] (**) SYNAPTICS Synaptics Touch Digitizer V04 Mouse: (accel) acceleration threshold: 4  
[    17.490] (II) event4  - SYNAPTICS Synaptics Touch Digitizer V04 Mouse: is tagged by udev as: Mouse  
[    17.490] (II) event4  - SYNAPTICS Synaptics Touch Digitizer V04 Mouse: device is a pointer  
[    17.491] (II) config/udev: Adding input device SYNAPTICS Synaptics Touch Digitizer V04 Mouse (/dev/input/mouse0)  
[    17.491] (II) No input driver specified, ignoring this device.  
[    17.491] (II) This device may have been added with another device file.  
[    17.492] (II) config/udev: Adding input device SYNAPTICS Synaptics Touch Digitizer V04 (/dev/input/event5)  
[    17.492] (**) SYNAPTICS Synaptics Touch Digitizer V04: Applying InputClass "libinput touchscreen catchall"  
[    17.492] (II) Using input driver 'libinput' for 'SYNAPTICS Synaptics Touch Digitizer V04'  
[    17.493] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 32 paused 0  
[    17.493] (**) SYNAPTICS Synaptics Touch Digitizer V04: always reports core events  
[    17.493] (**) Option "Device" "/dev/input/event5"  
[    17.493] (**) Option "_source" "server/udev"  
[    17.496] (II) event5  - SYNAPTICS Synaptics Touch Digitizer V04: is tagged by udev as: Touchscreen  
[    17.496] (II) event5  - SYNAPTICS Synaptics Touch Digitizer V04: device is a touch device  
[    17.496] (II) event5  - SYNAPTICS Synaptics Touch Digitizer V04: device removed  
[    17.496] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:06CB:16F9.0001/input/input14/event5"  
[    17.496] (II) XINPUT: Adding extended input device "SYNAPTICS Synaptics Touch Digitizer V04" (type: TOUCHSCREEN, id 11)  
[    17.496] (**) Option "AccelerationScheme" "none"  
[    17.496] (**) SYNAPTICS Synaptics Touch Digitizer V04: (accel) selected scheme none/0  
[    17.496] (**) SYNAPTICS Synaptics Touch Digitizer V04: (accel) acceleration factor: 2.000  
[    17.497] (**) SYNAPTICS Synaptics Touch Digitizer V04: (accel) acceleration threshold: 4  
[    17.499] (II) event5  - SYNAPTICS Synaptics Touch Digitizer V04: is tagged by udev as: Touchscreen  
[    17.499] (II) event5  - SYNAPTICS Synaptics Touch Digitizer V04: device is a touch device  
[    17.500] (II) config/udev: Adding input device SYNAPTICS Synaptics Touch Digitizer V04 (/dev/input/mouse1)  
[    17.500] (II) No input driver specified, ignoring this device.  
[    17.500] (II) This device may have been added with another device file.  

答案1

看起来是这个错误:https://bugs.launchpad.net/bugs/1876991

将其标记为也影响到您,将增加被注意到的机会。您也可以在那里订阅更新。

如果您的触摸板设置为使用鼠标禁用,您可以尝试以下设置:

GNOMEgsettings set org.gnome.desktop.peripherals.touchpad send-events enabled命令,详细信息:如何在使用鼠标时禁用触摸板

桌面环境:系统设置>输入设备>触摸板>启用/禁用>忽略的设备>添加“鼠标”触摸板/触摸屏条目,应该已经填写,因为它是“已连接”。

答案2

抱歉,我刚刚加入,还不能对你的帖子发表评论,因为它还没有解锁。

但在我的例子中,我遇到了与 Ubuntu 20.04 和 Gnome 3.36.1 非常类似的问题HP spectre x360 13-4203ng

我欢迎任何形式的帮助、想法或请求来调试和查找问题,因为我真的希望触摸屏能够再次工作。

感谢大家的支持 - 杰克

答案3

我的联想 Yoga S1 也遇到了同样的问题。

我注意到 journalctl -b 中:

systemd[1]: Starting Firmware update daemon...
fwupd[2737]: ERROR:esys:src/tss2-esys/esys_context.c:69:Esys_Initialize() Initialize default tcti. ErrorCode (0x000a000a)
fwupd[2737]: 21:37:44:0499 FuEngine failed to add udev device /sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/0003:06CB:7244.0003/>
fwupd[2737]: 21:37:44:0675 FuEngine device 602b0a6cc821d155208724f0e22f8d111542b74c [SAMSUNG MZ7TE128HMGR-000L1] does not define a vendo>
systemd[1]: Started Firmware update daemon.

我注意到 06CB:7244 是:

$ lsusb
Bus 001 Device 006: ID 06cb:7244 Synaptics, Inc. Synaptics Touch Digitizer V04

我尝试在 /etc/fwupd/daemon.conf 中将插件 synaptics-rmi 列入黑名单:

BlacklistPlugins=synaptics-rmi;test;invalid

但这并没有帮助。最后我做了:

sudo apt remove fwupd

我想这不是解决问题的最佳方法,但它确实有效!

相关内容