TransWikia.com

Debugging an unresponsive touchpad on Lenovo Ideapad 320-15ABR

Unix & Linux Asked by nnyby on October 31, 2021

I have a Lenovo Ideapad 320-15ABR, (I found the exact model name with dmidecode). I’m having trouble getting the touchpad to work. It’s not showing up in xinput --list or cat /proc/bus/input/devices. I’m using Linux 4.13.2, compiled with some extra debugging messages.

Here’s some relevant dmesg output when booted with i8042.nopnp. Without this option, I get the message: i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp

$ dmesg|grep psm
[    2.595815] bus: 'serio': add driver psmouse
[    2.627475] bus: 'serio': driver_probe_device: matched device serio1 with driver psmouse
[    2.627477] bus: 'serio': really_probe: probing driver psmouse with device serio1
[    2.627482] psmouse serio1: no default pinctrl state
[    2.651584] psmouse: probe of serio1 rejects match -19


$ dmesg|grep i8042
[    2.577522] i8042: PNP detection disabled
[    2.578648] Registering platform device 'i8042'. Parent at platform
[    2.578650] device: 'i8042': device_add
[    2.578655] bus: 'platform': add device i8042
[    2.578668] PM: Adding info for platform:i8042
[    2.578682] bus: 'platform': add driver i8042
[    2.578692] bus: 'platform': driver_probe_device: matched device i8042 with driver i8042
[    2.578694] bus: 'platform': really_probe: probing driver i8042 with device i8042
[    2.578699] i8042 i8042: no default pinctrl state
[    2.578702] devices_kset: Moving i8042 to end of list
[    2.595059] serio: i8042 KBD port at 0x60,0x64 irq 1
[    2.595070] serio: i8042 AUX port at 0x60,0x64 irq 12
[    2.595125] driver: 'i8042': driver_bound: bound to device 'i8042'
[    2.595150] bus: 'platform': really_probe: bound device i8042 to driver i8042
[    2.604184] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0

edit:
I’ve opened a ticket here in case anyone is interested in following this problem: https://bugzilla.kernel.org/show_bug.cgi?id=196985

One Answer

I have a Lenovo Ideapad 320.

Problem: Elan Touchpad (and a cursor, of course) randomly freezes.  The system (Ubuntu 18.04) needs to be rebooted.

My workaround solution (with modprobe) is:

to make 2 scripts – I named them touchactive.sh and touchactive2.sh in /bin ( do it with sudo gedit...or something)

touchactive.sh:

#!/bin/bash
modprobe -r elan_i2c

touchactive2.sh:

#!/bin/bash
modprobe elan_i2c[/b]

then in terminal: sudo visudo

you add these lines:

vader ALL=(ALL) NOPASSWD: /bin/touchactive.sh
vader ALL=(ALL) NOPASSWD: /bin/touchactive2.sh

(vader is my user name, so you change it with yours...) ...and save it

open system settings -> keyboard -> "+" -> and create shortcuts with keybinding:

name "Touchpad Elan Restart" 1 with keys "super" + "z" command: sudo /bin/touchactive.sh and... "Touchpad Elan Restart 2" with keys "super" + "x" command: sudo /bin/touchactive2.sh

restart computer

(this is my example you can choose different option, keys and names)

So when all freezes, you can just use keys super z and super x then your touchpad / cursor restarts without rebooting the whole system.

This is my solution and some relief (not very elegant, though...) so I can work normaly until release of a next kernel (there is some hope...)

Answered by voyrev on October 31, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP