ELAN touchpad completely dead - possibly caused by Nvidia driver?

[i]*
Non-Optimus laptop ASUS G752VS-GC063D-CST256: 17.3" FHD LED 1920x1080, Intel Core i7-6700HQ (3.50Ghz), 16GB DDR4, 256GB M.2 NVMe SSD + 1TB HDD 7200rpm, DVDRW-DL, Nvidia GTX1070 8GB GDDR5, Wifi 802.11ac+Bluetooth 4.1 (Dual band) 2*2, Gb LAN, HDMI, mDP, Intel WiDi, USB3.0 x4, USB3.1-Type C(Gen2) with Thunderbolt, HD webcam, Illuminated KB;

*
Operating system: Ubuntu 17.04 (kernel 4.11.8 and 4.12)

*
Nvidia driver: 381.22[/i]

==========

Hello all,
I have the following annoying problem: My ELAN touchpad is completely dead.
7 months ago I reported my problem here
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1653456
and after that the problem solving discussion has been moved here
https://www.spinics.net/lists/linux-input/msg51188.html

Here’s the latest developers opinion:

https://www.spinics.net/lists/linux-input/msg51980.html
Hi, from the 10_cat_sys_kernel_debug_hid_0018_04F3_3043_0007_events, your touchpad seems to work fine. You can verify with the “evtest” or “xev” to see if the events printed based on your touchpad move. So I think it could be the display driver issue. Please give me the information of the NVIDIA display in you G752VSK.

https://www.spinics.net/lists/linux-input/msg52159.html
Cxxxx thinks touchpad works fine but display card issue in previous mail. Could anyone help to check it?
nvidia-bug-report.log.gz (126 KB)

Is the issue occur with nouveau driver - I mean on newly installed fresh OS without nvidia driver? Please run and attach nvidia bug report to your existing post as soon as bug hit.

https://devtalk.nvidia.com/default/topic/522835/linux/if-you-have-a-problem-please-read-this-first/

Hi sandipt, thank you very much for your reply.
I installed Ubuntu 17.04 while it was still in development. The initial situation was that both touchpad and USB mouse didn’t work at all: “It is very hard even to try Ubuntu 16.10 and 17.04 because of the missing mouse pointer. This problem must be related to a video driver because if after installing the Operating System one is capable to install Nvidia drivers - mouse problem is solved (touchpad remains completely dead). The missing USB mouse pointer problem doesn’t exist both while trying and installing Ubuntu 16.04.1!”

Currently everything is ok with the mouse pointer, both with and without Nvidia driver. My ELAN touchpad is completely dead both with and without Nvidia driver (laptop touchpad cursor doesn’t move at all, and both touchpad buttons doesn’t work too).

I tried out Fedora 26 and Fedora 25 i[/i] that use Wayland by default, Solus, Linux Mint, Manjaro… but ELAN touchpad remains completely dead (with Windows 10 touchpad works ok).

Please find the ‘nvidia-bug-report.log.gz’ log file attached:

~$ startx – -logverbose 6
/usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server

~$ nvidia-bug-report.sh
ERROR: Please run nvidia-bug-report.sh as root.

~$ sudo nvidia-bug-report.sh
[sudo] password:

nvidia-bug-report.sh will now collect information about your
system and create the file ‘nvidia-bug-report.log.gz’ in the current
directory. It may take several seconds to run. In some
cases, it may hang trying to capture data generated dynamically
by the Linux kernel and/or the NVIDIA kernel module. While
the bug report log file will be incomplete if this happens, it
may still contain enough data to diagnose your problem.

Please include the ‘nvidia-bug-report.log.gz’ log file when reporting
your bug via the NVIDIA Linux forum (see devtalk.nvidia.com)
or by sending email to ‘linux-bugs@nvidia.com’.

Running nvidia-bug-report.sh…

If the bug report script hangs after this point consider running with
–safe-mode command line argument.

complete.

[i]06 July 2017,
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1653456
comment #76 by FZ (sirfz):

