Lenovo thinkpad linux touchpad

Пропатченый synaptics для тачпадов Lenovo Thinkpad 2014 года

Засада в том, что верхня область (до красной полоски) используется как кнопки мыши. Это удобно, только разработчики Synaptics на такое не рассчитывали.
Решение собственно имеется, во вот не могу адаптировать его под OpenSuse. Ниразу не доводилось собирать rpm пакеты, маны, которые гуглились, выглядят как-то очень сумбурно.

Cуть решеня — применить патч, который подготовили парни из команды арча на родные пакеты системы, собрать и установить rpm-ку. Есть готовый скрипт для убунту:

echo -------------------------------------------------------------------- sudo apt-get install libevdev-dev libevdev2 sudo apt-get build-dep xserver-xorg-input-evdev xserver-xorg-input-synaptics wget https://launchpad.net/ubuntu/+archive/primary/+files/xserver-xorg-input-evdev_2.9.0.orig.tar.gz wget https://launchpad.net/ubuntu/+archive/primary/+files/xserver-xorg-input-evdev_2.9.0-1ubuntu1.diff.gz wget https://launchpad.net/ubuntu/+archive/primary/+files/xserver-xorg-input-evdev_2.9.0-1ubuntu1.dsc wget https://launchpad.net/ubuntu/+archive/primary/+files/xserver-xorg-input-synaptics_1.8.0.orig.tar.gz wget https://launchpad.net/ubuntu/+archive/primary/+files/xserver-xorg-input-synaptics_1.8.0-1~exp2ubuntu2.diff.gz wget https://launchpad.net/ubuntu/+archive/primary/+files/xserver-xorg-input-synaptics_1.8.0-1~exp2ubuntu2.dsc dpkg-source -x --no-check xserver-xorg-input-evdev_2.9.0-1ubuntu1.dsc dpkg-source -x --no-check xserver-xorg-input-synaptics_1.8.0-1~exp2ubuntu2.dsc wget https://aur.archlinux.org/packages/xf/xf86-input-evdev-trackpoint/xf86-input-evdev-trackpoint.tar.gz tar -xzf xf86-input-evdev-trackpoint.tar.gz mv xf86-input-evdev-trackpoint arch mv xserver-xorg-input-evdev-2.9.0 evdev mv xserver-xorg-input-synaptics-1.8.0 synaptics cp synaptics/src/ evdev/src cp synaptics/include/synaptics-properties.h evdev/src cp arch/*.patch evdev cd evdev patch -p1 -i 0001-implement-trackpoint-wheel-emulation.patch patch -p1 -i 0004-disable-clickpad_guess_clickfingers.patch patch -p1 -i 0006-add-synatics-files-into-Makefile.am.patch dpkg-buildpackage cd .. sudo dpkg -i xserver-xorg-input-evdev_*.deb sudo apt-get remove xserver-xorg-input-synaptics sudo mkdir /etc/X11/xorg.conf.d/ sudo cp arch/90-evdev-trackpoint.conf /etc/X11/xorg.conf.d echo If everything was OK, than logout/reboot and enjoy fully working ThinkPad Trackpoint/ClickPad echo If you want to deactivate touch area of ClickPad for pure TrackPoint usage echo edit /etc/X11/xorg.conf.d/90-evdev-trackpoint.conf and change "0" to "1" at line echo Option "AreaBottomEdge" "0" echo Regards, T_Send 
  • Как вычислить URL для скачивания исходников для evdev, synaptics под OpenSuse 13.2 ? (думаю можно скачать zypper-ом потом выдрать из папки, только какой?)
  • что необходимо добавить, сконфигурить перед созданием пакета после применения патча ?
  • как собрать rmp-ку ? (если rmpbuild — какие параметры нужны)

Версии пакетов совпадают, проблем при применении патча не будет.

PS: сорри, не верное название темы. Патч же удаляет synaptics обновив при этом evdev.

Источник

Linux Mint Forums

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

Lenovo Thinkpad Trackpoint and Touchpad

Post by kascalith » Tue Jan 19, 2016 5:54 pm

I recently installed Linux Mint 17.3 next to my Windows 10 on my Lenovo Thinkpad (which features the Trackpoint). On Windows, the Touchpad was inactive, when I used the Trackpoint or typed on my keyboard. Furthermore, I was able to scroll by pressing the touchpad in the top center while moving the trackpoint (left and right key work fine on Linux).

