Open main menu

Changes

X735-script

329 bytes added, Saturday at 13:22
-->
===Configuring Different GPIO Chip for <span class="tb_red">Raspberry Pi 5 hardware</span>===
If you are not using Raspberry 5 hardware(such as you are using pi 4 hardware), directly skip this step,or run the following command to set differnt chip and pwm number.
sed -i 's/xSoft.sh 0 20/xSoft.sh 4 20/g' install-sss.sh
sed -i 's/xPWR.sh 0 5 12/xPWR.sh 4 5 12/g' x735-pwr.service
sed -i 's/pwmchip0/pwmchip2/g' x735-fan.sh
'''PS''': Raspberry Pi 5 use different gpio chip name.
===Create the x735-fan service===
Run the following command to install software shutdown script (sss)
sudo ./install-sss.sh
Then run the following command to create a alias 'x735off' commandwhen using '''Raspberry pi 4 hardware''' echo 'alias x735off="sudo /usr/local/bin/xSoft.sh '''0 ''' 20"' >> ~/.bashrc run the following command to create a alias 'x735off' command when using '''Raspberry pi 5 hardware''' echo 'alias x735off="sudo /usr/local/bin/xSoft.sh '''4''' 20"' >> ~/.bashrc Run the following command to make the alias '''x735off''' effective
source ~/.bashrc
After the installation is complete, an <code>x735off</code> command will be created to safe shut down.Then you can run <code>x735xoff</code> to execute software shutdown.
==Support==
* https://github.com/geekworm-com/x735-v2.5/issues/6* If you have some questions or suggestions, please contact to <span class="tb_red">support@geekworm.com</span>
==FAQ==