Touchpad recognised as generic mouse

Bug #1882388 reported by Fernando
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I've just re-installed 20.04 (dual boot/windows 10) on my Lenovo ideapadY700. My laptop recognises touchpad as mouse. I have no other mouse plugged.

Touchpad firmware: 2ul001af
Lenovo ideapad700-15ISK BIOS version: CDCN54WW

I'm new in Ubuntu and I don't know much...

```$ uname -a```

```Linux nando-Lenovo 5.4.0-33-generic #37-Ubuntu SMP Thu May 21 12:53:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux```

```$ dmesg | grep psmouse```

```[ 30.218871] psmouse serio1: elantech: synaptics_send_cmd query 0x01 failed.
[ 30.218879] psmouse serio1: elantech: failed to query firmware version.
[ 165.209816] psmouse serio1: Wheel Mouse at isa0060/serio1/input0 lost synchronization, throwing 2 bytes away.
[ 216.923481] psmouse serio1: Wheel Mouse at isa0060/serio1/input0 lost synchronization, throwing 2 bytes away.
[ 468.662298] psmouse serio1: Wheel Mouse at isa0060/serio1/input0 lost synchronization, throwing 2 bytes away.
[ 553.556484] psmouse serio1: Wheel Mouse at isa0060/serio1/input0 lost synchronization, throwing 2 bytes away.
```

```$ 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)]
    ↳ Power Button id=9 [slave keyboard (3)]
    ↳ Sleep Button id=10 [slave keyboard (3)]
    ↳ Lenovo EasyCamera: Lenovo EasyC id=11 [slave keyboard (3)]
    ↳ Ideapad extra buttons id=12 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
```

```$ cat /proc/bus/input/devices```

```I: Bus=0011 Vendor=0002 Product=0001 Version=0063
N: Name="PS/2 Logitech Wheel Mouse"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input19
U: Uniq=
H: Handlers=mouse0 event16
B: PROP=1
B: EV=7
B: KEY=70000 0 0 0 0
B: REL=3
```
I have read a lot of solutions; I tried to use xorg, but it didn't work.
When I removed it, it worked for a day (only) and I decided erase and re-install Ubuntu.

Please help!
Thanks

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-5.4.0-33-generic 5.4.0-33.37
ProcVersionSignature: Ubuntu 5.4.0-33.37-generic 5.4.34
Uname: Linux 5.4.0-33-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: nando 1137 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sat Jun 6 20:24:24 2020
InstallationDate: Installed on 2020-06-06 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 002: ID 5986:0672 Acer, Inc Lenovo EasyCamera
 Bus 001 Device 003: ID 8087:0a2a Intel Corp.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 80NV
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-33-generic root=UUID=eccd5181-f592-4fbf-a03f-3efbc86e693b ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-33-generic N/A
 linux-backports-modules-5.4.0-33-generic N/A
 linux-firmware 1.187
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/13/2017
dmi.bios.vendor: LENOVO
dmi.bios.version: CDCN54WW
dmi.board.asset.tag: NO Asset Tag
dmi.board.name: Allsparks 5A
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40709 WIN
dmi.chassis.asset.tag: NO Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo ideapad Y700-15ISK
dmi.modalias: dmi:bvnLENOVO:bvrCDCN54WW:bd06/13/2017:svnLENOVO:pn80NV:pvrLenovoideapadY700-15ISK:rvnLENOVO:rnAllsparks5A:rvrSDK0J40709WIN:cvnLENOVO:ct10:cvrLenovoideapadY700-15ISK:
dmi.product.family: IDEAPAD
dmi.product.name: 80NV
dmi.product.sku: LENOVO_MT_80NV_BU_idea_FM_Lenovo ideapad Y700-15ISK
dmi.product.version: Lenovo ideapad Y700-15ISK
dmi.sys.vendor: LENOVO

Revision history for this message
Fernando (nando82) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Fernando (nando82)
tags: added: elantech lenovo
tags: added: ideapad touchpad
Fernando (nando82)
summary: - Touchpad recognised as Logitech mouse
+ Touchpad recognised as generic mouse
Revision history for this message
Fernando (nando82) wrote :

I have realised that if I restart the mouse twice in a row, the touchpad is recognised as such and starts working for a period of time.

```sudo modprobe -r psmouse```

```sudo modprobe psmouse```

Then, it is recognised back as a generic mouse and stops working.

Fernando (nando82)
description: updated
Fernando (nando82)
description: updated
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Can you please attach acpidump?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Fernando (nando82) wrote :

With what options? How I do that?

Revision history for this message
Fernando (nando82) wrote :
Fernando (nando82)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

What's the touchpad vendor for this system? Elan or Synaptics?

Revision history for this message
Fernando (nando82) wrote :

Diffiult to say, as it is both in the name:

85ln02af.exe

Touchpad Driver (Elan, Synaptics, ALPS)
Synaptics_19.3.10.38_ELAN_11.4.92.1_ALPS_8.201.1611.252
Last Modified Date: 03 Nov 2017
Original Publish Date: 26 Jan 2016
Document ID: DS105106
Manufacturer:
    Elan, Synaptics, ALPS

https://pcsupport.lenovo.com/gb/en/products/laptops-and-netbooks/ideapad-y-series-laptops/y700-15isk/80nv/80nv00dxsp/pf0hck45/downloads/DS105106

Regarding the mainline kernel, that's way over my skills... how do I do that?