Читайте также:  Linux xampp установка wordpress

How can I configure my Tochpad to behave the way I’m used to?

Best regards and thank you for your answers!

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

all41 Level 18
Posts: 8925 Joined: Tue Dec 31, 2013 9:12 am Location: Computer, Car, Cage

Re: Lenovo Thinkpad Trackpoint and Touchpad

Post by all41 » Tue Jan 19, 2016 8:22 pm

uno@CQ58 ~ $ xinput -list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ SynPS/2 Synaptics TouchPad id=11 [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)] ↳ Power Button id=8 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)] ↳ HP WMI hotkeys id=12 [slave keyboard (3)] ↳ HP Truevision HD id=9 [slave keyboard (3)] uno@CQ58 ~ $ xinput list-props 11 Device 'SynPS/2 Synaptics TouchPad': Device Enabled (139): 1 Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 Device Accel Profile (261): 2 Device Accel Constant Deceleration (262): 2.500000 Device Accel Adaptive Deceleration (263): 1.000000 Device Accel Velocity Scaling (264): 12.500000 Synaptics Edges (265): 1763, 5343, 1631, 4375 Synaptics Finger (266): 25, 30, 0 Synaptics Tap Time (267): 180 Synaptics Tap Move (268): 230 Synaptics Tap Durations (269): 180, 180, 100 Synaptics ClickPad (270): 0 Synaptics Middle Button Timeout (271): 75 Synaptics Two-Finger Pressure (272): 282 Synaptics Two-Finger Width (273): 7 Synaptics Scrolling Distance (274): 104, 104 Synaptics Edge Scrolling (275): 0, 0, 0 Synaptics Two-Finger Scrolling (276): 1, 0 Synaptics Move Speed (277): 1.000000, 1.750000, 0.038146, 0.000000 Synaptics Off (278): 1 Synaptics Locked Drags (279): 0 Synaptics Locked Drags Timeout (280): 5000 Synaptics Tap Action (281): 2, 3, 0, 0, 1, 3, 2 Synaptics Click Action (282): 1, 1, 0 Synaptics Circular Scrolling (283): 0 Synaptics Circular Scrolling Distance (284): 0.100000 Synaptics Circular Scrolling Trigger (285): 0 Synaptics Circular Pad (286): 0 Synaptics Palm Detection (287): 0 Synaptics Palm Dimensions (288): 10, 200 Synaptics Coasting Speed (289): 20.000000, 50.000000 Synaptics Pressure Motion (290): 30, 160 Synaptics Pressure Motion Factor (291): 1.000000, 1.000000 Synaptics Resolution Detect (292): 1 Synaptics Grab Event Device (293): 1 Synaptics Gestures (294): 1 Synaptics Capabilities (295): 1, 0, 1, 1, 1, 1, 1 Synaptics Pad Resolution (296): 76, 51 Synaptics Area (297): 0, 0, 0, 0 Synaptics Noise Cancellation (298): 8, 8 Device Product ID (256): 2, 7 Device Node (257): "/dev/input/event5" uno@CQ58 ~ $ xinput set-prop 11 261 1 uno@CQ58 ~ $ xinput list-props 11 Device 'SynPS/2 Synaptics TouchPad': Device Enabled (139): 1 Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 Device Accel Profile (261): 1 Device Accel Constant Deceleration (262): 2.500000 Device Accel Adaptive Deceleration (263): 1.000000 Device Accel Velocity Scaling (264): 12.500000 Synaptics Edges (265): 1763, 5343, 1631, 4375 Synaptics Finger (266): 25, 30, 0 Synaptics Tap Time (267): 180 Synaptics Tap Move (268): 230 Synaptics Tap Durations (269): 180, 180, 100 Synaptics ClickPad (270): 0 Synaptics Middle Button Timeout (271): 75 Synaptics Two-Finger Pressure (272): 282 Synaptics Two-Finger Width (273): 7 Synaptics Scrolling Distance (274): 104, 104 Synaptics Edge Scrolling (275): 0, 0, 0 Synaptics Two-Finger Scrolling (276): 1, 0 Synaptics Move Speed (277): 1.000000, 1.750000, 0.038146, 0.000000 Synaptics Off (278): 0 Synaptics Locked Drags (279): 0 Synaptics Locked Drags Timeout (280): 5000 Synaptics Tap Action (281): 2, 3, 0, 0, 1, 3, 2 Synaptics Click Action (282): 1, 1, 0 Synaptics Circular Scrolling (283): 0 Synaptics Circular Scrolling Distance (284): 0.100000 Synaptics Circular Scrolling Trigger (285): 0 Synaptics Circular Pad (286): 0 Synaptics Palm Detection (287): 0 Synaptics Palm Dimensions (288): 10, 200 Synaptics Coasting Speed (289): 20.000000, 50.000000 Synaptics Pressure Motion (290): 30, 160 Synaptics Pressure Motion Factor (291): 1.000000, 1.000000 Synaptics Resolution Detect (292): 1 Synaptics Grab Event Device (293): 1 Synaptics Gestures (294): 1 Synaptics Capabilities (295): 1, 0, 1, 1, 1, 1, 1 Synaptics Pad Resolution (296): 76, 51 Synaptics Area (297): 0, 0, 0, 0 Synaptics Noise Cancellation (298): 8, 8 Device Product ID (256): 2, 7 Device Node (257): "/dev/input/event5" uno@CQ58 ~ $ 

