Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56850 - Synaptics ALPS patch doesn't work with 2.6.7 kernel
Summary: Synaptics ALPS patch doesn't work with 2.6.7 kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-12 18:23 UTC by Ben Taitelbaum
Modified: 2005-12-09 07:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ALPS patch for 2.6.7 kernels (alps.patch.new,7.16 KB, patch)
2004-07-12 18:25 UTC, Ben Taitelbaum
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Taitelbaum 2004-07-12 18:23:16 UTC
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
Comment 1 Ben Taitelbaum 2004-07-12 18:25:34 UTC
Created attachment 35271 [details, diff]
ALPS patch for 2.6.7 kernels
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-09-30 14:14:24 UTC
Bryan, can you check this out please?
Comment 3 Bryan Stine (RETIRED) gentoo-dev 2004-10-23 21:30:44 UTC
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.
Comment 4 Miroslaw Mieszczak 2004-11-23 18:45:53 UTC
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.
Comment 5 Larry Sanderson 2004-12-22 04:50:53 UTC
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.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2005-12-09 07:38:59 UTC
closing for no activity in more than one year