You are not logged in.

#1 2021-05-16 06:36:53

wwwael
Member
Registered: 2021-05-05
Posts: 21

elantech touchpad (elan_i2c) invalid report id data (2)

each time i touch the touchpad logs spits this out repeatedly

$ dmesg | grep -i elan
[    6.701981] elan_i2c: loading out-of-tree module taints kernel.
[    6.712845] elan_i2c: module verification failed: signature and/or required key missing - tainting kernel
[    6.746791] elan_i2c i2c-ELAN0000:00: supply vcc not found, using dummy regulator
[    6.863336] elan_i2c i2c-ELAN0000:00: unexpected iap version 0x01 (ic type: 0x11), firmware update will not work
[    6.864595] elan_i2c i2c-ELAN0000:00: Elan Touchpad: Module ID: 0x0007, Firmware: 0x0002, Sample: 0x0002, IAP: 0x0001
[    6.864747] input: Elan Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-14/i2c-ELAN0000:00/input/input14
---- (shortened)
[  138.245905] elan_i2c i2c-ELAN0000:00: invalid report id data (2)
[  138.252880] elan_i2c i2c-ELAN0000:00: invalid report id data (2)
[  138.259989] elan_i2c i2c-ELAN0000:00: invalid report id data (2)
[  138.266991] elan_i2c i2c-ELAN0000:00: invalid report id data (2)

blacklisting elan_i2c makes the touchpad work again, but i'm wondering if this is a kernel module issue; i get this issue on every live linux usb.
the touchpad isn't detected in lspci, neither in lsusb, only xinput list
lspci -

 
00:00.0 Host bridge: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers (rev 01)
00:02.0 VGA compatible controller: Intel Corporation Iris Xe Graphics (rev 01)
00:04.0 Signal processing controller: Intel Corporation Device 9a03 (rev 01)
00:06.0 PCI bridge: Intel Corporation 11th Gen Core Processor PCIe Controller (rev 01)
00:07.0 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #0 (rev 01)
00:07.1 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #1 (rev 01)
00:08.0 System peripheral: Intel Corporation Device 9a11 (rev 01)
00:0d.0 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller (rev 01)
00:0d.2 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #0 (rev 01)
00:12.0 Serial controller: Intel Corporation Tiger Lake-LP Integrated Sensor Hub (rev 20)
00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 20)
00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 20)
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)
00:15.0 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 (rev 20)
00:15.1 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #1 (rev 20)
00:16.0 Communication controller: Intel Corporation Tiger Lake-LP Management Engine Interface (rev 20)
00:1f.0 ISA bridge: Intel Corporation Tiger Lake-LP LPC Controller (rev 20)
00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
00:1f.4 SMBus: Intel Corporation Tiger Lake-LP SMBus Controller (rev 20)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP SPI Controller (rev 20)
01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a80a

lsusb -

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 04f2:b6cb Chicony Electronics Co., Ltd Integrated Camera
Bus 003 Device 005: ID 248a:8366 Maxxter Wireless Optical Mouse ACT-MUSW-002
Bus 003 Device 004: ID 8087:0026 Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

xinput list -

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ Telink Wireless Receiver Consumer Control	id=16	[slave  pointer  (2)]
⎜   ↳ Telink Wireless Receiver Mouse          	id=18	[slave  pointer  (2)]
⎜   ↳ Elan Touchpad                           	id=19	[slave  pointer  (2)]

laptop model:
Lenovo Yoga Slim 7 14ITL05

Last edited by wwwael (2021-05-16 06:37:54)

Offline

#2 2021-06-05 23:31:59

wwwael
Member
Registered: 2021-05-05
Posts: 21

Re: elantech touchpad (elan_i2c) invalid report id data (2)

i have figured out that this is all (probably) caused by elan-i2c-ids.h in the elan_i2c driver and my laptop's ELAN id is probably not in it, is there any way for me to get my id?

edit:
i found that with

# sudo acpidump | grep -C3 -i elan

my id is ELAN901C

Last edited by wwwael (2021-06-05 23:46:57)

Offline

#3 2021-06-06 00:03:20

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: elantech touchpad (elan_i2c) invalid report id data (2)

Have a look at https://bugzilla.kernel.org/show_bug.cgi?id=207759 which is marked fixed

Offline

#4 2021-06-06 06:29:12

wwwael
Member
Registered: 2021-05-05
Posts: 21

Re: elantech touchpad (elan_i2c) invalid report id data (2)

loqs wrote:

Have a look at https://bugzilla.kernel.org/show_bug.cgi?id=207759 which is marked fixed

i've seen that this issue is no where near mine, but it seems its merged into 5.13-rc1, which i was in rc4, and this issue still exists
adding my id (901C) really didnt fix anything, as i probably got the id the wrong way
using windows my id was 0000

Offline

#5 2021-06-06 19:15:38

loqs
Member
Registered: 2014-03-06
Posts: 17,327

Re: elantech touchpad (elan_i2c) invalid report id data (2)

Why do you think the device ID is not recognized?  If it was not recognized what is causing the elan_i2 module to be loaded?  What device did the elan_i2 module detect and is processing reports for?

Offline

#6 2021-06-06 22:27:51

wwwael
Member
Registered: 2021-05-05
Posts: 21

Re: elantech touchpad (elan_i2c) invalid report id data (2)

filename:       /lib/modules/5.13.0-rc4-1-mainline/kernel/drivers/input/mouse/elan_i2c.ko.xz
license:        GPL
description:    Elan I2C/SMBus Touchpad driver
author:         Duson Lin <dusonlin@emc.com.tw>
srcversion:     00C8548DFB61BB95C3589BD
alias:          i2c:elan_i2c
alias:          acpi*:ELAN1000:*
alias:          acpi*:ELAN0637:*
alias:          acpi*:ELAN0636:*
alias:          acpi*:ELAN0635:*
alias:          acpi*:ELAN0634:*
alias:          acpi*:ELAN0633:*
alias:          acpi*:ELAN0632:*
alias:          acpi*:ELAN0631:*
alias:          acpi*:ELAN062F:*
alias:          acpi*:ELAN062E:*
alias:          acpi*:ELAN062D:*
alias:          acpi*:ELAN062C:*
alias:          acpi*:ELAN062B:*
alias:          acpi*:ELAN062A:*
alias:          acpi*:ELAN0629:*
alias:          acpi*:ELAN0628:*
alias:          acpi*:ELAN0627:*
alias:          acpi*:ELAN0626:*
alias:          acpi*:ELAN0625:*
alias:          acpi*:ELAN0624:*
alias:          acpi*:ELAN0623:*
alias:          acpi*:ELAN0622:*
alias:          acpi*:ELAN0621:*
alias:          acpi*:ELAN0620:*
alias:          acpi*:ELAN061F:*
alias:          acpi*:ELAN061E:*
alias:          acpi*:ELAN061D:*
alias:          acpi*:ELAN061C:*
alias:          acpi*:ELAN061A:*
alias:          acpi*:ELAN0619:*
alias:          acpi*:ELAN0618:*
alias:          acpi*:ELAN0617:*
alias:          acpi*:ELAN0616:*
alias:          acpi*:ELAN0615:*
alias:          acpi*:ELAN0612:*
alias:          acpi*:ELAN0611:*
alias:          acpi*:ELAN0610:*
alias:          acpi*:ELAN060F:*
alias:          acpi*:ELAN060C:*
alias:          acpi*:ELAN060B:*
alias:          acpi*:ELAN0609:*
alias:          acpi*:ELAN0608:*
alias:          acpi*:ELAN0607:*
alias:          acpi*:ELAN0606:*
alias:          acpi*:ELAN0605:*
alias:          acpi*:ELAN0604:*
alias:          acpi*:ELAN0603:*
alias:          acpi*:ELAN0602:*
alias:          acpi*:ELAN0601:*
alias:          acpi*:ELAN0600:*
alias:          acpi*:ELAN0100:*
alias:          acpi*:ELAN0000:*
depends:        
retpoline:      Y
intree:         Y
name:           elan_i2c
vermagic:       5.13.0-rc4-1-mainline SMP preempt mod_unload 
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        40:FF:AA:C5:6A:48:5B:05:DF:4F:D1:71:56:E6:0B:11:92:68:FB:2C
sig_hashalgo:   sha512
signature:      4A:5C:6C:40:BD:AE:21:AB:75:46:F4:AB:04:3D:6F:7D:40:AC:ED:7D:
		55:18:23:91:03:D8:67:75:D9:CB:33:72:FB:7B:79:A3:73:38:17:F8:
		A8:1B:60:85:E2:5E:C9:58:75:A8:E9:11:F1:8A:D3:D6:CC:E7:D6:35:
		B6:D2:70:79:86:6A:68:9E:85:91:65:10:4A:55:F5:CE:8D:C7:D2:FF:
		D7:C0:A2:27:41:BD:19:D6:21:DC:7F:B5:9F:04:B0:49:9E:1E:FE:90:
		93:89:54:CE:B3:83:DC:2F:A3:02:87:5B:51:7A:5C:35:B7:59:FE:CB:
		E7:AD:8A:9E:D0:80:C8:B1:11:2F:89:FE:63:7A:4C:E2:E9:72:44:00:
		5E:15:C0:AC:42:88:44:25:9D:05:BD:36:A9:16:0A:23:72:4C:C2:7C:
		E6:12:F5:51:29:7D:7D:A1:B7:3B:51:C4:9F:CD:76:22:01:7D:F5:0A:
		0B:7C:B5:5D:A9:DC:69:FF:28:EE:9E:68:A9:61:C1:09:BB:E6:1B:2A:
		D7:A4:C2:B8:47:85:06:8E:FD:4B:F2:18:90:12:0F:16:F0:04:BA:69:
		6B:06:5B:4A:C2:28:2C:36:83:86:A1:41:2A:05:A8:8C:DE:8C:28:67:
		D1:A2:D2:39:6D:7D:71:14:73:B0:80:D9:0D:4F:73:C4:8E:F8:B1:68:
		57:66:9E:AD:32:83:C6:19:DA:4C:DD:46:F7:FF:AC:D4:A8:BC:98:5C:
		8E:12:7B:0F:56:87:E2:F9:88:5A:CD:BF:8E:ED:AA:33:68:6D:F2:E9:
		C6:EF:ED:87:56:51:3C:33:D3:61:5A:06:5F:A3:3B:F1:E2:26:FC:75:
		A5:70:E2:B6:F6:36:FF:0D:03:6E:B8:C4:58:A0:DA:42:BC:8D:D3:D2:
		7A:2C:52:DD:3D:51:64:9C:FD:D7:F7:8C:94:CE:F1:E4:B8:CA:15:5A:
		1E:85:C9:DB:C7:80:50:49:BC:75:1F:C9:53:F0:83:67:89:90:95:45:
		99:8F:6F:A6:F8:E6:04:9C:97:70:09:6C:AC:A4:EF:8D:EA:AC:BD:5B:
		2C:F1:2D:C7:A4:F0:86:90:17:AE:B1:CA:BE:41:A3:F1:96:4D:19:4B:
		82:07:70:FF:99:DE:3C:C3:F1:91:71:0A:72:2B:84:38:97:86:42:BF:
		D0:1E:18:9E:2C:84:1D:8C:DF:CE:04:D5:63:64:90:5A:A4:BB:3A:DA:
		A1:CB:41:0B:BA:5E:9B:3B:1B:CE:CF:1B:8C:74:47:EC:E3:42:AF:11:
		50:B9:22:11:A5:B5:BE:1E:2D:6A:FC:6E:6B:3E:AF:CA:CE:03:A6:3D:
		0D:9C:FD:4F:E5:72:84:CA:A8:F0:C2:5E

i already know my id is 0000, after realizing the name of the device (ELAN0000 which is above) but can't figure out the issue yet.

Offline

#7 2022-12-09 17:30:55

Yusefz1
Member
From: Scotland, UK
Registered: 2020-12-06
Posts: 33

Re: elantech touchpad (elan_i2c) invalid report id data (2)

This is a problem I had with my laptop that also has an ELAN touchpad, I fixed it by blacklisting the elan-i2c kernel module, I added the following to /etc/modprobe.d/blacklist.conf:

blacklist elan_i2c

Then, I rebooted and the touchpad worked.
I don't know why it happens in the first place though.

Last edited by Yusefz1 (2022-12-09 17:34:57)

Offline

Board footer

Powered by FluxBB