Open main menu

Changes

X735-script

113 bytes added, 20 March
no edit summary
</pre>
There is no '''gpioResolved''' directory in ! Please delete the '''/sys/class''' directoryold installation folder and re-install it by the following guide.
The reason for the error is because since Ubuntu 23.04 uses the latest 6.2 Linux kernel, we wait for the official update;
 
We recommend that you use '''ubuntu 22.04''', and we have also tested the current script on version 22.04.
'''PS''': This issure is be fiexed, please refer to https://github.com/geekworm-com/x735-script/issues/2
 
==OS that has been tested==
===Clone the script===
Clone pruduct software script
git clone https://github.com/geekworm-com/x735-script
cd x735-script
'''PS''': For some OS such as ''Raspberry Pi OS Lite'', the '''''git''''' tool is not installed by default, if you get an error like ''error: -bash: git: command not found'', please run the following command to install the git tool.
sudo apt install -y git
<!--
2. Download xGPIO tool
wget https://github.com/geekworm-com/xgpio/raw/main/bin/ubuntu/xgpio_pwr
wget https://github.com/geekworm-com/xgpio/raw/main/bin/ubuntu/xgpio_soft
After the download is successful, there will be two files xGPIO_pwr and xGPIO_soft in the current directory.
-->
===Create the x735-fan service===
x735-fan service is for pwm fan, the pwm fan will automatically adjust the runing speed according to the temperature of the cpu after the service is started.
<pre>sudo cp -f ./x735-Run the following command to install fan.sh /usr/local/bin/service script;sudo cp -f ./x735install-fan-service.service /lib/systemd/systemsudo systemctl daemon-reloadsudo systemctl enable x735-fansudo systemctl start x735-fan</pre>sh
Then the pwm fan starts running.
===Create the x735-pwr service===
x735If you are using <span class="tb_red">ubuntu verson 23.04</span> or more high version, please run the following command: ./install-pwr -service will be responsible for -ubuntu.shOR run the following command to install power management and hardware safe shutdown.<pre>script;sudo cp -f ./x735install-pwr-service.sh  ==Prepair software shutdown script==If you are using <span class="tb_red">ubuntu verson 23.04</usr/local/binspan> or more high version, please run the following command: ./sudo cp install-f x735sss-pwrubuntu.service /lib/systemd/systemshsudo systemctl daemon-reloadOR, Run the following command to install software shutdown script (sss),sudo systemctl enable x735 ./install-pwrsss.shsudo systemctl start x735-pwrAfter the installation is complete, an <code>x735xoff</code> command will be created to shut down the software.Then you can run <code>x735xoff</precode>to execute software shutdown.
===Prepair software shutdown script=Uninstall== sudo cp -f ./x735-softsd.sh /usr/local/bin/Create a alias <code>x735off</code> Run the following command to execute the software shutdown<pre>echo "alias x735off='sudo /usr/local/bin/x735-softsd.sh'" >> ~/uninstall all.bashrcsource ~/ .bashrc</pre>Then you can run <code>x735off</code> to execute software shutdownuninstall.sh
===Test safe shutdown===