我有一个Raspberry Pi 4与Adafruit的官方案例风扇,并运行Ubuntu 20.10。我已经安装了pi-fancontrol管理单元,但是我无法使用https://snapcraft.io/install/pi-fancontrol/ubuntu上的说明来配置它。
$ sudo snap install pi-fancontrol
pi-fancontrol 0.1 from Oliver Grawert (ogra) installed
$ sudo snap connect pi-fancontrol:gpio pi:bcm-gpio-14
error: snap "pi" has no slot named "bcm-gpio-14"snap list没有显示已经安装了pi管理单元,所以这可能就是问题所在。在https://snapcraft.io/install/pi/ubuntu上有这方面的说明。
$ sudo snap install pi --beta
error: cannot perform the following tasks:
- Mount snap "pi" (11) (cannot install gadget snap on classic if not requested by the model)在谷歌上搜索错误信息不会产生任何有用的结果。我从这里要去哪里?
发布于 2021-03-26 10:54:52
Ubuntu的pi-fancontrol快照目前已损坏。
手动重写对我有效。
sudo nano ../../boot/firmware/config.txt若要将阈值设置为80摄氏度,请在其中添加以下一行:
dtoverlay=gpio-fan,gpiopin=14,temp=80000通过按Ctrl + X保存文件,然后按Y,然后按Enter。
现在重新启动系统,就完成了。
https://askubuntu.com/questions/1321130
复制相似问题