Button 2 (middle) on touchpad works as button 1 (left)

Bug #666968 reported by Jasa Bartelj
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Low
Rémi Menegon

Bug Description

Binary package hint: xserver-xorg-input-synaptics

I have an old HP nw8240 laptop. My synaptics touchpad has 3 buttons instead of the usual two. Ever since the upgrade to maverick the middle buttons above and below my touchpad behave as a left click.

I tested what events were generated by running xev and indeed whenever the middle button is pressed button 1 events show up. Interesting to note is that my external mouse works fine.

1) Ubuntu release: 10.10/maverick meerkat

2) The version of the package: IDK which package the bug really belongs to, but my
xserver-xorg is at 1:7.5+6ubuntu3 and
xserver-xorg-core is at 2:1.9.0-0ubuntu7 and
xserver-xorg-input-synaptics is at 1.2.2-2ubuntu5.

3) What you expected to happen
Middle trackpad button to work as "button 2".

4) What happened instead
Middle trackpad button works as "button 1".

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: xserver-xorg-core 2:1.9.0-0ubuntu7
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
DRM.card0.DVI.D.1:
 status: disconnected
 enabled: disabled
 dpms: On
 modes:
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1920x1200 1920x1080 1600x1200 1680x1050 1400x1050 1280x1024 1440x900 1280x960 1280x854 1280x800 1280x720 1152x768 1024x768 800x600 848x480 720x480 640x480
 edid-base64: AP///////wBMo0ZCAAAAAAAPAQOAIRV4Cof1lFdPjCcnUFQAAAABAQEBAQEBAQEBAQEBAQEBIz+AIHGwFEAwICYAS88QAAAZAAAADwAAAAAAAAAAAEbSAmQDAAAA/gBTQU1TVU5HCiAgICAgAAAA/gBMVE4xNTRVMS1MMDIKAIk=
DRM.card0.VGA.1:
 status: disconnected
 enabled: disabled
 dpms: On
 modes:
 edid-base64:
Date: Tue Oct 26 21:22:14 2010
ExecutablePath: /usr/bin/Xorg
MachineType: Hewlett-Packard HP Compaq nw8240 (PY442EA#ABB)
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=98dea190-31d7-44d6-9dd8-aac52f788817 ro quiet splash
ProcEnviron:
 LANG=sl_SI.UTF-8
 PATH=(custom, no user)
SourcePackage: xorg-server
dmi.bios.date: 07/11/2007
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68DTV Ver. F.16
dmi.board.name: 0940
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 43.1D
dmi.chassis.asset.tag: CNU5440VF8
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68DTVVer.F.16:bd07/11/2007:svnHewlett-Packard:pnHPCompaqnw8240(PY442EA#ABB):pvrF.16:rvnHewlett-Packard:rn0940:rvrKBCVersion43.1D:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP Compaq nw8240 (PY442EA#ABB)
dmi.product.version: F.16
dmi.sys.vendor: Hewlett-Packard
system:
 distro: Ubuntu
 codename: maverick
 architecture: i686
 kernel: 2.6.35-22-generic

Revision history for this message
Jasa Bartelj (jbartelj) wrote :
Revision history for this message
Gursimran singh (simar) wrote :

Hi bug reporters
First of all Ubuntu BugSquad thankyou to report the bug and help ubuntu to get more close to a bug free OS.

I think we can understand the situation better if we can get the logs of you xev, xmodmap -pp and synclient -l in separate comments.

Revision history for this message
Gursimran singh (simar) wrote :

Attach these outputs in the form of attachments

Gursimran singh (simar)
Changed in xserver-xorg-input-synaptics (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Jasa Bartelj (jbartelj) wrote :

Here are the logs. Unfortunately there's nothing informative to be found in them
I have found out that the middle button works fine when booted on the old kernel from lucid (2.6.32-25-generic) and maverick userland...

Revision history for this message
Jasa Bartelj (jbartelj) wrote :
Revision history for this message
Jasa Bartelj (jbartelj) wrote :
Revision history for this message
Jasa Bartelj (jbartelj) wrote :

I've moved the pointer into the xev window, pressed physical buttons 1, 2, and 3 and then quit with Alt+F4.

Revision history for this message
Jasa Bartelj (jbartelj) wrote :
Revision history for this message
Jasa Bartelj (jbartelj) wrote :
Revision history for this message
Tommaso Granchi (tommaso-granchi) wrote :

I have the same problem on a HP nc8430 notebook.

Revision history for this message
Tommaso Granchi (tommaso-granchi) wrote :

Command 'xinput test "SynPS/2 Synaptics TouchPad"' returns:

button press 1
button release 1
when I press & release left button

button press 1
button release 1
when I press & release middle button

button press 3
button release 3
when I press & release right button

button press 2
button release 2
when I press & release left and right button simultaneously

button press 2
button release 2
when I press & release middle and right button simultaneously

Revision history for this message
Gursimran singh (simar) wrote :

Hi again Jasa,
As you said nothing interesting in the logs but indeed you find a good observation about lucid (2.6.32-25-generic). If you could provide me the evtest log for both the kernels (working and non working), I can confirm the bug.

Consider this https://wiki.ubuntu.com/DebuggingTouchpadDetection for help regarding evtest..

Revision history for this message
Jasa Bartelj (jbartelj) wrote :

Gursimran, here you are. Really does seem to be a kernel regression.
I ran evtest in a vty and then pressed buttons 1, 2, and 3 above and below the touchpad.

I'll test in which kernel version from http://kernel.ubuntu.com/~kernel-ppa/mainline/ the regression was introduced...

Revision history for this message
Jasa Bartelj (jbartelj) wrote :
Revision history for this message
Jasa Bartelj (jbartelj) wrote :

I've tested latest kernels 33 through 36 from the link above and the middle button _works_ on all of them!

Revision history for this message
Gursimran singh (simar) wrote :

Good Jasa,

The bug is quite confirmed and rather triaged. I will put the status triaged and set the package to linux. Aslo let me check whether there is a upstream version of the bug exist or not.

Changed in xserver-xorg-input-synaptics (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Gursimran singh (simar) wrote :

The bug is the linux kernel indeed. The touchpad works fine in lucid and in latest mainline kernels.

affects: xserver-xorg-input-synaptics (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Confirmed → Triaged
status: Triaged → Confirmed
Revision history for this message
Alexandrosg (alexandrosg) wrote :

Confirming the same bug after 10.10 on an HP Compaq 8710w

Revision history for this message
Rémi Menegon (firewave-free) wrote :

Confirming the same bug after 10.10 on an HP Compaq 8530w (2009).

Revision history for this message
el_oso (ursus-est) wrote :

Confirming the same bug after 10.10 on an HP Compaq 8510w, maybe it's just an HP hardware specific bug?

Revision history for this message
Rémi Menegon (firewave-free) wrote :

Working now with 10.10.2 and 11.04

Changed in linux (Ubuntu):
status: Confirmed → Fix Released
assignee: nobody → Rémi Menegon (firewave-free)
To post a comment you must log in.