Changes

Jump to navigation Jump to search

X735-script

412 bytes removed, 23 March
'''[NOTEupdate]'''
If you are using an 1. Use '''ubuntugpiod''' systeminstead of obsolete interface, and suuports ubuntu 23.04 also  2. The script now supports the Raspberry Pi OS '''DO NOTBOOKWORM''' use version . You just need to '''ubuntu 23.04uninstall''', otherwise you will get an error similar to the following when you run original script and '''x735offreinstall'''it. Please refer to the following: Open ternimal window, then run the following command:
<pre>
/usr/local/bin/mv x735-script x735-softsd.sh: line 5script-oldgit clone https: /sys/classgithub.com/gpio/export: No such file or directory/usr/local/bingeekworm-com/x735-softsd.sh: line 6: /sys/class/gpio/gpio20/direction: No such file or directoryscript/usr/local/bin/cd x735-softsdscriptchmod +x *.sh: line 7: /sys/class/gpio/gpio20/value: No such file or directoryYour device will shutting down in 4 seconds.../usr/local/bin/x735-softsduninstall.sh: line 19: /sys/class/gpio/gpio20/value: No such file or directory
</pre>
Then just follow the installation process below.
'''Resolved'''! Please delete the old installation folder and re-install it by the following guide.
3. Fix fan not working on Raspberry Pi 5 hardware
If you are using it on a '''PSRaspberry Pi 5''': This issure is be fiexed, please refer make the following changes: * Be sure to update the kernel to https:version '''6.6.22'''. sudo apt update sudo apt full-upgrade sudo rpi-update* Change the <code>PWM_CHIP_PATH</code> to <code>/github.comsys/geekworm-comclass/x735-scriptpwm/issuespwmchip2</2code> on line 7 of '''x735fan.sh'''
==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
./uninstall.sh
==Test==
===Test safe shutdown===
'''Software safe shutdown command''':

Navigation menu