test the script:
```
a. Don't put your finger on the touchpad
b. Open a terminal window and run `sudo dmesg -W`
c. In another terminal, "cd /sys/class/gpio/gpio386"
e. "echo out > direction" and see if the following dmesg output will
keeping popping out in the previous terminal window
```
[ 138.233653] i2c_hid i2c-MSFT0001:00: i2c_hid_get_input: IRQ triggered
but there's no data
```
d. Then "echo in > direction", now the dmesg output in step 3 should stop
popping out.
f. Repeat step e-d for around 5 times
```
window 1:
```
[ra@localhost ~]$ su
Password:
[root@localhost ra]# cd /sys/class/gpio/
[root@localhost gpio]# echo 386 > export
[root@localhost gpio]# ls
export gpio386 gpiochip256 unexport
[root@localhost gpio]# cd /sys/class/gpio/gpio386
[root@localhost gpio386]# echo out > direction
[root@localhost gpio386]# echo in > direction
[root@localhost gpio386]# echo out > direction
[root@localhost gpio386]# echo in > direction
[root@localhost gpio386]# echo out > direction
[root@localhost gpio386]# echo in > direction
[root@localhost gpio386]# echo out > direction
[root@localhost gpio386]# echo in > direction
[root@localhost gpio386]# echo out > direction
[root@localhost gpio386]# echo in > direction
[root@localhost gpio386]#
```
window 2:
```
[ra@localhost ~]$ sudo dmesg -W
[ 191.989163] i2c_hid i2c-MSFT0001:00: i2c_hid_get_input: IRQ triggered but
there's no data
```
it's only out one line on first it run echo out > direction.
during test ,no figure touch the touchpad.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1887190
Title:
MSFT Touchpad not working on Lenovo Legion-5 15ARH05
To manage notifications about this bug go to:
https://bugs.launchpad.net/pop-os/+bug/1887190/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs