[ASUS X200MA] Touchpad scrolling not working

Bug #1388160 reported by Pilot6
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Touchpad is detected as a mouse. It works, but no multitouch, no scrolling.

pilot6@X200MA:~$ xinput --list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PS/2 Logitech Wheel Mouse id=13 [slave pointer (2)]

This bug exists on all kernels up to 3.18-rc2

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-39-generic 3.13.0-39.66
ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
Uname: Linux 3.13.0-39-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pilot6 1814 F.... pulseaudio
CurrentDesktop: Unity
Date: Fri Oct 31 19:01:25 2014
HibernationDevice: RESUME=UUID=2f501090-6091-423c-abb1-a09f9c524fc3
InstallationDate: Installed on 2014-10-31 (0 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
Lsusb:
 Bus 001 Device 006: ID 13d3:3408 IMC Networks
 Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
 Bus 001 Device 003: ID 0bda:5603 Realtek Semiconductor Corp.
 Bus 001 Device 002: ID 8087:07e6 Intel Corp.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: ASUSTeK COMPUTER INC. X200MA
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-39-generic.efi.signed root=UUID=8b0c6000-31d7-4e41-bfbf-4149ad0122d4 ro quiet splash acpi_osi= vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-39-generic N/A
 linux-backports-modules-3.13.0-39-generic N/A
 linux-firmware 1.127.7
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/11/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: X200MA.502
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: X200MA
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrX200MA.502:bd09/11/2014:svnASUSTeKCOMPUTERINC.:pnX200MA:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnX200MA:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: X200MA
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Revision history for this message
Pilot6 (hanipouspilot) wrote :
Pilot6 (hanipouspilot)
description: updated
description: updated
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 :

Pilot6, the issue you are reporting is an upstream one. Could you please report this problem to the appropriate mailing list by following the instructions _verbatim_ at https://wiki.ubuntu.com/Bugs/Upstream/kernel ?

Please provide a direct URL to your e-mail to the mailing list once you have made it so that it may be tracked.

Thank you for your understanding.

tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-3.18-rc2 latest-bios-502
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Pilot6 (hanipouspilot) wrote :

I made an upstream report. I will post URL as soon as I get one.

Revision history for this message
Pilot6 (hanipouspilot) wrote :
Revision history for this message
penalvch (penalvch) wrote :

Pilot6, your post is missing half the information requested by upstream, as fully documented in https://wiki.ubuntu.com/Bugs/Upstream/kernel . Quoting from that article :
"Please ensure you follow the below format word for word. Just because you tested the latest mainline kernel, may have bisected a kernel regression, or others say they are experiencing the same problem, doesn't mean you should omit anything."

Revision history for this message
Pilot6 (hanipouspilot) wrote :

Which relevant information is missing? The device is not recognized by lspci or lsusb.
Maybe dmi information, but it can be obtained from here.

Revision history for this message
penalvch (penalvch) wrote :

Pilot6, please actually include all of the omitted information, as it is relevant to upstream. Again, consulting https://wiki.ubuntu.com/Bugs/Upstream/kernel :
7.1
7.2
7.4
7.5
7.6
7.7

As well, please don't make people dumpster dive downstream for information you should include in the initial report. This just increases the likelihood of your report being ignored as you aren't including the information upstream requested.

Revision history for this message
Pilot6 (hanipouspilot) wrote :

I do not plan to learn making kernel reports. This was my first and last one. It is too much effort even to send an E-mail in plain text.
I am a user, not a programmer or a bug superviser. I reported the but to launchpad. If it is ignored. OK.

Revision history for this message
Pilot6 (hanipouspilot) wrote :

I can add that there is exactly same pnp id as in
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1372609

i8042: PNP: PS/2 Controller [PNP030b:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12

So this is a duplicate of 1372609 as I always thought.

Revision history for this message
Mathias Gottschlag (mgottschlag) wrote :

This is basically the same touchpad as in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1372609.

Can you maybe:
 - Run the program in comment #32 of that bug? I am specifically looking for the maximum and minimum coordinates reported by the touchpad, e.g. in the output which occurs when you put your finger onto the edge of the touchpad. You'd need to run "modpobe serio_raw && echo -n "serio_raw" > /sys/bus/serio/devices/serio4/drvctl", and then the program, like "sudo ./init /dev/serio_raw0"
 - Test the driver at https://github.com/mgottschlag/linux/tree/focaltech2 ?

Revision history for this message
Pilot6 (hanipouspilot) wrote :

It works. Coordinates are ~ 1663 (vertical) and 2943 (horisontal).
It is possible that there can be a couple of points on vertical more. That's maximum I could get.

But 2943 looks stable.

I will try to build the driver tomorrow.

Revision history for this message
Mathias Gottschlag (mgottschlag) wrote :

Okay, thanks, can you also send me the first couple of lines printed by the program? ("status:")

Revision history for this message
Pilot6 (hanipouspilot) wrote :

root@X200MA:~/focaltech-tools# ./init /dev/serio_raw0
reset, device id = 00
status: 6b 80 80
status: 36 53 03
status: 00 17 0d
status: 0b 03 00
status: 23 45 f8

I tested the prebuilt kernel debs and the driver does not work. It is late and I won't build a kernel myself tonight. Tomorrow I will try.

Revision history for this message
Pilot6 (hanipouspilot) wrote :

I can't build the kernel. I get error messages. So I can't check the driver.

Revision history for this message
Pilot6 (hanipouspilot) wrote :

The prooblem is that I can't boot my desktop with 3.18. But with 3.13 the kernel fails to build. It is possible to build on the netbook, but it will take forever with the poor cpu. If someone could build it, I will test it.

The prebuilt debs it the other bugreport do not work. Touchpad is recognized, but as PS/2 FocalTech FocalTech Touchpad in mouse emulation mode.

Revision history for this message
Pilot6 (hanipouspilot) wrote :

@Mathias

I installed your debs woth Focaltec2. It works! Great job!

Is it possible to backport this to 3.13 and 3.17 kernels? I have issues with backlight on 3.18.
This will fix the bug for 14.04 LTS and 14.10.

Revision history for this message
Pilot6 (hanipouspilot) wrote :

This is the Mathias' great patch fixing this bug upstream.
http://www.spinics.net/lists/linux-input/msg34223.html

Now someone needs to adapt it for supported kernels.

Revision history for this message
Pilot6 (hanipouspilot) wrote :

Backported to 3.13. It was a kind of stupid, because many functions were missing, but still.

tags: added: patch
Revision history for this message
Pilot6 (hanipouspilot) wrote :

The driver works, but the detection does not. It seems that something is missing for pulling pnp id in 3.13.
I will try 3.16.

Revision history for this message
Pilot6 (hanipouspilot) wrote :

Finally I got my mistake and backported successfully to 3.16. It works!
This kernel will be used in 14.10 and soon in 14.04.

The patch is attached.

Deb packages can be found here.
https://www.dropbox.com/sh/07642x3lziqgmz9/AACGWNO5_lNnX7x7tYMoH9gka?dl=0

Revision history for this message
Pilot6 (hanipouspilot) wrote :

Updated patch with new file mode.

Revision history for this message
Pilot6 (hanipouspilot) wrote :

Updated the patch after the author. It is now reviewed upstream.

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

Pilot6 (hanipouspilot)
Changed in linux (Ubuntu):
status: Triaged → Fix Committed
Pilot6 (hanipouspilot)
tags: added: kernel-bug-fixed-upstream kernel-bug-fixed-upstream-4.0-rc3
removed: kernel-bug-exists-upstream kernel-bug-exists-upstream-3.18-rc2
Changed in linux (Ubuntu):
status: Fix Committed → Confirmed
penalvch (penalvch)
tags: added: needs-reverse-bisect
Revision history for this message
Pilot6 (hanipouspilot) wrote :

The issue has been fixed by
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=05be1d079ec0b3691783e4384b1ada82149ff7d2

But later some additional fixes and minor improvements were made.

Patches for 3.16 Ubuntu kernel can be found in my github.

https://github.com/hanipouspilot/ubuntu-fixes/tree/pilot6

Commits

47667064350e06dde9eede7f081938f34e76bb38 thru d3a71c92eda7544f81f903dd8bc8147a2ee1ccb5

Revision history for this message
Pilot6 (hanipouspilot) wrote :

These patches were backported from https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
and will fully appear in 4.0-rc4.

Revision history for this message
Pilot6 (hanipouspilot) wrote :

All fixes are in 4.0-rc4.

Revision history for this message
Pilot6 (hanipouspilot) wrote :

I made a patch for vivid kernel. It is less intrusive as the utopic patch.
It also can be found here.

https://github.com/hanipouspilot/ubuntu-vivid/tree/pilot6

Revision history for this message
Pilot6 (hanipouspilot) wrote :

This bug is fixed in kernel 4.0, that is in 15.10 now.

Changed in linux (Ubuntu):
status: Confirmed → Fix Released
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.