Thinkpad Trackpoint sensitivity

14 respuestas [Último envío]
sec
sec
Desconectado/a
se unió: 10/14/2012

The mouse setting is Trisquel don't seem to have any effect on the sensitivity of my TrackPoint on my Thinkpad X220. The trackpoint works, but the default sensitivity (which I can't change) is very low.

ThinkWiki has some suggestions here ( http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint ), but none of the GUI options look very promising (unless I'm missing something), so I thought I'd see what you guys think.

sec
sec
Desconectado/a
se unió: 10/14/2012

Sorry the first sentence should have read: "The mouse settings in Trisquel..."

lembas
Desconectado/a
se unió: 05/13/2010

Dunno how to do it in a GUI but you can use synclient. First check your current MinSpeed and MaxSpeed settings.

synclient -l|grep Speed

And then set new, larger values

synclient MinSpeed=6
synclient MaxSpeed=8

There's also AccelFactor parameter. To find out what they all do

man synaptics
sec
sec
Desconectado/a
se unió: 10/14/2012

neat! but those commands adjusted my track *pad* sensititivity, not my track *point* sensitivity (y'know, the red nipple thing in the middle of the keyboard).

i see in "man synaptics" that it's possible to specify a device from my "/dev" directory, but i'm not sure how to determine which one is the trackpoint.

lembas
Desconectado/a
se unió: 05/13/2010

Oops... What's your output of

sudo cat /sys/devices/platform/i8042/serio1/serio2/{speed,sensitivity}
sec
sec
Desconectado/a
se unió: 10/14/2012

97
128

lembas
Desconectado/a
se unió: 05/13/2010

Ok, valid numbers are between 0 and 255.

Try setting e.g. the speed with

sudo su
echo 150 > /sys/devices/platform/i8042/serio1/serio2/speed

Similarly you can echo to /sys/devices/platform/i8042/serio1/serio2/sensitivity

Once you figure out suitable numbers, you can add the echo commands to /etc/rc.local to be automatically run at startup.

sec
sec
Desconectado/a
se unió: 10/14/2012

it works!

after a little experimenting i've settled on speed 255 and sensitivity 150.

an acceleration might be good. even at speed 255 (the max) the pointer doesn't cross the screen super-fast. but at 255 it's starting to be tricky to be precise over very short distances.

there's maybe a similar issue with sensitivity. at 150, still having to push a bit to get to the other side of the screen quickly. but don't want to set any higher otherwise precision becomes tricky.

still, this is a great improvement. thanks lembas!

lembas
Desconectado/a
se unió: 05/13/2010

Glad to hear that!

You might want to check the folder

/sys/devices/platform/i8042/serio1/serio2/

for any other files you could tinker with. Just be sure to write down the original value somewhere before changing them.

sec
sec
Desconectado/a
se unió: 10/14/2012

Hmmm... editing /etc/rc.local didn't seem to have any effect. On restart, I'm right back to the default values. (Should my rc.local have "exit 0" at the end?)

lembas
Desconectado/a
se unió: 05/13/2010

Yes it should. Maybe try adding

sleep 5

before the echos.

Can you paste the file's contents here? (Please omit the comments, the lines starting with a #)

sec
sec
Desconectado/a
se unió: 10/14/2012

echo disable > /proc/acpi/ibm/bluetooth
echo 255 > /sys/devices/platform/i8042/serio1/serio2/speed
echo 150 > /sys/devices/platform/i8042/serio1/serio2/sensitivity
sleep 5
exit 0

can't remember if the bluetooth line was successful in disabling it or if i had to do something else. will comment it out, reboot and see what happens (testing out the new sleep 5 line as well)

sec
sec
Desconectado/a
se unió: 10/14/2012

OK rc.local is clearly being read -- when I comment out the disable-bluetooth line, bluetooth is reactivated on startup.

but still, the lines controlling trackpoint sensitivity are ineffective, even when i include "sleep 5".

maybe there is some other file re-setting the default trackpoint values at startup.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

lembas wrote "before the echos". You put the sleep after them. Also you probably want to reduce the number of seconds after sleep to have the sensitivity adjusted as early as possible. 5 is a good value to test though: it surely is large enough.

sec
sec
Desconectado/a
se unió: 10/14/2012

Oops! Silly me, putting sleep *after* the echos when lembas said *before*!

It works now.

I tested different integer values for sleep, and 4 is the lowest that works for me.

My /etc/rc.local now looks like this (I can recommend the second line to anyone who is having problems with their brightness settings reverting to the maximum after every reboot):

echo disable > /proc/acpi/ibm/bluetooth
echo 600 > /sys/class/backlight/intel_backlight/brightness
sleep 4
echo 180 > /sys/devices/platform/i8042/serio1/serio2/speed
echo 150 > /sys/devices/platform/i8042/serio1/serio2/sensitivity
exit 0