ALPS Touchpad incorrectly detected as PS/2 mouse in Dell Latitude 7370

Bug #1641451 reported by Michael Doube
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Xenial by penalvch

Bug Description

Touchpad is detected but appears to be running some generic drivers which mean the full suite of multi-touch controls and disabling touchpad while typing are missing.

Laptop model directly from the sticker of the computer.
Dell Latitude 7370
Reg Model P67G

Manufacturer of the Touchpad.
Alps

When the symptom first appeared.
Since installing Ubuntu

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xserver-xorg-input-synaptics 1.8.2-1ubuntu3
ProcVersionSignature: Ubuntu 4.4.0-47.68-generic 4.4.24
Uname: Linux 4.4.0-47-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sun Nov 13 20:08:03 2016
DistUpgraded: Fresh install
DistroCodename: xenial
DistroVariant: ubuntu
InstallationDate: Installed on 2016-05-15 (182 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
MachineType: Dell Inc. Latitude 7370
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-47-generic.efi.signed root=UUID=d96256e6-13a6-46a5-ba80-2e121d8f8dab ro quiet splash vt.handoff=7
SourcePackage: xserver-xorg-input-synaptics
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/14/2016
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 01.05.03
dmi.board.name: 0MMWGJ
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr01.05.03:bd07/14/2016:svnDellInc.:pnLatitude7370:pvr:rvnDellInc.:rn0MMWGJ:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude 7370
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.12.2+16.04.20160823-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-1ubuntu0.16.04.2
version.libgl1-mesa-dri: libgl1-mesa-dri 11.2.0-1ubuntu2.2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 11.2.0-1ubuntu2.2
version.xserver-xorg-core: xserver-xorg-core 2:1.18.4-0ubuntu0.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1build2
xserver.bootTime: Sat Nov 12 17:24:12 2016
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 5217
 vendor SHP
xserver.version: 2:1.18.4-0ubuntu0.1

Revision history for this message
Michael Doube (michael-doube) wrote :
description: updated
summary: - 'ALPS Touchpad incorrectly detected as PS/2 mouse in Dell Latitude 7370
+ ALPS Touchpad incorrectly detected as PS/2 mouse in Dell Latitude 7370
Revision history for this message
Michael Doube (michael-doube) wrote :

Added linux package because device is not correctly detected and debugging instructions say

" If Touchpad is not detected then the following will appear:

Name="ImPS/2 Generic Wheel Mouse"

In this case the bug must be a kernel issue."

https://wiki.ubuntu.com/DebuggingTouchpadDetection

:~$ cat /proc/bus/input/devices

I: Bus=0011 Vendor=0002 Product=0005 Version=0000
N: Name="ImPS/2 Generic Wheel Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input7
U: Uniq=
H: Handlers=mouse1 event8
B: PROP=1
B: EV=7
B: KEY=70000 0 0 0 0
B: REL=103

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
Revision history for this message
penalvch (penalvch) wrote :

Michael Doube, thank you for reporting this and helping make Ubuntu better.

In order to allow additional upstream developers to examine the issue, at your earliest convenience, could you please test the latest upstream kernel available from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D ? Please keep in mind the following:
1) The one to test is at the very top line at the top of the page (not the daily folder).
2) The release names are irrelevant.
3) The folder time stamps aren't indicative of when the kernel actually was released upstream.
4) Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds .

If testing on your main install would be inconvenient, one may:
1) Install Ubuntu to a different partition and then test this there.
2) Backup, or clone the primary install.

If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where X, and Y are the first two numbers of the kernel version, and Z is the release candidate number if it exists.

If the mainline kernel does not fix the issue, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream.

Also, you don't need to apport-collect further unless specifically requested to do so.

It is most helpful that after testing of the latest upstream kernel is complete, you mark this report Status Confirmed.

Lastly, to keep this issue relevant to upstream, please continue to test the latest mainline kernel as it becomes available.

Thank you for your help.

