
我剛買了一台全新的上網本,擔心風扇無法正常運作。
lm-sensors 沒有偵測到風扇,我聽不到風扇的聲音,也感覺不到風扇區域吹出的空氣。
上網本是全新的東芝 Satellite NB10-A。我擔心使用 Ubuntu 會毀掉我的上網筆電。 :(
溫度繼續升高,但我聽不到風扇的聲音。
這是我的 lm 感測器輸出:
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 應用程序,可以了解有關係統和硬體的所有資訊。
安裝 HardInfo 透過sudo apt-get install hardinfo
這是顯示粉絲訊息的螢幕截圖。
希望這可以幫助。
答案2
使用NBFC
我的筆記型電腦是 Acer Aspire E5-573G,沒有其他方法可以控制 CPU 風扇,但是NBFC。我使用的是 Ubuntu 18.04。我的型號的確切配置文件丟失,但 nbfc 與另一個類似的配置文件(宏碁 Aspire E5-575G)配合得很好。如果您不知道使用哪個配置文件,您可以嘗試:
mono nbfc.exe config -r
您將需要最新的單聲道版本才能在 Ubuntu 18.04 上建立它,所以不要忘記閱讀如何在ubuntu上建置NBFC。
我還編輯了預設配置文件,使風扇策略變得更加激進。
在 Ubuntu 上建構它
您需要最新的單聲道版本,因此請根據需要更新它:
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;
}
}
然後在終端機中發出“感測器”命令,您將了解您的風扇速度。該程式資源密集,CPU 消耗較高。
答案4
不是一個複雜的帖子,但是......
我寫這篇文章是因為我的 Ubuntu 在我的粉絲上顯示 0 RPM...
所以我看到了你的帖子,其中包含命令fwts
fan 和報告,所以我做了一個
sudo apt-get install fwts
安裝它並看到風扇開始工作,但重新啟動時,它們又回到 0 RPM。我確實添加了“fwts粉絲”作為啟動應用程序,現在粉絲們正在為每次啟動而努力。
sudo watch sensors
現在將顯示風扇正在運作。
希望這也能幫助其他人。