Bug 202145

Summary: ELAN1200 touchpad not work in kernel 4.19 and newest
Product: Drivers Reporter: Andrey Ivanov (EthicalTerminal)
Component: I2CAssignee: Drivers/I2C virtual user (drivers-i2c)
Status: CLOSED INSUFFICIENT_DATA    
Severity: high CC: andy.shevchenko, EthicalTerminal
Priority: P1    
Hardware: Intel   
OS: Linux   
See Also: https://bugzilla.kernel.org/show_bug.cgi?id=200663
Kernel Version: 4.20.0 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: config
dmesg
dmesg
dmesg_gebug
grep_gebug
lsmod_debug

Description Andrey Ivanov 2019-01-04 19:23:41 UTC
ELAN1200 I2C touchpad listen, register device but not work in kabylake motherboard in ASUS GL703VD laptop.
EVBUG send reports ~ "error device /dev/input/events8" every 200ms.
SAME TOO in 4.19.
in 4.18.5 touchpad work, but if i touch for 5 fingers touchpad freeze and not work. help only reload modules i2c_hid and i2c_multitouch.

In 4.19, in 4.20 touchpad absolutely not work!!!!!
 
RED HAD TEAM say about patches, please see it also!
See messages in redhat bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1543769
Comment 1 Andrey Ivanov 2019-01-04 19:31:32 UTC
+ i test touchpad in ubuntu 18.10 live release, same too problem. touchpad work but if 5 fingers touch its make freeze touchpad. (not fresh kernel)
mainline kernel 4.18.5 and later contain this problem.
4.20.0 mainline (gentoo vanilla-sources ) not work with touchpad.

see also

https://bugzilla.kernel.org/attachment.cgi?id=280215
Comment 2 Andrey Ivanov 2019-01-04 19:31:54 UTC
Created attachment 280273 [details]
config
Comment 3 Andrey Ivanov 2019-01-04 19:32:31 UTC
Created attachment 280275 [details]
dmesg
Comment 4 Andrey Ivanov 2019-01-04 19:33:02 UTC
Created attachment 280277 [details]
dmesg
Comment 5 Andrey Ivanov 2019-01-04 19:36:09 UTC
New information.

[  140.495942] evbug: Event. Dev: input8, Type: 1, Code: 32, Value: 0
[  140.495944] evbug: Event. Dev: input8, Type: 0, Code: 0, Value: 0
[  140.895882] evbug: Event. Dev: input8, Type: 4, Code: 4, Value: 458768
[  140.895887] evbug: Event. Dev: input8, Type: 1, Code: 50, Value: 1
[  140.895890] evbug: Event. Dev: input8, Type: 0, Code: 0, Value: 0
[  140.987999] evbug: Event. Dev: input8, Type: 4, Code: 4, Value: 458768
[  140.988004] evbug: Event. Dev: input8, Type: 1, Code: 50, Value: 0
[  140.988007] evbug: Event. Dev: input8, Type: 0, Code: 0, Value: 0
[  141.175979] evbug: Event. Dev: input8, Type: 4, Code: 4, Value: 458760
[  141.175984] evbug: Event. Dev: input8, Type: 1, Code: 18, Value: 1
[  141.175986] evbug: Event. Dev: input8, Type: 0, Code: 0, Value: 0
[  141.276073] evbug: Event. Dev: input8, Type: 4, Code: 4, Value: 458760
[  141.276078] evbug: Event. Dev: input8, Type: 1, Code: 18, Value: 0
[  141.276081] evbug: Event. Dev: input8, Type: 0, Code: 0, Value: 0
[  141.399953] evbug: Event. Dev: input8, Type: 4, Code: 4, Value: 458774
[  141.399958] evbug: Event. Dev: input8, Type: 1, Code: 31, Value: 1
[  141.399960] evbug: Event. Dev: input8, Type: 0, Code: 0, Value: 0
[  141.475919] evbug: Event. Dev: input8, Type: 4, Code: 4, Value: 458774
[  141.475924] evbug: Event. Dev: input8, Type: 1, Code: 31, Value: 0
[  141.475927] evbug: Event. Dev: input8, Type: 0, Code: 0, Value: 0
[  141.864070] evbug: Event. Dev: input8, Type: 4, Code: 4, Value: 458762
[  141.864075] evbug: Event. Dev: input8, Type: 1, Code: 34, Value: 1
[  141.864078] evbug: Event. Dev: input8, Type: 0, Code: 0, Value: 0
[  141.943939] evbug: Event. Dev: input8, Type: 4, Code: 4, Value: 458762
[  141.943944] evbug: Event. Dev: input8, Type: 1, Code: 34, Value: 0
[  141.943947] evbug: Event. Dev: input8, Type: 0, Code: 0, Value: 0
[  142.295866] evbug: Event. Dev: input8, Type: 4, Code: 4, Value: 458792
[  142.295872] evbug: Event. Dev: input8, Type: 1, Code: 28, Value: 1
[  142.295874] evbug: Event. Dev: input8, Type: 0, Code: 0, Value: 0
Comment 6 Andrey Ivanov 2019-01-04 19:36:26 UTC
 xinput --list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ ITE Tech. Inc. ITE Device(8910) Consumer Control  id=13   [slave  pointer  (2)]
