Changes

Jump to navigation Jump to search

X735-script

1,278 bytes removed, 23 March
no edit summary
'''[NOTEupdate]'''
If you are using an '''ubuntu''' systemUse gpiod instead of obsolete interface, '''DO NOT''' use version '''and suuports ubuntu 23.04''', otherwise you will get an error similar to the following when you run '''x735off''':<pre>/usr/local/bin/x735-softsd.sh: line 5: /sys/class/gpio/export: No such file or directory/usr/local/bin/x735-softsd.sh: line 6: /sys/class/gpio/gpio20/direction: No such file or directory/usr/local/bin/x735-softsd.sh: line 7: /sys/class/gpio/gpio20/value: No such file or directoryYour device will shutting down in 4 seconds.../usr/local/bin/x735-softsd.sh: line 19: /sys/class/gpio/gpio20/value: No such file or directory</pre>also
'''Resolved'''! Please delete the old installation folder and re-install it by the following guide.
 
 
'''PS''': This issure is be fiexed, please refer to https://github.com/geekworm-com/x735-script/issues/2
==OS that has been tested==
Save & exit.
sudo reboot
 
===Install gpiod package===
sudo apt install -y gpiod
===Clone the script===
===Create the x735-pwr service===
If you are using <span class="tb_red">ubuntu verson 23.04</span> or more high version, please run the following command:
# Installation of dependent libraries
sudo apt install -y gpiod libgpiod-dev
./install-pwr-service-ubuntu.sh
'''OR''' such raspberry pi os bookworm run the following command to install power management script;
./install-pwr-service.sh
==Prepair software shutdown script==
If you are using <span class="tb_red">ubuntu verson 23.04</span> or more high version, please run the following command:
./install-sss-ubuntu.sh
'''OR''' such raspberry pi os bookworm, Run the following command to install software shutdown script (sss),
./install-sss.sh

Navigation menu