[ltp] Thinkpad R61 ALPS-pad and trackpointer undetected

Sébastien Mazy linux-thinkpad@linux-thinkpad.org
Tue, 30 Oct 2007 23:08:54 +0100


2007/10/10, Christian Birchinger <joker@netswarm.net>:
> On Tue, Oct 09, 2007 at 10:01:34PM +0200, Sébastien Mazy wrote:
> > 2007/10/9, Christian Birchinger <joker@netswarm.net>:
> > > On Mon, Oct 08, 2007 at 01:21:41PM +0200, Sébastien Mazy wrote:
> > > > 2007/10/8, Christian Birchinger <joker@netswarm.net>:
> > > > > > > > My Thinkpad R61 has an ALPS pad and a trackpointer (UltraNa=
v). The
> > > > > > > > devices only get detected as generic PS/2 mouse though.
> > > > > >
> > > > > http://bugzilla.kernel.org/show_bug.cgi?id=8864
> > > > >
> > > > If I understand the last comment on bugzilla, this patch only solve=
s
> > > > the touchpad issue, right ?
> > >
> > > No, the Trackpointer is usable. It's just not possible to have
> > > any special configuration for it other than generic mouse
> > > options. It has dedicated mouseX and eventX devices so you can
> > > have your special xorg.conf section for it. However, theres no
> > > special hardware config like sensitivity etc.
> > >
> > Yes, it has always been "usable", but far from being as comfortable as
> > under windows (or with the thinkpad linux driver I guess). For
> > instance, no press_to_select and above all that impression that the
> > cursor is jumping over pixels at low speed, whatever the setting
> > chosen for acceleration or sensitivity.
> >
> > I bought a thinkpad for its trackpoint and excellent linux support. I
> > wonder whether Lenovo screwed T61 buyers with that "new" trackpoint...
> > seems not :
> > http://www.klabs.be/~fpiat/linux/debian/Etch_on_Thinkpad_T61.html#Track=
point
> >
> > I hope Lenovo know why they made such a difference. Anyway, many
> > thanks for the work you've done to make the ALPS touchpad working.
>
> Yes, of course i also hoped for a special trackpointer driven by
> a dedicated driver and not the generic ps/2 one, but the final
> comment on my bugreport made my hopes vanish.
>
> It should possible to have some special trackpoint features as
> i think the windows driver had special stuff. I wiped that
> installation after i made sure all the hardware is functional
> though.
>
> It could be very well possible that the special functionality
> did not require any special hardware driver.
> For example you can use the trackpointer as mouse wheel. This
> could be done by using normal PS/2 data. The mouse driver should
> would have to translate the events, similar to the wheel
> emulation on a button press.
> In that case it would be the best to ask the Xorg folks if they
> could add an option to get permament wheel emulation mode without
> any button press.
>
> However for stuff like special sensitifity options, we're out of
> luck.
>
> Christian
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>

Hello,

I've applied alps-tp-r61.patch to a vanilla kernel 2.6.23.1 to test
it. However, I still have a few problems.

Here is my /proc/bus/input/devices with kernel 2.6.23.1 not patched (I
cut the useless stuff) :

I: Bus=0011 Vendor=0002 Product=0001 Version=0000
N: Name="PS/2 Generic Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input8
U: Uniq=
H: Handlers=mouse1 event8 ts1
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

and now with the patch :

I: Bus=0011 Vendor=0002 Product=0008 Version=0000
N: Name="DualPoint Stick"
P: Phys=isa0060/serio1/input1
S: Sysfs=/devices/virtual/input/input6
U: Uniq=
H: Handlers=mouse1 event6 ts1
B: EV=7
B: KEY=70000 0 0 0 0 0 0 0 0
B: REL=3

I: Bus=0011 Vendor=0002 Product=0008 Version=7301
N: Name="AlpsPS/2 ALPS DualPoint TouchPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input7
U: Uniq=
H: Handlers=mouse2 event7 ts2
B: EV=f
B: KEY=420 0 70000 0 0 0 0 0 0 0 0
B: REL=3
B: ABS=1000003

(If I compare with your comments on bugzilla.kernel.org, it seems we
don't have the same sysfs paths ??)

Previously, I used the trackpoint to scroll with the middle button and
I had configured my xorg.conf accordingly as described on thinkwiki.
However, with the patch, I can't scroll anymore (but the middle button
still works for pasting text) and the touchpad is hardly usable (very
very slow, no extra functions). I think it's related to my xorg.conf,
but I don't know where the errors are. I just installed synaptics and
pasted the default configuration given in xorg.conf.

xorg.conf content : (works well without the patch)

Section "ServerLayout"
    ...
    InputDevice    "UltraNav TrackPoint" "CorePointer"
    InputDevice    "UltraNav Touchpad"
EndSection

Section "Module"
    ...
    Load           "synaptics"
EndSection

#trackpoint
Section "InputDevice"
      Identifier  "UltraNav TrackPoint"
      Driver      "mouse"
      #Set trackpoint as the primary pointing device
      Option      "CorePointer"
      #Do not use /dev/input/mice
      Option      "Device"              "/dev/input/mouse1"
      Option      "Protocol"            "ExplorerPS/2"
      Option      "Emulate3Buttons"     "on"
      Option      "Emulate3TimeOut"     "50"
      Option      "EmulateWheel"        "on"
      Option      "EmulateWheelTimeOut" "200"
      Option      "EmulateWheelButton"  "2"
      Option      "YAxisMapping"        "4 5"
      Option      "XAxisMapping"        "6 7"
      Option      "ZAxisMapping"        "4 5"
EndSection

#Alps touchpad
#default configuration given by synaptics
Section "InputDevice"
	Driver          "synaptics"
	Identifier      "UltraNav Touchpad"
	Option  "AlwaysCore"
	#Option  "Device"        "/dev/psaux"
	Option  "Device"        "/dev/input/mouse2" # from /proc/bus/input/devices
	Option  "Protocol"      "auto-dev"
	Option  "LeftEdge"      "1700"
	Option  "RightEdge"     "5300"
	Option  "TopEdge"       "1700"
	Option  "BottomEdge"    "4200"
	Option  "FingerLow"     "25"
	Option  "FingerHigh"    "30"
	Option  "MaxTapTime"    "180"
	Option  "MaxTapMove"    "220"
	Option  "VertScrollDelta" "100"
	Option  "MinSpeed"      "0.06"
	Option  "MaxSpeed"      "0.12"
	Option  "AccelFactor" "0.0010"
	Option  "SHMConfig"     "on"
	#  Option       "Repeater"      "/dev/ps2mouse"
EndSection

Any idea ?

Thanks.

Sébastien