he1per / psmouse-dkms-alpsv7

Linux kernel driver for newer ALPS touchpads (as of Mar 2014)
26 stars 26 forks source link

Fix for Linux kernel 4.0.4 #18

Open hyslion opened 9 years ago

hyslion commented 9 years ago

Linux 4.0.4 added a new argument, dmax, to the function input_mt_assign_slots()(git log), so I did a little work for this driver. :)

MarcinWieczorek commented 8 years ago

Why the hell won't they merge this?

TobiasZawada commented 8 years ago

Thanks for the fix. For installing the driver in Ubuntu 16.04 I needed the following additional change:

.../psmouse-dkms-alpsv7$ diff dkms.conf.original dkms.conf
11c11
< DEST_MODULE_LOCATION[0]="/updates"
---
> DEST_MODULE_LOCATION[0]="/updates/dkms"
MarcinWieczorek commented 8 years ago

Why would you change this and how is it related?

TobiasZawada commented 8 years ago

Dear Marcin, for ubuntu 16.04 with kernel 4.4.0-24-generic I applied the modification of the argument list of input_mt_assign_slots. Additionally, I needed my modification of dkms.conf to install the alpsv7 driver. Otherwise I get the following error message:

DKMS: install completed. â¶â¶â¶â¶ Error: dkms install failed:\n '/lib/modules/4.4.0-24-generic//updates/psmouse.ko' not found.

I have to admit my modification this is only remotely related to this pull request.

I tried to install the alpsv7 driver in ubuntu 16.04 because the touchpad does not work with the default parameters of the psmouse module. Meanwhile I discovered that I need to start the kernel with the kernel parameter psmouse.proto=bare. So it looks like I do not need alpsv7 anymore.

If the kernel parameter proto is not set or set to any the contents of /sys/module/psmouse/parameters/proto is auto. Perhaps this case is not handled by the driver?