flukejones / asusctl Goto Github PK
View Code? Open in Web Editor NEWDaemon and tools to control your ASUS ROG laptop. Supersedes rog-core.
Home Page: https://asus-linux.org/
License: Mozilla Public License 2.0
Daemon and tools to control your ASUS ROG laptop. Supersedes rog-core.
Home Page: https://asus-linux.org/
License: Mozilla Public License 2.0
I tested the program on my Vivobook K6502VU, which also should have many of the functions including MUX switch and battery charging limit. However the program can't work fine here. I am asking whether it is planned to be supported by this program. Or, if it were to be supported, what work should be done? Thanks.
Hi,
I use asusctl for configure keyboard light, but when I boot system 2-3 seconds keyboard lighting turn on and off.
OS: Ubuntu
Laptop Asus Tuf
In /etc/asus/anime... I Changed configure but after reboot system configure backs to normal.
( I disabled all switches in settings menu. )
The matrix constantly shows the same default gif and I can not change it:
The same gif always appears on boot, wake, idle etc.
asusctl anime image -p /home/luca/Downloads/image.png
Executing this image command seems to work. It does not give me any error message on correct syntax. But the image on the back does not change.
asusctl anime --clear
Trying to clear the matrix also does not work. It only stops if I actually disable it completely.
I checked the configuration file /etc/asusd/anime.ron
and the gif is not set in boot, wake or shutdown (The default sonic files are set there). I also can not find it in the default matrix directory (/usr/share/asusd/anime/
).
I am running pop os on a GA402RJ (Zephyrus G14 2022) and used an older version for about a year without problems. Recently I reset my computer and updated to the latest version of asusctl (5.0.10). I set the brightness to 2, enabled the display and animations.
I am on manjaro 6.7 I just installed asusctl latest is 5.08. The fan profile page is blank. There is small performance check box at the top but clicking it doesn’t do anything. The curve page is blank and there are no apply, reset to factory boxes at the bottom, the rest of the system settings are working fine
Hello,
TL;DR: It's not a bug per se, more an user experience on new releases.
Why there was a switch from egui to slint for rog-control-center? I get that egui is somewhat specific while programming, but it's like whole Rust ecosystem. Slint on the other hand is making build slooow, even with sccache, it's barely readable, things like confirmation of setting change overlays on top of other elements being pain in the ..., it adds only negative experience, and on top of that it's GPL3, which makes me believe it can be somewhat problematic with MPL2 of this project.
So please, please, go back to egui or just take more streamlined approach and pick some GTK/Qt/whatever which will not force me to build entire bible of code just to get small tool up to date. I would rather use gui looking as it came from windows 95 than this, I would pick any web based UI over this.
Everything else is just great, thank you for adding new features!
Hello. On my asus rogflow x13 performance profiles are not correctly set. When i set silent profile on windows and with AC adapter unplugged, then switch to my archlinux system and turn to the normal setting, system is as slow as on silent profile. Is i tpossible that Windows presets in armoury crate have a priority with the performance settings than the asusd? What you need to get to solve the problem? I can send any additional information if i will know, what you need. And yep, i know that archlinux is not officially supported, but i've compiled asusd from here.
Hello,
it looks like asusd service doesn't start by itself on my Asus Zenbook 3504… I fixed it locally by tweaking custom udev rules…
For the recorde, dmidecode says Family: Zenbook
.
With the all informations I don't have on Zenbooks support, I'd add a naïve:
ENV{DMI_FAMILY}=="*Zenbook*", GOTO="asusd_start"
I can attest that asusd service works like a charm on my laptop, I use it daily since months, maybe other zenbooks have issues ?
For a detailed info, I attached my dmidecode output: dmidecode.txt
OS: Arch
Kernel: 6.3.5-arch1-2-g14
DE: Plasma 5.27.5
Package built with pacman following the Arch Setup Guide
Like the title says the notifications service fails to enable and or start. However from the rog-control-center the notifications work just fine but they disappear before you can read them. Almost instantly. I will set up an issue about the rof-control-center on gitlab probably tomorrow.
Any info I can provide you that can help or if there is something I can do to test let me know.
Thanks for your work, this project is pretty awesome!
On Fedora 35 and Asus ROG Zephyrus G15 GA503Q, I can't get profile-get and profile-set to work, each time it says "Missing arg or command"
$ asusctl profile --profile-get
Warning: Profiles now depend on power-profiles-daemon v0.9+
Warning: Fan-curve support is coming in a 4.1.x release
Missing arg or command
Optional arguments:
-h, --help print help message
-n, --next toggle to next profile in list
-l, --list list available profiles
-p, --profile-get get profile
-P, --profile-set PROFILE-SET
set the active profile
Debian testing / KDE plasma 5.27 / Linux 6.6.15-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.15-2 (2024-02-04) x86_64 GNU/Linux
Hi,
Thanks for your great work.
I own a Rog Strix Scar 2 and when attempting to disable the keyboard animation during the sleep, I get:
sudo asusctl anime --enable-powersave-anim=false
Error: org.freedesktop.DBus.Error.UnknownInterface: Unknown interface 'org.asuslinux.Anime'
asusctl version: 6.0.0-alpha4
Product family: Strix
Board name: GL704GV
Supported interfaces:
[
"Platform",
]
Supported properties:
[
ChargeControlEndThreshold,
PanelOd,
ThrottlePolicy,
]
Moreover, I cannot start rog center:
rog-control-center
[WARN fontdb] Failed to load a font face 0 from '/usr/share/fonts/truetype/povray/povlogo.ttf' cause font doesn't have a family name.
thread 'tokio-runtime-worker' panicked at rog-control-center/src/ui/setup_fans.rs:97:76:
called `Result::unwrap()` on an `Err` value: MethodError(OwnedErrorName("org.freedesktop.DBus.Error.UnknownInterface"), Some("Unknown interface 'org.asuslinux.FanCurves'"), Msg { type: Error, sender: UniqueName(":1.100"), reply-serial: 37, body: Signature("s"), fds: [] })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted (core dumped)
Thanks!
Currently windows is required to disable the flashing lights when charging on sleep mode on the ROG ally. Could you enable asusctl to do this?
Currently, the keyboard lights and matrix lights are ineffective, and the fan will rotate even under no load conditions.
My system version is 6.8.5-arch1-1-g14
Trying to build and install on popos 22.04 highlighted some extra dependencies that are required. I added them in #22.
Since it's Ubuntu based I'm not sure if the same dependencies apply to the Ubuntu instructions.
I would like to help out bringing support for the 2024 G14 model (GA403UI).
I have little experience with Rust, but looking at the code, I think I'll manage.
My first main focus would be to add control for the newly added ledstrip on the back (which replaces the Animatrix if I'm not mistaken).
Looking at the rog-anime code, it seems like you communicate over USB using a specific Asus created protocol?
My hardware coding experiences are pretty rudimentary. Would it be possible to point me in some direction on how one could tackle this problem?
Maybe, the "Anime protocol" can even partly be re-used or act as a starting point.
If anyone else has already been looking into this, please let me know :)
Have a nice day!
laptop - ASUS TUF Gaming F15 FX507ZC4
rog-control-center GUI in keyboard aura when selecting different mods keyboard led does not work correctly. Example: Aura mode Strobe works like a rainbow. Pulse takes the last state of the keyboard.
asusctl led-mode pulse / breathe / static works fine.
OS: arch, graphical desktop environment - Hyprland
version: 6.0.11
Breathe and Static works fine!
Thanks for your project
Issue:
(base) ➜ ~ asusctl --version
thread 'main' panicked at asusctl/src/main.rs:53:85:
called `Result::unwrap()` on an `Err` value: Variant(Message("unknown variant `PlatformPolicy`, expected one of `ChargeControlEndThreshold`, `DgpuDisable`, `GpuMuxMode`, `PostAnimationSound`, `PanelOd`, `MiniLedMode`, `EgpuEnable`, `ThrottlePolicy`, `PptPl1Spl`, `PptPl2Sppt`, `PptFppt`, `PptApuSppt`, `PptPlatformSppt`, `NvDynamicBoost`, `NvTempTarget`"))
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: asusctl::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
[1] 7413 IOT instruction (core dumped) asusctl --version
Context:
Issue appeared after update to current version. Did not perform basic troubleshooting (i.e. rollback update) yet.
Data:
Platform: x86_64
Version: 5.0.8-3.fc39
Repository: copr:copr.fedorainfracloud.org:lukenukem:asus-linux
Kernel: Linux XXX 6.7.5-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Feb 17 17:20:08 UTC 2024 x86_64 GNU/Linux
My laptop is a Zephyrus G15 Ryzen 9 5900HS RTX 3070
Available graphics modes are Integrated and Hybrid
In hybrid mode, I can't get games like Minecraft to run on the Nvidia GPU (Checked in game and using nvidia-smi
)
I've tried
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia ftb-app
and adding an nvidia-settings profile and rule, neither of which seem to work :(
Guidance appreciated
Distro: Arch Linux
Asusctl version: 4.7.0-RC3
Sometimes after rebooting my system, the asusd service would automatically stop itself, and i had to manually start the service every time. When attempting to enable the service using systemctl enable asusd
, an error was displayed indicating that the unit files lacked installation configuration in the [Install] section.
The missing [Install] section prevented the automatic startup of the asusd service during system boot.
Edit the systemd service file located at /usr/lib/systemd/system/asusd.service
,
and add the following at the end of the file.
[Install]
WantedBy=multi-user.target
i tried to re install the app still nothing, tried to change the ron file but still no change, can someone help me understand why this is happening?
this is what the record for my laptopmodel looks like, dont know if its right or wrong.
my laptop has a aura keyboard with one zone, and a lightbar at the bottom that is split into a left zone left corner, middle, right corner and right zone, i tried updating the ron, but nothing changed
i dont have a picture of the edited record cause i forgot to take it before trying to reinstall but basically i put
Zoned([SingleZone.LightbarRight,LightbarLeft,LightbarRightCorner, LightbarLeftCorner, LightbarRightBottom, LightbarLeftBottom in the advanced section
Definitely not a hardware issue cause it works fine on windows.
Hi, I hope I'm not overstepping in creating an issue for this but I haven't been able to find any way to change the RGB keyboard backlight on the stated laptop, and I saw a message in the discord where you told people to make issue here.
Specifically I have the intel S5606 model though I do expect the keyboard to be the same as the AMD M5606 model. I have seen one person in the discord mention something about it being some HIC I2C device, but that's pretty much as much as I found anywhere online. Being new to ASUS laptops I am not sure if this should have the Aura thing that comes up in asusctl complains about not seeing. I have also created this arch forums post with various logs and a little more information in case this is useful.
So I think firstly I would like to ask if you do support these sort of features on non-gaming laptops as well and if this is something that is being worked on or not at all. If not, is there any directions that you could point me towards in as an experienced programmer that however has little experience in this sort of system/hardware stuff.
(Perhaps as a final thing, after getting the g14 kernel etc. asusctl seems to be able to switch between 3 power profiles. That seems like about the right amount of configuration for this sort of laptop so is it fair assume it is all working properly?)
Amid the current heatwave here in my country I've been monitoring my temps more closely and with that, I've also noticed that my CPU is boosting now. I don't really know when it started but I remember there was a previous setting through asusctl to disable CPU boosting but it seems to be gone now. Can that be restored easily?
Hello, on M16 2022 machine (12700H, 3060) dGPU always stays active in hybrid, and even integrated mode. To set everything up I followed F36 workstation guide. Machine is running old 302 BIOS.
I attach asusd and superfxd logs, as suggested by krst:
asusd_log.txt
superfxd_log.txt
Ive used this asuctl gui before but after update it doesn't run just. i can still change from terminal, but gui doesnt work. Ive tried to run with rog-controll-center but got an error:
rog-control-center
[ERROR rog_control_center::tray] Tray unable to be initialised: TrayError: Os(MethodError(OwnedErrorName("org.freedesktop.DBus.Error.ServiceUnknown"), Some("The name is not activatable"), Msg { type: Error, sender: UniqueName("org.freedesktop.DBus"), reply-serial: 20, body: Signature("s"), fds: [] }))
at /usr/src/debug/asusctl/cargo/registry/src/index.crates.io-6f17d22bba15001f/betrayer-0.2.0/src/platform/linux/mod.rs:120:9. Do you have a system tray enabled?
thread 'main' panicked at /usr/src/debug/asusctl/asusctl/target/release/build/rog-control-center-79c6bd8134572f85/out/main_window.rs:89584:49:
called Result::unwrap()
on an Err
value: Other("Error creating gbm surface: Function not implemented (os error 38)")
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
[1] 6080 IOT instruction (core dumped) rog-control-center
Compiling rog_dbus v6.0.0-alpha2 (/home/marc/asusctl/rog-dbus)
Compiling asusd-user v6.0.0-alpha2 (/home/marc/asusctl/asusd-user)
error[E0432]: unresolved imports rog_aura::keyboard::LaptopOldAuraPower
, rog_aura::keyboard::LaptopTufAuraPower
--> rog-control-center/src/types/aura_types.rs:49:42
|
49 | use rog_aura::keyboard::{AuraPowerState, LaptopOldAuraPower, LaptopTufAuraPower};
| ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no LaptopTufAuraPower
in keyboard
| |
| no LaptopOldAuraPower
in keyboard
|
help: a similar name exists in the module
|
49 | use rog_aura::keyboard::{AuraPowerState, LaptopAuraPower, LaptopTufAuraPower};
| ~~~~~~~~~~~~~~~
help: a similar name exists in the module
|
49 | use rog_aura::keyboard::{AuraPowerState, LaptopOldAuraPower, LaptopAuraPower};
| ~~~~~~~~~~~~~~~
error[E0432]: unresolved import rog_aura::usb::AuraPowerDev
--> rog-control-center/src/types/aura_types.rs:50:5
|
50 | use rog_aura::usb::AuraPowerDev;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no AuraPowerDev
in usb
|
help: consider importing this struct through its public re-export instead
|
50 | use crate::AuraPowerDev;
| ~~~~~~~~~~~~~~~~~~~
error[E0432]: unresolved import rog_aura::usb::AuraPowerDev
--> rog-control-center/src/ui/setup_aura.rs:3:5
|
3 | use rog_aura::usb::AuraPowerDev;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no AuraPowerDev
in usb
|
help: consider importing this struct through its public re-export instead
|
3 | use crate::AuraPowerDev;
Hello!
I have a laptop Asus ROG Zephyrus m16 (2023) and Ubuntu 22.04.
And I've been using asusctl for 2 years now, and everything has always been built and worked fine, but recently I decided to update asusctl and now I’m getting the following error on the last step of the build (620 of 621):
Compiling asusctl v6.0.0-alpha1 (/home/darkalert/builds/asusctl/asusctl)
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/home/darkalert/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/darkalert/.cargo/bin:/usr/local/cuda/bin:/home/darkalert/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcg4xEpb/symbols.o" "/home/darkalert/builds/asusctl/target/release/deps/rog_control_center-91747065f216f302.rog_control_center.f55de2dc1663e5f5-cgu.12.rcgu.o" "-Wl,--as-needed" "-L" "/home/darkalert/builds/asusctl/target/release/deps" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/home/darkalert/builds/asusctl/target/release/build/libusb1-sys-02c9730b1fc5b886/out" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/home/darkalert/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/rustcg4xEpb/liblibusb1_sys-ee6ea2330cbe2f7c.rlib" "/home/darkalert/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13fc9d1ed9c7a2bc.rlib" "-Wl,-Bdynamic" "-ludev" "-lseat" "-lxkbcommon" "-ludev" "-linput" "-lgbm" "-ldl" "-ldl" "-ldl" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/darkalert/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/darkalert/builds/asusctl/target/release/deps/rog_control_center-91747065f216f302" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs"
= note: /usr/bin/ld: cannot find -linput: No such file or directory
collect2: error: ld returned 1 exit status
error: could not compile `rog-control-center` (bin "rog-control-center") due to 1 previous error
make: *** [Makefile:141: build] Error 101
I'm creating this umbrella issue to discuss all features UX8406-related.
To start, here's a list of known issues:
Is the MUX switching feature using asusctl bios -D 0
supposed to work on non Asus laptops? The README says features should work on all brands apart from the lights stuff. On my 2023 Lenovo Legion 7i Pro with an RTX 4090, running the above command does nothing, the process doesn't complete and all there is is a blinking terminal cursor on the next line. supergfxctl
is installed and both the asusd
service and the supergfxd
service are running correctly.
Changing the battery charge limit makes my system unable to recover after it's suspended. I can't even access a tty, I've got to shut it down via power button.
Before updating to version 6.0.6
on my ROG Strix I was able to change my keyboard brightness by doing asusctl -k low
but after last update that command modifies instead the brightness of the lightbar. How can I solve this issue.
Id like to see a deckyloader plugin for this application. for users running on things like the ROG ally the ability to manage things in the steam interface would be amazing
system: ROG Zephyrus M16
opensuse tumbleweed
fan curve profile on the rog control center doesnt save the set values of the fan curve. "apply profile" does save the profile, but upon startup, the profile is defaulted and requires changing again. i wanted to change the default values to where i want the edited profile to be but i have had trouble doing so.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.