[SOLVED] lenovo: touchpad and trackpoint

Всё, что связано с ноутбуками.

Модераторы: broom, Модераторы разделов

IMB
Сообщения: 2426
ОС: Debian

[SOLVED] lenovo: touchpad and trackpoint

Сообщение IMB » 21.10.2018 16:36

Доброго дня!
Установлен текущий Debian testing на Lenovo X1 Carbon Gen6

Shell

# /sbin/dmidecode -t system | grep Family
Family: ThinkPad X1 Carbon 6th

# uname -a
Linux lenovo 4.18.0-2-amd64 #1 SMP Debian 4.18.10-2 (2018-10-07) x86_64 GNU/Linux

$ cat /etc/debian_version
buster/sid
Но выяснилось ряд проблем:
- touchpad засыпает?, нажатие на нижнию сторону touchpad отрабатывает
- неработает trackpoint и кнопки расположенные над touchpad

Поиск в сети приводит к двум советам - передать параметры драйверу psmouse - synaptics_intertouch=1 или proto=imps. Попробовал оба, одновременно был активен один параметр, прописав их в /etc/modprobe.d/psmouse.conf

Shell

$ lsmod | grep psmouse
psmouse 172032 0

$ cat /etc/modprobe.d/psmouse.conf
#options psmouse synaptics_intertouch=1
#options psmouse proto=imps
Но проблем это не решило

Shell

$ dmesg | grep psmouse
[ 2.961777] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4758]
[ 2.992887] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[ 2.992891] psmouse serio1: synaptics: The touchpad can support a better bus than the too old PS/2 protocol. Make sure MOUSE_PS2_SYNAPTICS_SMBUS and RMI4_SMB are enabled to get a better touchpad experience.
[ 3.061221] psmouse serio1: synaptics: Touchpad model: 1, fw: 9.16, id: 0x1e2a1, caps: 0xf00ba3/0x940300/0x12e800/0x500000, board id: 3288, fw id: 2696789
[ 3.061229] psmouse serio1: synaptics: serio: Synaptics pass-through port at isa0060/serio1/input0
[ 14.267728] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 14.268939] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 14.270135] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 14.280330] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 14.281520] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 14.281525] psmouse serio1: issuing reconnect request
[ 15.112238] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4758]
[ 15.144592] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[ 15.716293] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 15.717473] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 15.718660] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 15.727697] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 15.728886] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 15.728892] psmouse serio1: issuing reconnect request
[ 16.565193] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4758]
[ 16.601730] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[ 17.056304] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 17.059742] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 17.063001] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 17.072629] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 17.073822] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 17.073828] psmouse serio1: issuing reconnect request
[ 17.881683] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4758]
[ 17.919692] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[ 18.421781] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 18.423553] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 18.424880] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 18.434011] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 18.435188] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 18.435191] psmouse serio1: issuing reconnect request
[ 19.284613] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4758]
[ 19.322963] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[ 19.791780] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 19.792966] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 19.794170] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 19.804066] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 19.805276] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 19.805277] psmouse serio1: issuing reconnect request
[ 20.604229] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4758]
[ 20.641714] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[ 22.004959] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 22.006141] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 22.007377] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 22.017967] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 22.019147] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 22.019153] psmouse serio1: issuing reconnect request
[ 22.827676] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4758]
[ 22.862788] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[ 28.624515] psmouse serio2: Failed to enable mouse on synaptics-pt/serio0
[ 29.717083] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 29.718215] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 29.719414] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 29.728361] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 29.730096] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 29.730098] psmouse serio1: issuing reconnect request
[ 30.533418] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4758]
[ 30.571767] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[ 33.402417] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 33.403550] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 33.404738] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 33.414771] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 33.416238] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 33.416244] psmouse serio1: issuing reconnect request
[ 34.214831] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4758]
[ 34.251553] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[ 34.798643] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 34.799824] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 34.801060] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 34.811123] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 34.812309] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 34.812315] psmouse serio1: issuing reconnect request
[ 35.663962] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4758]
[ 35.706650] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[ 36.185019] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 36.188255] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 36.192250] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 36.197954] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 36.199135] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 36.199140] psmouse serio1: issuing reconnect request
[ 37.027838] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4758]
[ 37.073368] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[ 39.214906] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 39.216107] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 39.217382] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 39.226312] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 39.227515] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 39.227520] psmouse serio1: issuing reconnect request
[ 40.091972] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4758]
[ 40.137115] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[ 44.625217] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 44.626406] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 44.627620] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 44.650768] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 44.651949] psmouse serio1: TouchPad at isa0060/serio1/input0 lost sync at byte 1
[ 44.651954] psmouse serio1: issuing reconnect request
[ 45.512433] psmouse serio1: synaptics: queried max coordinates: x [..5678], y [..4758]
[ 45.552760] psmouse serio1: synaptics: queried min coordinates: x [1266..], y [1094..]
[ 46.020508] psmouse serio2: Failed to reset mouse on synaptics-pt/serio0: -5
[ 50.332519] psmouse serio2: Failed to enable mouse on synaptics-pt/serio0
Подключённая USB-мышка работает, но постоянно её таскать ...
Можете посоветовать как решить проблему?
Спасибо.
Последний раз редактировалось IMB 04.11.2018 12:34, всего редактировалось 1 раз.
Спасибо сказали:

IMB
Сообщения: 2426
ОС: Debian

Re: lenovo: touchpad and trackpoint

Сообщение IMB » 21.10.2018 17:59

Проблема извесная, похоже надо пересобрать linux c CONFIG_RMI4_SMB https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875621

Shell

$ grep RMI4 /boot/config-4.18.0-2-amd64
CONFIG_RMI4_CORE=m
# CONFIG_RMI4_I2C is not set
# CONFIG_RMI4_SPI is not set
# CONFIG_RMI4_SMB is not set
CONFIG_RMI4_F03=y
CONFIG_RMI4_F03_SERIO=m
CONFIG_RMI4_2D_SENSOR=y
CONFIG_RMI4_F11=y
CONFIG_RMI4_F12=y
CONFIG_RMI4_F30=y
# CONFIG_RMI4_F34 is not set
# CONFIG_RMI4_F54 is not set
# CONFIG_RMI4_F55 is not set

$ find /lib/modules -name rmi*
/lib/modules/4.18.0-2-amd64/kernel/drivers/input/rmi4
/lib/modules/4.18.0-2-amd64/kernel/drivers/input/rmi4/rmi_core.ko
Добавил загрузку модуля

Shell

$ cat /etc/modules | grep -v \#
rmi_core

$ lsmod | grep rmi
rmi_core 57344 0
Собрал rmi_smbus.ko, но его загрузка не решила проблемы :(
Спасибо сказали:

IMB
Сообщения: 2426
ОС: Debian

Re: lenovo: touchpad and trackpoint

Сообщение IMB » 04.11.2018 12:34

Решил проблему сборкой linux-4.19, почему бы сразу и не обновить раз уж собираю?, и включением всех опций RMI4

Код: Выделить всё

$ uname -a
Linux lenovo 4.19.0-trunk-amd64 #1 SMP Debian 4.19-1~exp1 (2018-10-08) x86_64 GNU/Linux

$ grep rmi /proc/modules 
rmi_smbus 16384 0 - Live 0x0000000000000000 (E)
rmi_core 90112 1 rmi_smbus, Live 0x0000000000000000 (E)
videobuf2_vmalloc 16384 2 uvcvideo,rmi_core, Live 0x0000000000000000 (E)
videobuf2_v4l2 28672 2 uvcvideo,rmi_core, Live 0x0000000000000000 (E)
videobuf2_common 53248 3 uvcvideo,rmi_core,videobuf2_v4l2, Live 0x0000000000000000 (E)
videodev 212992 4 uvcvideo,rmi_core,videobuf2_v4l2,videobuf2_common, Live 0x0000000000000000 (E)

$ cat /etc/modprobe.d/psmouse.conf 
options psmouse synaptics_intertouch=1

$ grep RMI4 /boot/config-4.19.0-trunk-amd64 
CONFIG_RMI4_CORE=m
CONFIG_RMI4_I2C=m
CONFIG_RMI4_SPI=m
CONFIG_RMI4_SMB=m
CONFIG_RMI4_F03=y
CONFIG_RMI4_F03_SERIO=m
CONFIG_RMI4_2D_SENSOR=y
CONFIG_RMI4_F11=y
CONFIG_RMI4_F12=y
CONFIG_RMI4_F30=y
CONFIG_RMI4_F34=y
CONFIG_RMI4_F54=y
CONFIG_RMI4_F55=y
Спасибо сказали:

Аватара пользователя
cyberhoffman
Сообщения: 23
ОС: Gentoo

Re: [SOLVED] lenovo: touchpad and trackpoint

Сообщение cyberhoffman » 05.11.2018 02:19

Пишете, что
IMB писал(а):
21.10.2018 17:59
..надо пересобрать linux c CONFIG_RMI4_SMB..
, а собираете ядро без оной опции:
IMB писал(а):
21.10.2018 17:59
# CONFIG_RMI4_SMB is not set
Поэтому и не сработало.
Спасибо сказали:

Аватара пользователя
cyberhoffman
Сообщения: 23
ОС: Gentoo

Re: [SOLVED] lenovo: touchpad and trackpoint

Сообщение cyberhoffman » 05.11.2018 02:25

IMB писал(а):
04.11.2018 12:34
..включением всех опций RMI4 ..
Включать всё подряд лишнее, имхо.
Спасибо сказали: