mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Update patch links
This commit is contained in:
@@ -97,7 +97,7 @@ These options are not written to the config file as they are stored in efivars.
|
|||||||
|
|
||||||
### Profiles
|
### Profiles
|
||||||
|
|
||||||
asusctl can support setting a power profile via platform_profile drivers. This requires [power-profiles-daemon](https://gitlab.freedesktop.org/hadess/power-profiles-daemon) v0.9.0 minimum. It also requires the kernel patch for platform_profile support to be applied form [here](https://lkml.org/lkml/2021/8/18/1022) - this patch is included in the "rog" kernels we build for fedora and arch, and will hit kernel 5.15 upstream.
|
asusctl can support setting a power profile via platform_profile drivers. This requires [power-profiles-daemon](https://gitlab.freedesktop.org/hadess/power-profiles-daemon) v0.10.0 minimum. It also requires the kernel patch for platform_profile support to be applied form [here](https://lkml.org/lkml/2021/8/18/1022) - this patch is merged to 5.15 kernel upstream.
|
||||||
|
|
||||||
A common use of asusctl is to bind the `fn+f5` (fan) key to `asusctl profile -n` to cycle through the 3 profiles:
|
A common use of asusctl is to bind the `fn+f5` (fan) key to `asusctl profile -n` to cycle through the 3 profiles:
|
||||||
1. Balanced
|
1. Balanced
|
||||||
@@ -106,7 +106,7 @@ A common use of asusctl is to bind the `fn+f5` (fan) key to `asusctl profile -n`
|
|||||||
|
|
||||||
#### Fan curves
|
#### Fan curves
|
||||||
|
|
||||||
Fan curve support requires a laptop that supports it (this is detected automatically) and the kernel patch from [here](https://lkml.org/lkml/2021/8/29/50) which is still in review as of 29/09/21. As with Profiles, this is included in the kernels we build, and will hit 5.15 kernel upstream.
|
Fan curve support requires a laptop that supports it (this is detected automatically) and the kernel patch from [here](https://lkml.org/lkml/2021/10/23/250) which is accepted for the 5.17 kernel release .
|
||||||
|
|
||||||
The fan curve format can be of varying formats:
|
The fan curve format can be of varying formats:
|
||||||
|
|
||||||
@@ -356,4 +356,4 @@ Reference to any ASUS products, services, processes, or other information and/or
|
|||||||
|
|
||||||
The use of ROG and ASUS trademarks within this website and associated tools and libraries is only to provide a recognisable identifier to users to enable them to associate that these tools will work with ASUS ROG laptops.
|
The use of ROG and ASUS trademarks within this website and associated tools and libraries is only to provide a recognisable identifier to users to enable them to associate that these tools will work with ASUS ROG laptops.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
17
README.md
17
README.md
@@ -7,10 +7,9 @@ but can also be used with non-asus laptops with reduced features.
|
|||||||
|
|
||||||
## Kernel support
|
## Kernel support
|
||||||
|
|
||||||
You need kernel >= 5.15 or the following patches
|
**The minimum supported kernel version is 5.15**
|
||||||
|
|
||||||
1. https://lkml.org/lkml/2021/8/20/232
|
Fan curve control on laptops with this feature require [this patch](https://lkml.org/lkml/2021/10/23/250) whcih has been merged for 5.17 upstream.
|
||||||
2. https://lkml.org/lkml/2021/8/18/1022
|
|
||||||
|
|
||||||
## Goals
|
## Goals
|
||||||
|
|
||||||
@@ -26,10 +25,6 @@ supported (while asusd might still run fine on them). For best support use fedor
|
|||||||
Point 4? asusd currently uses a tiny fraction of cpu time, and less than 1Mb of ram, the way
|
Point 4? asusd currently uses a tiny fraction of cpu time, and less than 1Mb of ram, the way
|
||||||
a system-level daemon should.
|
a system-level daemon should.
|
||||||
|
|
||||||
**NOTICE:**
|
|
||||||
|
|
||||||
Various patches are required for keyboard support. See [this post](https://asus-linux.org/blog/updates-2021-05-06/) for details on status and which kernels will have which patches.
|
|
||||||
|
|
||||||
## Discord
|
## Discord
|
||||||
|
|
||||||
[Discord server link](https://discord.gg/4ZKGd7Un5t)
|
[Discord server link](https://discord.gg/4ZKGd7Un5t)
|
||||||
@@ -63,19 +58,19 @@ will probably suffer another rename once it becomes generic enough to do so.
|
|||||||
|
|
||||||
# BUILDING
|
# BUILDING
|
||||||
|
|
||||||
Requirements are rust >= 1.47 installed from rustup.io if the distro provided version is too old, and `make`.
|
Requirements are rust >= 1.57 installed from rustup.io if the distro provided version is too old, and `make`.
|
||||||
|
|
||||||
**Ubuntu:** `apt install libclang-dev libudev-dev`
|
**Ubuntu (unsuported):** `apt install libclang-dev libudev-dev`
|
||||||
|
|
||||||
**fedora:** `dnf install clang-devel systemd-devel`
|
**fedora:** `dnf install clang-devel systemd-devel`
|
||||||
|
|
||||||
## Installing
|
## Installing
|
||||||
|
-
|
||||||
- Fedora copr = https://copr.fedorainfracloud.org/coprs/lukenukem/asus-linux/
|
- Fedora copr = https://copr.fedorainfracloud.org/coprs/lukenukem/asus-linux/
|
||||||
- openSUSE = https://download.opensuse.org/repositories/home:/luke_nukem:/asus/
|
- openSUSE = https://download.opensuse.org/repositories/home:/luke_nukem:/asus/
|
||||||
- Ubuntu = not supported due to packaging woes, but you can build and install on your own.
|
- Ubuntu = not supported due to packaging woes, but you can build and install on your own.
|
||||||
|
|
||||||
Run `make` then `sudo make install` then reboot.
|
=======
|
||||||
|
|
||||||
The default init method is to use the udev rule, this ensures that the service is
|
The default init method is to use the udev rule, this ensures that the service is
|
||||||
started when the device is initialised and ready.
|
started when the device is initialised and ready.
|
||||||
|
|||||||
@@ -21,8 +21,7 @@ impl GetSupported for CtrlPlatformProfile {
|
|||||||
warn!(
|
warn!(
|
||||||
r#"
|
r#"
|
||||||
platform_profile kernel interface not found, your laptop does not support this, or the interface is missing.
|
platform_profile kernel interface not found, your laptop does not support this, or the interface is missing.
|
||||||
To enable profile support you require a kernel with the following patch applied:
|
To enable profile support you require a kernel version 5.15.2 minimum.
|
||||||
https://lkml.org/lkml/2021/8/18/1022
|
|
||||||
"#
|
"#
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -38,8 +37,8 @@ https://lkml.org/lkml/2021/8/18/1022
|
|||||||
r#"
|
r#"
|
||||||
fan curves kernel interface not found, your laptop does not support this, or the interface is missing.
|
fan curves kernel interface not found, your laptop does not support this, or the interface is missing.
|
||||||
To enable fan-curve support you require a kernel with the following patch applied:
|
To enable fan-curve support you require a kernel with the following patch applied:
|
||||||
https://lkml.org/lkml/2021/8/20/232
|
https://lkml.org/lkml/2021/10/23/250
|
||||||
Please note that as of 24/08/2021 this is not final.
|
This patch has been accepted upstream for 5.17 kernel release.
|
||||||
"#
|
"#
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user