[ASUS N550JK] Touchpad recognized wrongly as PS/2 mouse

Bug #1385137 reported by goto
42
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Linux
Unknown
Unknown
linux (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

The touchpad on my ASUS N550JK laptop is being recognized as a PS/2 Logitech Wheel Mouse, rather than as a touchpad.
In this configuration it only works to move the pointer or clicking, all the advanced features (multi-touch, pinch, zoom, scroll...) can't be properly configured.

This is the output of xinput:

⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ PS/2 Logitech Wheel Mouse id=14 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Video Bus id=7 [slave keyboard (3)]
    ↳ Video Bus id=8 [slave keyboard (3)]
    ↳ Sleep Button id=9 [slave keyboard (3)]
    ↳ USB2.0 UVC HD Webcam id=11 [slave keyboard (3)]
    ↳ Asus WMI hotkeys id=12 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: linux-image-3.16.0-23-generic 3.16.0-23.31
ProcVersionSignature: Ubuntu 3.16.0-23.31-generic 3.16.4
Uname: Linux 3.16.0-23-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: ubuntu 2857 F.... pulseaudio
 /dev/snd/controlC0: ubuntu 2857 F.... pulseaudio
CasperVersion: 1.345
CurrentDesktop: Unity
Date: Fri Oct 24 09:09:20 2014
LiveMediaBuild: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
MachineType: ASUSTeK COMPUTER INC. N550JK
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=(loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=/home/fil/Downloads/username-14.10-desktop-amd64.iso locale=en_US.UTF-8
RelatedPackageVersions:
 linux-restricted-modules-3.16.0-23-generic N/A
 linux-backports-modules-3.16.0-23-generic N/A
 linux-firmware 1.138
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/11/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: N550JK.207
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: N550JK
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.:bvrN550JK.207:bd08/11/2014:svnASUSTeKCOMPUTERINC.:pnN550JK:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnN550JK:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: N550JK
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.

Revision history for this message
goto (gotolaunchpad) 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
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue occur in a previous version of Ubuntu, or is this a new issue?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.18 kernel[0].

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'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.18-rc1-utopic/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
goto (gotolaunchpad) wrote :

Yes, it affects also previous versions (see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1378547).

goto (gotolaunchpad)
tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

This issue appears to be an upstream bug, since you tested the latest upstream kernel. Would it be possible for you to open an upstream bug report[0]? That will allow the upstream Developers to examine the issue, and may provide a quicker resolution to the bug.

Please follow the instructions on the wiki page[0]. The first step is to email the appropriate mailing list. If no response is received, then a bug may be opened on bugzilla.kernel.org.

Once this bug is reported upstream, please add the tag: 'kernel-bug-reported-upstream'.

[0] https://wiki.ubuntu.com/Bugs/Upstream/kernel

Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
junkzilla (junkzilla-bugmenot) wrote :

The bug exists also on ArchLinux and is still present in newer kernels.

tags: added: kernel-bug-reported-upstream
Revision history for this message
Federico Sassi (fsassi) wrote :

has someone found a workaround while we wait for the solution?

Revision history for this message
goto (gotolaunchpad) wrote :

Unfortunately not. :(
Even in Linux 3.18.

Of course I am willing to assist anyone who could try to fix this. Any idea?

Revision history for this message
Pilot6 (hanipouspilot) wrote :

The initial reporter has a Focaltech touchpad. The patch has been already made and backported to Ubuntu kernel.
It has not been applied upstream. So those who have

FLT101 or FLT102 in

dmesg | grep pnp

can try my build

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

If there are any issues feel free to report here or in github.

Revision history for this message
Federico Sassi (fsassi) wrote :

Dear Pilo6,
I have a FLT0101 and I've tried the binary version 3.16.0-29.39 from your dropbox and now the touchpad is recognized as such and two-finger horizontal and vertical gestures are working. Moreover also disabling single click while typing seems to work.

Do you already have the plan to make a DKMS version of your patch so we can still use the ubuntu stock kernel? I still have to check if with this kernel I get regressions on other stuff.

THANK YOU!

Revision history for this message
Pilot6 (hanipouspilot) wrote :

@Federico

There is no good way to make a dkms package, because it can't be done as a single module.
Instead I just keep that branch up to date with official Ubuntu kernel.
You can just update, when a new kernel vesion is released.

Sometime later this will be applied upstream and get into Ubuntu kernels.

There must not be any regressions, since there are no potentially dangerous commits.

1% of potential regression may be only with X200MA an UX302LA with 'acpi_osi=' quirk, but nothing has been noticed so far.

These commits are not applicable to N550JK model either way.

Revision history for this message
goto (gotolaunchpad) wrote :

Any news or workaround for this bug on N550JK?

penalvch (penalvch)
tags: added: bios-outdated-208 kernel-bug-exists-upstream-3.18-rc1 needs-upstream-testing
removed: kernel-bug-exists-upstream
Revision history for this message
penalvch (penalvch) wrote :

goto, it would be best to test to your issue via the latest mainline kernel 3.19-rc2 and report back here on the results.

tags: added: potential-firmware-bug
Revision history for this message
Pilot6 (hanipouspilot) wrote :

Christopher,

No chance in 3.19-rc2. The driver will be merged in rc3.
But for some reason there is some problem with this specific model.

goto,

Pls wait till 3.19-rc3 is released and make a kernel bugzilla report, if touchpad does not work.

Revision history for this message
penalvch (penalvch) wrote :

Pilot6, thanks for the quick follow up. Would you happen to have the upstream discussion on the commit(s) specifically (or git commit URL) in relation to 3.19-rc3?

As well, posting reports to bugzilla is legacy, and the wrong venue for kernel issues. Instead, upstream prefers the relevant mailing list (in this case linux-input) as advised in https://wiki.ubuntu.com/Bugs/Upstream/kernel .

However, in ~Oct. 2014 upstream was of the opinion this could be a firmware issue. Hence, before contacting upstream, it would be best if a BIOS update occurred whether or not the potential fix commit(s) work.

Revision history for this message
Pilot6 (hanipouspilot) wrote :

Christopher,

I was not correct, looked to another tree. It was not merged in rc3 yet.
It is in linux-next. Here is the URL.

https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/input/mouse/focaltech.c?id=05be1d079ec0b3691783e4384b1ada82149ff7d2

Revision history for this message
Pilot6 (hanipouspilot) wrote :

Regarding bugzilla vs mailing list. It looks like in bugzilla issues are addressed better.
Mailing lists are mostly used for sending patches.

Revision history for this message
Pilot6 (hanipouspilot) wrote :

Since the fix has been committed to mainline kernel, may be it is time to SRU it to ubuntu kernels?
I guess Ubuntu 15.05 will not come out with 4.0 kernel. Yhis means that many users will lack support of Focaltech touchpads till November.
I know that the patch is a bit large, but mostly it adds the new driver. Everything else is quite small and simple.
There is no regression risk.

The patch for 3.16 kernel can be pulled from my github. The last 6 commits.
They all are already applied upstream.

Changed in linux (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
penalvch (penalvch) wrote :

Not Fix Committed as defined in https://wiki.ubuntu.com/Bugs/Status .

Changed in linux (Ubuntu):
status: Fix Committed → Triaged
Revision history for this message
Pilot6 (hanipouspilot) wrote :

I made a ppa with Focaltech driver. It is here

ppa:hanipouspilot/focaltech-dkms

Read instructions before install pls. Users of Ubuntu 14.04 will need linux-generic-lts-vivid package.
It pulls 3.19 kernel. At the moment it is 3.19.0-12. I have some graphics issues with it.
With 3.19.0-13 it is OK. I hope they will update the ppa soon.
And soon we wait that that package appears in Ubuntu main repository.

Revision history for this message
Pilot6 (hanipouspilot) wrote :

The bug has been fixed in

linux-generic-lts-wily package.

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