test for script 2:
```
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 1 > value" and see if the following dmesg output will keeping
popping up 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 0 > value", now the dmesg output in step 3 should stop
popping up
f. Repeat step e-d for around 5 times
```
test env is :
the direction is default : in,
not changed
and then run the script.
windows 1:
```
[ra@localhost ~]$ su
Password:
[root@localhost ra]# cd /sys/class/gpio/gpio386
[root@localhost gpio386]# echo 1 > value
bash: echo: write error: Operation not permitted
[root@localhost gpio386]# echo 0 > value
bash: echo: write error: Operation not permitted
[root@localhost gpio386]# echo 1 > value
bash: echo: write error: Operation not permitted
[root@localhost gpio386]# echo 0 > value
bash: echo: write error: Operation not permitted
[root@localhost gpio386]# echo 1 > value
bash: echo: write error: Operation not permitted
[root@localhost gpio386]# echo 0 > value
bash: echo: write error: Operation not permitted
[root@localhost gpio386]# echo 1 > value
bash: echo: write error: Operation not permitted
[root@localhost gpio386]# echo 0 > value
bash: echo: write error: Operation not permitted
[root@localhost gpio386]# echo 1 > value
bash: echo: write error: Operation not permitted
[root@localhost gpio386]# echo 0 > value
bash: echo: write error: Operation not permitted
[root@localhost gpio386]#
```
windows 2:
```
[ra@localhost ~]$ sudo dmesg -W
[sudo] password for ra:
```
windows 2 has no output.
--
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