diff --git a/MANUAL.md b/MANUAL.md index 746ce308..89a5a292 100644 --- a/MANUAL.md +++ b/MANUAL.md @@ -97,7 +97,7 @@ These options are not written to the config file as they are stored in efivars. ### 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: 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 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: @@ -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. ---- \ No newline at end of file +--- diff --git a/README.md b/README.md index 45b9a10b..f742317e 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,9 @@ but can also be used with non-asus laptops with reduced features. ## 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 -2. https://lkml.org/lkml/2021/8/18/1022 +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. ## 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 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 server link](https://discord.gg/4ZKGd7Un5t) @@ -63,19 +58,19 @@ will probably suffer another rename once it becomes generic enough to do so. # 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` ## Installing - +- - Fedora copr = https://copr.fedorainfracloud.org/coprs/lukenukem/asus-linux/ - 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. -Run `make` then `sudo make install` then reboot. +======= The default init method is to use the udev rule, this ensures that the service is started when the device is initialised and ready. diff --git a/daemon/src/ctrl_profiles/controller.rs b/daemon/src/ctrl_profiles/controller.rs index 3b1b845a..18d90c0d 100644 --- a/daemon/src/ctrl_profiles/controller.rs +++ b/daemon/src/ctrl_profiles/controller.rs @@ -21,8 +21,7 @@ impl GetSupported for CtrlPlatformProfile { warn!( r#" 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: -https://lkml.org/lkml/2021/8/18/1022 +To enable profile support you require a kernel version 5.15.2 minimum. "# ); } @@ -38,8 +37,8 @@ https://lkml.org/lkml/2021/8/18/1022 r#" 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: -https://lkml.org/lkml/2021/8/20/232 -Please note that as of 24/08/2021 this is not final. +https://lkml.org/lkml/2021/10/23/250 +This patch has been accepted upstream for 5.17 kernel release. "# ); }