⎜   ↳ Logitech USB-PS/2 Optical Mouse           id=19   [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)]
    ↳ Video Bus                                 id=9    [slave  keyboard (3)]
    ↳ Power Button                              id=10   [slave  keyboard (3)]
    ↳ Sleep Button                              id=11   [slave  keyboard (3)]
    ↳ USB2.0 HD UVC WebCam: USB2.0 HD           id=12   [slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) System Control    id=14   [slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) Keyboard  id=15   [slave  keyboard (3)]
    ↳ Asus WMI hotkeys                          id=16   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=17   [slave  keyboard (3)]
    ↳ ITE Tech. Inc. ITE Device(8910) Consumer Control  id=18   [slave  keyboard (3)]
Comment 7 Andrey Ivanov 2019-01-04 19:36:45 UTC
new info
dmesg.


k
[    4.057776] usb 1-8: new full-speed USB device number 5 using xhci_hcd
[    4.069371] tulip: Linux Tulip driver version 1.1.15-NAPI (Feb 27, 2007)
[    4.081889] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 5.1.0-k
[    4.081890] ixgbe: Copyright (c) 1999-2016 Intel Corporation.
[    4.084583] ixgb: Intel(R) PRO/10GbE Network Driver - version 1.0.135-k2-NAPI
[    4.084584] ixgb: Copyright (c) 1999-2008 Intel Corporation.
[    4.203034] usb 1-8: New USB device found, idVendor=0b05, idProduct=1869, bcdDevice= 0.03
[    4.203038] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.203040] usb 1-8: Product: ITE Device(8910)
[    4.203041] usb 1-8: Manufacturer: ITE Tech. Inc.
[    4.207038] input: ITE Tech. Inc. ITE Device(8910) as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:0B05:1869.0002/input/input7
[    4.207195] input: ITE Tech. Inc. ITE Device(8910) Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:0B05:1869.0002/input/input8
[    4.261571] input: ITE Tech. Inc. ITE Device(8910) as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:0B05:1869.0002/input/input9
[    4.261780] input: ITE Tech. Inc. ITE Device(8910) as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:0B05:1869.0002/input/input10
[    4.262039] input: ITE Tech. Inc. ITE Device(8910) Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:0B05:1869.0002/input/input11
[    4.262243] input: ITE Tech. Inc. ITE Device(8910) System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:0B05:1869.0002/input/input12
[    4.262586] hid-generic 0003:0B05:1869.0002: input,hiddev0,hidraw1: USB HID v1.10 Keyboard [ITE Tech. Inc. ITE Device(8910)] on usb-0000:00:14.0-8/input0
[    4.306747] EXT2-fs (sda3): error: couldn't mount because of unsupported optional features (2c0)
[    4.311657] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[    6.097548] udevd[3463]: starting version 3.2.7
[    6.163908] udevd[3464]: starting eudev-3.2.7
[    6.299863] evbug: Connected device: input0 (Sleep Button at PNP0C0E/button/input0)
[    6.299865] evbug: Connected device: input1 (Power Button at PNP0C0C/button/input0)
[    6.301043] evbug: Connected device: input2 (Lid Switch at PNP0C0D/button/input0)
[    6.301046] evbug: Connected device: input3 (Power Button at LNXPWRBN/button/input0)
[    6.301047] evbug: Connected device: input4 (AT Translated Set 2 keyboard at isa0060/serio0/input0)
[    6.301347] input: Asus Wireless Radio Control as /devices/LNXSYSTM:00/LNXSYBUS:00/ATK4002:00/input/input13
[    6.316611] i2c-core: driver [i2c_hid] registered
[    6.320368] i801_smbus 0000:00:1f.4: SPD Write Disable is set
[    6.320404] i801_smbus 0000:00:1f.4: SMBus using PCI interrupt
[    6.320513] i2c-dev: adapter [SMBus I801 adapter at f040] registered as minor 0
[    6.320523] i2c i2c-0: adapter [SMBus I801 adapter at f040] registered
[    6.321443] input: PC Speaker as /devices/platform/pcspkr/input/input14
[    6.321726] r8169 0000:02:00.0 enp2s0: renamed from eth0
[    6.324457] intel-lpss 0000:00:15.0: enabling device (0000 -> 0002)
[    6.326409] cryptd: max_cpu_qlen set to 1000
[    6.326843] mei_me 0000:00:16.0: enabling device (0000 -> 0002)
[    6.340969] idma64 idma64.0: Found Intel integrated DMA 64-bit
[    6.354454] evbug: Connected device: input6 (Logitech USB-PS/2 Optical Mouse at usb-0000:00:14.0-2/input0)
[    6.354457] evbug: Connected device: input7 (ITE Tech. Inc. ITE Device(8910) at usb-0000:00:14.0-8/input0)
[    6.354458] evbug: Connected device: input8 (ITE Tech. Inc. ITE Device(8910) Keyboard at usb-0000:00:14.0-8/input0)
[    6.354460] evbug: Connected device: input9 (ITE Tech. Inc. ITE Device(8910) at usb-0000:00:14.0-8/input0)
[    6.354461] evbug: Connected device: input10 (ITE Tech. Inc. ITE Device(8910) at usb-0000:00:14.0-8/input0)
[    6.354463] evbug: Connected device: input11 (ITE Tech. Inc. ITE Device(8910) Consumer Control at usb-0000:00:14.0-8/input0)
[    6.354464] evbug: Connected device: input12 (ITE Tech. Inc. ITE Device(8910) System Control at usb-0000:00:14.0-8/input0)
[    6.354624] evbug: Connected device: input13 (Asus Wireless Radio Control at asus-wireless/input0)
[    6.354670] evbug: Connected device: input14 (PC Speaker at isa0061/input0)
[    6.361906] i2c_designware i2c_designware.0: ACPI slave is not supported yet
[    6.361920] i2c_designware i2c_designware.0: Standard Mode HCNT:LCNT = 513:599
[    6.361922] i2c_designware i2c_designware.0: Fast Mode HCNT:LCNT = 105:191
[    6.361925] i2c_designware i2c_designware.0: SDA Hold Time TX:RX = 28:1
[    6.361926] i2c_designware i2c_designware.0: Bus speed: Fast Mode
[    6.361937] i2c_designware i2c_designware.0: GPIO lookup for consumer scl
[    6.361938] i2c_designware i2c_designware.0: using ACPI for GPIO lookup
[    6.361941] acpi device:78: GPIO: looking up scl-gpios
[    6.361943] acpi device:78: GPIO: looking up scl-gpio
[    6.361945] i2c_designware i2c_designware.0: using lookup tables for GPIO lookup
[    6.361946] i2c_designware i2c_designware.0: No GPIO consumer scl found
[    6.362742] i2c-dev: adapter [Synopsys DesignWare I2C adapter] registered as minor 1
[    6.362756] i2c i2c-1: adapter [Synopsys DesignWare I2C adapter] registered
[    6.363500] acpi ELAN1200:00: GPIO: looking up 0 in _CRS
[    6.363545] i2c i2c-1: client [ELAN1200:00] registered with bus id i2c-ELAN1200:00
[    6.365131] acpi ELAN1200:00: GPIO: looking up 0 in _CRS
[    6.387985] Error: Driver 'pcspkr' is already registered, aborting...
[    6.387986] media: Linux media interface: v0.10
[    6.388125] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.398488] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.405850] videodev: Linux video capture interface: v2.00
[    6.407975] Bluetooth: Core ver 2.22
[    6.407992] NET: Registered protocol family 31
[    6.407993] Bluetooth: HCI device and connection manager initialized
Comment 8 Andrey Ivanov 2019-01-04 19:37:50 UTC
Marc Landolt 2019-01-01 17:40:13 UTC

"This is what helps on 

GL703GE and GL503GE:

https://www.youtube.com/watch?v=FVTvc6mxUqc&t=1s

kernel 4.20 not yet tested..."
Comment 10 Andrey Ivanov 2019-01-04 19:39:24 UTC
PLEASE TRY TO ANALUZE THIS SITUATION AND TRY TO FIX IT. I CAN HELP because i HAVE HARDWARE
Comment 11 Andrey Ivanov 2019-01-04 19:40:13 UTC
THIS BUG VERY LONG HAVE LIFE. MAYBE 2-3 years.
Comment 12 Andrey Ivanov 2019-01-04 19:42:15 UTC
MARK LANDOLT and ANDY SHEVCHENKO think problem in pinctrl. 
ANDY create work patch for Cannonlake but my laptop is CABYLAKE.
Comment 13 Andy Shevchenko 2019-01-05 14:10:43 UTC
Would you be able to bisect(In reply to Andrey Ivanov from comment #0)
> ELAN1200 I2C touchpad listen, register device but not work in kabylake
> motherboard in ASUS GL703VD laptop.
> EVBUG send reports ~ "error device /dev/input/events8" every 200ms.
> SAME TOO in 4.19.

> in 4.18.5 touchpad work, but if i touch for 5 fingers touchpad freeze and
> not work. help only reload modules i2c_hid and i2c_multitouch.
> 
> In 4.19, in 4.20 touchpad absolutely not work!!!!!

Would you be able to bisect?

> RED HAD TEAM say about patches, please see it also!
> See messages in redhat bugzilla
> https://bugzilla.redhat.com/show_bug.cgi?id=1543769

Meanwhile it would be nice if you attach for working and non-working cases the following (assume you added to kernel command line "ignore_loglevel initcall_debug i2c_hid.debug=1"):
- dmesg
- grep -H 15 /sys/bus/acpi/devices/*/status
- lsmod
Comment 14 Andrey Ivanov 2019-01-15 18:24:35 UTC
Created attachment 280509 [details]
dmesg_gebug
Comment 15 Andrey Ivanov 2019-01-15 18:24:56 UTC
Created attachment 280511 [details]
grep_gebug
Comment 16 Andrey Ivanov 2019-01-15 18:25:16 UTC
Created attachment 280513 [details]
lsmod_debug
Comment 17 Andrey Ivanov 2019-01-15 18:27:02 UTC
(In reply to Andy Shevchenko from comment #13)
> Would you be able to bisect(In reply to Andrey Ivanov from comment #0)
> > ELAN1200 I2C touchpad listen, register device but not work in kabylake
> > motherboard in ASUS GL703VD laptop.
> > EVBUG send reports ~ "error device /dev/input/events8" every 200ms.
> > SAME TOO in 4.19.
> 
> > in 4.18.5 touchpad work, but if i touch for 5 fingers touchpad freeze and
> > not work. help only reload modules i2c_hid and i2c_multitouch.
> > 
> > In 4.19, in 4.20 touchpad absolutely not work!!!!!
> 
> Would you be able to bisect?
> 
> > RED HAD TEAM say about patches, please see it also!
> > See messages in redhat bugzilla
> > https://bugzilla.redhat.com/show_bug.cgi?id=1543769
> 
> Meanwhile it would be nice if you attach for working and non-working cases
> the following (assume you added to kernel command line "ignore_loglevel
> initcall_debug i2c_hid.debug=1"):
> - dmesg
> - grep -H 15 /sys/bus/acpi/devices/*/status
> - lsmod

I am done.
https://bugzilla.kernel.org/attachment.cgi?id=280509
https://bugzilla.kernel.org/attachment.cgi?id=280513
https://bugzilla.kernel.org/attachment.cgi?id=280511
Check it, please.
Comment 18 Andy Shevchenko 2020-05-06 11:49:11 UTC
Sorry to became late here, can you test v5.7-rc4 on your hardware?
Comment 19 Andy Shevchenko 2020-10-12 14:58:42 UTC
I'm about to close this bug since nobody appear to test and confirm the state.
So I leave it in need info state for a while (day or two) and then close.

P.S. Now is v5.9.