tags: added: bios-outdated-1.9.3
no longer affects: xserver-xorg-input-synaptics (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Michael Doube (michael-doube) wrote :

This is fixed upstream in mainline kernel 4.9.0-040900-generic

:~$ cat /proc/bus/input/devices

I: Bus=0011 Vendor=0002 Product=0008 Version=0800
N: Name="AlpsPS/2 ALPS DualPoint TouchPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input6
U: Uniq=
H: Handlers=mouse1 event7
B: PROP=1
B: EV=b
B: KEY=e520 70000 0 0 0 0
B: ABS=260800001000003

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: kernel-fixed-upstream kernel-fixed-upstream-4.9.0-040900-generic
Revision history for this message
penalvch (penalvch) wrote :

Michael Doube, as Zesty was rebased against 4.9, could you please test it via http://cdimage.ubuntu.com/daily-live/current/ and advise to the results?

tags: added: kernel-fixed-upstream-4.9
removed: kernel-fixed-upstream-4.9.0-040900-generic
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: needs-reverse-bisect
Revision history for this message
Michael Doube (michael-doube) wrote :

Tested against today's Zesty CD Image and confirming that touchpad detection is working there.

Revision history for this message
penalvch (penalvch) wrote :

Michael Doube, would you need a backport to a release prior to Zesty?

If not, please feel free to mark this Status Invalid by clicking on the current status in the yellow line and then choosing Invalid in the revealed drop down box.

Revision history for this message
Michael Doube (michael-doube) wrote : Re: [Bug 1641451] Re: ALPS Touchpad incorrectly detected as PS/2 mouse in Dell Latitude 7370

Michael Doube, would you need a backport to a release prior to Zesty?
Yes, to 16.04 LTS

Revision history for this message
penalvch (penalvch) wrote :

Michael Doube, the next step is to fully reverse commit bisect from kernel 4.4 to 4.9 in order to identify the last bad commit, followed immediately by the first good one. Once this good commit has been identified, it may be reviewed for backporting. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection ?

Please note, finding adjacent kernel versions, or providing a commit from a kernel version bisect is not fully commit bisecting.

Also, the kernel release names are irrelevant for the purposes of bisecting.

It is most helpful that after the fix commit (not kernel version) has been identified, you then mark this report Status Confirmed.

Thank you for your help.

Revision history for this message
Michael Doube (michael-doube) wrote :

Bisected kernel, see below (where 'bad' means feature introduced and functional)

aeaa881f9b17823028b464893b89c42db797b717 is the first bad commit
commit aeaa881f9b17823028b464893b89c42db797b717
Author: Ben Gamari <email address hidden>
Date: Tue Oct 4 11:43:30 2016 -0700

    Input: ALPS - set DualPoint flag for 74 03 28 devices

    Here we introduce logic in alps_identify to set the ALPS_DUALPOINT flag
    for touchpad hardware responding to E7 report with 73 03 28, as is found
    in the Dell Latitude E7470.

    Tested-by: Michal Hocko <email address hidden>
    Signed-off-by: Ben Gamari <email address hidden>
    Signed-off-by: Dmitry Torokhov <email address hidden>

:040000 040000 9e51f288b78352b4b7fca18f5e5f379cd1d4b90a 3b7eafa43208c2a7046be9d17f748fcd5dba18d8 M drivers

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
tags: added: reverse-bisect-done
removed: needs-reverse-bisect
tags: added: cherry-pick
Revision history for this message
penalvch (penalvch) wrote :

Michael Doube, thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu.

This is a significant bug in Ubuntu. If you need a fix for the bug in previous versions of Ubuntu, please perform as much as possible of the SRU Procedure [1] to bring the need to a developer's attention.

[1]: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Changed in linux (Ubuntu):
importance: Low → Medium
status: Confirmed → Fix Released
Revision history for this message
Michael Doube (michael-doube) wrote :

Thanks for your help with this, looks like it's fixed for Xenial on stock kernel v4.4 so I will not proceed with an SRU at this stage

:~$ uname -a
Linux Bethany 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

:~$ cat /proc/bus/input/devices
I: Bus=0011 Vendor=0002 Product=0008 Version=0800
N: Name="AlpsPS/2 ALPS DualPoint TouchPad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input6
U: Uniq=
H: Handlers=mouse1 event7
B: PROP=1
B: EV=b
B: KEY=e520 70000 0 0 0 0
B: ABS=260800001000003

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.