[HP Stream Notebook - 11-d010nr] clickpad malfunctions after performing a click in Lubuntu 14.10

Bug #1414894 reported by D Scott Phillips
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Unassigned
Utopic
Won't Fix
Medium
Unassigned

Bug Description

On the HP Stream 11, when the touchpad is physically depressed for a click (as opposed to a soft-tap) the mouse button down event happens, but the mouse button up event never happens, making further clicks impossible. You can observe that this is the case by running:

sudo evtest /dev/input/by-path/platform-80860F41\:00-event-mouse | grep BTN_LEFT

This issue was reported upstream to linux-input and a patch was written to address this issue:

http://www.spinics.net/lists/linux-input/msg34957.html

This patch landed upstream in v3.19-rc1:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/hid/hid-rmi.c?id=8414947a2018a98cf3adc975dc279f41ba30ab11

Backporting this single patch and applying it on the ubuntu 3.16.0 kernel resolves the issue and button up events can then be seen in the evtest command above. The backport is trivial but I have attached the patch anyway.

This report duplicates the reports in bug #1398533, bug #1394869

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: linux-image-3.16.0-29-generic 3.16.0-29.39
ProcVersionSignature: Ubuntu 3.16.0-29.39-generic 3.16.7-ckt2
Uname: Linux 3.16.0-29-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: scott 1884 F.... lxpanel
CRDA: Error: [Errno 2] No such file or directory: 'iw'
CurrentDesktop: LXDE
Date: Mon Jan 26 20:34:17 2015
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=7e0219f5-53a8-49c9-9aeb-df81754515c5
InstallationDate: Installed on 2015-01-15 (11 days ago)
InstallationMedia: Lubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 0bda:b001 Realtek Semiconductor Corp.
 Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
 Bus 001 Device 002: ID 05c8:036e Cheng Uei Precision Industry Co., Ltd (Foxlink)
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Hewlett-Packard HP Stream Notebook PC 11
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-29-generic.efi.signed root=UUID=b6ff2fb5-c5f0-4e37-9cf2-f7d28c6ba4eb ro quiet splash vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-29-generic N/A
 linux-backports-modules-3.16.0-29-generic N/A
 linux-firmware 1.138.1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/05/2014
dmi.bios.vendor: Insyde
dmi.bios.version: F.05
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: 8023
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 54.10
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsyde:bvrF.05:bd11/05/2014:svnHewlett-Packard:pnHPStreamNotebookPC11:pvrType1-ProductConfigId:rvnHewlett-Packard:rn8023:rvr54.10:cvnHewlett-Packard:ct10:cvrChassisVersion:
dmi.product.name: HP Stream Notebook PC 11
dmi.product.version: Type1 - ProductConfigId
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
D Scott Phillips (phinary) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
tags: added: patch
tags: added: kernel-da-key
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built a Utopic test kernel with a backport of commit 8414947. Can you test this kernel and see if it resolves this bug? It can be downloaded from:

http://kernel.ubuntu.com/~jsalisbury/lp1414894/

Changed in linux (Ubuntu):
assignee: nobody → Joseph Salisbury (jsalisbury)
status: Triaged → In Progress
Revision history for this message
D Scott Phillips (phinary) wrote :

Hi Joseph, the issue still seems to be present with the test kernel:

> $ uname -a
> Linux stream 3.16.0-30-generic #40~lp1414894v1 SMP Tue Jan 27 19:19:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> $ cat /sys/module/hid_rmi/srcversion
> 19894E2E646AB84E0BCFBED
> $ sudo evtest /dev/input/by-path/platform-80860F41\:00-event-mouse | grep BTN_LEFT
> Event code 272 (BTN_LEFT)
> Event: time 1422421513.599527, type 1 (EV_KEY), code 272 (BTN_LEFT), value 1
[ many clicks here not registered ]
> ^C

Is it possible that in the cherry pick you partially got some of the "has_gestures" and "has_rel" logic in rmi_populate_f11()? If that's the case then you could look at my patch for how I avoided that. Or you could also just pick this upstream commit before 8414947:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/hid/hid-rmi.c?id=9e2c327ee85e37264a1e04109efc7b97844afd0b

Which will the get you all of the has_gestures/has_rel logic. A test build of the utopic kernel + 9e2c327 + 8414947 works for me to resolve the issue as well.

If I'm off base with this guess then I'm not sure why it's not working but am happy to help debug. I'll keep my laptop with me tomorrow so I can test any other builds more quickly.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Thanks for the feedback! I created another Utopic test kernel, but this time with a cherry pick of 9e2c327 and 8414947.

Can you test this kernel and see if it resolves this bug? It can be downloaded from:

http://kernel.ubuntu.com/~jsalisbury/lp1414894/

If it does fix the bug, I can send a request upstream to have these commits included in the 3.16 stable kernel, as well as the Utopic kernel.

Revision history for this message
D Scott Phillips (phinary) wrote :

Yes, the latest test kernel resolves the problem:

> $ uname -a
> Linux stream 3.16.0-30-generic #40~lp1414894v2 SMP Wed Jan 28 19:06:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> $ cat /sys/module/hid_rmi/srcversion
> 289B1ECA557FAF6AA440A54
> $ sudo evtest /dev/input/by-path/platform-80860F41\:00-event-mouse | grep BTN_LEFT
> Event code 272 (BTN_LEFT)
> Event: time 1422478409.163174, type 1 (EV_KEY), code 272 (BTN_LEFT), value 1
> Event: time 1422478409.304152, type 1 (EV_KEY), code 272 (BTN_LEFT), value 0
> Event: time 1422478409.666615, type 1 (EV_KEY), code 272 (BTN_LEFT), value 1
> Event: time 1422478409.777406, type 1 (EV_KEY), code 272 (BTN_LEFT), value 0
> ^C

Thanks

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Thanks for testing. I'll submit a request to have this included in the 3.16, 3.17 and 3.18 stable kernels.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Actually not for upstream 3.17.y since it is EOL.

Changed in linux (Ubuntu):
status: In Progress → Fix Released
Changed in linux (Ubuntu Utopic):
status: New → Fix Released
importance: Undecided → Medium
assignee: nobody → Joseph Salisbury (jsalisbury)
status: Fix Released → Fix Committed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

The fix for this issue is now in upstream v3.16.7-ckt6 as: 7106dbc

The Ubuntu 3.16.0-32.42 kernel now has the v3.16.7-ckt6 updates and is in the -proposed repository.

Would it be possible for you to test this latest kernel and post back if it resolves this bug?

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Actually the -proposed kernel is being pushed now, so you may need to wait a few

Revision history for this message
D Scott Phillips (phinary) wrote :

Hi Joe, I just pulled 3.16.0-33.44 from utopic-proposed. The clickpad functions properly with this kernel and the "stuck click" issue is not present. Thanks.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Thanks for testing! Utopic will get the fix once the 3.16.0-33.44 kernel moves from -proposed to -updates.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

utopic has seen the end of its life and is no longer receiving any updates. Marking the utopic task for this ticket as "Won't Fix".

Changed in linux (Ubuntu Utopic):
status: Fix Committed → Won't Fix
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.