Maverick kernel treats touchpad's middle button as ClickPad

Bug #612591 reported by Dana Goyette
202
This bug affects 48 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

This seems to be the inverse of bug 582809 (ClickPad buttons Not working).

The Maverick kernel treats my 3-button touchpad as if it were a ClickPad. When I press my physical middle button, I don't get a middle-click -- instead, I get a left or a right click depending on where my finger is on the touchpad.

In dmesg, I see "ClickPad Mode Enabled". This bug is a real showstopper for me -- try using a mouse with no middle button, and you'll see why.

The vanilla 2.6.36-rc kernels, from kernel-ppa, do not have this issue.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-13-generic 2.6.35-13.18
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-13.18-generic 2.6.35-rc6
Uname: Linux 2.6.35-13-generic x86_64
NonfreeKernelModules: fglrx
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: dana 2786 F.... pulseaudio
 /dev/snd/controlC1: dana 2786 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xd8420000 irq 48'
   Mixer name : 'Analog Devices AD1984A'
   Components : 'HDA:11d4194a,103c30e7,00100400'
   Controls : 18
   Simple ctrls : 11
Card1.Amixer.info:
 Card hw:1 'Audio'/'USB Audio at usb-0000:00:1d.2-1, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB10f5:0200'
   Controls : 12
   Simple ctrls : 7
Card2.Amixer.info:
 Card hw:2 'HDMI'/'HDA ATI HDMI at 0xd8310000 irq 49'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100000'
   Controls : 4
   Simple ctrls : 1
Card2.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Mon Aug 2 00:52:21 2010
HibernationDevice: RESUME=UUID=f98e8b8e-c4a4-4b09-983e-25a8827aacb6
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
MachineType: Hewlett-Packard HP EliteBook 8530w
PccardctlIdent:
 Socket 0:
   product info: "RICOH", "Bay8Controller", "", ""
   manfid: 0x0000, 0x0000
   function: 254 (unknown)
PccardctlStatus:
 Socket 0:
   3.3V 16-bit PC Card
   Subdevice 0 (function 0) bound to driver "pata_pcmcia"
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-13-generic root=UUID=19f24e0a-2484-419b-a240-c6556a644cc3 ro console=ttyS0,115200n8 console=tty0 quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.37
SourcePackage: linux
StagingDrivers: ramzswap
Title: [STAGING]
dmi.bios.date: 06/08/2010
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68PDV Ver. F.12
dmi.board.name: 30E7
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 90.27
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68PDVVer.F.12:bd06/08/2010:svnHewlett-Packard:pnHPEliteBook8530w:pvrF.12:rvnHewlett-Packard:rn30E7:rvrKBCVersion90.27:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP EliteBook 8530w
dmi.product.version: F.12
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Dana Goyette (danagoyette) wrote :
Revision history for this message
Miguel Rodríguez (migrax) wrote :

Maybe this is a sympton of #582809?

Revision history for this message
Dana Goyette (danagoyette) wrote :

Rather, it's a side effect of the patch that FIXES bug 582809 .

description: updated
summary: - [Maverick] Kernel treats 3-button touchpad as 1-button ClickPad
+ Maverick kernel treats touchpad's middle button as ClickPad
Revision history for this message
Chris Schanck (chris-schanck) wrote :

This ones got me flummoxed too.

Revision history for this message
Chris Schanck (chris-schanck) wrote :

Just to elaborate, on my Dell Precision M6500, which has both trackpoint and trackpad, complete with 2 sets of buttons, the middle button always works as a left-click. This is new for the Maverick RC; Lucid was fine.

It seems to be treating the entire trackpad as a clickpad, even though it is emphatically is not a clickpad.

Addiitonally, gpointing-device-settings segaults out when run. Gr.

Revision history for this message
tob (tobynbertram) wrote :

Please try the patch that I posted in bug 582809: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/582809/comments/39
I fixed the Clickpad detection in the patch which should resolve this bug.

Revision history for this message
Chris Schanck (chris-schanck) wrote :

Your patch fixes it for me as far as the physical middle button now being recognized. I don't use the actual touchpad for anything (I use the trackpoint) so I have no idea what the effect is on that. But thanks! At least I can use it now.

FWIW, from dmesg:

[ 28.253597] Synaptics Touchpad, model: 1, fw: 7.4, id: 0x1e0b1, caps: 0xd447b1/0xf4040d/0x8a0000
[ 28.253603] serio: Synaptics pass-through port at isa0060/serio1/input0
[ 28.290612] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input13

Revision history for this message
Darko Veberic (darko-veberic-kit) wrote :

The same on my HP EliteBook 8730w with maverick. Bug 633535 is probably a duplicate of this one.

Revision history for this message
Nicolas Delvaux (malizor) wrote :

So this bug is a duplicate of Bug 582809, isn't it?

The dkms module provided by pauls (#60 and #61) fixed the problem for me.
(it mays used tob patch, but the dkms module sounds like a cleaner way to install it).

Revision history for this message
pierre (mkzuot) wrote :

The same on my HP EliteBook 8730w with maverick. maverick corrects the backlight intensity keys of this laptop, but adds this new problem. middle click=left click. a standard 3 button usb mouse works correctly. does the method of 582809 #60 works to recognize the 8730w touchpad middle click ? Seems not very simple for a newby like me!

Revision history for this message
Nicolas Delvaux (malizor) wrote :

@pierre: I have a HP EliteBook 8530p, here is an easy way to apply this fix (just run those commands in a terminal):

sudo apt-get install dkms
wget https://bugs.launchpad.net/ubuntu/+source/linux/+bug/582809/+attachment/1675262/+files/psmouse-2.6.35-22-generic-patched.tar.bz2
tar -xjf psmouse-2.6.35-22-generic-patched.tar.bz2
sudo cp -r psmouse-2.6.35-22-generic /usr/src/
sudo dkms add -m psmouse -v 2.6.35-22-generic
sudo dkms build -m psmouse -v 2.6.35-22-generic
sudo dkms install -m psmouse -v 2.6.35-22-generic

And reboot.
(if you don't want to reboot, you can just try "sudo rmmod psmouse && sudo modprobe psmouse")

Please confirm if this work.

Revision history for this message
abePdIta (abepdita) wrote :

Hi. I'm the author of the duplicate bug 636720 . I applied the patch but it didn't work for me.
Now I will wait for other users to report feedbacks and if some of them are positive I'll remove the duplicate bug link.
Anyway, thank you for your work.

Revision history for this message
tob (tobynbertram) wrote :

@abePdIta
Can you post your dmesg after applying the patch?

Revision history for this message
jedioetzi (jedioetzi) wrote :

Same behaviour on my hp8510p

Revision history for this message
Martin Elwin (martin-elwin) wrote :

Patch fixed my Dell M6500 (same as reported above) - thanks!

Touchpad also seems fine, but less sensitive than before 10.10 upgrade from 10.04. Haven't looked into fixing this yet through other means.

Revision history for this message
pierre (mkzuot) wrote :

@Nicolas Delvaux : I confirm the commands you told me yesterday in #11 works perfectly after a reboot on my HP Elitebook 8730w. Many thanks !!! (if you do sudo rmmod psmouse && sudo modprobe psmouse instead of rebooting, you loose sensitivity, as described #15, but everything is ok after the next reboot.

Revision history for this message
abePdIta (abepdita) wrote :

@tob
Sure! Here it is.

Revision history for this message
Carsten Schlipf (carsten-schlipf) wrote :

@Nicolas Delvaux : Does not work for me - HP EliteBook 8530w

dmesg says:
[ 202.846211] Synaptics Touchpad, model: 1, fw: 7.0, id: 0x1c0b1, caps: 0xd44791/0xb00000/0x20000
[ 202.846220] Synaptics: Clickpad mode enabled
[ 202.846230] serio: Synaptics pass-through port at isa0060/serio4/input0
[ 202.888256] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input9
[ 208.592142] input: PS/2 Generic Mouse as /devices/platform/i8042/serio4/serio6/input/input10

Revision history for this message
pierre (mkzuot) wrote :

@Nicolas Delvaux

quick sum up of "dmesg | grep Synaptics"

pierre : HP 8730w : OK
[ ] Synaptics Touchpad, model: 1, fw: 6.5, id: 0x1c0b1, caps: 0xa44791/0xb00000/0x0

Chris Schanck : Dell Precision M6500 : OK
[ ] Synaptics Touchpad, model: 1, fw: 7.4, id: 0x1e0b1, caps: 0xd447b1/0xf4040d/0x8a0000

Carsten Schlipf: HP 8530w : NOK (because Clickpad mode enabled)
[ ] Synaptics Touchpad, model: 1, fw: 7.0, id: 0x1c0b1, caps: 0xd44791/0xb00000/0x20000

Nicolas Delvaux: HP 8530w : OK
??

->there is a some small difference between all these touchpads id, but I can't figure out what are all these numbers... Ubuntu should send an intern to Synaptics :)

Revision history for this message
Nicolas Delvaux (malizor) wrote :

@pierre and Carsten: this patch is from pauls (see Bug 582809), I just gave an easy way to install it.
I personally don't know why it doesn't work in some case.

@pauls: I subscribed you to this bug report, I hope it's ok. ;-)

Revision history for this message
tob (tobynbertram) wrote :

I wrote the original patch in Bug 582809. pauls applied the patch and posted a way of compiling it using kdms.

@Carsten
Are you sure that the new kernel module was successfully installed? Your dmesg looks like it should work fine for you.

Revision history for this message
uiberto (mlandis) wrote :

This patch fixed my problem. Thanks.

Revision history for this message
jedioetzi (jedioetzi) wrote :

the patch works on my hp8510p
thanks!

Revision history for this message
Carsten Schlipf (carsten-schlipf) wrote :

Correction - works for me.

When I tried it late this early morning I did not notice any errors in the outputs. But the possitive comments made me wonder, why it did not work for me. When I removed the dkms module I noticed that the module was reported as INACTIVE BEFORE. So obviously it was never in use - no idea why.

PEBKAC?

Anyway - after I followed the same steps from Nicolas' instructions it works on my EliteBook 8530w. Thanks a lot and sorry for the confusion.

Revision history for this message
Troy A. Griffitts (scribe) wrote :

M6500, patch fixes for me. Can we get this into the update repo?

Revision history for this message
tatarmihai (tatarmihai) wrote :

8710w, patch works for me too (I used Nicolas Delvaux's method of applying). Thanks a lot to him and to tob and pauls!

Revision history for this message
Martin (agima) wrote :

The fix works for me, too. Thank you very much!

Revision history for this message
Gergely Antal (skoal) wrote :

the patch works for me too... Thank you all.

Revision history for this message
Adrian Nuta (adriannuta) wrote :

Patch works on 8530p , confirmed here too .

Revision history for this message
Roy van Hees (wgmvanhees) wrote :

@Nicolas Delvaux: the patch works for me - HP Elitebooks 8530w. Thank you very much :)

Revision history for this message
Titantux (israel-m-dj) wrote :

It works for me too !!
Just for let you noticed. if you use together button 1 & 3, it is simulating button 2 for me,
anyway it is old way for me, I like to have them separated. - Compaq nw8440
Thanks!! :D

Revision history for this message
machrider (machrider) wrote :

Thanks, the patch works on my Dell Precision M6400. Was having the same behavior as the above M6500 users. This bug needs to be fixed upstream ASAP, it's a pretty terrible regression.

Revision history for this message
Spacer (ua-spacer) wrote :

@Nicolas Delvaux: patch works on HP Compaq 8510w
Thanks!

Revision history for this message
HORVATH, Akos (akos-horvath) wrote :

@Nicolas Thanks very much! Patch works for HP EliteBook 8530p.

tags: added: regression-release
removed: regression-potential
Revision history for this message
Tony Notto (lnotto) wrote :

@Nicolas, another thanks! Patch works on my HP NC8230

Revision history for this message
andreselsuave (andreselsuave) wrote :

I dont know how to apply the patch that tob sent. Can anyone help me please?

Revision history for this message
tob (tobynbertram) wrote :

@andreselsuave
The easiest way to apply the patch is using dkms. Here is a post that details the process:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/582809/comments/94

Revision history for this message
Slackjaw77 (alienresidents) wrote :

@Nicolas Delvaux
Your step #11 worked on my Compaq 8710p

[ 9.924669] Synaptics Touchpad, model: 1, fw: 6.2, id: 0x25a0b1, caps: 0xa44791/0x300000/0x0
[ 9.924672] Synaptics: Clickpad mode enabled
[ 9.924675] serio: Synaptics pass-through port at isa0060/serio4/input0
[ 9.964076] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input7
[92605.662345] Synaptics Touchpad, model: 1, fw: 6.2, id: 0x25a0b1, caps: 0xa44791/0x300000/0x0
[92605.662349] serio: Synaptics pass-through port at isa0060/serio4/input0
[92605.702457] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input9

Thanks.

Revision history for this message
Frode Tennebø (frode-tennebo) wrote :

Have the same problem with my HP Compaq nc8230.

Before patching and compiling a new kernel, is there any plans for integrating the patch into the mainstream Ubuntu/official kernel anytime soon?

Revision history for this message
KELEMEN Péter (peterkelemen) wrote :

Steps in #11 fix the issue for me.

Revision history for this message
melhor (peter-anderle) wrote :

I have the same Problem on my hp 8710p. The middle touchpad button is treated as the left-mouse button. I have the newest packages (backports) installed, kernel

$ uname -r
2.6.35-24-generic

is there some patch for this kernel version too?

Revision history for this message
Philipp Morger (philipp-morger) wrote : apport information

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: phoenix 2365 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xd7320000 irq 47'
   Mixer name : 'Analog Devices AD1984A'
   Components : 'HDA:11d4194a,103c30e7,00100400'
   Controls : 18
   Simple ctrls : 11
DistroRelease: Ubuntu 10.10
HibernationDevice: RESUME=UUID=22dda47f-9794-437a-bbed-1234fe962e36
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
MachineType: Hewlett-Packard HP EliteBook 8530w
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-24-generic root=UUID=8beae753-ec13-40dd-bb10-57cfa23c58da ro vga=773 elevator=noop quiet splash nomodeset
ProcEnviron:
 LC_CTYPE=en_US.UTF-8
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8
Regression: Yes
RelatedPackageVersions: linux-firmware 1.38
Reproducible: Yes
Tags: maverick regression-release needs-upstream-testing
Uname: Linux 2.6.35-24-generic x86_64
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare staff sudo
dmi.bios.date: 12/08/2009
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68PDV Ver. F.11
dmi.board.name: 30E7
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 90.26
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68PDVVer.F.11:bd12/08/2009:svnHewlett-Packard:pnHPEliteBook8530w:pvrF.11:rvnHewlett-Packard:rn30E7:rvrKBCVersion90.26:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP EliteBook 8530w
dmi.product.version: F.11
dmi.sys.vendor: Hewlett-Packard

tags: added: apport-collected
Revision history for this message
Philipp Morger (philipp-morger) wrote : AcpiTables.txt

apport information

Revision history for this message
Philipp Morger (philipp-morger) wrote : AlsaDevices.txt

apport information

Revision history for this message
Philipp Morger (philipp-morger) wrote : BootDmesg.txt

apport information

Revision history for this message
Philipp Morger (philipp-morger) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Philipp Morger (philipp-morger) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Philipp Morger (philipp-morger) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Philipp Morger (philipp-morger) wrote : IwConfig.txt

apport information

Revision history for this message
Philipp Morger (philipp-morger) wrote : Lspci.txt

apport information

Revision history for this message
Philipp Morger (philipp-morger) wrote : Lsusb.txt

apport information

Revision history for this message
Philipp Morger (philipp-morger) wrote : PciMultimedia.txt

apport information

Revision history for this message
Philipp Morger (philipp-morger) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Philipp Morger (philipp-morger) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Philipp Morger (philipp-morger) wrote : ProcModules.txt

apport information

Revision history for this message
Philipp Morger (philipp-morger) wrote : RfKill.txt

apport information

Revision history for this message
Philipp Morger (philipp-morger) wrote : UdevDb.txt

apport information

Revision history for this message
Philipp Morger (philipp-morger) wrote : UdevLog.txt

apport information

Revision history for this message
Philipp Morger (philipp-morger) wrote : WifiSyslog.txt

apport information

Revision history for this message
Alex Moldovan (alexmoldovan) wrote :

Here is the xev output of a HP EliteBook 8530w obtained by pressing the following keys:
a; Left Touchpad button; b; Middle Touchpad button; c; Right Touchpad button; and d.

Revision history for this message
Halkane (halkane) wrote :

The patch work on HP Compaq 8510w without reboot :

sudo apt-get install dkms
wget https://bugs.launchpad.net/ubuntu/+source/linux/+bug/582809/+attachment/1675262/+files/psmouse-2.6.35-22-generic-patched.tar.bz2
tar -xjf psmouse-2.6.35-22-generic-patched.tar.bz2
sudo cp -r psmouse-2.6.35-22-generic /usr/src/
sudo dkms add -m psmouse -v 2.6.35-22-generic
sudo dkms build -m psmouse -v 2.6.35-22-generic
sudo dkms install -m psmouse -v 2.6.35-22-generic
sudo rmmod psmouse && sudo modprobe psmouse

Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Dana Goyette, thank you for reporting this and helping make Ubuntu better. Maverick reached EOL on April 10, 2012.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We were wondering if this is still an issue in a supported release? If so, can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command in a supported release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.

Please let us know your results. Thanks in advance.

tags: added: needs-upstream-testing
removed: apport-collected synaptics touchpad
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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