[ltp] trackpoint doesn't recognized (2.6.23.17)
Richard Neill
linux-thinkpad@linux-thinkpad.org
Thu, 03 Apr 2008 15:32:12 +0100
Oleg Bartunov wrote:
> Hello,
>
> I am many years owner of thinkpads+linux, but recently got a problem
> with my x61s. Everything worked fine (except some buttons) for me until
> I decided to upgrade kernel from 2.6.21.5 to 2.6.23.17.
>
> I tried to change default sensitivity of trackpoint on my
> Linux Slackware 12.0 Thinkpad X61s, but got strange problem
> with 2.6.23.17
>
> zen:/usr/src/linux/drivers/input/mouse #>echo -n "200" >
> /sys/devices/platform/i8042/serio1/sensitivity
> bash: /sys/devices/platform/i8042/serio1/sensitivity: Permission denied
>
> Looks like trackpoint doesn't recognized
> zen:/usr/src/linux/drivers/input/mouse #>dmesg |grep mouse
> mice: PS/2 mouse device common for all mice
>
> psmouse compiled as a module. Below is relevan part of my .config:
> CONFIG_INPUT_MOUSE=y
> CONFIG_MOUSE_PS2=m
> CONFIG_MOUSE_PS2_ALPS=y
> CONFIG_MOUSE_PS2_LOGIPS2PP=y
> CONFIG_MOUSE_PS2_SYNAPTICS=y
> CONFIG_MOUSE_PS2_LIFEBOOK=y
> CONFIG_MOUSE_PS2_TRACKPOINT=y
>
> Do you have any idea what could be a problem ?
>
2 possible thoughts:
1)sometimes the serio device that you have to tweak changes between
serio1, serio0 and serio2. I don't know why it's volatile, but you might
check for the others. If you have a "sensitivity" file somewhere, then
the TP is probably working OK.
2)A mistake I sometimes make is to do
sudo PROGRAM > FILENAME
By doing this, PROGRAM runs as root, but the redirection to FILENAME is
carried out as a normal user. Might this account for a permission denied
error? (and you have simplified the test case when quoting it?)
For what it's worth, here's what I have to do for the T60p:
sudo sh -c "echo -n 255 >
/sys/devices/platform/i8042/serio1/serio2/sensitivity" #Makes it a
very light touch. Default: 128
sudo sh -c "echo -n 255 >
/sys/devices/platform/i8042/serio1/serio2/speed" #Not much effect.
sudo sh -c "echo -n 3 >
/sys/devices/platform/i8042/serio1/serio2/inertia" #Negative
inertia. Default: 6
Best wishes,
Richard