I installed Ubuntu 17.04 on mu new G752VS yesterday and the ELAN Touchpad was completely non-functional. Today, out of no where and without any reasonable explanation, it started working after a resume from sleep (opened lid). Right now it’s fully functional, both buttons are working as well as tracking and multi-touch gestures (e.g. double-finger scrolling). All I did was install a few updates using the Software Updater today.

$ uname -a
Linux fzrog 4.10.0-26-generic #30-Ubuntu SMP Tue Jun 27 09:30:12 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech MX Master id=10 [slave pointer (2)]
⎜ ↳ ASASTeK COMPUTER INC. ROG MacroKey id=16 [slave pointer (2)]
⎜ ↳ ELAN1203:00 04F3:301E Touchpad id=17 [slave pointer (2)]
⎜ ↳ Logitech M510 id=21 [slave pointer (2)]
⎜ ↳ Logitech K350 id=12 [slave pointer (2)]
⎜ ↳ ASASTeK COMPUTER INC. ROG MacroKey id=15 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ ASASTeK COMPUTER INC. ROG MacroKey id=14 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ Logitech MX Master id=11 [slave keyboard (3)]
↳ USB2.0 HD UVC WebCam id=13 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=19 [slave keyboard (3)]
↳ Asus WMI hotkeys id=18 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Asus Wireless Radio Control id=7 [slave keyboard (3)]
↳ Logitech K350 id=20 [slave keyboard (3)]
↳ ASASTeK COMPUTER INC. ROG MacroKey id=22 [slave keyboard (3)][/i]

I installed Ubuntu 17.04 while it was still in development, here is my xinput list (Kernel 4.11.8; Nvidia 381.22)

$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ G-SPY USB Gaming Mouse id=12 [slave pointer (2)]
⎜ ↳ ASASTeK COMPUTER INC. ROG MacroKey id=14 [slave pointer (2)]
⎜ ↳ ASASTeK COMPUTER INC. ROG MacroKey id=15 [slave pointer (2)]
⎜ ↳ ELAN1203:00 04F3:3043 Touchpad id=16 [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)]
↳ Asus Wireless Radio Control id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ USB2.0 HD UVC WebCam id=10 [slave keyboard (3)]
↳ G-SPY USB Gaming Mouse id=11 [slave keyboard (3)]
↳ ASASTeK COMPUTER INC. ROG MacroKey id=13 [slave keyboard (3)]
↳ Asus WMI hotkeys id=17 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=18 [slave keyboard (3)]
↳ G-SPY USB Gaming Mouse id=19 [slave keyboard (3)]
↳ ASASTeK COMPUTER INC. ROG MacroKey id=20 [slave keyboard (3)]

>>My ELAN touchpad is completely dead both with and without Nvidia driver
So this can be ELAN touchpad driver, kernel or bios issue.

Ubuntu 17.10 daily build (2017-07-10), kernel 4.10.0-19
Booted from Live USB, without USB mouse connected: ELAN touhpad doesn’t work at all, but al least touchpad cursor is visible all the time. I’ve tried to disable/enable the touchpad via system settings, but nothing changes.
After that, I suspended my Asus G752VS laptop via shutdown/suspend menu and then I disconnected the USB mouse. After waking up from suspend, my ELAN touhpad magically became fully functional - everything works fabulously.

Fedora Workstation 26, kernel 4.11.8
Booted from Live USB, without USB mouse connected: ELAN touhpad doesn’t work at all, but al least touchpad cursor is visible all the time. With the USB mouse connected, I’ve tried to disable/enable the touchpad via system settings, but nothing changes.
After that, I pressed the power button to suspend my Asus G752VS laptop and then I disconnected the USB mouse. After pressing once again the power button to wake up from suspend, my ELAN touhpad magically became fully functional - everything works fabulously.

As reported here
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1653456/comments/76
the trick should work also with Ubuntu 17.04 but that’s not my case. My current Ubuntu 17.04 was installed while it was still in development - so I will perform a new clean installation (without Windows) in the next few days.