The alps.patch does not work with the 2.6.7 kernel. Specifically, hunk #2 fails when updating drivers/input/mouse/psmouse-base.c The patch works fine for 2.6.5 kernels. I have attached a patch that I made against the 2.6.7 kernel, which works with gentoo-dev-sources as well as the vanilla sources from kernel.org. This patch does not work with 2.6.5 (or earlier) sources or 2.4.xx sources (neither does the existing alps.patch, since it's specifically for 2.6 kernels i believe). Reproducible: Always Steps to Reproduce: 1. su 2. cp /usr/share/doc/synaptics-0.13.3/alps.patch /usr/src/linux 2. cd /usr/src/linux 3. patch -p1 < alps.patch Actual Results: patching file drivers/input/mouse/Makefile Hunk #1 succeeded at 15 with fuzz 2 (offset 1 line). patching file drivers/input/mouse/alps.c patching file drivers/input/mouse/alps.h patching file drivers/input/mouse/psmouse-base.c Hunk #2 FAILED at 197. Hunk #3 succeeded at 600 (offset 82 lines). 1 out of 3 hunks FAILED -- saving rejects to file drivers/input/mouse/psmouse-base.c.rej patching file drivers/input/mouse/psmouse.h
Created attachment 35271 [details, diff] ALPS patch for 2.6.7 kernels
Bryan, can you check this out please?
I just bumped the package to the new upstream 0.13.6. That version has an updated ALPS patch which appears to apply and build cleanly against 2.6.9 kernels. If you could try that new patch with your ALPS touchpad, I'd appreciate it a lot. Sorry it took so long for me to get this done.
I have another problem with ALPS patch on kernel 2.6.9 and 2.6.10 RCx. The (right) patch is implemented successfully and after starting of XORG, the touchpad, keyboard and mouse is just locked. I have tried with synaptics 0.13.5 and 0.13.6. and the kernel I tried was gentoo-dev-sources, development-sources. With kernels up to 2.6.8.1 everything works correctly. DO you have any ideas.
I got my ALPs touchpad to work on 2.6.9-r9 by applying the patch that comes with synaptics 0.13.6. I will attach the patch now.
closing for no activity in more than one year