geekworm-com / x728

setup scripts for x728
MIT License
18 stars 20 forks source link

x728off command not working. #12

Open RoodyPooCandyButt opened 5 months ago

RoodyPooCandyButt commented 5 months ago

After upgrading to the latest version of bookworm, I am unable to get the shutdown command to work. I get the following errors:

~ $ x728off
/usr/local/bin/x728softsd.sh: line 5: echo: write error: Invalid argument
/usr/local/bin/x728softsd.sh: line 6: /sys/class/gpio/gpio26/direction: No such file or directory
/usr/local/bin/x728softsd.sh: line 7: /sys/class/gpio/gpio26/value: No such file or directory
X728 Shutting down...
/usr/local/bin/x728softsd.sh: line 20: /sys/class/gpio/gpio26/value: No such file or directory

Any idea on how to fix it? Seems like a problem with gpio read write permissions.

geekworm-com commented 5 months ago

Hello, refer to https://wiki.geekworm.com/X728-script