Asusctl
asusctlAUR is a useful utility provided by Asus Linux. It helps with managing BIOS settings, RGB lighting, and more on ASUS, TUF, and ROG laptops.
目次
Installation
Downloading
Installation can be done through both the AUR with asusctlAUR 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.
Some features may require a newer version of Linux, specifically 6.1 or newer. linux-g14AUR supplies the patches required for these features on an older kernel but should not be used now as it is obsolete. linux-g14 is also available in the custom repository.
supergfxctlAUR and rog-control-centerAUR 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.
Supergfxctl
Supergfxctl is an Optimus software for Nvidia, and as such is incompatible with optimus-managerAUR, 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, 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
Enable the following services -
asusd.servicefor Asusctlpower-profiles-daemon.servicefor setting charging limits via power-profiles-daemonsupergfxd.servicefor Supergfxctl--user asusd-user.servicefor ANIME sequence support on certain laptops--user asus-notify.servicefor notification support about your laptop
Configuration
Battery and BIOS
Battery and BIOS options can be set to certain values in /etc/asusd/asusd.conf. The battery charge limit can be set in 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.
Fan curves
Fan curves can be set in /etc/asusd/profile.conf. Quiet, Balanced, and Performance mode can be selected as power profiles if power-profiles-daemon is enabled.
Visual Effects
Aura lighting and the ANIME matrix can be configured via their respective configuration files in /etc/asusd.
Supergfxctl
Supergfxctl is configured at /etc/supergfxd.conf. VFIO can be enabled with the discrete GPU and the startup mode (Hybrid or Integrated) can be set as well.
Usage
Asusctl
Asusctl is used via the 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 rog-control-center works for a GUI, but is rather buggy and sometimes does not correctly apply settings.
Common BIOS settings
These BIOS settings have appeared on several laptops.
- GPU MUX mode - For laptops with integrated MUX switches,
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.asusctl bios -dgets the current mode. - Device panel overdrive - For laptops with panels that support overdrive,
asusctl bios -O <mode>toggles it. True toggles it on, and false toggles it off.asusctl bios -ogets the status of the feature.
Charge Limit
The charge limit can be set with asusctl -c <limit>, where limit is between 20 and 100.
Supergfxctl
Supergfxctl is run via supergfxctl. Using supergfxctl -m <mode switches between modes, and takes Hybrid or Integrated as options. It can also take Vfio if you enabled it in the settings.