Here I have changed my device acceleration profile (261) from 2 to 1
and rechecked to verify the change was implemented.

Читайте также:  Linux check network card

see the man page for xinput
I suggest you make a copy of the settings before you change anything

Re: Lenovo Thinkpad Trackpoint and Touchpad

Post by kascalith » Wed Jan 20, 2016 8:53 am

alex@alex-ThinkPad-S1-Yoga ~ $ xinput -list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ ELAN Touchscreen id=9 [slave pointer (2)] ⎜ ↳ Wacom ISDv4 EC Pen stylus id=11 [slave pointer (2)] ⎜ ↳ SynPS/2 Synaptics TouchPad id=13 [slave pointer (2)] ⎜ ↳ Wacom ISDv4 EC Pen eraser id=15 [slave pointer (2)] ⎜ ↳ TPPS/2 IBM TrackPoint id=16 [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)] ↳ Power Button id=8 [slave keyboard (3)] ↳ Integrated Camera id=10 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)] ↳ ThinkPad Extra Buttons id=14 [slave keyboard (3)] alex@alex-ThinkPad-S1-Yoga ~ $ xinput list-props 11 Device 'Wacom ISDv4 EC Pen stylus': Device Enabled (138): 1 Coordinate Transformation Matrix (140): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 Device Accel Profile (271): 0 Device Accel Constant Deceleration (272): 1.000000 Device Accel Adaptive Deceleration (273): 1.000000 Device Accel Velocity Scaling (274): 10.000000 Device Node (259): "/dev/input/event8" Wacom Tablet Area (298): 0, 0, 27748, 15652 Wacom Rotation (299): 0 Wacom Pressurecurve (300): 0, 0, 100, 100 Wacom Serial IDs (301): 236, 0, 2, 0, 0 Wacom Serial ID binding (302): 0 Wacom Pressure Threshold (303): 27 Wacom Sample and Suppress (304): 2, 4 Wacom Enable Touch (305): 0 Wacom Hover Click (306): 0 Wacom Enable Touch Gesture (307): 0 Wacom Touch Gesture Parameters (308): 0, 0, 250 Wacom Tool Type (309): "STYLUS" (293) Wacom Button Actions (310): "Wacom button action 0" (311), "Wacom button action 1" (312), "Wacom button action 2" (313) Wacom button action 0 (311): 1572865 Wacom button action 1 (312): 1572867 Wacom button action 2 (313): 1572866 Wacom Pressure Recalibration (314): 1 Device Product ID (258): 1386, 236 Wacom Debug Levels (315): 0, 0 alex@alex-ThinkPad-S1-Yoga ~ $ xinput set-prop 11 271 1 X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 131 (XInputExtension) Minor opcode of failed request: 57 () Value in failed request: 0x10f Serial number of failed request: 19 Current serial number in output stream: 20 alex@alex-ThinkPad-S1-Yoga ~ $ xinput set-prop 11 261 1 property '261' doesn't exist, you need to specify its type and format 

Источник

Оцените статью
Adblock
detector