Fan control and turning off RGB lights on AYN Loki
Hello everyone, I have been trying out Bazzite on my AYN Loki and it works great, but I'm unable to apply fan control so it won't be as noisy and power hungry, and turn off the RGB light that its stuck on a cyan-blue.
There is a script by toast_tato that handle this on Chimera OS, but the script doesn't work on Bazzite, at least in my attempts.
Its there some plug in or something similar that could help me out? Link to the script https://docs.google.com/document/d/17a0F6Wsdak1ekE6XDUn749BNynU5mj8FH9vpzDWm_bg/edit?usp=sharing
Google Docs
AYN Loki Max fan control and CPU Gorvernor
14 Replies
you can turn off the leds in steam settings
as for the fans, you need a script for that
unsure if it will work though, unclear if bazzite ships the fan controls
i dont know if they are part of ayn platform
I tried using the scripts but they don't seems to work on Bazzite.
look under hwmon to see if theres the fan interface
i havent looked into fans yet
This is what I got.
hwmon0 - ACAD
hwmon1 - acpitz
hwmon2 - BATT
hwmon3 - nvme
hwmon4 - amdgpu
hwmon5 - ki0temp
hwmon6 - zenergy
hwmon7 - aynec
aynec is the fan curve
In theory, I should replace hwmon6 on the script to hwmon7?
the proper way to do it is
look through all of them and find the one that has the aynec name
and use that one
as it can change
also note that for systemd to run a script, you will probably need to tag it properly
SE Linux prevents systemd from running stuff otherwise
you basically need to vet it as safe
e.g.
sudo chcon -u system_u -r object_r --type=bin_t /filepath/to/executable/goes/here
Where do I write this?
assuming you followed that google doc exactly, then probably
sudo chcon -u system_u -r object_r --type=bin_t /etc/ayn/ayn.sh
can you mark an executable in the /etc dir?
🤔 not sure tbh, i usually put my scripts in either
~/.local/bin
or /usr/local/bin
It looks like it worked!
Thanks a lot!
Sorry to bug I'm trying to also change the fancurve on bazzite for my loki max but not too sure what to do did you follow the google doc exactly and just replace hwmon6 with hwmon7? Thanks in advance