我试图调查设备温度。我的发现让我感到困惑。当我去/sys/class/thermal/thermal_zone1/subsystem
它有无限循环。
从以下输出中可以清楚地pwd
看出:
/sys/class/thermal/thermal_zone1/subsystem/thermal_zone1/subsystem/thermal_zone1/subsystem/thermal_zone1/subsystem/thermal_zone1/subsystem/thermal_zone1
ls
密码输出:
/sys/class/thermal/thermal_zone1/subsystem/thermal_zone1/subsystem/thermal_zone1/subsystem/thermal_zone1/subsystem/thermal_zone1/subsystem/thermal_zone1$
ls
available_policies k_d k_po mode passive power subsystem temp uevent
integral_cutoff
而且它并没有在这里结束,我可以继续做cd
文件subsystem
夹等等。
subsystem
所以,我的问题是为什么里面有这么多thermal_zone1
?正常吗?
设备信息:
$uname -a
Linux chips 4.4.154-1124-rockchip-ayufan-*** #1 SMP Mon Oct 22 20:59:41 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
我已经看到了这个答案,但我认为它不能解决我的问题。