Open main menu

Changes

X735 Software

1,194 bytes added, 3 April
no edit summary
{{GD Template Impl}}
 <span class="tb_red"><big>This tutorial is deprecated, see [[X735-script]]</big></span>  ==Overview==This guide also applies to [[X735 ]] V3.0;0 / V2.5 shield; 
==For Raspbian / Raspbian Lite / RetroPie / Twister OS v2.0.2==
Test '2022-04-04-raspios-bullseye-armhf-lite.img' on May 6th 2022;
sudo chmod +x *.sh
sudo bash install.sh
echo "alias x735off='sudo /usr/local/bin/x735softsd.sh'" >> ~/.bashrc
sudo reboot
'''How to make the fan script run automatically after booting?'''
There are two ways to achieve it;it: 
1. Put the command line in the /etc/rc.local file: ('''Default''')
vi /etc/rc.local
==For DietPi==
'''install'''
sudo apt-get install -y python-smbus pythonpython3-rpi.gpio
sudo apt-get install -y pigpio python-pigpio python3-pigpio git
git clone https://github.com/geekworm-com/x735-v2.5
echo "alias x735off='sudo /usr/local/bin/x735softsd'" >> ~/.bashrc
sudo reboot
 
PS: according to the customer feedback, the above shell script is also work with Citadel, please test yourself, thanks!
==For Volumio 3==
'''uninstall'''
./uninstall-mynode.sh
 
==For Version 2.1 or more low version==
 
Please refer to '''[http://www.suptronics.com/miniPCkits/x735-hardware.html Hardware]''' and '''[http://www.suptronics.com/miniPCkits/x730-software.html Software]''' and read them and follow the instructions before ask any questions, thank you!
 
The safe shutdown script is same with X730.
 
* [https://github.com/geekworm-com/x730-script Github]
We test this shell script base official Raspbian '2018-11-13-raspbian-stretch.img' version;other operating systems not be tested!
<pre>
#Download run script
 
git clone https://github.com/geekworm-com/x730-script
 
cd x730-script
 
#Setting file attributes
sudo chmod +x x730.sh
 
#Install the script
sudo bash x730.sh
 
#Setting up the command to turn off X730 from software
printf "%s\\n" "alias x730off='sudo x730shutdown.sh'" >> ~/.bashrc
 
#Reboot the Raspberry Pi
sudo reboot
 
#Powering off the Raspberry Pi from software
x730off
</pre>
Return to [[X735]]