天准论坛

售后维护 售后维护
 找回密码
 立即注册
查看: 370|回复: 1

【其他】Jetson 系列 fan 控制

[复制链接]

62

主题

63

帖子

416

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
416
发表于 2021-6-10 16:49:03 | 显示全部楼层 |阅读模式
参考地址:Pyrestone/jetson-fan-ctl: Automagic fan control for the Nvidia Jetson Nano (github.com)

使用jetson-fan-ctl进行控制,详见附件:


jetson-fan-ctl 详细说明如下:

jetson-fan-ctl
Automagic fan control for the Nvidia Jetson Nano
Requirements:
Hardware

You will need a 5V PWM fan for this to make any sense.
I used the Noctua nf-a4x20 5V PWM fan.

Additionally, I recommend you use the barrel jack with a 4A power supply.
Software
I will assume you use the standard image on your jetson nano.


Python 3 should be pre-installed on the jetson nano.
You can check this using python3 --version
(3.5 or higher should be fine.)
otherwise, you can install it with

sudo apt install python3-dev

How to install:
run

sudo ./install.sh

The script will automatically run at boot time.
It's a set-it-and-forget-it type thing, unless you want to mess with the fan speeds.

How to customize:
open /etc/automagic-fan/config.json with your favorite editor (I'm using nano):

sudo nano /etc/automagic-fan/config.json

you will find the following lines:
{
"FAN_OFF_TEMP":20,
"FAN_MAX_TEMP":50,
"UPDATE_INTERVAL":2,
"MAX_PERF":1
}

FAN_OFF_TEMP is the temperature (°C) below which the fan is turned off.
FAN_MAX_TEMP is the temperature (°C) above which the fan is at 100% speed.
The script interpolates linearly between these two points.

UPDATE_INTERVAL tells the script how often to update the fan speed (in seconds).
MAX_PERF values greater than 0 maximize system performance by setting the CPU and GPU clock speeds to the maximum.

You can use either integers (like 20) or floating point numbers (like 20.125) in each of these fields.
The temperature precision of the thermal sensors is 0.5 (°C), so don't expect this to be too precise.

Any changes in the script will be will be applied after the next reboot.
You can run

sudo service automagic-fan restart

to apply changes immediately.
If you suspect something went wrong, please check:

sudo service automagic-fan status


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复

使用道具 举报

16

主题

21

帖子

1166

积分

超级版主

Rank: 8Rank: 8

积分
1166
发表于 2021-8-10 11:48:07 | 显示全部楼层
本帖最后由 yuhaibao 于 2021-9-16 09:09 编辑

我们对开源的jetson-fan-ctl的风扇控制方式做了修改更新为tztek-jetson-service-fan.service
安装在/opt/tztek/tztek-jetson-service-fan

修改温度
sudo vim /etc/tztek/tztek-jetson-service-fan/config.json
您进去修改config.json文件

sudo systemctl  restart tztek-jetson-service-fan.service


把FAN_MAX_TEMP 和FAN_OFF_TEMP,保存后restart 重启服务
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Copyright © TZTEK Technology Co., Ltd. All Rights Reserved.  苏ICP备12079651号
快速回复 返回顶部 返回列表