自从大约一年前在我的笔记本电脑上安装 arch 以来,我一直在努力让 synaptic 正常工作,但它最终完全崩溃了。我需要帮助找出原因,因为过去几个小时我所做的一切都没有解决这个问题。
的输出x输入意识到光标没有移动后立即:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Power Button id=9 [slave keyboard (3)]
↳ Sleep Button id=10 [slave keyboard (3)]
↳ HD WebCam id=11 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
↳ Acer WMI hotkeys id=13 [slave keyboard (3)]
当我的光标在此之前工作时,有一个条目列出了几个数字并显示“未知”。我很确定那是我的触摸板,但现在不见了。
的内容Xorg.0.log(我认为与我的触摸板相关的部分)
[ 198.965] (II) config/udev: Adding input device SYN1B7F:01 06CB:2970 UNKNOWN (/dev/input/event8)
[ 198.965] (**) SYN1B7F:01 06CB:2970 UNKNOWN: Applying InputClass "evdev touchpad catchall"
[ 198.965] (**) SYN1B7F:01 06CB:2970 UNKNOWN: Applying InputClass "touchpad catchall"
[ 198.965] (**) SYN1B7F:01 06CB:2970 UNKNOWN: Applying InputClass "Default clickpad buttons"
[ 198.965] (II) LoadModule: "synaptics"
[ 198.965] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 198.977] (II) Module synaptics: vendor="X.Org Foundation"
[ 198.977] compiled for 1.16.4, module version = 1.8.1
[ 198.977] Module class: X.Org XInput Driver
[ 198.977] ABI class: X.Org XInput driver, version 21.0
[ 198.980] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 21 paused 0
[ 198.980] (II) Using input driver 'synaptics' for 'SYN1B7F:01 06CB:2970 UNKNOWN'
[ 198.980] (**) SYN1B7F:01 06CB:2970 UNKNOWN: always reports core events
[ 198.980] (**) Option "Protocol" "event"
[ 198.980] (**) Option "Device" "/dev/input/event8"
[ 198.980] (--) synaptics: SYN1B7F:01 06CB:2970 UNKNOWN: x-axis range 0 - 1236 (res 12)
[ 198.980] (--) synaptics: SYN1B7F:01 06CB:2970 UNKNOWN: y-axis range 0 - 898 (res 12)
[ 198.980] (II) synaptics: SYN1B7F:01 06CB:2970 UNKNOWN: device does not report pressure, will use touch data.
[ 198.980] (II) synaptics: SYN1B7F:01 06CB:2970 UNKNOWN: device does not report finger width.
[ 198.980] (--) synaptics: SYN1B7F:01 06CB:2970 UNKNOWN: buttons: left double triple
[ 198.980] (--) synaptics: SYN1B7F:01 06CB:2970 UNKNOWN: Vendor 0x6cb Product 0x2970
[ 198.980] (--) synaptics: SYN1B7F:01 06CB:2970 UNKNOWN: invalid pressure range. defaulting to 0 - 255
[ 198.980] (--) synaptics: SYN1B7F:01 06CB:2970 UNKNOWN: invalid finger width range. defaulting to 0 - 15
[ 198.980] (**) Option "SHMConfig" "on"
[ 198.980] (**) Option "ClickPad" "0"
[ 198.980] (**) Option "VertTwoFingerScroll" "on"
[ 198.980] (**) Option "TouchpadOff" "0"
[ 198.980] (**) Option "PalmDetect" "on"
[ 198.980] (--) synaptics: SYN1B7F:01 06CB:2970 UNKNOWN: touchpad found
[ 198.980] (**) SYN1B7F:01 06CB:2970 UNKNOWN: always reports core events
[ 198.980] (**) Option "config_info" "udev:/sys/devices/pci0000:00/INT33C3:00/i2c-0/i2c-SYN1B7F:01/0018:06CB:2970.0001/input/input8/event8"
[ 198.980] (II) XINPUT: Adding extended input device "SYN1B7F:01 06CB:2970 UNKNOWN" (type: TOUCHPAD, id 12)
[ 198.980] (**) synaptics: SYN1B7F:01 06CB:2970 UNKNOWN: (accel) MinSpeed is now constant deceleration 2.5
[ 198.980] (**) synaptics: SYN1B7F:01 06CB:2970 UNKNOWN: (accel) MaxSpeed is now 1.75
[ 198.980] (**) synaptics: SYN1B7F:01 06CB:2970 UNKNOWN: (accel) AccelFactor is now 0.131
[ 198.981] (**) SYN1B7F:01 06CB:2970 UNKNOWN: (accel) keeping acceleration scheme 1
[ 198.981] (**) SYN1B7F:01 06CB:2970 UNKNOWN: (accel) acceleration profile 1
[ 198.981] (**) SYN1B7F:01 06CB:2970 UNKNOWN: (accel) acceleration factor: 2.000
[ 198.981] (**) SYN1B7F:01 06CB:2970 UNKNOWN: (accel) acceleration threshold: 4
[ 198.981] (--) synaptics: SYN1B7F:01 06CB:2970 UNKNOWN: touchpad found
[ 198.981] (II) config/udev: Adding input device SYN1B7F:01 06CB:2970 UNKNOWN (/dev/input/mouse0)
[ 198.981] (**) SYN1B7F:01 06CB:2970 UNKNOWN: Ignoring device from InputClass "touchpad ignore duplicates"
我做的第一件事是禁用 /etc/X11/xorg.conf.d/50-synaptics.conf并重新启动。
现在x输入输出:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SYN1B7F:01 06CB:2970 UNKNOWN id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
(我省略了虚拟核心键盘下的部分,因为它们在整个过程中不会改变)。现在之前显示的数字和UNKNOWN又出现了,但是光标还是不动。
环顾四周后,我发现了一个建议我添加的线程
i8042.nopnp i8042.nomux=1 i8042.reset
通过引导加载程序设置到我的内核。我使用 systemd-boot,并将这些设置添加到 /boot/loader/entries/arch.conf 中。重启后xinput还是一样,光标还是不动。
我继续搜索,发现另一个线程提到将 i2c_hid 驱动程序列入黑名单。我想我会尝试一下,所以我在 /etc/modprobe.d 中创建了一个包含以下内容的conf文件
blacklist i2c_hid
重新启动后,x输入再次有不同的输出:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=13 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
xinput 输出一些合理的内容而不是 UNKNOWN 似乎很有希望,但光标仍然不会移动。
此时,我重新激活了/etc/X11/xorg.conf.d/50-synaptics.conf并重新启动。
重新启动后,x输入返回到不显示任何触摸板,并且光标仍然不移动。
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
我查看了 50-synaptics.conf,认为其中可能存在某种错误,但经过仔细检查后我找不到错误。
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Option "TouchpadOff" "0"
Option "MaxTapTime" "0" #disables tapping
Option "PalmDetect" "on"
Option "EmulateTwoFingerMinZ" "40"
# Option "EmulateTwoFingerMinW "10"
Option "ClickPad" "0"
Option "VertTwoFingerScroll" "on"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
EndSection
我尝试了几种不同的更改组合,例如删除 i8042 选项,但将 i2c_hid 列入黑名单,但我尝试的任何操作都没有产生任何显着差异,并且光标仍然无法移动。
至此,我开始写这个问题。如果我遗漏了任何重要的日志文件或任何内容,请告诉我,我会发布它们。请帮帮我。这开始让我发疯。
答案1
我今天也遇到了类似的问题。关于50-synaptics.conf
我只是将其删除/etc/X11/xorg.conf.d/
并重新启动systemctl stop/start lxdm.service
(budgie 桌面),一切都重新开始工作。