Bug 190301 - Synaptics touchpad not recognized on Clevo P650RS
Summary: Synaptics touchpad not recognized on Clevo P650RS
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Dmitry Torokhov
Depends on:
Reported: 2016-12-13 20:26 UTC by Paweł Bylica
Modified: 2017-04-24 03:14 UTC (History)
5 users (show)

See Also:
Kernel Version: 4.9
Tree: Mainline
Regression: No

output from running dmidecode (22.16 KB, text/plain)
2017-04-13 00:25 UTC, Edward Bordin
Add Clevo P650RS to the i8042 reset list (1.00 KB, patch)
2017-04-18 18:34 UTC, Dmitry Torokhov
Details | Diff

Description Paweł Bylica 2016-12-13 20:26:54 UTC
When booting normally kernels from 4.8 to 4.9 the touchpad is not recognized and not visible in /proc/bus/input/devices.

I managed to fix it by adding i8042.reset boot option.

I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio2/input0
S: Sysfs=/devices/platform/i8042/serio2/input/input14
U: Uniq=
H: Handlers=mouse1 event7 
B: EV=b
B: KEY=e520 30000 0 0 0 0
B: ABS=660800011000003

[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.8.0-30-generic.efi.signed root=UUID=a596a1fd-2912-4a20-a48c-6b8a32078b5c ro quiet splash i8042.reset vt.handoff=7
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.8.0-30-generic.efi.signed root=UUID=a596a1fd-2912-4a20-a48c-6b8a32078b5c ro quiet splash i8042.reset vt.handoff=7
[    1.374510] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[    1.378430] i8042: Detected active multiplexing controller, rev 1.1
[    1.381586] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.381588] serio: i8042 AUX0 port at 0x60,0x64 irq 12
[    1.381604] serio: i8042 AUX1 port at 0x60,0x64 irq 12
[    1.381617] serio: i8042 AUX2 port at 0x60,0x64 irq 12
[    1.381629] serio: i8042 AUX3 port at 0x60,0x64 irq 12
[    1.386233] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
[    4.040631] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio2/input/input14
Comment 1 mirh 2016-12-17 20:24:44 UTC
Try to see if i8042.nomux, i8042.nopnp, i8042.reset or i8042.kbdreset boot parameters changes anything.
Comment 2 Paweł Bylica 2016-12-17 20:34:19 UTC
I'm really sorry, I already did that, but forgot to post the results here.

The only needed option to fix the issue is i8042.reset.

I can try to fix this in the code if you can tell me where to start.
Comment 3 mirh 2016-12-17 21:00:08 UTC
Oh, cool. 
Does this happen only sporadically or is it a constant?

In the former case I guess this would be a duplicate of bug 100551
Comment 4 Paweł Bylica 2016-12-17 21:10:41 UTC
My issue is constant, I never got the touchpad working without i8042.reset option, also never had issues with the keyboard when the touchpad was working. Also no issues on Windows. However, I always boot using EFI, never tried legacy BIOS.
Comment 5 Santi Villalba 2016-12-21 11:33:00 UTC
This happens in other clevos of the same family, like the P650RP6/P651RP6. See https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1651005
Comment 6 openoliv 2017-01-16 20:37:26 UTC
I've got the same issue on a P650RP, on Arch :

Kernel 4.8.13-1
Kernel option : i8042.reset

linux-firmware 20161222.4b9559f-2
xorg-server 1.19.1-1

Downgrading to libinput 1.5.3-1 fixed (for now) the issue.
Comment 7 Paweł Bylica 2017-03-23 09:49:35 UTC
Ok, so this might be libinput issue? I don't understand how libinput is related to the kernel, but should that be reported somewhere else?

I also noticed that with i8042.reset option is sometime happens that keyboard is not working after restart. Usually it requires 1 or 2 more restarts to make it work again.

Anything more I can do to help fixing this?
Comment 8 Edward Bordin 2017-04-12 05:07:47 UTC
Problem persists in kernel 4.10 on a Clevo P650RP but the i8042.reset workaround still seems to fix it. I'm also happy to collect info to help fix this.
Comment 9 Dmitry Torokhov 2017-04-12 15:54:59 UTC
Could you attach dmidecode output from your box (sanitize UUID/Serial number if you wish).
Comment 10 Edward Bordin 2017-04-13 00:25:35 UTC
Created attachment 255877 [details]
output from running dmidecode

As requested
Comment 11 Dmitry Torokhov 2017-04-18 18:34:16 UTC
Created attachment 255919 [details]
Add Clevo P650RS to the i8042 reset list

Please try this patch and let me know if it works for you.
Comment 12 Edward Bordin 2017-04-20 01:17:49 UTC
Apologies for the delay, this is my first time testing a patch so it's taking me a while to work through it. I had hoped I could just rebuild the i8042 module, but have now realised it's compiled into my kernel.

I'll have to put aside some time to learn how to do a full kernel rebuild. I'm on Ubuntu so it looks most of the work is already done for me. Unless there's a way I can override the builtin i8042 with a module?
Comment 13 Edward Bordin 2017-04-24 03:14:26 UTC
OK, patch works for me.

Note You need to log in before you can comment on or make changes to this bug.