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
14 Replies
antheas
antheas•9mo ago
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
Anward
AnwardOP•9mo ago
I tried using the scripts but they don't seems to work on Bazzite.
antheas
antheas•9mo ago
look under hwmon to see if theres the fan interface i havent looked into fans yet
Anward
AnwardOP•9mo ago
This is what I got. hwmon0 - ACAD hwmon1 - acpitz hwmon2 - BATT hwmon3 - nvme hwmon4 - amdgpu hwmon5 - ki0temp hwmon6 - zenergy hwmon7 - aynec
antheas
antheas•9mo ago
aynec is the fan curve
Anward
AnwardOP•9mo ago
In theory, I should replace hwmon6 on the script to hwmon7?
antheas
antheas•9mo ago
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
Aru
Aru•9mo ago
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
Anward
AnwardOP•9mo ago
Where do I write this?
Aru
Aru•9mo ago
assuming you followed that google doc exactly, then probably sudo chcon -u system_u -r object_r --type=bin_t /etc/ayn/ayn.sh
antheas
antheas•9mo ago
can you mark an executable in the /etc dir?
Aru
Aru•9mo ago
🤔 not sure tbh, i usually put my scripts in either ~/.local/bin or /usr/local/bin
Anward
AnwardOP•9mo ago
It looks like it worked! Thanks a lot!
notmyskype
notmyskype•5w ago
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
Want results from more Discord servers?
Add your server