Comment 88 for bug 1166442

Revision history for this message
Yngve (yb-i) wrote :

This works! Ubuntu with kernel 3.9.6. Thanks kendatsuba for the patch and G.Scoppino for the compile instructions.

I did however get a error when running make install. Seems for me that everything works, but I do feel that I have a more unprecise movement of the pointer when I am moving slowly. This is the error after running sudo make install:

run-parts: executing /etc/kernel/postinst.d/dkms 3.9.6 /boot/vmlinuz-3.9.6
Traceback (most recent call last):
  File "/usr/share/apport/package-hooks/dkms_packages.py", line 22, in <module>
    import apport
ImportError: No module named apport
Error! Bad return status for module build on kernel: 3.9.6 (x86_64)
Consult /var/lib/dkms/psmouse/elantech-v6/build/make.log for more information.

And in the make.log file I get this:

DKMS make.log for psmouse-elantech-v6 for kernel 3.9.6 (x86_64)
sø. 16. juni 20:45:11 +0200 2013
  CC [M] /var/lib/dkms/psmouse/elantech-v6/build/src/psmouse-base.o
/var/lib/dkms/psmouse/elantech-v6/build/src/psmouse-base.c: In function ‘__check_smartscroll’:
/var/lib/dkms/psmouse/elantech-v6/build/src/psmouse-base.c:61:1: warning: return from incompatible pointer type [enabled by default]
/var/lib/dkms/psmouse/elantech-v6/build/src/psmouse-base.c: At top level:
/var/lib/dkms/psmouse/elantech-v6/build/src/psmouse-base.c:862:3: warning: initialization from incompatible pointer type [enabled by default]
/var/lib/dkms/psmouse/elantech-v6/build/src/psmouse-base.c:862:3: warning: (near initialization for ‘psmouse_protocols[11].detect’) [enabled by default]
  CC [M] /var/lib/dkms/psmouse/elantech-v6/build/src/synaptics.o
/var/lib/dkms/psmouse/elantech-v6/build/src/synaptics.c: In function ‘set_input_params’:
/var/lib/dkms/psmouse/elantech-v6/build/src/synaptics.c:699:3: error: too few arguments to function ‘input_mt_init_slots’
In file included from /var/lib/dkms/psmouse/elantech-v6/build/src/synaptics.c:28:0:
include/linux/input/mt.h:78:5: note: declared here
make[3]: *** [/var/lib/dkms/psmouse/elantech-v6/build/src/synaptics.o] Error 1
make[2]: *** [psmouse.ko] Error 2