psmouse-alps
psmouse-alps copied to clipboard
work with kernels > 3.5
There's an api change that requires a thurd variable.
Ran into this issue when compiling and installing this on my fresh Ubuntu 13.04 install today. A note, the patch isn't quite complete. Even though the elantec and sentelic drivers may not be used, the calls to input_mt_init_slots need to updated for those as well, otherwise it won't build.
For other people reading this, I was able to get it to compile/install by adding an extra '0' argument to all calls to input_mt_init_slots so that it has a total of 3 arguments, as was indicated in the pull request.
Did not help to me:
root@Vostro:/home/wanderer/Downloads/psmouse-alps-master# dkms autoinstall --force
...
Building module:
cleaning build area...
Building module:
cleaning build area....
make KERNELRELEASE=3.8.0-23-generic -C /lib/modules/3.8.0-23-generic/build M=/var/lib/dkms/psmouse/custom-1.2/build/src psmouse.ko....
make KERNELRELEASE=3.8.0-23-generic -d V=1 -C /lib/modules/3.8.0-23-generic/build M=/var/lib/dkms/i915-3.6-3.5/0.03/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.8.0-23-generic (x86_64)
Consult /var/lib/dkms/psmouse/custom-1.2/build/make.log for more information.
.(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.8.0-23-generic (x86_64)
Consult /var/lib/dkms/i915-3.6-3.5/0.03/build/make.log for more information.
root@Vostro:/home/wanderer/Downloads/psmouse-alps-master# dmesg | grep psmouse
[ 4.810576] psmouse serio1: alps: Unknown ALPS touchpad: E7=73 03 50, EC=73 02 02
[ 886.898331] psmouse serio1: alps: Unknown ALPS touchpad: E7=73 03 50, EC=73 02 02