Advertisement
Guest User

Untitled

a guest
Jan 5th, 2025
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. /home/user # ls -la /sys/class/gpio/
  2. total 0
  3. drwxr-xr-x 2 root root 0 Jan 1 01:00 .
  4. drwxr-xr-x 64 root root 0 Jan 1 01:00 ..
  5. --w------- 1 root root 4096 Jan 1 01:01 export
  6. lrwxrwxrwx 1 root root 0 Jan 1 01:01 gpio623 -> ../../devices/platform/soc@0/500000.pinctrl/gpiochip0/gpio/gpio623
  7. lrwxrwxrwx 1 root root 0 Jan 1 01:00 gpiochip512 -> ../../devices/platform/soc@0/500000.pinctrl/gpio/gpiochip512
  8. lrwxrwxrwx 1 root root 0 Jan 1 01:00 gpiochip626 -> ../../devices/platform/i2c1/i2c-0/0-0021/gpio/gpiochip626
  9. lrwxrwxrwx 1 root root 0 Jan 1 01:00 gpiochip634 -> ../../devices/platform/soc@0/1c40000.spmi/spmi-0/0-00/1c40000.spmi:pmic@0:gpio@c000/gpio/gpiochip634
  10. lrwxrwxrwx 1 root root 0 Jan 1 01:00 gpiochip643 -> ../../devices/platform/soc@0/1c40000.spmi/spmi-0/0-02/1c40000.spmi:pmic@2:gpio@c000/gpio/gpiochip643
  11. --w------- 1 root root 4096 Jan 1 01:00 unexport
  12. /home/user # cat /sys/class/gpio/gpio623/value
  13. 0
  14. /home/user # echo 1 > /sys/class/gpio/gpio623/value
  15. /home/user # cat /sys/class/gpio/gpio623/value
  16. 0
  17. /home/user # dmesg
  18. ...
  19. [ 79.856769] sm6115-tlmm 500000.pinctrl: request pin 111 (GPIO_111) for 500000.pinctrl:623
  20. [ 79.856803] gpio gpiochip0: Persistence not supported for GPIO 111
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement