Debian
停止後處於基本模式的Debian10觸摸板
我在聯想 Y2P 上執行 Debian 10/Gnome,到目前為止沒有問題。特別是
uname -a
產量:Linux deepthought 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64 GNU/Linux
由於我曾經
sudo halt
在 4.19.0-11-amd64 上執行,因此synclient -l
產生:找不到突觸屬性。沒有載入突觸驅動程序?
即觸摸板工作,但不太敏感,沒有 2-FingerScroll,沒有點擊拖動,滑鼠和触摸板設置菜單被簡化為基本形式。在之前的版本 4.19.0-10-amd64 上,觸摸板仍然可以完全正常工作。
這是我到目前為止所嘗試的:
- 我已經安裝(
xserver-xorg-input-libinput
並xserver-xorg-input-synaptics
重新安裝,但無濟於事)。- 正如在這個StackExchange答案中一樣,
xinput list
產生:↳ PS/2 Synaptics 觸摸板 id=13
$$ slave pointer (2) $$
但按照建議複製突觸配置文件:
cp /usr/share/X11/xorg.conf.d/70-synaptics.conf /etc/X11/xorg.conf.d/70-synaptics.conf
並且重新啟動並沒有解決問題。的內容
70-synaptics.conf
是:# Example xorg.conf.d snippet that assigns the touchpad driver # to all touchpads. See xorg.conf.d(5) for more information on # InputClass. # DO NOT EDIT THIS FILE, your distribution will likely overwrite # it when updating. Copy (and rename) this file into # /etc/X11/xorg.conf.d first. # Additional options may be added in the form of # Option "OptionName" "value" # Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" # This option is recommend on all Linux systems using evdev, but cannot be # enabled by default. See the following link for details: # http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html # MatchDevicePath "/dev/input/event*" EndSection Section "InputClass" Identifier "touchpad ignore duplicates" MatchIsTouchpad "on" MatchOS "Linux" MatchDevicePath "/dev/input/mouse*" Option "Ignore" "on" EndSection # This option enables the bottom right corner to be a right button on clickpads # and the right and middle top areas to be right / middle buttons on clickpads # with a top button area. # This option is only interpreted by clickpads. Section "InputClass" Identifier "Default clickpad buttons" MatchDriver "synaptics" Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0" Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%" EndSection # This option disables software buttons on Apple touchpads. # This option is only interpreted by clickpads. Section "InputClass" Identifier "Disable clickpad buttons on Apple touchpads" MatchProduct "Apple|bcm5974" MatchDriver "synaptics" Option "SoftButtonAreas" "0 0 0 0 0 0 0 0" EndSection
- 將模組重新添加到核心並沒有幫助,而是告訴我:
insmod /lib/modules/4.19.0-13-amd64/kernel/drivers/input/mouse/psmouse.ko proto=imps
- 在這個reddit之後,我
dmesg
這樣檢查:$ sudo dmesg | grep -i PS/2 [ 1.799257] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12 [ 1.812958] mousedev: PS/2 mouse device common for all mice [ 2.218457] input: PS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input5 [ 246.027504] input: PS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input81
但是,我的 xorg 日誌中沒有任何關於 Synaptics 的內容:
[ 189.259] X.Org X Server 1.20.4 X Protocol Version 11, Revision 0 [ 189.259] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian [ 189.259] Current Operating System: Linux deepthought 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 [ 189.259] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-10-amd64 root=UUID=48c75b27-4eb3-426f-9a8b-80bac1fc66d5 ro quiet [ 189.259] Build Date: 05 March 2019 08:11:12PM [ 189.259] xorg-server 2:1.20.4-1 (https://www.debian.org/support) [ 189.259] Current version of pixman: 0.36.0 [ 189.259] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 189.259] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 189.260] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug 6 14:41:07 2020 [ 189.260] (==) Using config directory: "/etc/X11/xorg.conf.d" [ 189.260] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 189.261] Parse error on line 3 of section Device in file /etc/X11/xorg.conf.d/20-displaylink.conf "MatchDriver" is not a valid keyword in this section. [ 189.262] (EE) Problem parsing the config file [ 189.262] (EE) Error parsing the config file [ 189.262] (EE) Fatal server error: [ 189.262] (EE) no screens found(EE) [ 189.262] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 189.262] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 189.262] (EE) [ 189.262] (EE) Server terminated with error (1). Closing log file.
這裡的錯誤源於另一個停止的項目 - 它過去沒有影響突觸驅動程序。但我沒有看到任何關於後者的資訊。
(附帶問題:我不久前刪除了該文件
20-displaylink.conf
,即該文件不再存在。該日誌何時/如何更新?)
- 正如我所料,在啟動時自動添加模組,如此處所建議的並沒有改變任何東西。
- 這個連結告訴我,Gnome 3.20 不再支持突觸驅動程序,而是切換到 libinput。我有 3.30.2.,所以雖然行為是有道理的,但我在核心版本 4.19.0-10-amd64 上有相同的 Gnome 版本,它工作得很好。無論如何,這個 wiki 條目應該會告訴我如何切換到 libinput - 但我似乎對此太傻了,即我沒有得到我需要做的事情。
現在,由於我(還)對 Linux 還不夠熟悉,所以慢慢地絕望開始了,無法制定自己的解決方案。因此,非常感謝任何幫助。另外:怎麼會
halt
搞砸呢?有什麼危險嗎,我應該知道嗎?非常感謝您!
對於將來遇到相同問題的任何人:我通過重新安裝作業系統解決了這個問題。抱歉,我沒有更好的消息。