ThinkPad TrackPoint sensitivity / speed / scroll

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

ThinkPad TrackPoint sensitivity / speed / scroll

Postby undoIT » Fri Jan 31, 2014 19:43

I have Sabayon with KDE / Gnome installed on my ThinkPad T410s laptop. There are a couple of configurations that I am not able to get working. Usually I increase the sensitivity / speed for the TrackPoint and also set it up for scrolling using the middle button like wheel emulation. With Fedora or Ubuntu here's how I would do it:

Add the following commands to rc.local:

Code: Select all
#!/bin/sh
echo -n 230 > /sys/devices/platform/i8042/serio1/serio2/speed;
echo -n 180 > /sys/devices/platform/i8042/serio1/serio2/sensitivity;


After reboot, the setting are correctly applied. For wheel emulation I do this:

Create a script, trackpoint.sh:

Code: Select all
#!/bin/sh
xinput list | sed -ne 's/^[^ ][^V].*id=\([0-9]*\).*/\1/p' | while read id
do
case `xinput list-props $id` in
*"Middle Button Emulation"*)
xinput set-int-prop $id "Evdev Wheel Emulation" 8 1
xinput set-int-prop $id "Evdev Wheel Emulation Button" 8 2
xinput set-int-prop $id "Evdev Wheel Emulation Timeout" 8 200
xinput set-int-prop $id "Evdev Wheel Emulation Axes" 8 6 7 4 5
xinput set-int-prop $id "Evdev Middle Button Emulation" 8 0
;;
esac
done
# disable middle button
xmodmap -e "pointer = 1 9 3 4 5 6 7 8 2"


Set it to run at startup and after reboot, I've got wheel emulation.

I have tried a number of things to get these configurations working in Sabayon and can't figure it out. Any advice would be appreciated.
undoIT
Young Hen
 
Posts: 24
Joined: Tue Feb 28, 2012 23:45

Re: ThinkPad TrackPoint sensitivity / speed / scroll

Postby elvis » Sat Feb 01, 2014 23:59

I have another ThinkPad model, but in the past I made the scrolling work using the xorg.conf.d method: http://www.thinkwiki.org/wiki/How_to_co ... org.conf.d
Have you tried it?
Can't help for sensitivity and speed, I have never touched them. Sorry.
Sabayon Linux LXDE 64 bit @ Lenovo ThinkPad Edge E130
elvis
Simple Hen
 
Posts: 75
Joined: Sun Aug 26, 2012 22:34
Location: Italy

Re: ThinkPad TrackPoint sensitivity / speed / scroll

Postby undoIT » Sun Feb 02, 2014 0:39

Hey thanks! I had read that article but did not think to try putting the settings in xorg.conf file. This works, here's exactly what I did:

In terminal:
Code: Select all
sudo nano /usr/share/X11/xorg.conf.d/20-thinkpad.conf


Paste:
Code: Select all
Section "InputClass"
   Identifier   "Trackpoint Wheel Emulation"
   MatchProduct   "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"
   MatchDevicePath   "/dev/input/event*"
   Option      "EmulateWheel"      "true"
   Option      "EmulateWheelButton"   "2"
   Option      "Emulate3Buttons"   "false"
   Option      "XAxisMapping"      "6 7"
   Option      "YAxisMapping"      "4 5"
EndSection


Save, exit, reboot and now wheel emulation is working perfectly. One down, one to go...
undoIT
Young Hen
 
Posts: 24
Joined: Tue Feb 28, 2012 23:45

Re: ThinkPad TrackPoint sensitivity / speed / scroll

Postby undoIT » Sun Feb 02, 2014 0:48

BINGO!!!

I just found this forum post:

http://www.wilderssecurity.com/showthread.php?t=355802

To set speed sensitivity I did the following:

In Terminal:
Code: Select all
sudo nano /usr/share/X11/xorg.conf.d/20-thinkpad.conf


Paste:
Code: Select all
SUBSYSTEM=="serio", DRIVERS=="psmouse", WAIT_FOR="/sys/devices/platform/i8042/serio1/serio2/speed", ATTR{speed}="230"
SUBSYSTEM=="serio", DRIVERS=="psmouse", WAIT_FOR="/sys/devices/platform/i8042/serio1/serio2/sensitivity", ATTR{sensitivity}="180"


Save, exit, reboot. Of course the speed and sensitivity can be adjusted to whatever values you prefer, up to 255. Now my ThinkPad TrackPoint is fully usable in Sabayon :D
undoIT
Young Hen
 
Posts: 24
Joined: Tue Feb 28, 2012 23:45


Return to Hardware

Who is online

Users browsing this forum: No registered users and 8 guests

cron