「Asusctl」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(英語版から転載)
 
 
(同じ利用者による、間の22版が非表示)
1行目: 1行目:
  +
{{Lowercase title}}
 
[[Category:ASUS]]
 
[[Category:ASUS]]
  +
{{Related articles start}}
  +
{{Related|ASUS Linux}}
  +
{{Related|supergfxctl}}
  +
{{Related articles end}}
 
[[en:Asusctl]]
 
[[en:Asusctl]]
  +
{{AUR|asusctl}} を使用すると、ROG および TUF ラップトップの所有者は、CLI からラップトップを制御できます。キーボード制御 (輝度、RGB、およびバックライト)、カスタム充電制限の設定、システム電力プロファイルの変更、ファン曲線の設定、および AniMe matrix スディスプレイを制御します。
{{aur|asusctl}} is a useful utility provided by [https://asus-linux.org Asus Linux]. It helps with managing BIOS settings, RGB lighting, and more on ASUS, TUF, and ROG laptops.
 
   
== Installation ==
+
== インストール ==
   
  +
{{AUR|asusctl}} パッケージを [[インストール]] して下さい。または [https://wiki.archlinux.org/title/Unofficial_user_repositories#g14 カスタムリポジトリ] から、{{ic|asusd.service}} systemd サービスを [[有効化]] して下さい。
=== Downloading ===
 
Installation can be done through both the [[AUR]] with {{aur|asusctl}} or through Asus Linux's own repository. To install via the repository, which does not require an AUR helper, visit https://asus-linux.org/wiki/arch-guide/ and follow the instructions provided by the guide.
 
   
  +
一部の機能には、[[Linux]] の新しいバージョン、具体的には 6.1 以降が必要な場合があります。ASUS Linux は [https://wiki.archlinux.org/title/ASUS_Linux#Custom_kernel カスタム カーネル] を提供していますが、これにはまだメインラインカーネルにマージされていないパッチが含まれています。
Some features may require a newer version of [[Linux]], specifically 6.1 or newer. {{aur|linux-g14}} supplies the patches required for these features on an older kernel but should not be used now as it is obsolete. {{ic|linux-g14}} is also available in the custom repository.
 
   
  +
== 使い方 ==
{{aur|supergfxctl}} and {{aur|rog-control-center}} provide respectively a Optimus-like software built around ASUS laptops and a control GUI for Asusctl. Supergfxctl does not require an ASUS laptop and rog-control-center is moderately buggy. These packages can also be downloaded from the custom repo.
 
   
  +
コマンド {{ic|asusctl}} を単独で発行すると、サポートされているオプションのリストが出力されます。サブ値を使用してサブカテゴリのオプションを一覧表示することもできます。たとえば、{{ic|asusctl bios}} は BIOS サブカテゴリのすべてのオプションを一覧表示します。
==== Supergfxctl ====
 
   
  +
サブカテゴリを扱う場合、フラグの大文字と小文字を入れ替えることで現在の設定を照会できます。大文字のフラグは変更を行い、小文字のフラグは現在の設定を照会します。たとえば、{{ic|asusctl bios -'''o'''}} は現在のパネルオーバードライブ状態を返し、{{ic|asusctl bios -'''O''' true}} はそれを有効に設定します。
{{Note|Supergfxctl is not needed nor recommended if you are not using a laptop with support for [[PRIME]]}}
 
   
  +
=== サポートされているオプションを表示 ===
Supergfxctl is an Optimus software for Nvidia, and as such is incompatible with {{aur|optimus-manager}}, {{pkg|bumblebee}}, and other softwares of a similar vein. It is recommended to completely remove previous X11 and modprobe configuration related to the Nvidia and integrated GPUs. To use the dedicated GPU, {{pkg|nvidia-prime}} is required. At least on laptops with MUX switch support, Supergfxctl cannot run the entire X or Wayland session through nvidia-prime on its own.
 
   
  +
次のコマンドは、ラップトップがサポートするすべてのオプションを表示するために使用されます。
=== Enabling ===
 
   
  +
$ asusctl -s
Enable the following services -
 
* {{ic|asusd.service}} for Asusctl
 
* {{ic|power-profiles-daemon.service}} for setting charging limits via {{pkg|power-profiles-daemon}}
 
* {{ic|supergfxd.service}} for Supergfxctl
 
* {{ic|--user asusd-user.service}} for ANIME sequence support on certain laptops
 
* {{ic|--user asus-notify.service}} for notification support about your laptop
 
   
== Configuration ==
+
=== 充電制限 ===
   
  +
次の方法でバッテリーの充電制限を設定します。
{{Note|See https://asus-linux.org/asusctl/ for more configuration info.}}
 
   
  +
$ asusctl -c ''limit''
=== Battery and BIOS ===
 
   
  +
ここで、''limit'' は 20 から 100 の間です。
Battery and BIOS options can be set to certain values in {{ic|/etc/asusd/asusd.conf}}. The battery charge limit can be set in {{ic|bat_charge_limit}} and other supported BIOS options can be set to be fixed on boot as well. The battery charge limit should be between 20 and 100. These values need to be set here to apply automatically after a reboot.
 
  +
{{Note|75 の充電制限は、頻繁にプラグを抜くラップトップに適しています。ほとんどの場合プラグを差し込んだままにする場合は、60 が適切な値です。}}
   
  +
=== パネルオーバードライブ ===
=== Fan curves ===
 
   
  +
ラップトップがパネルオーバードライブをサポートしている場合は、次のコマンドで切り替えることができます。
Fan curves can be set in {{ic|/etc/asusd/profile.conf}}. Quiet, Balanced, and Performance mode can be selected as power profiles if {{ic|power-profiles-daemon}} is enabled.
 
   
  +
$ asusctl bios -O <true/false>
=== Visual Effects ===
 
   
  +
=== パワープロファイル ===
Aura lighting and the ANIME matrix can be configured via their respective configuration files in {{ic|/etc/asusd}}.
 
   
  +
Quiet、Balanced、および Performance モードがサポートされています。
=== Supergfxctl ===
 
   
  +
次のようにパワープロファイルを変更します。
Supergfxctl is configured at {{ic|/etc/supergfxd.conf}}. VFIO can be enabled with the discrete GPU and the startup mode (Hybrid or Integrated) can be set as well.
 
   
  +
$ asusctl profile -P ''profile''
== Usage ==
 
   
  +
または、次を使用してすべてのプロファイルを循環します。
=== Asusctl ===
 
   
  +
$ asusctl profile -n
Asusctl is used via the {{ic|asusctl}} command. The command will generate help info when run by itself. Aura effects, fan curves, power profiles, ANIME settings, and BIOS settings can be configured through the command {{ic|rog-control-center}} works for a GUI, but is rather buggy and sometimes does not correctly apply settings.
 
   
  +
起動時に自動的に読み込まれるようにしたい場合は、{{ic|/etc/asusd/profile.conf}} で電源プロファイルを設定できます。
==== Common BIOS settings ====
 
  +
{{Note|パワープロファイルを切り替えには、{{pkg|power-profiles-daemon}} パッケージが実行されている必要があります。}}
   
  +
== MUX スイッチの使用 ==
These BIOS settings have appeared on several laptops.
 
   
  +
=== ディスクリートグラフィックスのみへの切り替え (MUX スイッチ) ===
* GPU MUX mode - For laptops with integrated MUX switches, {{ic|asusctl bios -D <mode>}} can toggle the MUX switch after a reboot. 0 enables it, and 1 disables it and switches it back to normal Optimus. {{ic|asusctl bios -d}} gets the current mode.
 
* Device panel overdrive - For laptops with panels that support overdrive, {{ic|asusctl bios -O <mode>}} toggles it. True toggles it on, and false toggles it off. {{ic|asusctl bios -o}} gets the status of the feature.
 
   
  +
[https://wiki.archlinux.org/title/Supergfxctl supergfxctl] は、MUX スイッチが有効になっているかどうかを検出でき、有効になっていてもディスプレイマネージャーが失敗することはありません。[[asusctl]] で他の [[Optimus]] マネージャーを使用して MUX を制御すると、問題が発生する可能性があります。
==== Charge Limit ====
 
   
  +
ディスクリートグラフィックスへの切り替えは、次のコマンドで行います。
The charge limit can be set with {{ic|asusctl -c <limit>}}, where limit is between 20 and 100.
 
   
  +
$ asusctl bios -D 0
=== Supergfxctl ===
 
   
  +
そして再起動します。
Supergfxctl is run via {{ic|supergfxctl}}. Using {{ic|supergfxctl -m <mode}} switches between modes, and takes {{ic|Hybrid}} or {{ic|Integrated}} as options. It can also take {{ic|Vfio}} if you enabled it in the settings.
 
  +
  +
=== Optimus モードに戻る ===
  +
  +
Optimus モードへの切り替えは、次のコマンドで行います。
  +
  +
$ asusctl bios -D 1
  +
  +
そして再起動します。
  +
  +
== 視覚効果 ==
  +
  +
=== RGB/キーボードバックライト ===
  +
  +
次のコマンドを使用して、LED モードを切り替えます。
  +
  +
次のモード:
  +
  +
$ asusctl led-mode -n
  +
  +
前のモード:
  +
  +
$ asusctl led-mode -p
  +
  +
{{ic|/etc/asusd/asusd-ledmodes.toml}} を編集することで、キーボードのバックライト効果を定義できます。
  +
  +
RGB 効果の設定 (サポートされているモデルを使用している場合) は {{ic|/etc/asusd/aura.conf}} に保存されます。通常、このファイルを手動で編集する必要はなく、{{ic|asusd.service}} を再起動するたびに再作成されます。
  +
  +
=== AniMe matrix ディスプレイ ===
  +
  +
AniMe matrix ディスプレイを備えたラップトップの場合、それを制御するための設定とオプションは {{ic|/etc/asusd/anime.conf}} に保存されます。
  +
  +
Linux で使用するには、まず {{ic|asusd-user}} [[ユーザーユニット]] を [[有効化]] する必要があります。
  +
  +
== rog-control-center ==
  +
  +
[[asusctl]] の多くの機能は GUI で制御できます。{{aur|rog-control-center}} としてパッケージ化されているか、[https://wiki.archlinux.org/title/ASUS_Linux#Custom_repository Custom repository] から入手できます。
  +
  +
ラップトップに RGB、バックライト効果、または AnimMe matrix ディスプレイがある場合、このツールを使用すると、それらを制御する能力が大幅に向上します。
  +
  +
=== カスタムファン曲線 ===
  +
  +
rog-control-center を使用すると、サポートされている電力プロファイルごとに、CPU と GPU の両方のカスタムファンカーブを定義できます。
  +
{{Warning|この機能は '''非常に''' 不​​安定なようです。有効にした後、スタッタリング、ビデオのドロップフレーム、またはその他の一見電源に関連する問題が発生した場合は、無効にしてオフのままにする必要があります。}}

2023年5月7日 (日) 02:55時点における最新版

関連記事

asusctlAUR を使用すると、ROG および TUF ラップトップの所有者は、CLI からラップトップを制御できます。キーボード制御 (輝度、RGB、およびバックライト)、カスタム充電制限の設定、システム電力プロファイルの変更、ファン曲線の設定、および AniMe matrix スディスプレイを制御します。

インストール

asusctlAUR パッケージを インストール して下さい。または カスタムリポジトリ から、asusd.service systemd サービスを 有効化 して下さい。

一部の機能には、Linux の新しいバージョン、具体的には 6.1 以降が必要な場合があります。ASUS Linux は カスタム カーネル を提供していますが、これにはまだメインラインカーネルにマージされていないパッチが含まれています。

使い方

コマンド asusctl を単独で発行すると、サポートされているオプションのリストが出力されます。サブ値を使用してサブカテゴリのオプションを一覧表示することもできます。たとえば、asusctl bios は BIOS サブカテゴリのすべてのオプションを一覧表示します。

サブカテゴリを扱う場合、フラグの大文字と小文字を入れ替えることで現在の設定を照会できます。大文字のフラグは変更を行い、小文字のフラグは現在の設定を照会します。たとえば、asusctl bios -o は現在のパネルオーバードライブ状態を返し、asusctl bios -O true はそれを有効に設定します。

サポートされているオプションを表示

次のコマンドは、ラップトップがサポートするすべてのオプションを表示するために使用されます。

$ asusctl -s

充電制限

次の方法でバッテリーの充電制限を設定します。

$ asusctl -c limit 

ここで、limit は 20 から 100 の間です。

ノート: 75 の充電制限は、頻繁にプラグを抜くラップトップに適しています。ほとんどの場合プラグを差し込んだままにする場合は、60 が適切な値です。

パネルオーバードライブ

ラップトップがパネルオーバードライブをサポートしている場合は、次のコマンドで切り替えることができます。

$ asusctl bios -O <true/false>

パワープロファイル

Quiet、Balanced、および Performance モードがサポートされています。

次のようにパワープロファイルを変更します。

$ asusctl profile -P profile

または、次を使用してすべてのプロファイルを循環します。

$ asusctl profile -n

起動時に自動的に読み込まれるようにしたい場合は、/etc/asusd/profile.conf で電源プロファイルを設定できます。

ノート: パワープロファイルを切り替えには、power-profiles-daemon パッケージが実行されている必要があります。

MUX スイッチの使用

ディスクリートグラフィックスのみへの切り替え (MUX スイッチ)

supergfxctl は、MUX スイッチが有効になっているかどうかを検出でき、有効になっていてもディスプレイマネージャーが失敗することはありません。asusctl で他の Optimus マネージャーを使用して MUX を制御すると、問題が発生する可能性があります。

ディスクリートグラフィックスへの切り替えは、次のコマンドで行います。

$ asusctl bios -D 0

そして再起動します。

Optimus モードに戻る

Optimus モードへの切り替えは、次のコマンドで行います。

$ asusctl bios -D 1

そして再起動します。

視覚効果

RGB/キーボードバックライト

次のコマンドを使用して、LED モードを切り替えます。

次のモード:

$ asusctl led-mode -n

前のモード:

$ asusctl led-mode -p

/etc/asusd/asusd-ledmodes.toml を編集することで、キーボードのバックライト効果を定義できます。

RGB 効果の設定 (サポートされているモデルを使用している場合) は /etc/asusd/aura.conf に保存されます。通常、このファイルを手動で編集する必要はなく、asusd.service を再起動するたびに再作成されます。

AniMe matrix ディスプレイ

AniMe matrix ディスプレイを備えたラップトップの場合、それを制御するための設定とオプションは /etc/asusd/anime.conf に保存されます。

Linux で使用するには、まず asusd-user ユーザーユニット有効化 する必要があります。

rog-control-center

asusctl の多くの機能は GUI で制御できます。rog-control-centerAUR としてパッケージ化されているか、Custom repository から入手できます。

ラップトップに RGB、バックライト効果、または AnimMe matrix ディスプレイがある場合、このツールを使用すると、それらを制御する能力が大幅に向上します。

カスタムファン曲線

rog-control-center を使用すると、サポートされている電力プロファイルごとに、CPU と GPU の両方のカスタムファンカーブを定義できます。

警告: この機能は 非常に 不​​安定なようです。有効にした後、スタッタリング、ビデオのドロップフレーム、またはその他の一見電源に関連する問題が発生した場合は、無効にしてオフのままにする必要があります。