使用非银行金融机构

使用非银行金融机构

我刚买了一台全新的上网本,担心风扇不能正常工作。

lm-sensors 未检测到风扇,我听不到风扇的声音,也感觉不到空气从风扇区域吹出。

上网本是全新的东芝 Satellite NB10-A。我担心使用 Ubuntu 会毁了我的上网本。:(

温度持续升高,但我听不到风扇的声音。

这是我的 lm-sensors 输出:

acpitz-virtual-0
Adapter: Virtual device
temp1:        +33.0°C  (crit = +78.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +48.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1:       +48.0°C  (high = +105.0°C, crit = +105.0°C)

编辑

该型号的另一位评论者表示担心风扇不工作,因为他检测不到风扇,也听不到风扇的声音:

http://mentalnirex.wordpress.com/2014/03/25/linux-and-the-toshiba-nb10/

fwts 风扇的输出:

fwts 生成的结果:版本 V14.03.01(2014-03-27 02:14:17)。

Some of this work - Copyright (c) 1999 - 2014, Intel Corp. All rights reserved.
Some of this work - Copyright (c) 2010 - 2014, Canonical.

This test run on 14/06/14 at 12:45:01 on host Linux juke
3.15.0-031500rc8-generic #201406012235 SMP Mon Jun 2 02:36:11 UTC 2014 x86_64.

Command: "fwts fan".
Running tests: fan.

fan: Simple fan tests.
--------------------------------------------------------------------------------
Test 1 of 2: Test fan status.
Test how many fans there are in the system. Check for the current status of the
fan(s).
PASSED: Test 1, Fan cooling_device0 of type Processor has max cooling state 10
and current cooling state 0.
PASSED: Test 1, Fan cooling_device1 of type Processor has max cooling state 10
and current cooling state 0.

Test 2 of 2: Load system, check CPU fan status.
Test how many fans there are in the system. Check for the current status of the
fan(s).
Loading CPUs for 20 seconds to try and get fan speeds to change.
Fan cooling_device0 current state did not change from value 0 while CPUs were
busy.
Fan cooling_device1 current state did not change from value 0 while CPUs were
busy.

ADVICE: Did not detect any change in the CPU related thermal cooling device
states. It could be that the devices are returning static information back to
the driver and/or the fan speed is automatically being controlled by firmware
using System Management Mode in which case the kernel interfaces being examined
may not work anyway.


================================================================================
2 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.
================================================================================


2 passed, 0 failed, 0 warning, 0 aborted, 0 skipped, 0 info only.

Test Failure Summary
================================================================================

Critical failures: NONE

High failures: NONE

Medium failures: NONE

Low failures: NONE

Other failures: NONE

Test           |Pass |Fail |Abort|Warn |Skip |Info |
---------------+-----+-----+-----+-----+-----+-----+
fan            |    2|     |     |     |     |     |
---------------+-----+-----+-----+-----+-----+-----+
Total:         |    2|    0|    0|    0|    0|    0|
---------------+-----+-----+-----+-----+-----+-----+

答案1

尝试使用 HardInfo,这是一个非常有用的 GUI 应用程序,可以了解有关系统和硬件的所有信息。

安装 HardInfosudo apt-get install hardinfo

这是显示粉丝信息的屏幕截图。

屏幕

希望这可以帮助。

答案2

使用非银行金融机构

我的笔记本电脑是 Acer Aspire E5-573G,没有其他方法可以控制 CPU 风扇,但是非银行金融机构。我使用的是 Ubuntu 18.04。缺少适合我型号的确切配置文件,但 nbfc 与另一个类似的配置文件(Acer Aspire E5-575G)配合良好。如果您不知道要使用哪个配置文件,可以尝试: mono nbfc.exe config -r

你需要最新的 mono 版本才能在 Ubuntu 18.04 上构建它,所以不要忘记阅读如何在 Ubuntu 上构建 NBFC

我还编辑了默认配置文件,使粉丝政策变得更加积极。

在 Ubuntu 上构建

您需要最新的 mono 版本,因此请根据需要进行更新:

sudo apt remove mono-complete
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt install mono-complete

克隆 git 存储库并构建

# git is needed, so install it
sudo apt install git

# clone the repository into /tmp/nbfc
git clone https://github.com/hirschmann/nbfc.git /tmp/nbfc
cd /tmp/nbfc

# Build NBFC
./build.sh

构建完成后,正确“安装”nbfc

sudo mkdir /opt/nbfc
sudo cp -r /tmp/nbfc/Linux/bin/Release /opt/nbfc/
sudo cp /tmp/nbfc/Linux/{nbfc.service,nbfc-sleep.service} /etc/systemd/system/
sudo systemctl enable nbfc --now

现在你需要为你的机器发现一个配置文件并告诉 nbfc 使用它

# All profiles are into /opt/nbfc/Configs as XML files
cd /opt/nbfc

# Run the following to discover a similar profile to your machine
mono nbfc.exe config -r

# Use one profile from the suggest list the previous command  
mono nbfc.exe config --apply "Config file name without extension"

# Now start the service
mono nbfc.exe start

# To show what is happen with your fan/machine, run
mono nbfc.exe status --all

nbfc 项目 wiki 内容丰富,文档齐全。如有疑问,请查阅。

答案3

如果您想测试您的 CPU 风扇。那么只需运行这个 c 程序:

#include <stdio.h>
int main(){
int count=0,found=0;
int a=2,current=2;
while(found<100000){
    while(a<current)
    {
        if(current%a==0){
            count=1;
        }
        a++;
    }
    if(count==0){
        printf("%d\n",current);
        found++;
    }
    current++;
    a=2;
    count=0;
}
}

然后在终端中输入“sensors”命令,你就会知道你的风扇速度。这个程序占用大量资源,消耗大量 CPU。

答案4

这不是一个复杂的帖子但是...

我之所以写这篇文章,是因为我的 Ubuntu 风扇显示转速为 0。
所以我看到了你的帖子,里面有命令fwtsfan and report,所以我做了一个

sudo apt-get install fwts 

安装后发现风扇开始运转,但重启后转速又降到了 0 RPM。我确实添加了“fwts fans”作为启动应用程序,现在风扇每次启动时都在运转。

sudo watch sensors 

将显示风扇正在工作。
希望这也能帮助其他人。

相关内容