You are not logged in.

#1 2021-06-09 20:06:59

dariolol
Member
Registered: 2021-06-09
Posts: 5

Touchpad doesent work over i2c-hid

Hi, i own a Chuwi Lapbook Pro.
Everything works, except the touchpad.
The touchpad works randomly, sometimes it works everything and sometimes not.
When i start the PC and i notice that the touchpad doesent work, i remove i2c-hid module and add it again.
Once the touchpad started working, it work until i shutdown my pc.
Its a HTIX 5288 and on the official forum (https://forum.chuwi.com/t/fix-linux-tou … 5288/23365) someone posted a systemd service to check if the touchpad is dead and reload it, but its just a workaround. Any ideas?

Offline

#2 2021-06-09 20:12:39

icar
Member
From: Catalunya
Registered: 2020-07-31
Posts: 451

Re: Touchpad doesent work over i2c-hid

Offline

#3 2021-06-09 20:15:52

dariolol
Member
Registered: 2021-06-09
Posts: 5

Re: Touchpad doesent work over i2c-hid

Thanks, i will try right now. But my laptop isnt a Elantech

Offline

#4 2021-06-09 20:20:20

dariolol
Member
Registered: 2021-06-09
Posts: 5

Re: Touchpad doesent work over i2c-hid

Okay, it doesnt work. I rebooted two times

Offline

#5 2021-06-09 20:26:54

dariolol
Member
Registered: 2021-06-09
Posts: 5

Re: Touchpad doesent work over i2c-hid

[Wed Jun  9 22:18:32 2021] hid-generic 0018:0911:5288.0001: unknown main item tag 0x0
[Wed Jun  9 22:18:32 2021] hid-generic 0018:0911:5288.0001: unknown main item tag 0x0
[Wed Jun  9 22:18:32 2021] hid-generic 0018:0911:5288.0001: unknown main item tag 0x0
[Wed Jun  9 22:18:32 2021] hid-generic 0018:0911:5288.0001: collection stack underflow
[Wed Jun  9 22:18:32 2021] hid-generic 0018:0911:5288.0001: item 0 0 0 12 parsing failed
[Wed Jun  9 22:18:32 2021] hid-generic: probe of 0018:0911:5288.0001 failed with error -22
[Wed Jun  9 22:18:32 2021] urandom_read: 3 callbacks suppressed
[Wed Jun  9 22:18:32 2021] thermal thermal_zone4: failed to read out thermal zone (-61)
[Wed Jun  9 22:18:33 2021] hid-multitouch 0018:0911:5288.0001: unknown main item tag 0x0
[Wed Jun  9 22:18:33 2021] hid-multitouch 0018:0911:5288.0001: unknown main item tag 0x0
[Wed Jun  9 22:18:33 2021] hid-multitouch 0018:0911:5288.0001: unknown main item tag 0x0
[Wed Jun  9 22:18:33 2021] hid-multitouch 0018:0911:5288.0001: collection stack underflow
[Wed Jun  9 22:18:33 2021] hid-multitouch 0018:0911:5288.0001: item 0 0 0 12 parsing failed
[Wed Jun  9 22:18:33 2021] hid-multitouch: probe of 0018:0911:5288.0001 failed with error -22


here are the logs

Offline

#6 2021-06-09 20:35:49

icar
Member
From: Catalunya
Registered: 2020-07-31
Posts: 451

Re: Touchpad doesent work over i2c-hid

Do you have libinput and xf86-input-libinput (if you use XOrg) installed? And linux-firmware?

Offline

#7 2021-06-09 20:37:59

dariolol
Member
Registered: 2021-06-09
Posts: 5

Re: Touchpad doesent work over i2c-hid

yes, i have everything. Now i added kernel parameters specified in that page and i got this error after rebooting. This time touchpad still doesent work.
[Wed Jun  9 22:35:45 2021] i2c_hid_acpi i2c-HTIX5288:00: weird size of HID descriptor (5)
[Wed Jun  9 22:35:45 2021] i2c_hid_acpi i2c-HTIX5288:00: Failed to fetch the HID Descriptor

Offline

#8 2021-11-24 03:44:56

ladar=
Member
Registered: 2021-11-24
Posts: 2

Re: Touchpad doesent work over i2c-hid

I have the same problem on an Acer Spin 713 aka (CP713-2W). Removing the i2c_hid_acpi kernel module and reloading activates the touchscreen. But I still get errors in the kernel log. Here's the relevant output:

[    5.382757] i2c_hid_acpi i2c-ELAN9004:00: Fetching the HID descriptor
[    5.382762] i2c_hid_acpi i2c-ELAN9004:00: __i2c_hid_command: cmd=01 00
[    5.383803] i2c_hid_acpi i2c-ELAN9004:00: HID Descriptor: 1e 00 00 01 96 04 02 00 03 00 43 00 04 00 ff 00 05 00 06 00 f3 04 49 2a 83 61 00 00 00 00
[    5.384718] i2c_hid_acpi i2c-ELAN9004:00: entering i2c_hid_parse
[    5.384720] i2c_hid_acpi i2c-ELAN9004:00: i2c_hid_hwreset
[    5.384722] i2c_hid_acpi i2c-ELAN9004:00: i2c_hid_set_power
[    5.384723] i2c_hid_acpi i2c-ELAN9004:00: __i2c_hid_command: cmd=05 00 00 08
[    5.389457] elants_i2c i2c-ELAN0001:00: supply vcc33 not found, using dummy regulator
[    5.389569] elants_i2c i2c-ELAN0001:00: supply vccio not found, using dummy regulator
[    5.390306] elan_i2c i2c-ELAN0000:00: supply vcc not found, using dummy regulator
[    5.412351] elants_i2c i2c-ELAN0001:00: nothing at this address
[    5.446238] i2c_hid_acpi i2c-ELAN9004:00: resetting...
[    5.446242] i2c_hid_acpi i2c-ELAN9004:00: __i2c_hid_command: cmd=05 00 00 01
[    5.446407] i2c_hid_acpi i2c-ELAN9004:00: failed to reset device.
[    5.446411] i2c_hid_acpi i2c-ELAN9004:00: i2c_hid_set_power
[    5.446412] i2c_hid_acpi i2c-ELAN9004:00: __i2c_hid_command: cmd=05 00 01 08
[    5.446574] i2c_hid_acpi i2c-ELAN9004:00: failed to change power setting.
[    5.507018] elan_i2c i2c-ELAN0000:00: Elan Touchpad: Module ID: 0x00bf, Firmware: 0x0001, Sample: 0x0001, IAP: 0x0000
[    5.508873] input: Elan Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-0/i2c-ELAN0000:00/input/input7
[    6.489245] i2c_hid_acpi i2c-ELAN9004:00: i2c_hid_hwreset
[    6.489248] i2c_hid_acpi i2c-ELAN9004:00: i2c_hid_set_power
[    6.489250] i2c_hid_acpi i2c-ELAN9004:00: __i2c_hid_command: cmd=05 00 00 08
[    6.489417] i2c_hid_acpi i2c-ELAN9004:00: failed to change power setting.
[    7.513226] i2c_hid_acpi i2c-ELAN9004:00: i2c_hid_hwreset
[    7.513230] i2c_hid_acpi i2c-ELAN9004:00: i2c_hid_set_power
[    7.513231] i2c_hid_acpi i2c-ELAN9004:00: __i2c_hid_command: cmd=05 00 00 08
[    7.513372] i2c_hid_acpi i2c-ELAN9004:00: failed to change power setting.
[    8.537234] i2c_hid_acpi i2c-ELAN9004:00: i2c_hid_hwreset
[    8.537239] i2c_hid_acpi i2c-ELAN9004:00: i2c_hid_set_power
[    8.537242] i2c_hid_acpi i2c-ELAN9004:00: __i2c_hid_command: cmd=05 00 00 08
[    8.537564] i2c_hid_acpi i2c-ELAN9004:00: failed to change power setting.
[    9.561238] i2c_hid_acpi i2c-ELAN9004:00: can't add hid device: -121
[    9.565581] i2c_hid_acpi: probe of i2c-ELAN9004:00 failed with error -121

This is where I run "rmmod i2c_hid_acpi ; modprobe i2c_hid_acpi" and then get the following:

[   90.400000] i2c_hid_acpi i2c-ELAN9004:00: Fetching the HID descriptor
[   90.400008] i2c_hid_acpi i2c-ELAN9004:00: __i2c_hid_command: cmd=01 00
[   90.400991] i2c_hid_acpi i2c-ELAN9004:00: HID Descriptor: 1e 00 00 01 96 04 02 00 03 00 43 00 04 00 ff 00 05 00 06 00 f3 04 49 2a 83 61 00 00 00 00
[   90.401507] i2c_hid_acpi i2c-ELAN9004:00: entering i2c_hid_parse
[   90.401514] i2c_hid_acpi i2c-ELAN9004:00: i2c_hid_hwreset
[   90.401518] i2c_hid_acpi i2c-ELAN9004:00: i2c_hid_set_power
[   90.401522] i2c_hid_acpi i2c-ELAN9004:00: __i2c_hid_command: cmd=05 00 00 08
[   90.463893] i2c_hid_acpi i2c-ELAN9004:00: resetting...
[   90.463901] i2c_hid_acpi i2c-ELAN9004:00: __i2c_hid_command: cmd=05 00 00 01
[   90.464284] i2c_hid_acpi i2c-ELAN9004:00: __i2c_hid_command: waiting...
[   90.465953] i2c_hid_acpi i2c-ELAN9004:00: __i2c_hid_command: finished.
[   90.465964] i2c_hid_acpi i2c-ELAN9004:00: asking HID report descriptor
[   90.465968] i2c_hid_acpi i2c-ELAN9004:00: __i2c_hid_command: cmd=02 00
[   90.493946] i2c_hid_acpi i2c-ELAN9004:00: Report Descriptor: 05 0d 09 04 a1 01 85 01 09 22 a1 02 09 42 15 00 25 01 75 01 95 01 81 02 75 01 81 03 75 06 09 51 25 3f 81 02 26 ff 00 75 08 55 0f 65 11 35 00 45 ff 09 48 81 02 09 49 81 02 09 30 81 02 95 01 05
[   90.496447] input: ELAN9004:00 04F3:2A49 Touchscreen as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-ELAN9004:00/0018:04F3:2A49.0001/input/input14
[   90.497026] input: ELAN9004:00 04F3:2A49 as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-ELAN9004:00/0018:04F3:2A49.0001/input/input15
[   90.497163] input: ELAN9004:00 04F3:2A49 as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-ELAN9004:00/0018:04F3:2A49.0001/input/input16
[   90.497320] input: ELAN9004:00 04F3:2A49 as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-ELAN9004:00/0018:04F3:2A49.0001/input/input17
[   90.497588] hid-generic 0018:04F3:2A49.0001: input,hidraw0: I2C HID v1.00 Device [ELAN9004:00 04F3:2A49] on i2c-ELAN9004:00
[   90.547724] i2c_hid_acpi i2c-ELAN9004:00: i2c_hid_get_report
[   90.547731] i2c_hid_acpi i2c-ELAN9004:00: __i2c_hid_command: cmd=05 00 3a 02 06 00
[   90.548197] i2c_hid_acpi i2c-ELAN9004:00: i2c_hid_get_report
[   90.548203] i2c_hid_acpi i2c-ELAN9004:00: __i2c_hid_command: cmd=05 00 3f 02 44 06 00
[   90.555018] input: ELAN9004:00 04F3:2A49 as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-ELAN9004:00/0018:04F3:2A49.0001/input/input20
[   90.555256] input: ELAN9004:00 04F3:2A49 UNKNOWN as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-ELAN9004:00/0018:04F3:2A49.0001/input/input21
[   90.555389] input: ELAN9004:00 04F3:2A49 UNKNOWN as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-ELAN9004:00/0018:04F3:2A49.0001/input/input22
[   90.555530] input: ELAN9004:00 04F3:2A49 Stylus as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-ELAN9004:00/0018:04F3:2A49.0001/input/input23
[   90.555729] input: ELAN9004:00 04F3:2A49 Stylus as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-ELAN9004:00/0018:04F3:2A49.0001/input/input24
[   90.555922] hid-multitouch 0018:04F3:2A49.0001: input,hidraw0: I2C HID v1.00 Device [ELAN9004:00 04F3:2A49] on i2c-ELAN9004:00

Offline

#9 2021-11-24 08:08:36

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: Touchpad doesent work over i2c-hid

1. please use code tags, https://bbs.archlinux.org/help.php#bbcode
2. the OP does explicitly not use an elantech touchpad
3. did you see https://wiki.archlinux.org/title/Laptop#Elantech ?
4. there're no errors *after* relading the module and the ones before the module and the ones before explain the status quo.
5. https://bugzilla.kernel.org/show_bug.cgi?id=207759 - seems elants_i2c steals the device.

Offline

Board footer

Powered by FluxBB