Skip to content

fnnas/appstore.driver.hwmon.it87

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ite-it87 — IT87/IT86 硬件监控传感器驱动

适用于 飞牛NAS (fnOS) 的 IT87/IT86 系列传感器芯片树外内核驱动包。

简介

本项目将上游 IT87 驱动 编译为预构建内核模块 (.ko),并打包为飞牛NAS应用商店可安装的驱动包,提供温度、电压、风扇转速等硬件传感器监控功能。

该驱动由飞牛社区用户提供并维护。如遇问题,请直接向飞牛社区或本项目仓库issue反馈,反馈时请提供导出的日志。

支持的内核版本

  • 6.12.18-trim
  • 6.18.6-trim

支持的架构

  • x86_64

安装

通过应用商店直接安装,需要 root 权限

故障诊断

可以通过筛选it87相关日志观察

root@MEmini:~# dmesg |grep it87
[2618117.649368] it87: it87 driver version v1.0-208-gd17546b.20260305
[2618117.649601] it87: Found IT8613E chip at 0xa30, revision 12
[2618117.649667] it87: Beeping is supported

使用

首先找到哪个hwmon是由it87驱动提供的

for d in /sys/class/hwmon/hwmon*; do
    echo -n "$d: "
    cat $d/name
done

如下例,hwmon9为it87提供

/sys/class/hwmon/hwmon0: acpitz
/sys/class/hwmon/hwmon1: nvme
/sys/class/hwmon/hwmon2: nvme
/sys/class/hwmon/hwmon3: nvme
/sys/class/hwmon/hwmon4: nvme
/sys/class/hwmon/hwmon5: nvme
/sys/class/hwmon/hwmon6: nvme
/sys/class/hwmon/hwmon7: iwlwifi_1
/sys/class/hwmon/hwmon8: coretemp
/sys/class/hwmon/hwmon9: it8613

列出hwmon9下的内容,查看支持情况

root@MEmini:~# ls /sys/class/hwmon/hwmon9/
alarms      in0_beep   in2_input  in5_max    in9_label                   pwm2_auto_start             pwm3_enable                 subsystem     temp2_max
device      in0_input  in2_max    in5_min    intrusion0_alarm            pwm2_enable                 pwm3_freq                   temp1_alarm   temp2_min
fan2_alarm  in0_max    in2_min    in7_alarm  name                        pwm2_freq                   pwm5                        temp1_beep    temp2_offset
fan2_beep   in0_min    in4_alarm  in7_beep   power                       pwm3                        pwm5_auto_channels_temp     temp1_input   temp2_type
fan2_input  in1_alarm  in4_beep   in7_input  pwm2                        pwm3_auto_channels_temp     pwm5_auto_point1_temp       temp1_max     temp3_alarm
fan2_min    in1_beep   in4_input  in7_label  pwm2_auto_channels_temp     pwm3_auto_point1_temp       pwm5_auto_point1_temp_hyst  temp1_min     temp3_beep
fan3_alarm  in1_input  in4_max    in7_max    pwm2_auto_point1_temp       pwm3_auto_point1_temp_hyst  pwm5_auto_point2_temp       temp1_offset  temp3_input
fan3_beep   in1_max    in4_min    in7_min    pwm2_auto_point1_temp_hyst  pwm3_auto_point2_temp       pwm5_auto_point3_temp       temp1_type    temp3_max
fan3_input  in1_min    in5_alarm  in8_input  pwm2_auto_point2_temp       pwm3_auto_point3_temp       pwm5_auto_slope             temp2_alarm   temp3_min
fan3_min    in2_alarm  in5_beep   in8_label  pwm2_auto_point3_temp       pwm3_auto_slope             pwm5_enable                 temp2_beep    temp3_offset
in0_alarm   in2_beep   in5_input  in9_input  pwm2_auto_slope             pwm3_auto_start             pwm5_freq                   temp2_input   uevent

查看风扇转速的示例

root@MEmini:~# cat /sys/class/hwmon/hwmon9/fan2_input 
1654

上游来源

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages