Bug 28568 - Touchpad of Lenovo IdeaPad Gaming 3-15ARH05 portable doesn't work
Summary: Touchpad of Lenovo IdeaPad Gaming 3-15ARH05 portable doesn't work
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-09 20:52 CET by Pe Alfa
Modified: 2021-06-26 00:38 CEST (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
/var/log/Xorg.0.log (46.88 KB, text/plain)
2021-03-10 00:36 CET, Pe Alfa
Details
dmesg_grep_i2c (4.23 KB, text/plain)
2021-03-10 00:43 CET, Pe Alfa
Details
dmesg full (93.36 KB, text/plain)
2021-03-10 12:40 CET, Pe Alfa
Details

Description Pe Alfa 2021-03-09 20:52:17 CET
Hi!

Touchpad Lenovo Ideapad Gaming 3 (15ARH05 Type 82EY) doesn't work at all:

I: Bus=0018 Vendor=04f3 Product=3140 Version=0100
N: Name="MSFT0001:00 04F3:3140 Mouse"
P: Phys=i2c-MSFT0001:00
S: Sysfs=/devices/platform/AMDI0010:03/i2c-0/i2c-MSFT0001:00/0018:04F3:3140.0001/input/input8
U: Uniq=
H: Handlers=mouse0 event6 
B: PROP=0
B: EV=17
B: KEY=30000 0 0 0 0
B: REL=1943
B: MSC=10

I: Bus=0018 Vendor=04f3 Product=3140 Version=0100
N: Name="MSFT0001:00 04F3:3140 Touchpad"
P: Phys=i2c-MSFT0001:00
S: Sysfs=/devices/platform/AMDI0010:03/i2c-0/i2c-MSFT0001:00/0018:04F3:3140.0001/input/input9
U: Uniq=
H: Handlers=mouse1 event7 
B: PROP=5
B: EV=1b
B: KEY=e520 10000 0 0 0 0
B: ABS=2e0800000000003
B: MSC=20 

I tried and tried many ideas and only this works.
That fixes the problem and I can use my touchpad:

1)I write this script:
cat /usr/local/bin/touchpadfix
#!/bin/bash
cd /sys/class/gpio/
echo 386 > export
cd gpio386
echo out > direction

and

chmod +x /usr/local/bin/touchpadfix

2)I made a new service:
/etc/systemd/system/touchpadfix.service 
[Unit]
Description=Fix touchpad issue by binding correct driver

[Service]
ExecStart=/usr/local/bin/touchpadfix
Type=oneshot
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

and

systemctl daemon-reload
systemctl enable --now touchpadfix.service

I hope this idea will be usefull

Thanks

Pepe Álvarez
Comment 1 Lewis Smith 2021-03-09 21:53:16 CET
Thank you for the report, and all your work to find a solution.
FWIW "Lenovo IdeaPad Gaming 3-15ARH05" is the model. An ideal user case for including in testing the pre-release ISOs...

Can you please attach the file /var/log/Xorg.0.log

Status: NEW => NEEDINFO
Summary: Touchpad Lenovo ideapad Gaming 3-15ARH05 doesn't work => Touchpad of Lenovo IdeaPad Gaming 3-15ARH05 portable doesn't work
CC: (none) => lewyssmith

Comment 2 Thomas Backlund 2021-03-09 22:07:54 CET
are you running the latest 5.10.20-2.mga8 kernel ?
Comment 3 Pe Alfa 2021-03-10 00:28:55 CET
(In reply to Thomas Backlund from comment #2)
> are you running the latest 5.10.20-2.mga8 kernel ?

$ uname -a
Linux lenovo.pealfa.duckdns.org 5.10.20-desktop-2.mga8 #1 SMP Fri Mar 5 18:23:13 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Comment 4 Pe Alfa 2021-03-10 00:36:01 CET
Created attachment 12439 [details]
/var/log/Xorg.0.log
Comment 5 Pe Alfa 2021-03-10 00:43:08 CET
Created attachment 12440 [details]
dmesg_grep_i2c
Comment 6 Thomas Backlund 2021-03-10 08:14:33 CET
(In reply to Pe Alfa from comment #5)
> Created attachment 12440 [details]
> dmesg_grep_i2c


please provide full dmesg or journal from boot, as grepping for stuff leaves out several important bits
Comment 7 Pe Alfa 2021-03-10 12:40:50 CET
Created attachment 12441 [details]
dmesg full
Comment 8 Lewis Smith 2021-03-10 21:31:42 CET
Assigning this to the kernel/drivers people; tmb already involved.

I wondered whether the Xorg log (just Mouse-Touchpad part) from the NON-working touchpad system would make a useful comparison. Leave to others to ask if necessary.

CC: lewyssmith => (none)
Severity: normal => major
Status: NEEDINFO => NEW
Assignee: bugsquad => kernel

Comment 9 Pe Alfa 2021-06-26 00:38:04 CEST
Hi!

Touchpad Lenovo Ideapad Gaming 3-15ARH05 works by kernel-5.12-xxx.

My script touchpadfix had problems from kernel-desktop-5.10.43-1.mga8-1-1.mga8.
So I used core-backports and did urpmi-auto-update.

Now:

# uname -a

Linux lenovo.pealfa.duckdns.org 5.12.12-desktop-2.mga8 #1 SMP Sat Jun 19 14:29:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

# dmesg | grep i2c
[    1.460667] input: MSFT0001:00 04F3:3140 Mouse as /devices/platform/AMDI0010:03/i2c-0/i2c-MSFT0001:00/0018:04F3:3140.0001/input/input3
[    1.460753] input: MSFT0001:00 04F3:3140 Touchpad as /devices/platform/AMDI0010:03/i2c-0/i2c-MSFT0001:00/0018:04F3:3140.0001/input/input4
[    1.460829] hid-generic 0018:04F3:3140.0001: input,hidraw0: I2C HID v1.00 Mouse [MSFT0001:00 04F3:3140] on i2c-MSFT0001:00
[    1.500107] input: MSFT0001:00 04F3:3140 Mouse as /devices/platform/AMDI0010:03/i2c-0/i2c-MSFT0001:00/0018:04F3:3140.0001/input/input5
[    1.500266] input: MSFT0001:00 04F3:3140 Touchpad as /devices/platform/AMDI0010:03/i2c-0/i2c-MSFT0001:00/0018:04F3:3140.0001/input/input6
[    1.500479] hid-multitouch 0018:04F3:3140.0001: input,hidraw0: I2C HID v1.00 Mouse [MSFT0001:00 04F3:3140] on i2c-MSFT0001:00



Thanks

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