【问题标题】:Raspberry Pi POE-FAN Hat with ubuntu树莓派 POE-FAN Hat with ubuntu
【发布时间】:2021-09-22 22:04:16
【问题描述】:

您好,我正在为我的新树莓派 4 戴上 POE-FAN 帽子而苦苦挣扎。

使用官方 POE-HAT 安装了几个 Pi:https://www.raspberrypi.org/products/poe-hat/ POE 工作正常,但风扇(在每个树莓上)无法打开。

我看到了很多可能的解决方案,但仅适用于 raspbian OS。 我的目标是拥有一个 kubernetes 集群,所以我安装了 Ubuntu Server 20.04.2 LTS

目前我的 Pis 温度为 70°C 或更高,因此它们应该足够温暖。 检查了pwmconfig 和sensors-detect,但都说没有可用的传感器/风扇。

谁能解释我如何启用粉丝? Pi 4 的“健康”温度是多少?

【问题讨论】:

  • 70°C?!听起来很多。地雷大约有 50 个,接近 1U 服务器/没有 AC/在我的公寓中使用 `vcgencmd measure_temp`。见raspberrypi.stackexchange.com/a/108/56442。 Ubuntu 20.04 应该可以工作,但请确保使用 64b 图像 - 更好的支持/更多可用的图像
  • 是的,温度真的那么高。其他 2 个 Pi 也一样。已经安装了64位版本,目前还没有运气。还有其他方法来初始化这些粉丝吗?
  • 所以我只安装了一次 Raspbian,第一次重新启动后,风扇正在工作,并且 Pi 的温度一直在 50°C 左右。所以一切都适用于 Raspbian
  • Thijs 的回答对我有用!

标签: ubuntu raspberry-pi4 poe


【解决方案1】:

也许这篇文章可以提供帮助:https://raspberrypi.stackexchange.com/questions/98078/poe-hat-fan-activation-on-os-other-than-raspbian

我可能还注意到,Linux 内核 5.13 和更新版本将提供一个树莓 poe 风扇内核模块,但需要对覆盖层进行一些额外的自定义,并且文档目前很少。

【讨论】:

    【解决方案2】:

    文件末尾/boot/firmware/usercnf.txt请加dtoverlay=rpi-poe 这应该会激活默认风扇设置。

    对于 Ubuntu 21,此路径为 /boot/firmware/config.txt。

    然后你可以添加这样的自定义设置,但我必须说我从来没有让这些工作,只是使用默认设置,它对其他人有用,所以值得一试:

    dtparam=poe_fan_temp0=50000
    dtparam=poe_fan_temp1=58000
    dtparam=poe_fan_temp2=64000
    dtparam=poe_fan_temp3=68000
    

    闲置时,我的 Pi 温度约为 50C,而房间温度为 25C。我认为这是正常温度。

    【讨论】:

    • 成功了! 1. 全新安装了 Ubuntu 20.04.2 并编辑了提到的 usercfg.txt。现在看起来像这样:# Place "config.txt" changes (dtparam, dtoverlay, disable_overscan, etc.) in # this file. Please refer to the README file for a description of the various # configuration files on the boot partition. dtoverlay=rpi-poe dtparam=poe_fan_temp0=50000 dtparam=poe_fan_temp1=58000 dtparam=poe_fan_temp2=64000 dtparam=poe_fan_temp3=68000 2. 更新/升级 ubuntu 3. 重启 4. 谢谢@Thijs
    猜你喜欢
    • 1970-01-01
    • 2015-02-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-06-11
    • 2014-09-14
    • 2019-07-16
    相关资源
    最近更新 更多