Touchpad with integrated click buttons: right button missing, both mouse buttons act as left

Bug #822144 reported by Christian Niederreiter
This bug report is a duplicate of:  Bug #932947: [FFe] "ClickPad" support. Edit Remove
64
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Xserver Xorg Input Synaptics
Fix Released
High
xserver-xorg-input-synaptics (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Whenever I click the right mouse button, I get a "left click" instead.

If I click on a file in nautilus or any other graphical object, and drag, I get a right click instead of dragging the object. So drag&drop is not possible using the left mouse button. This is very annoying.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: xserver-xorg 1:7.6+7ubuntu6
ProcVersionSignature: Ubuntu 3.0.0-7.9-generic 3.0.0
Uname: Linux 3.0.0-7-generic x86_64
Architecture: amd64
CasperVersion: 1.275
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
CompositorRunning: None
Date: Sun Aug 7 03:01:38 2011
DistUpgraded: Fresh install
DistroCodename: oneiric
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, whatever it takes to get this fixed in Ubuntu
GraphicsCard:
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Samsung Electronics Co Ltd Device [144d:c098]
LiveMediaBuild: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803.1)
MachineType: SAMSUNG ELECTRONICS CO., LTD. 90X3A
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/20/2011
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: 05HL
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 90X3A
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.asset.tag: Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnPhoenixTechnologiesLtd.:bvr05HL:bd05/20/2011:svnSAMSUNGELECTRONICSCO.,LTD.:pn90X3A:pvr0.1:rvnSAMSUNGELECTRONICSCO.,LTD.:rn90X3A:rvrFAB1:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvr0.1:
dmi.product.name: 90X3A
dmi.product.version: 0.1
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.
peripherals:
 /desktop/gnome/peripherals/keyboard:
   /desktop/gnome/peripherals/keyboard/kbd:
    layouts = [us,gh,gb,ie,za,ng,ph,us altgr-intl,us hbs,in eng,ca eng,us euro,us intl,us alt-intl,us colemak,us dvorak,us dvorak-intl,us dvorak-alt-intl,us dvorak-l,us dvorak-r,us dvorak-classic,us dvp,us mac,us olpc2,gh generic,gh gillbt,gb extd,gb intl,gb dvorak,gb dvorakukp,gb mac,gb mac_intl,gb colemak,ie UnicodeExpert,ie ogam,ie ogam_is434,ph capewell-dvorak,ph capewell-qwerf2k6,ph colemak,ph dvorak]
  /desktop/gnome/peripherals/mouse:
   cursor_theme = DMZ-White
version.compiz: compiz 1:0.9.5.0-0ubuntu2
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11~1-0ubuntu4
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11~1-0ubuntu4
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.2-1ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.0-3ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

Revision history for this message
In , Jesse Jaara (huulivoide) wrote :

Created attachment 47959
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.

Revision history for this message
In , Jesse Jaara (huulivoide) wrote :

Created attachment 47960
Initial clickpad support with led and power swich support.

Revision history for this message
In , Jesse Jaara (huulivoide) wrote :

Created attachment 47961
Kernel patch to add clickpad led support to psmouse. 2.6.38&2.6.39 tested

Revision history for this message
Christian Niederreiter (cndg) wrote :
Bryce Harrington (bryce)
affects: xorg (Ubuntu) → xserver-xorg-input-evdev (Ubuntu)
Timo Aaltonen (tjaalton)
affects: xserver-xorg-input-evdev (Ubuntu) → xserver-xorg-input-synaptics (Ubuntu)
Revision history for this message
Ahmed Shams (ashams) wrote :

Hello Christian, Thank you for taking time to report this bug and help making Ubuntu better, I'm so sorry for your suffering with this annoying bug, let's do whatever it takes to fix it.
In order to forward this bug upstream, it needs some more information be attached to this report, to do so, please open your terminal and run the following commands:

xmodmap -pp >~/xmodmap.log
xinput --list-props "SynPS/2 Synaptics TouchPad" >~/xinput-list-props.log
xev > ~/xev.log
then attach the three files, "xmodmap.log", "xinput-list-props.log" and "xev.log", from your home directory to your reply on this email.

Changed in xserver-xorg-input-synaptics (Ubuntu):
status: New → Incomplete
Revision history for this message
Ahmed Shams (ashams) wrote :

Oh, forgot to say that 'xev' command will open you a window with a smaller square inside, please keep your cursor inside that square and test all problematic features(ie. drag-n-drop, right and left clicks, etc), then close the window to save the log.

