Changes

Jump to navigation Jump to search

X735-script

324 bytes added, Friday at 20:24
===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.
 PS: Since 2024-09-02, Raspberry Pi has finally unified the gpipchip to 0 on all Raspberry Pis(Pi, 0, 1, 2, 3, 4, 5). Previously, the gpiochip on the Raspberry Pi 5 was 4. So we comment out the following command line. #sed -i 's/xPWR.sh 0 5 12/xPWR.sh 4 5 12/g' x735-pwr.servicePS: But on the Raspberry Pi 5 the pwmchip is still 2, not 0 as used on the Pi 0/1/2/3/4, so you still run the following command if you work on RPi 5 hardware.
sed -i 's/pwmchip0/pwmchip2/g' x735-fan.sh
'''PS''': Raspberry Pi 5 use different gpio chip name.
===Create the x735-fan service===

Navigation menu