< Laptop

Laptop/ASUS

AcerAppleASUSDellFujitsuHPIBM/LenovoMSISamsungSonyToshibaOther

See also Wikipedia:Asus.

Battery charge threshold

Kernel 5.4 brought the ability to set the battery charge threshold for some Asus laptops, by modifying the charge_control_end_threshold variable exposed under /sys/class/power_supply/BAT0/.

By default this value is set to 100 and reset on every power cycle.

The effect of its change can be demonstrated as follows:

$ cat /sys/class/power_supply/BAT0/status
Charging
$ cat /sys/class/power_supply/BAT0/capacity
74
# echo 60 > /sys/class/power_supply/BAT0/charge_control_end_threshold
$ cat /sys/class/power_supply/BAT0/status
Not charging
Note: As of 2020-12-11, the following battery device names are recognized: BAT0, BAT1, BATC and BATT. Adjust accordingly or use the single character wildcard (?), e.g. BAT?.

systemd service

In order to automatically change the value at boot, create the following systemd service:

/etc/systemd/system/battery-charge-threshold.service
[Unit]
Description=Set the battery charge threshold
After=multi-user.target
StartLimitBurst=0

[Service]
Type=oneshot
Restart=on-failure
ExecStart=/bin/bash -c 'echo '''60''' > /sys/class/power_supply/BAT0/charge_control_end_threshold'

[Install]
WantedBy=multi-user.target

and then enable it.

Tip: Replace 60 with the desired value.

Restart=on-failure and StartLimitBurst=0 are used to work around the service failing with a error.

This error is due to the service being started before asus-wmi could be loaded by the kernel (noted as in the journal), making it impossible to write there.

The combination of those two options allows unlimited restart of the service for (set to 10 seconds by default in ), leaving enough time for the sysfs path to become available and writable and thus ensuring the fastest execution of the service.

udev rule

The battery's charge_control_end_threshold power supply class attribute does not initially exist. It is added to the sysfs(5) directory by the asus-nb-wmi kernel module. Create a udev rule for asus-nb-wmi to set the battery's charge threshold:

Persist after hibernation

While this setting will persist after suspending to RAM, it will be reset when resuming from hibernation. In order to re-execute the service after hibernation, use one of the methods described in Power management#Sleep hooks.

E.g. if using Power management#Generic service template, enable an instance of the created template using:

# systemctl enable sleep@battery-charge-threshold.service

If creating a script as described in Power management#Hooks in /usr/lib/systemd/system-sleep, use something similar to:

Do not forget to make the script executable.

Asus-Bat Tool

Another (more simple) way to force the charging threshold is by using , which provides a service and an intuitive terminal interface to change the threshold by typing .

Note however, that the AUR packages is orphaned at the current state.

Model list

Vivobook

| VivoBook 13 Slate OLED T3300 || 2022-08-11 || || || data-sort-value=5 style="background: inherit; color: inherit; vertical-align: middle; text-align: center; "|– || || || || Fingerprint enrolls but never matches. Cameras do not work. || Set the module parameter for in order to use eMMC. |- | VivoBook M513IA || 2021-09-12 || || || data-sort-value=5 style="background: inherit; color: inherit; vertical-align: middle; text-align: center; "|– || || || || See #Function key behavior || |- | VivoBook F510UA || 2018-07-01 || || || data-sort-value=5 style="background: inherit; color: inherit; vertical-align: middle; text-align: center; "|– || || || || || UEFI secure boot key rejected, had to disable in BIOS. |- | VivoBook 14 X442UA-GA139T || 2018-05-01 || || || || || || || || UEFI secure boot does not pass, might need work. |- | VivoBook S301LA || 2016-09-01 || || || || || || needed for hotkeys and backlight control. For package power states lower than PC3, see Remarks. || || To reach PC7, has to be built without certain build options. An easy way to do this is to build after modifying its by removing EXTRA_CFLAGS='-DCONFIG_R8168_NAPI -DCONFIG_R8168_VLAN' |- | VivoBook X512DA || 2019-03-15 || || || data-sort-value=5 style="background: inherit; color: inherit; vertical-align: middle; text-align: center; "|– || || || || See #Function key behavior || Fan spins unusually fast when started plugged in. |- | Vivobook S14 M433 (X421IA) || 2020-07-31 || || || data-sort-value=5 style="background: inherit; color: inherit; vertical-align: middle; text-align: center; "|– || || || || Fingerprint does not work. See #Function key behavior || See article for more details. |- | VivoBook X509DA_D509DA || 2021-06-21 || || || data-sort-value=5 style="background: inherit; color: inherit; vertical-align: middle; text-align: center; "|– || , with rtl8821ce-dkms-gitAUR || || || Sometimes the touchpad is not recognized, to fix run and || Needed an external wifi/ethernet adapter (via USB) during archiso (for access to internet), screen brightness is set to lowest when you plug/unplug your power for the first time after boot (now fixed, i think by adding the module in ) |- | VivoBook Pro 14 (M3400) || 2021-04-29 || || || data-sort-value=5 style="background: inherit; color: inherit; vertical-align: middle; text-align: center; "|– || || || || A few keys were strangely mapped (e.g. Screenshot key mapped to ). || Recovering from DPMS brightness reset to default can be solved by replacing with . |- | Vivobook X450LCP || 2019-11-01 || || || || || || || Touchpad works better with deprecated xf86-input-libinput driver || Apparently there is no way to control manually the fan. Every time the fan just stops spinning, needing suspending/reboot to fix. |}

Function key behavior

The Function keys default behavior is ,,etc… and must be unset by using Fn+Esc to use alternative functions.

Gaming

| GL552VM-DM-802D || 2017-02-01 || || || || || || || || Needs to have keys backlight control, and to boot. |- | G502VM-FY017T || 2017-02-01 || || || || || || || The screen adjustment need a little workaround || |- | FX502VM || 2017-02-01 || || || || || || || Fn keys does not send ACPI events, except ,,F12 (sound control) || |- | FX504GD || 2019-05-30 || || || || || || || For Fan Speed Control see Fan speed control#Alternative method using EC registers. For touchpad five finger touch of death apply patch pinctl-intel.c patch || |- | FX505DY || 2020-12-01 || || || || || || || || See #Black screen after sleep |- | FX505DT || 2021-09-30 || || || || || || || See #Battery charge threshold. Keyboard backlight settings can be controlled via || See #Black screen after sleep |- | G73SW || 2011-08-19 || || || || || || || || |- | G550JK || 2014-08-01 || || || || || || || || fix background noises while using headphones |- | FX 533VE || 2018-02-01 || || || || || || || || See #Nouveau prevents boot. |- | FX 504GM || 2019-02-01 || || || || || || || || Did not manage to use the HDMI output (in fact, it is possible, but...), issue posted on the forum. See #Nouveau prevents boot. |- | FX 504GE || 2019-06-01 || || || || || || || || See #Elan1200 touchpad. |- | GL 503VD || 2019-02-01 || || || || || || || || See #Elan1200 touchpad.
See #Nouveau prevents boot. |- | FA506IV || 2022-02-02 || || || || || || || Keyboard backlight works but needs faustus with (or ) to change RGB. || If using EFISTUB, cannot change the UEFI timeout using efibootmgr. |}

Republic of Gamers (ROG)

| ROG G55VW || 2012-07-30 || || || || || || || || |- | ROG Strix GL702ZC || 2017-04-01 || || || || || || || Backlight keys are amdgpu, not xbacklight. Fancontrol is ACPI, there are some amdgpu fan control stuff on aur/github. || |- | ROG Zephyrus M || 2019-11-01 || || || || || || || No control over fans and keyboard backlight. Most of functional keys not working || The battery is the big disadvantage. On Windows it can last for up to 6h, however. This laptop is definitely not Linux friendly |- | ROG Zephyrus G14 (GA401I) || 2021-05-12 || || || data-sort-value=5 style="background: inherit; color: inherit; vertical-align: middle; text-align: center; "|– || || || || Some function keys and AniMe LED matrix work with kernel patches and . || |- | ROG Zephyrus G15 (GA502IU)|| 2020-07-08 || || || || || || || Some custom keys do not work. Can control only one fan with asus_nb_wmi module. || |- | ROG Zephyrus S15 (GX502LWS) || 2020-20-25 || || || || || || || Keyboard colors work using || |- | ROG Flow X13 (GV301QE) || 2021-07-01 || rowspan="2" || rowspan="2" || rowspan="2" data-sort-value=5 style="background: inherit; color: inherit; vertical-align: middle; text-align: center; "|– || rowspan="2" || rowspan="2" || rowspan="2" || Both accelerometer sensor and lid-backflip are not detected (waiting for asus-wmi fix?). || rowspan="2" | Tablet integration is manual, because the lid-backflip sensor is missing. |- | ROG Flow X13 (GV301QH) || 2021-10-09 || Lid-backflip is not detected. Fingerprint sensor is detected when libfprint is fully upgraded, however it always fails to verify. |- | ROG Zephyrus GU501GM || 2021-11-24 || || || data-sort-value=5 style="background: inherit; color: inherit; vertical-align: middle; text-align: center; "|– || || || || Fan curves cannot be changed though overboost modes work. RGB works with and all keys work except the mute microphone button || HDMI output is hardwired to the Nvidia GPU. |- | ROG Strix G15 G513QY Advantage Edition || 2022-01-16 || || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || Flashing lights during sleep could be disable with . Support for custom fan curves should land in kernel 5.17 || |- | ROG Strix Scar G15 G533QS || 2022-02-19 || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || || |- | ROG Strix G15 G513 (G513QR) || 2022-02-21 || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || Internal mic is very noisy (almost useless). Headset mic requires workaround: Install , run hdajackretask, select Realtek ALC825 from menu and override pin with "Microphone". || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || Sometimes the WiFi card is not recognized after rebooting. The keys for changing profile and muting the mic require workaround (see fix for profile and mic-mute. || Secure boot disabled. Followed asusctl guide but did not try nor the kernel (from g14 repo). |- | ROG STRIX G732LXS || 2022-11-12 || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || data-sort-value=5 style="background: #afa; color: inherit; vertical-align: middle; text-align: center; "|Yes || supergfxd works perfectly with balanced seetings. Optimus needs nvidia only || |}

The Ultimate Force (TUF)

Model versionDateVideoSoundEthernetWirelessBluetoothPower managementOtherRemarks
ASUS TUF Dash F15 (FX517ZC/ZR/ZM/ZE)2022-07-01YesYesYesYesYesKeyboard RGB not controllable (even with Faustus). All function keys (except Aura) work.Needs ibt=off kernel parameter to boot. Hybrid GPU switching works perfectly using .

Asusctl

(or ) implements functionality specific to the ROG line of laptops, such as backlit keyboards, fan profiles, and the AniMe LED matrix. Check the project's official site for usage: https://asus-linux.org/

Black screen after sleep

Add to your kernel command line.

Nouveau prevents boot

Boot with nouveau disabled: use on the kernel command line. Need to edit bumblebee service to boot : https://github.com/Bumblebee-Project/Bumblebee/issues/764#issuecomment-450749984.

Elan1200 touchpad

Some fixes are needed: see https://bugzilla.redhat.com/show_bug.cgi?id=1543769.

ZenBook

Model versionDateVideoSoundEthernetWirelessBluetoothPower managementOtherRemarks
UX305FA2016-10-01YesYesYesYesYesYesFunction keys for brightness (/) do not send ACPI events
UX303LN2014-10-01YesYesYesTouchpad misses gestures, Touchscreen misses multi-touch supportAvoid some power management features due to Kernel Bug 102091.
UX32L(N)2015-08-29YesYesYesYesYesSet the kernel parameters video.use_native_backlight=1 acpi_osi= for working backlight keys and backlight restore.Avoid activating some power management features due to Kernel Bug 102091.
UX4802019-10-23YesYesYesYesYes
UX430UA2017-06-01YesYesYesYesYesPWM Fan control is not availableSee dedicated page.
UX390UA2018-05-01YesYesYesYesYes
UX534FTC2020-04-09YesYesYesYesYes
UM3402YA2022-09-28YesYesYesYesFancontroll, fingerprint sensor not working; "deep sleep"/suspend to ram draining power; internal speakers not workingBluetooth works since kernel ~5.19

ExpertBook

Model versionDateVideoSoundEthernetWirelessBluetoothPower managementOtherRemarks
B94502020-04-20YesYesYesYesYesYes
B9450CEA2021-03-14YesYesYesYesYes
BR1100FKA2021-05-28YesYesYesYesYesYesUntested: Webcam
Microphone
Touchpad
Stylus
Set the module parameter for in order to use eMMC.

Eee PC

Model versionDateVideoSoundEthernetWirelessBluetoothPower managementOtherRemarks
T101MT2010-08-14YesYesYesYes
1005P2013-04-22YesYesYesYesYes
1015 series2014-05-19YesYesYesYesYes
1201 series2017-11-11YesYesYesYesYes
1215 series2017-12-08YesYesYesYesYesMight need

Other

Model versionDateVideoSoundEthernetWirelessBluetoothPower managementOtherRemarks
W7S2007-08-01YesYesYesYesYesYesWebcam:
F5R2008-01-16YesYesYesYesACPI works with acpi4asus and acpid
M51SN2008-12-17YesYesYesYesYesAdd to /etc/modprobe.d/modprobe.conf
N80Vn-X52009-02YesYesYesYesYesAdd to /etc/modprobe.d/modprobe.conf
F8SN2009-08YesYesYesYes
L3000D2010-02-13YesYesYesYes
N53JN2010-11-03YesYesYesYesHibernate: Untestedsuspend works but with problems due to USB3 controller
N53SV2011-06-26YesYesYesYesSee also Ubuntu help
N56 series2014-06-30YesYesYesYes
A8Le2011-07-31YesYesYes
UL30A2011-08-19YesYesYesYesNeeds
A53T2012-07-21YesYesYesYesYes
K55VM2013-04-01YesYesYesYesYes
A55VJ2013-05-01YesYesYesYesYesYesUse to prevent jittery touchpad.
X401A/X401A12013-05-01YesYesYesYesbrightness control needs asus-nb-wmi and
X502CA2013-07-01YesYesYesYesYesPoor Wi-Fi performance
S300CA2013-08-01YesYesYesYesYesUse acpi_osi=Linux acpi_backlight=vendor
Q400A2013-10-17YesYesYesYesYesHibernate: Untested
X401U2014-01-05YesYesYesYes
K55N2014-11-12YesYesYesYesOverheats and immediately shuts down on modern 3D games. Use thermald to control temp using acpi_cpufreqFix fn brightness keys with acpi_osi="!Windows 2012" video.use_native_backlight=1. Do not enable early radeon hook to prevent blank screen after hibernation. Fix blank screen on suspend to ram with .
X53BR/K53BR2014-03-30YesYesYesYesYesheats up very fast
X551CA2014-03-24YesYesYesDisabling WiFi blocks the card, does not work. Workaround on Ubuntu forum.
N550JV2014-03-01YesYesYes*external speakers pop on sleep/shutdown
**battery issues when a powered device is left plugged into the USB charging port.
X83VB-X22014-09-01YesYesYesYes
Q500A2015-02-01YesYesYesYesYes
S400CA2015-02-01YesYesYesYesYesUntested:
USB3
Use acpi_osi=Linux acpi_backlight=vendor
U32U2015-02-01YesYesYesYesYesNeeds significant setup. Power management hard to get right. CPU Fan constantly on.For rfkill issues may help
X551MA2017-01-31YesYesYesYesYesYesSet for proper display brightness control
X553MA2015-06-01YesYesYesYesYesSet in BIOS setup to Windows 7
broadcom-wl (causes freezes)
F550J (aka A550J)2015-09-01YesYesYes recommended for touchpadRecommend to disable standalone graphic card
N550JX2015-12-01YesYesYesYesYesYesRead dedicated page.
X552M2015-12-01YesYesYesYesYesUse for changing backlight with /Install for WiFi (LED will not work but the proprietary KMS driver leads to sporadic OS freezes).
E403SA2017-10-29YesYesYesYes
F555UA2016-08-14YesYesYesYesNo two finger scroll, very buggy touchpadAdd to /etc/modprobe.d/alsa-base.conf to get mic and headphone/mic to work
K501J2016-09-01YesYesYesYesTouchpad works with xf86-input-libinput, but somewhat uncomfortable. Better with even if deprecated.
K501LX2017-01-01YesYesYesYesYesYesAdded to kernel parameters to make bbswitch work correctly.
R540SA2017-03-01YesYesYesYesYesYes
N551VW2017-06-01YesYesYesYesYes
N551ZU2022-10-20YesYesYesYesYesAMD Enduro supported via PRIME
N76V2019-01-05YesYesYes
X451MA2021-02-12YesYesYesYesInstall
K55VD2021-11-27YesYesYesYesYes* fails with both and
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.