Thanks

Revision history for this message
Christian Niederreiter (cndg) wrote : Re: [Bug 822144] Re: Touchpad with integrated click buttons: right button missing, both mouse buttons act as left
  • xmodmap.log Edit (393 bytes, text/x-log; charset="iso-8859-15"; name="xmodmap.log")
  • xinput-list-props.log Edit (1.8 KiB, text/x-log; charset="iso-8859-15"; name="xinput-list-props.log")
  • xev.log Edit (58.2 KiB, text/x-log; charset="iso-8859-15"; name="xev.log")

Hello Ahmed,

Thank you for your working on this bug.
I attached the three logs. I hope I did the xev testing correctly and xev.log contains all necessary information. I tried a left click, then some right clicks and finally some dragging.

Greetings,
Chris

-------- Original-Nachricht --------
> Datum: Mon, 15 Aug 2011 01:28:20 -0000
> Von: Ahmed Shams <email address hidden>
> An: <email address hidden>
> Betreff: [Bug 822144] Re: Touchpad with integrated click buttons: right button missing, both mouse buttons act as left

> Hello Christian, Thank you for taking time to report this bug and help
> making Ubuntu better, I'm so sorry for your suffering with this annoying bug,
> let's do whatever it takes to fix it.
> In order to forward this bug upstream, it needs some more information be
> attached to this report, to do so, please open your terminal and run the
> following commands:
>
> xmodmap -pp >~/xmodmap.log
> xinput --list-props "SynPS/2 Synaptics TouchPad" >~/xinput-list-props.log
> xev > ~/xev.log
> then attach the three files, "xmodmap.log", "xinput-list-props.log" and
> "xev.log", from your home directory to your reply on this email.
>
> ** Changed in: xserver-xorg-input-synaptics (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/822144
>
> Title:
> Touchpad with integrated click buttons: right button missing, both
> mouse buttons act as left
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/822144/+subscriptions

--
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone

Revision history for this message
Ahmed Shams (ashams) wrote :

Bug now confirmed and forwarded upstream.
Thank you Chris.

Changed in xserver-xorg-input-synaptics (Ubuntu):
status: Incomplete → Confirmed
Changed in xserver-xorg-input-synaptics:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
In , Rogutės (rogutes) wrote :

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 [1], but Takashi Iwai didn't follow up.

[1] http://lists.x.org/archives/xorg-devel/2010-October/thread.html#13821

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 [2] (3rd patch posted by Jesse Jaara), got it reviewed and sent fixes, but it was not merged (forgotten?). I tried [2] + LED patches from [3] and the LED-button worked nicely...

[2] http://lkml.org/lkml/2010/4/22/35
[3] https://build.opensuse.org/package/files?package=xorg-x11-driver-input&project=openSUSE%3AFactory

Bryce Harrington (bryce)
Changed in xserver-xorg-input-synaptics (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
Revision history for this message
In , Nasenbaer (nasenbaer) wrote :

I haven't checked the patches shown here, however OpenSuSe had its own patches for Clickpad, that worked fine with kernel 2.6.37.6, 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!

Revision history for this message
In , Nasenbaer (nasenbaer) wrote :

I added the link to the equivalent SuSe bug.

Simon K (octav14n)
Changed in xserver-xorg-input-synaptics (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
Simon K (octav14n) wrote :

I have the exact same problem here. I also installed Ubuntu 11.10 (i used the "Beta 1 LiveCD" but my packages are all up to date at the moment)

I'll try to attatch the log-files too... (launchpad is a bit confusing)

PS: this bug affects all Ubuntu-Version. If i use the "PS2 Driver" the rightclicking part works just fine. But i didn't get the (multitouch)-scrolling to work.

Revision history for this message
Simon K (octav14n) wrote :
Revision history for this message
Simon K (octav14n) wrote :
Revision history for this message
Bryce Harrington (bryce) wrote :

Hey cndg,

Hi, thanks for reporting this issue during the development period of
Ubuntu.

I notice there's not been further comments to the bug report since the
release came out, would you mind updating us on the status of it in the
release?

Are you still able to reproduce the issue? If not, do you think the bug
report can be closed, or do you think we should continue tracking it?

Changed in xserver-xorg-input-synaptics (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Jaime Rave (jaimerave) wrote :

I'm having this issue on my laptop an HP Pavilion DV6 and also is the same issue for my Apple Magic Trackpad.

Revision history for this message
In , Tuxor1337 (tuxor1337) wrote :

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...

Revision history for this message
In , Peter Hutterer (peter-hutterer) wrote :

Please feel free to submit patches to the list. http://wiki.x.org/wiki/Development/Documentation/SubmittingPatches

Revision history for this message
Christian Niederreiter (cndg) wrote :

I am still able to reproduce the issue. Unfortunately, my machine was repaired during the past weeks, so I wasn't able to test it.

Revision history for this message
rob loranger (robjloranger) wrote :

i am running 11.04 netbook lts and i am having this issue. with one exception, i cannot bring up the right click context if i try to right click/drag although i believe i could before any current updates.

Revision history for this message
rob loranger (robjloranger) wrote :

i have a small fix but there is no scrolling, i added the following to /usr/lib/X11/xorg.conf.d/10-synaptics.conf

Section "InputClass"
 Identifier "touchpad catchall"
 MatchIsTouchpad "on"
 MatchDevicePath "/dev/input/event*"
 Driver "synaptics"
 Option "SHMConfig" "on"
 Option "JumpyCursorThreshold" "150"
EndSection

as another note i just realized i put that i was running 11.04 when i am running 10.04. sorry for that

Revision history for this message
Rafael Belmonte (eaglescreen) wrote :

Hello I have this same issue in current precise pangolin snapshot, in a HP Pavilion dv6 laptop.
I am not sure this to be an upstream issue because right click is working perfecty in Debian 6.0 and also in OpenSuse 12.1, both tested with Gnome, but t is not working in Ubuntu 11.10, nor in current 12.04 snaphot, so this is an Ubuntu specific bug in my case.
I attach my own logs info.

Changed in xserver-xorg-input-synaptics (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Rafael Belmonte (eaglescreen) wrote :

#40118 is duplicate of #38303

Changed in xserver-xorg-input-synaptics:
importance: Medium → Unknown
status: Confirmed → Unknown
Changed in xserver-xorg-input-synaptics:
importance: Unknown → High
status: Unknown → Confirmed
Revision history for this message
In , Nicola Soranzo (nsoranzo) wrote :

*** Bug 43394 has been marked as a duplicate of this bug. ***

Revision history for this message
ParaDroid (andrewstangl) wrote :

I am experiencing this in 11.10 - using a Samsung 90x3A - same as the OP

Revision history for this message
ParaDroid (andrewstangl) wrote :
Revision history for this message
ParaDroid (andrewstangl) wrote :

I also tried the 12.04 live CD and experienced the same behaviour as 11.10 & 11.04 - no click and drag capability, and no right click (although multitouch two finger right click does work)

Revision history for this message
In , Tuxor1337 (tuxor1337) wrote :

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?

Revision history for this message
In , Nicola Soranzo (nsoranzo) wrote :

(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?

http://lists.x.org/archives/xorg-devel/2012-February/029132.html

Revision history for this message
Brian Mooney (brian-satchwannabe) wrote :

Hey, I'm getting the same issue on a HP Pavillion dv7, running with the precise daily snapshot

Revision history for this message
In , Peter Hutterer (peter-hutterer) wrote :

commit 6c457c0c61a0834361f45a073148db7b4c9be40b
Merge: defc1d0 fee18d8
Author: Peter Hutterer <email address hidden>
Date: Wed Mar 14 08:48:00 2012 +1000

    Merge branch 'clickpad-v3'

Revision history for this message
In , Peter Hutterer (peter-hutterer) wrote :

*** Bug 40118 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Peter Hutterer (peter-hutterer) wrote :

*** Bug 22505 has been marked as a duplicate of this bug. ***

Changed in xserver-xorg-input-synaptics:
status: Confirmed → Fix Released
Revision history for this message
Rafael Belmonte (eaglescreen) wrote :

Will we see this fix in 12.04?

Revision history for this message
Chase Douglas (chasedouglas) wrote :

This should be fixed now.

Revision history for this message
ParaDroid (andrewstangl) wrote :

Hi there,

Thank you for your hard work in resolving this issue;

Since the fix doesn't appear to have made it into the most recent Ubuntu LTS, is there a PPA with the latest fix?
Or perhaps even the link to a .deb download?

The most recent package in Precise is:

ii xserver-xorg-input-synaptics 1.5.99.902-0ubuntu5 Synaptics TouchPad driver for X.Org server

Thank you!
Andrew

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.