-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support InfinityBook Pro 14 #32
Comments
If it says that performance profiles are not available, it's very likely that the kernel driver does not support them (though it would be interesting to know whether TCC shows anything). Usually, there shouldn't be any device-specific code required. So if your InfinityBook Pro works with tuxedo-rs, we could add it to the list of tested devices. |
TCC shows all the options to configure battery and CPU behaviour. I'm not sure which functionality is part of the performance profiles but currently the Tailor GUI is more or less blank. |
In this case, we have to look into this. Tuxedo-rs supports fan curves, keyboard LED animations and (on some devices) performance profiles (like "performance" or "quite" for example). If those don't work in the GUI, we should dig deeper to figure out why. Additionally, since I haven't touched TCC in a while, I forgot which feature it has, so suggestions about missing features are also great. It would be great if you could check your device starting from the lowest abstraction layer: tuxedo-io and tuxedo-keyboard. Those interface with ioctl and sysfs and if they already return something bad, we know where to fix it. You can also find the whole structure of the crates here :) |
I am on nixos with infinity book pro 14. I can confirm the blank interface although the controls seems to be there. I can adjust the fans in the blind. Also, the keyboard lightning seems broken. When activating with FN+Space it just blinks once. |
The TUXEDO Control Center 2.0.11 shows: CPU-Temp control, CPU-Frequency control, CPU-Fan control, (Performance) Profiles, Crypt Password, Shutdown Timer, Webcam, Battery charging options (charging profiles, USB-C charging options), Tomte. |
Is there anything that can be done to aid in improving the situation here? (I am somewhat stuck on the previous version of NixOS due to this) |
Sure, there are a couple of things to investigate. First of all, it would be nice for me to know what works and what doesn't. Earlier reports say that the GUI is blank, but it seems that tailord is partially working. Someone said the "multiple" color profile caused problems (likely due to monochrome LEDs), but the latest Also if it's true that TCC supports performance profiles whereas their ioctl interface doesn't provide any, that'd also be something to investigate as well... |
Regarding the keyboard backlight, I can report what happens with the software from Tuxedo (same device as here):
It seems that gnome-settings-daemon handles this.
When stopping |
Looking at changing performance profiles, I tried
(note that there is of course a lot more going on, this was what I could detect being different from no profile switching, but there must be more going on here). Only the first line would differ when a different profile was selected. Syslog showed e.g. when switching to quiet profile:
and switching back to default profile:
In this file we find the ioctl constants, so (hoping I made no mistakes):
|
For me, the keyboard backlight only flashes and doesn't work with I'll see if I can figure out anything else |
Returning from |
So the problem, afaict, seems to be that So I assume that we need to adjust the code to take care of the case where the Does this match others' understanding of this? |
My attempt to fix the LED issue is here: #52 |
What are we missing here? Besides #46, all seems fine for me? |
Last time I checked, there were no performance profiles (like stock quiet/normal/performance in tcc). Also I don't know if this is a tailor feature or a bug on my machine but I have a minimum fan speed limit way higher than the tcc's quiet setting. |
Can confirm that profiles, led and fan works as expected on my InfinityBook Pro 14 gen 8 on nixos 23.11. |
@jake1909 Is your nix configuration public so I can take a look? I am on 23.11 and there are no perf profiles, nor anything else. |
Dunno if I should tack this on here or add a new issue - but found that with the latest xanmod kernel 6.11.3 and enabling tuxedo-rs it fails:
am running the same InfinityBook Pro 14 with intel cpu I just tried this with zen 6.11.2 and latest linux kernel 6.11.5 - so assuming there's been some changes in the 6.11 that is causing this |
Hey @jake1909, does this still work for you? I'm still struggling getting it to work, or at least I'm not able to really test it. Main problem is that the fan is spinning up to like 50% or more when in idle when running tuxedo-rs. Using tccd it was fine. How did you set the fan profile? If you're up for it, maybe send me an email, if I can get this to work I might be able to contribute more to this project. |
I wonder what would need to be done to add support for InfinityBook Pro 14?
In Tailor GUI it currently only says that performance profiles are not available and I can't configure anything.
I'd be very open to adding support - good excuse to write some Rust code 😺 - but I'm not sure where to start.
The text was updated successfully, but these errors were encountered: