Today I find something interesting about the GPIO controller. I wonder
if the same thing would happen to the ELAN touchpads.

For those who have the ELAN touchpad, could you show me the result of
the following experiment with a kernel not having the
polling_pin_state_touchpad.patch?

```bash
# install hid-tools
# If it's not provided by your distribution's package manager, you can install 
it by pip
# sudo pip install hid-tools

# run hid-recorder and choose the device having name "MSFT*"
$ sudo hid-recorder
Available devices:
/dev/hidraw0:   MSFT0001:00 06CB:7F28

# now open another terminal window
# switch to root user
sudo su
# go to gpio's sysfs
cd /sys/class/gpio/
# export the pin used by the touchpad
echo 386 > export
# now you will see a folder named gpio396 created
# change the pin as an output
echo out > gpio396/direction
# write 1 to the pin
echo 1 > gpio386/value

```


Now move your finger on the touchpad. See if your cursor moves now and if there 
is any output from hid-recorder.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to