Comment 36 for bug 1490130

Revision history for this message
Wladimir Mutel (mwg) wrote : Re: Elantech touchpad stops working after suspend

some records from my dmesg :

model code and BIOS version :
DMI: ASUSTeK COMPUTER INC. X302LA/X302LA, BIOS X302LA.203 04/20/2015

i8042/serio/psmouse/elantech lines :
i8042: PNP: PS/2 Controller [PNP030b:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x381f00)
psmouse serio1: elantech: Synaptics capabilities query result 0x10, 0x14, 0x0e.
psmouse serio1: elantech: Elan sample query result 00, 23, 64
input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input5

after manual mod-reprobe without pm-suspend :
psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x381f00)
psmouse serio1: elantech: Synaptics capabilities query result 0x10, 0x14, 0x0e.
psmouse serio1: elantech: Elan sample query result 00, 23, 64
input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input292

(then touchpad dies off)

$ ls -l /etc/pm/sleep.d/05_elantech
-rwxr-xr-x 1 root root 128 лис 22 20:33 /etc/pm/sleep.d/05_elantech

$ cat /etc/pm/sleep.d/05_elantech
#!/bin/sh
case "$1" in
    suspend|hibernate)
         modprobe -r psmouse ;;
    resume|thaw)
        modprobe psmouse ;;
esac

after initial boot and pm-suspend : touchpad dies off, no records about its re-detection appear in dmesg

now preparing to try a patch posted to linux-input mail list referred to at #8