sorry for #159, the first c program ,i missed the parameter when i run it.
now test it again. reboot then ``` [ra@localhost ~]$ su Password: [root@localhost ra]# cd /sys/class/gpio [root@localhost gpio]# ls export gpiochip256 unexport [root@localhost gpio]# echo 386 > export [root@localhost gpio]# ls export gpio386 gpiochip256 unexport [root@localhost gpio]# cd gpio386/ [root@localhost gpio386]# ls active_low device direction edge power subsystem uevent value [root@localhost gpio386]# ``` the window 1: ``` [root@localhost gpio386]# cd /src [root@localhost src]# cd 1 [root@localhost 1]# ls main.c test [root@localhost 1]# ./test 100 Status:: Success Status:: Success Interval: 100507.7 (real), 100 (set) [root@localhost 1]# ./test 200 Status:: Success Status:: Success Interval: -798786.2 (real), 200 (set) [root@localhost 1]# ./test 300 Status:: Success Status:: Success Interval: -698798.6 (real), 300 (set) [root@localhost 1]# ./test 400 Status:: Success Status:: Success Interval: -598783.9 (real), 400 (set) [root@localhost 1]# ./test 500 Status:: Success Status:: Success Interval: -498759.5 (real), 500 (set) [root@localhost 1]# ./test 600 Status:: Success Status:: Success Interval: 600225.3 (real), 600 (set) [root@localhost 1]# ./test 700 Status:: Success Status:: Success Interval: 700192.4 (real), 700 (set) [root@localhost 1]# ./test 800 Status:: Success Status:: Success Interval: -198836.5 (real), 800 (set) [root@localhost 1]# ./test 900 Status:: Success Status:: Success Interval: -98799.5 (real), 900 (set) [root@localhost 1]# ./test 1000 Status:: Success Status:: Success Interval: 1167.8 (real), 1000 (set) [root@localhost 1]# ./test 1100 Status:: Success Status:: Success Interval: 101167.2 (real), 1100 (set) [root@localhost 1]# ./test 1200 Status:: Success Status:: Success Interval: -797821.1 (real), 1200 (set) [root@localhost 1]# ./test 1300 Status:: Success Status:: Success Interval: 301202.4 (real), 1300 (set) [root@localhost 1]# ./test 1400 Status:: Success Status:: Success Interval: 401208.4 (real), 1400 (set) [root@localhost 1]# ./test 1500 Status:: Success Status:: Success Interval: -497844.3 (real), 1500 (set) [root@localhost 1]# ./test 1600 Status:: Success Status:: Success Interval: -397751.6 (real), 1600 (set) [root@localhost 1]# ./test 1700 Status:: Success Status:: Success Interval: 701201.9 (real), 1700 (set) [root@localhost 1]# ./test 1800 Status:: Success Status:: Success Interval: -197768.8 (real), 1800 (set) [root@localhost 1]# ./test 1900 Status:: Success Status:: Success Interval: -97834.9 (real), 1900 (set) [root@localhost 1]# ``` window 2: ``` [ra@localhost ~]$ sudo dmesg -W [sudo] password for ra: [ 416.150765] i2c_hid i2c-MSFT0001:00: i2c_hid_get_input: IRQ triggered but there's no data ``` the output only once. that 's all. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xserver-xorg-input-libinput in 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 _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp