Changes

Jump to navigation Jump to search

X729-script

16 bytes removed, 22 March
==Overview==
<span class="tb_red">[NOTE]: X729 don't support Raspberry Pi 5 hardware</span>
 
This is script installation tutorial for [[X729]] shield, it will replace [[X729-Software | X729 Software installation tutorial]], although [[X729-Software | X729 Software installation tutorial]] is still available, but we strongly recommend that you use this script tutorial, which simplifies the installation process and reduces dependencies on third-party python libraries.
'''[NOTE]:'''
1. The script now supports the Raspberry Pi OS '''BOOKWORM ''' version, do . You just need to '''uninstall''' the original script and '''reinstall''' it. Please refer to the following to support bookworm:
1. First go back to the directory where you originally installed x729-scripOPen ternimal window, you can see the x729-script folder 2. Then then run the following command:
<pre>
mv x729-script x729-script-old
git clone https://github.com/geekworm-com/x729-script
cd x729-script
rm x729-softsd.sh x729-pwr.sh -f
git pull origin
chmod +x *.sh
sudo cp -f . /x729-softsduninstall.sh /usr/local/bin/sudo cp -f . /x729-pwr.sh /usr/local/bin/sudo reboot
</pre>
Then just follow the installation process below.
==OS that has been tested==
===Preconfigured <code>config.txt</code>===
To install pwm fan, first add <code>dtoverlay=pwm-2chan,pin2=13,func2=4</code> to <code>/boot/firmware/config.txt</code> under [all] or the end of file and <code>reboot</code>: sudo nano /boot/config.txt '''Or''' (it's <code>/boot/firmware/config.txt</code> if you are using <code>ubuntu os</code>)
sudo nano /boot/firmware/config.txt
Save & exit.
Then you can run <code>x729off</code> to execute software shutdown as follows
x729off
 
===Uninstall===
./uninstall.sh
===Test safe shutdown===

Navigation menu