--ignore-cpuid-check オプションを使用して Thermald を実行する方法

--ignore-cpuid-check オプションを使用して Thermald を実行する方法

次のメッセージを受け取りました。

thermald: Unsupported cpu model, use thermal-conf.xml file or run with --ignore-cpuid-check

sensors-detect何かをインストールすることをお勧めしますcoretempw83627hf/etc/module

  1. 努力する

を実行すると、sudo thermald --no-daemon --ignore-cpuid-check | tee thermald.log次のようになります。

NO RAPL sysfs present
Polling mode is enabled: 4
  1. 努力する

thermal-conf.xml例を次のように変更しました。ここ。実行すると、sudo thermald --no-daemon | tee thermald.log次のようになります。

NO RAPL sysfs present
10 CPUID levels; family:model:stepping 0x6:f:6 (6:15:6)
 Need Linux PowerCap sysfs
Unsupported cpu model, using thermal-conf.xml only
Polling mode is enabled: 4
sensor id 2: No temp sysfs for reading raw temp
XML zone: invalid sensor type pkg-temp-0
Zone update failed: unable to bind

したがって、最も簡単な方法はオプションを使用してThermaldを実行するようです--ignore-cpuid-check。このオプションを使用してThermaldをどのように実行しますか--ignore-cpuid-check?それとも、検出器XML構成を取得する他の方法はありますか?

ベストアンサー1

systemdを使用する場合

/lib/systemd/system/thermald.service実行して編集

sudo systemctl edit --full thermald.service

最後にオプションを追加してくださいExecStart

[Unit]
Description=Thermal Daemon Service

[Service]
Type=dbus
SuccessExitStatus=1
BusName=org.freedesktop.thermald
ExecStart=/usr/sbin/thermald --no-daemon --dbus-enable

[Install]
WantedBy=multi-user.target
Alias=dbus-org.freedesktop.thermald.service

開始を使用する場合(Ubuntu 15.04以下)

Ubuntuでは、次の場所にオプションを追加できます/etc/init/thermald.conf

# thermald - thermal daemon
# Upstart configuration file
# Manages platform thermals

description     "thermal daemon"

start on runlevel [2345] and started dbus
stop on stopping dbus

#
# don't respawn on error
#
normal exit 1

respawn

#
# consider something wrong if respawned 10 times in 1 minute
#
respawn limit 10 60

exec thermald --no-daemon --dbus-enable

このオプションを最後の行に追加します。

おすすめ記事