Движение TrackPoint на этом ThinkPad X390 с Ubuntu 18.04 LTS является нервным, отстающим и неприменимым для тонких, маленьких перемещений. Я подтвердил, что это вероятно проблема программного обеспечения, потому что я протестировал внешнюю клавиатуру с TrackPoint, и это прекрасно на 16,04, но показывает те же проблемы на 18,04.
Я вижу комментарии онлайн, которые предполагают, что переключение libinput к более новой версии может помочь и что переключение от libinput до Synaptics может помочь. Как последний может быть сделан? Я вижу отсюда, что возможность состоит в том, чтобы установить xserver-xorg-input-synaptics
, однако, когда я делаю это, я сталкиваюсь с проблемами:
$ sudo apt install xserver-xorg-input-synaptics
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
xserver-xorg-input-synaptics : Depends: xserver-xorg-core (>= 2:1.18.99.901)
E: Unable to correct problems, you have held broken packages.
$ sudo apt install xserver-xorg-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libunity-gtk2-parser0 libunity-gtk3-parser0 libxatracker2 unity-gtk-module-common xinput
Use 'sudo apt autoremove' to remove them.
Suggested packages:
xfonts-100dpi | xfonts-75dpi
The following packages will be REMOVED
ubuntu-desktop ubuntu-mate-core ubuntu-mate-desktop ubuntu-unity-desktop xorg
xserver-xorg-core-hwe-18.04 xserver-xorg-hwe-18.04 xserver-xorg-input-all-hwe-18.04
xserver-xorg-input-libinput-hwe-18.04 xserver-xorg-input-synaptics-hwe-18.04
xserver-xorg-input-wacom-hwe-18.04 xserver-xorg-video-all-hwe-18.04
xserver-xorg-video-amdgpu-hwe-18.04 xserver-xorg-video-ati-hwe-18.04
xserver-xorg-video-fbdev-hwe-18.04 xserver-xorg-video-intel-hwe-18.04
xserver-xorg-video-nouveau-hwe-18.04 xserver-xorg-video-qxl-hwe-18.04
xserver-xorg-video-radeon-hwe-18.04 xserver-xorg-video-vesa-hwe-18.04
xserver-xorg-video-vmware-hwe-18.04
The following NEW packages will be installed
xserver-xorg-core
0 to upgrade, 1 to newly install, 21 to remove and 11 not to upgrade.
Need to get 1,351 kB of archives.
After this operation, 5,808 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
Как можно было бы продолжить двигаться?
Править: Согласно предложениям @Pilot6 здесь, я установил xserver-xorg-input-synaptics-hwe-18.04
(который, кажется, был успешен), и я проверил файлы в каталоге /usr/share/X11/xorg.conf.d
:
10-amdgpu.conf
10-quirks.conf
10-radeon.conf
40-libinput.conf
51-synaptics-quirks.conf
70-synaptics.conf
70-wacom.conf
Я удалил файл 40-libinput.conf
и перезагруженный в надеждах, что драйвер Synaptics умер бы. Это не сделало, приведя к клавиатуре и TrackPoint (и сенсорная панель) быть безразличным. К счастью и экранная клавиатура с сенсорным экраном позволила заменить файл 40-libinput.conf
. Я не уверен, что сделать затем.
Содержание 40-libinput.conf
следующие:
# Match on all types of devices but joysticks
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Содержание 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
Так следуя из предложений @Hi-Angel я обновил libinput от значения по умолчанию, и это, кажется, улучшило вещи много. Процедура была следующие:
sudo apt install check doxygen libev-dev python3-sphinx
sudo pip3 install recommonmark sphinx_rtd_theme
git clone https://gitlab.freedesktop.org/libinput/libinput
cd libinput
meson --prefix=/usr builddir/
ninja -C builddir/
sudo ninja -C builddir/ install
sudo systemd-hwdb update
Это сопровождается перезагрузкой.
Для установок HWE команда была бы
sudo apt install xserver-xorg-input-synaptics-hwe-18.04
Можно переключиться на synaptics
драйвер путем удаления /usr/share/X11/xorg.conf.d/XX-libinput.conf
файл.