Created attachment 47959 [details] [review]
Patch to add initial support for clickpad series of trackpads.
The Synaptics newer Clickpad series of trackpads are currently unusable with the driver. These trackpads don't have 'external' buttons like classical trackpads, but instead the buttons are under the trackingplate and act as part of it.
Here is a refrence imgage: http://bit.ly/clickpad
Biggest problem is that the second mouse button is not detected and acts as mouse button one. Resulting in bad usability. There is a patch to fix this clickpad.patch .
Another problem is that after aplying the patch abowe to add support for clickpads is that click and drag wont work. To drag something a double click is required, but pressing the button and dragging results in 2 finger scrolling.
So the tracking-area over the buttons should be disabled when physicality mouse-click is detected.
The trackpads also provide a led to show the state of the trackpad. This led is also supposed to act as on/off switch triggered by a double-click. Currently for this led to function a kernel patch to psmouse kernel driver is required. But the double tap switch works without the led. Patch clickpad_with_led_and_onoff_swich.patch
I also attached the kernel patch for testing.
Created attachment 47960 [details] [review]
Initial clickpad support with led and power swich support.
Created attachment 47961 [details] [review]
Kernel patch to add clickpad led support to psmouse. 2.6.38&2.6.39 tested
Jesse Jaara: looks like the first 2 patches were written by Takashi Iwai, but you posted them without any attribution (and thus they appear to be written by you, which is not right).
The first 2 patches and much more were reviewed by Peter Hutterer and others , but Takashi Iwai didn't follow up.
I have an HP ProBook 4530s. Its touchpad has normal hardware buttons, and has a LED-button in the top left. Everything except the LED works without any patches. The LED needs patches to the kernel and to xf86-input-synaptics. Takashi Iwai submitted the kernel patch  (3rd patch posted by Jesse Jaara), got it reviewed and sent fixes, but it was not merged (forgotten?). I tried  + LED patches from  and the LED-button worked nicely...
I haven't checked the patches shown here, however OpenSuSe had its own patches for Clickpad, that worked fine with kernel 22.214.171.124, but did not with newer 3.0.x kernels.
I initially posted this bug to the kernel bugtracker at https://bugzilla.kernel.org/show_bug.cgi?id=41252
Most important comment is:
Comment #4 From Dmitry Torokhov 2011-08-25 18:02:41
OK, it looks like clickpad support still hasn't made it into official
xf86-input-synaptics driver and adding multifinger support to kernel driver
broke SUSE's detection of clickpads (they detect clickpads by having BTN_LEFT
capability only, and we started reporting BTN_TOOL_DOUBLETAP). They should
switch to checking INPUT_PROP_BUTTONPAD.
Could someone *please* take care about the implementation!
I added the link to the equivalent SuSe bug.
Still no updates concerning this bug? No fix? I don't understand, how this can be such a big deal, even though it has been fixed in OpenSuse almost a year ago. There not only the clickpad itself works brilliantly but also the on/off switch with the white LED...
Please feel free to submit patches to the list. http://wiki.x.org/wiki/Development/Documentation/SubmittingPatches
*** Bug 43394 has been marked as a duplicate of this bug. ***
Is there any hope for a better clickpad performance in coming versions due to the enormous advances in Xorg multitouch support pushed greatly by Peter Hutterer during the last few months?
I saw all those articles on his blog (who-t..) and wondered if this will affect clickpad support in the near future. What do you think?
(In reply to comment #9)
> Is there any hope for a better clickpad performance in coming versions due to the enormous advances in Xorg multitouch support pushed greatly by Peter Hutterer
> during the last few months?
> I saw all those articles on his blog (who-t..) and wondered if this will affect clickpad support in the near future. What do you think?
Merge: defc1d0 fee18d8
Author: Peter Hutterer <email@example.com>
Date: Wed Mar 14 08:48:00 2012 +1000
Merge branch 'clickpad-v3'
*** Bug 40118 has been marked as a duplicate of this bug. ***
*** Bug 22505 has been marked as a duplicate of this bug. ***