Comment 75 for bug 527890

Revision history for this message
TuxInvader (tuxinvader) wrote : Re: [Bug 527890] Re: ALPS touchpad in HP Mini 311 not configurable/recognized as a touchpad

Hi all,

I was asked to be help some one get vertical scroll working on their HP,
so I've just blown the dust of mine and installed Natty. Vertical Scroll
still broken by default :-(

The problem with scrolling is Ubuntu specific. Kernel.org kernels should
just work.

Ubuntu patches add support for a Dell Precision 4500. There is a lot of
additional code in there for making the Dell work, but it uses a similar
touchpad to the HP (same vendor/product IDs) and that is what breaks
vertical scrolling on the HP.

The attached file contains the psmouse module which I have tested
against 2.6.38 (the default Natty kernel). It has the addition Dell
model data commented out. It should work with 2.6.39 too, according to
Kernel.org there have been no changes in Alps between 2.6.38 and 2.6.39.

First ensure you have the necessary packages to build kernel modules:
me@mybox$ apt-get install linux-headers-generic build-essential

And here's what you need to do to install/use it:

me@mybox$ tar zxvf mouse-build.tgz
me@mybox$ cd mouse-build-2.6.38
me@mybox$ make
me@mybox$ sudo rmmod psmouse
me@mybox$ sudo insmod psmouse.ko

Test that vertical scrolling functionality has returned :-)
If all is well, then back up your current psmouse module and then
overwrite it with the one you just built.

me@mybox$ sudo cp /lib/modules/$(uname
-r)/kernel/drivers/input/mouse/psmouse.ko psmouse.ko.backup

me@mybox$ sudo cp psmouse.ko /lib/modules/$(uname
-r)/kernel/drivers/input/mouse/psmouse.ko

Cheers,
Mark