Hi Peter, I followed your instruction: added alps.c and alps.h to the source tree modified Makefile modified mice.c (added your code and #include "headers/alps.h") In alps.c I changed the name of function tp_read_config_file in alps_tp_read_config_file because it is present in synaptics.c and I had an error compiling. Now I have a new error but I don't know how to proceed so please help me.
mice.o(.data+0x7ec): In function `M_geni': /tmp/gpm-1.20.1/src/mice.c:410: undefined reference to `alps_process_ps2_data' mice.o(.data+0x7f0):/tmp/gpm-1.20.1/src/mice.c:415: undefined reference to `alps_ps2_init' collect2: ld returned 1 exit status make[1]: *** [prog/mouse-test] Error 1 rm prog/hltest.o prog/mev.o prog/mouse-test.o make[1]: Leaving directory `/tmp/gpm-1.20.1/src' make: *** [do-all] Error 1