|Ruppal Singh 0d1bb662de||5 years ago|
|src||6 years ago|
|.gitignore||6 years ago|
|README.md||5 years ago|
|alps-v7-patch||6 years ago|
|dkms.conf||5 years ago|
|install.sh||5 years ago|
Linux kernel driver for newer ALPS touchpads (as of Mar 2014)
📢 Make sure you have
linux-headers installed in your system: 📢
sudo pacman -S dkms linux-headers #for archlinux sudo apt-get dkms linux-headers-$(uname -r) #for ubuntu/debian
Run the following commands in your shell as root:
cd /tmp git clone http://github.com/he1per/psmouse-dkms-alpsv7 cd psmouse-dkms-alpsv7 ./install.sh
This will build and install the updated
psmouse module for your current kernel.
Some new machines, like the Lenovo Ideapad Flex 15 have a new ALPS touchpad which uses a protocol different from previous versions. The linux kernel (as of 3.13) does not recognize them as an ALPS touchpad, and they end up being recognized only as a PS/2 mouse. For this reason there is no scrolling, no middle button emulation, no two finger recognition, etc.
The folks at the linux kernel input devices mailing list were very helpful and pointed me to the right patches, I have simply gathered them together and added a dkms.conf file to make it easier to build. This page (https://github.com/he1per/psmouse-dkms-alpsv7) explains how you install and build the module.
Thanks specially to Tommy Will from the email@example.com mailing list and to Elaine (Qiting) who actually wrote the code :) The original patch from Elaine is found here:
If you get an error like this from
psmouse serio1: alps: Unknown ALPS touchpad: E7=73 03 0a, EC=88 b6 06
then you need this module. Your touchpad will be recognized after you install it.
If you have a Toshiba Z30-A, you need to update to kernel 3.17 and you won’t need this patch.
pacman -S dkms #will install dkms in archlinux based distros #use apt-get install dkms in debian or rpm # in redhat distros
linux headers will be installed as a dependency if you use any of the commands above.
It is better to use
install.sh, but if you want to build and install
manually you can follow these instructions.
As root do the following from the directory where this README is found:
(all this is done automatically by the
dkms add . dkms build -m psmouse-dkms-alpsv7 -v 1.1 dkms install -m psmouse-dkms-alpsv7 -v 1.1 modprobe psmouse