he1per / psmouse-dkms-alpsv7

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

Fails on 4.2.0 kernel #21

Open samos123 opened 8 years ago

samos123 commented 8 years ago

Environment: Ubuntu 15.10 install.sh

make: Entering directory '/usr/src/linux-headers-4.2.0-30-generic' CC [M] /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/psmouse-base.o CC [M] /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/synaptics.o CC [M] /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/alps.o CC [M] /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/elantech.o CC [M] /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/logips2pp.o CC [M] /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/lifebook.o CC [M] /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/sentelic.o CC [M] /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/trackpoint.o CC [M] /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/touchkit_ps2.o CC [M] /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/cypress_ps2.o /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/cypress_ps2.c: In function ‘cypress_process_packet’: /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/cypress_ps2.c:541:2: error: too few arguments to function ‘input_mt_assign_slots’ input_mt_assign_slots(input, slots, pos, n); ^ In file included from /var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/cypress_ps2.c:24:0: include/linux/input/mt.h:121:5: note: declared here int input_mt_assign_slots(struct input_dev _dev, int slots, ^ scripts/Makefile.build:258: recipe for target '/var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/cypress_ps2.o' failed make[1]: _* [/var/lib/dkms/psmouse-dkms-alpsv7/1.1/build/src/cypress_ps2.o] Error 1 Makefile:1567: recipe for target 'psmouse.ko' failed make: *\ [psmouse.ko] Error 2 make: Leaving directory '/usr/src/linux-headers-4.2.0-30-generic'

hyslion commented 8 years ago

refer to https://github.com/he1per/psmouse-dkms-alpsv7/pull/18