Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
howto make thinkpad trackpoint settings permanent
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
LoTeK
Apprentice
Apprentice


Joined: 26 Jul 2012
Posts: 270

PostPosted: Wed Dec 26, 2012 3:20 pm    Post subject: howto make thinkpad trackpoint settings permanent Reply with quote

hi,
do someone know where the trackpoint configurations of thinkpads are stored? With every linux distribution the settings for speed and sensitivity are always "97" and "128" so they must be hardcoded somewhere...
I've always made a rc.local file with:
Code:
echo 255 > /sys/devices/platform/i8042/serio1/serio2/speed
echo 255 > /sys/devices/platform/i8042/serio1/serio2/sensitivity
but on one hand it's a bad solution, because why not saving the configuration I want once and for all and on the other hand with every linux distribution so far (mint, fedora, arch) and unfortunately even with gentoo sometimes the script get executed and sometimes not. I even add
Code:
sleep 10
and it still doesn't work always..
(with gentoo I made a file in /etc/local.d/ )
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Wed Dec 26, 2012 9:28 pm    Post subject: Reply with quote

LoTeK,

I'm not sure where permanent settings are stored, but I use xset to set the properties on startup.

Instead of echo try xset m 4 2 - that setting works fine for me.
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
LoTeK
Apprentice
Apprentice


Joined: 26 Jul 2012
Posts: 270

PostPosted: Thu Dec 27, 2012 11:12 pm    Post subject: Reply with quote

BillWho,

thanks, I didn't know that feature (only xset -dpms s off to disable the screensaver when I'm reading..)

the strange thing is, when I echo something extrem to the trackpoint-sensitivity (speed is unaffected):
echo 10 > /sys/devices/platform/i8042/serio1/serio2/sensitivity
then nothing works and xset m 4 2 doesn't change anything, however if I use the defaults (97, 128) then xset m 4 2 effects the trackpoint to my satisfaction. The good thing is that xset doesn't have to be executed by root, but the echo-thing is only allowed as root (and one can't change the permission of the /sys/devices/platform/i8042/serio1/serio2/, even not as root, which of course wouldn't be good, but nonetheless strange).

I consider this as a big step forward, but it isn't my desired configuration yes..
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sat Dec 29, 2012 12:57 am    Post subject: Reply with quote

LoTeK.

I have an Inspiron N5050 laptop, but no speed or sensitivity files in /sys/devices/platform/ :?

Maybe it's a kernel setting that I'm missing, but it doesn't appear to be necessary given the xset method of manipulating those mouse properties.
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum