X735-script: Difference between revisions
Replace <comments/> with <comment-streams /> |
|||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 48: | Line 48: | ||
* RetroPie | * RetroPie | ||
* Twister | * Twister | ||
* FreedomBox (Refer to [#FAQ Q7 | * FreedomBox (Refer to [[#FAQ]] Q7 also) | ||
==Install== | ==Install== | ||
| Line 349: | Line 349: | ||
<code>wget https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/overlays/pwm-2chan.dtbo</code> | <code>wget https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/overlays/pwm-2chan.dtbo</code> | ||
<code>wget https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/overlays/pwm-gpio-fan.dtbo</code> | <code>wget https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/overlays/pwm-gpio-fan.dtbo</code> | ||
<code>wget https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/overlays/pwm-2chan.dtbo</code> | |||
<code>wget https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/overlays/pwm-gpio-fan.dtbo</code> | |||
<code>wget https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/overlays/pwm-gpio.dtbo</code> | |||
<code>wget https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/overlays/pwm-ir-tx.dtbo</code> | |||
<code>wget https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/overlays/pwm-pio.dtbo</code> | |||
<code>wget https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/overlays/pwm.dtbo</code> | |||
<code>wget https://raw.githubusercontent.com/raspberrypi/firmware/master/boot/overlays/pwm1.dtbo</code> | |||
# ... (Download other pwm*.dtbo files if needed) | # ... (Download other pwm*.dtbo files if needed) | ||
| Line 362: | Line 369: | ||
<code>dmesg | grep -i pwm</code> | <code>dmesg | grep -i pwm</code> | ||
You should now see logs indicating the PWM overlay has been loaded, and the fan script should function correctly. | You should now see logs indicating the PWM overlay has been loaded, and the fan script should function correctly. | ||
</div> | |||
</div> | |||
<div class="toccolours mw-collapsible mw-collapsed"> | |||
<div style="font-weight:bold;line-height:1.0;"> | |||
Q8: The fan won't start, and <code>read_fan_speed.py</code> shows 0 RPM. What causes this issue? | |||
</div> | |||
<div class="mw-collapsible-content"> | |||
A: Please verify that the PWM hardware path of your Raspberry Pi matches the one defined in the script. '''e.g.:''' Raspberry Pi 5 uses <code>/sys/class/pwm/pwmchip0</code>, whereas the script is set to <code>pwmchip2</code>. | |||
</div> | </div> | ||
</div> | </div> | ||
| Line 370: | Line 386: | ||
<!--Add review function! --> | <!--Add review function! --> | ||
< | <comment-streams id="main" /> | ||
<!--Please choose the --> | <!--Please choose the --> | ||