Changes

Jump to navigation Jump to search

X735-script

1,099 bytes added, 3 June
<div class="toccolours mw-collapsible mw-collapsed">
<div style="font-weight:bold;line-height:1.0;">
QQ1: Why does running <code>python3 ~/x735-script/read_fan_speed.py</code> get errors?</div><div class="mw-collapsible-content">A: After upgrading raspberry if you launch the command: <code>python3 ~/x735-script/read_fan_speed.py</code> you may get the following error:<pre>pi@raspberrypi:~/x735-script $ python3 read_fan_speed.py Traceback (most recent call last): File "/home/pi/x735-script/read_fan_speed.py", line 29, in <module> GPIO.add_event_detect(TACH, GPIO.FALLING, fell)RuntimeError: Failed to add edge detection</pre>The reason is caused by the '''rpi.gpio''' library not being upgraded after the kernel upgrade, which can be referred to here https://github.com/raspberrypi/linux/issues/6037 to know more detail The solution is as follows: replace '''rpi.gpio''' with '''rpi-lgpio''' by running sudo apt update && sudo apt install python3-rpi-lgpio --auto-remove --purgesudo apt update && sudo apt install python3-rpi-lgpio --auto-remove --purge</div></div> <div class="toccolours mw-collapsible mw-collapsed"><div style="font-weight:bold;line-height:1.0;">Q2: How can I help you solve your issues?
</div>
<div class="mw-collapsible-content">
<div class="toccolours mw-collapsible mw-collapsed">
<div style="font-weight:bold;line-height:1.0;">
QQ3: How to login '''volumio''' via SSH?
</div>
<div class="mw-collapsible-content">
<div class="toccolours mw-collapsible mw-collapsed">
<div style="font-weight:bold;line-height:1.0;">
QQ4: How to login to <b>myNode</b> via SSH?
</div>
<div class="mw-collapsible-content">
<div class="toccolours mw-collapsible mw-collapsed">
<div style="font-weight:bold;line-height:1.0;">
QQ5: How to login to DietPi via SSH?
</div>
<div class="mw-collapsible-content">
<div class="toccolours mw-collapsible mw-collapsed">
<div style="font-weight:bold;line-height:1.0;">
QQ6: Is LibreELEC supported?
</div>
<div class="mw-collapsible-content">

Navigation menu