Thanks

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Fernando (nando82) wrote :

```
 Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ETPS/2 Elantech Touchpad id=14 [slave pointer (2)]
```

Revision history for this message
Fernando (nando82) wrote :

UPDATE:
`uname -r
5.4.0-40-generic
`

Touchpad is still getting disconnected randomly and identified as generic mouse, and I have to use several times:

```sudo modprobe -r psmouse && sudo modprobe psmouse```

until is recognised again.

If you point me towards an info page I will try the mainline kernel.

Thanks for trying fixing this Khai-Hen Feng.

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
Revision history for this message
Fernando (nando82) wrote :

Thanks for that.

I have a nVidia GeForce GTX 960M graphic card.

I am using proprietary drivers; I didn't need to do anything, it was automatically installed when I first installed Ubuntu 20.04.

I've read on the page you sent me before, that I need to remove the nVidia drivers before installing the new kernel.

Is that really necessary? They really insist on that point.

If so, how do I remove them and installing them back? I am looking for answers in 'Ask Ubuntu', but as I didn't download the drivers and it was automatic, I don't know how to do it.

Sorry, I'm a noob and I'm really scared of messing up with the system as, although I have dual boot with Windows, I already have migrated plenty of stuff and I don't want to have to re-install everything back...

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

No, uninstalling drivers are unnecessary.

Only thing needs to do is to install the kernel debs.

Revision history for this message
Fernando (nando82) wrote :

Just tried it this afternoon.

The issue is not fixed; I'm not seeing any difference...

I'm still using the new kernel (5.8.0-050800-generic); Should I delete it?

Any other test?

Revision history for this message
Fernando (nando82) wrote :

kernel-bug-exists-upstream

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Fernando (nando82) wrote :
Revision history for this message
Fernando (nando82) wrote :
Revision history for this message
Fernando (nando82) wrote :
Revision history for this message
Fernando (nando82) wrote :
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Can you please also find out which .inf it uses?

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Ok, this mean it uses PS/2 mouse.

Can you please boot to mainline kernel with kernel parameter "dyndbg='file drivers/input/mouse/* +p'", and attach dmesg here?

Revision history for this message
Fernando (nando82) wrote :

It is using oem2.inf

I add the line at boot, by editing the grub and adding it at the end of the line which starts with 'linux', and I don't want to get to excited, but so far, so good...

Revision history for this message
Fernando (nando82) wrote :

So, with my usual kernel version, 5.4.0.40-generic, adding that line (exactly as it was written, including spaces, " and ' ) during boot ('e' -editing the grub), the touchpad works, but after the laptop goes idle or the screen is locked, it goes back as a generic mouse.

The trick of disconnecting and connecting it back with ```modprobe psmouse``` keeps working though...

I am trying it now with the latest version of the kernel 5.8.0-050800-generic.

The touchpad works from start. I have locked the screen and it keeps working after logging in.

Even better, all the multi-finger movements work as well ( I had fusuma, but 4 finger vertical swipe never worked; now, it is working).

I can't say yet that it has been fixed, but definitely we're on the right track!

Please let me know if I can do anything else to help you debug this thing.

Thanks!

You-Sheng Yang (vicamo)
tags: added: hwe-touchpad
Revision history for this message
Fernando (nando82) wrote :

I suspended my laptop during the night; when I logged in again, the touchpad worked for a while, but eventually got back as a generic mouse (still mainline kernel).

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Hmm can you please attach dmesg on the failed case?

Revision history for this message
Fernando (nando82) wrote :
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

There are two methods for touchpad in ASL code that seems to be related to power control:

            Method (TPRD, 0, Serialized)
            {
                P80H = 0x2E
                Return (^^EC0.ECTP) /* \_SB_.PCI0.LPCB.EC0_.ECTP */
            }

            Method (TPWR, 1, Serialized)
            {
                P80H = 0x2F
                ^^EC0.ECTP = Arg0
            }

However, we'll need to ask Lenovo how and when to use them.

Revision history for this message
Fernando (nando82) wrote :

Is there anything else I can do?
I know Lenovo has an ubuntu forum, but hey are not very responsive...

Revision history for this message
Fernando (nando82) wrote :

I had to delete the mainstream kernel as I was having a horrible screen tearing (my graphic card was not supported).

I left the kernel parameter "dyndbg='file drivers/input/mouse/* +p'" and, although the issue still exists, it reduces the frequency of times I need to use the "modprobe" workaround.

Any news?

Revision history for this message
Fernando (nando82) wrote :

```ùname -r```
5.4.0-48-generic

Issue still ongoing

Revision history for this message
Fernando (nando82) wrote :

Hi,

```uname -r```
5.4.0-53-generic

Issue still ongoing

Revision history for this message
Fernando (nando82) wrote :

Hi,

```uname -r```
5.4.0-58-generic

Issue still ongoing.

Now, with the workaround

```sudo modprobe -r psmouse && sudo modprobe psmouse´´´

It still works, after typing several times the same command, but I noticed some things:

1.- Mouse gets idle sometimes and changes to generic mouse after that
2.- When working, settings are not working properly; Natural scrolling is on, but is not working, same than 'tap to click'.

Just switching off and on again the settings make it works properly, but this needs to be done every single time the 'modprobe' workaround finally works...

Hope this helps.

Revision history for this message
Fernando (nando82) wrote :

Hi,

```uname -r```

5.13.0-40-generic

Issue still ongoing.

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.