Hwmon support for nzxt-kraken3#529
Conversation
|
Can I add the additional |
Yes! |
…ed profile through hwmon
|
That should be the majority of work for this PR, now to tie the loose ends if we find any. |
|
At a glance, this LGTM. But I have to admit that I haven't been able to thoroughly review. I'll give you write access to this repo, and you can merge this if or as soon as you're comfortable with it. UPDATE: you now have write access here too. Just one question: the 200 ms timeout, why is it required, and is another way to solve that problem? |
|
Thanks for the invite, much appreciated! I'll work on getting these PRs across the finish line as soon as college stuff clears up. As for the 200ms timeout, in the driver we apply the whole curve whenever one point of it is changed, if it was already in curve mode. So from liquidctl we set those curve points in succession and trigger the same amount of HID reports sent to the device, from the driver. Setting Looking at it again, we pause a bit before setting |
|
So I investigated this on the Z53 (for now), and what I said above doesn't work. Scenario 1: Scenario 2:
And so on, until it happens that setting the first curve activates the second one, and vice versa. Or that setting a curve has no effect. Looks like to me that the firmware is finicky when spammed with lots of reports, which happens when 40 temp points are set through the driver in quick succession. Maybe it bails after a few, caches others and reprocesses them at some point when new ones arrive, or discards them after some period... I'm not sure what it does exactly, but it always honors the latest single report that's sent from setting |
|
@aleksamagicka, if I correctly understood your results, scenario 1 is significantly more robust/reliable and, also, simple. So let's go with it (i.e. keep everything as is). On the kernel side, we might want to document his finicky behavior for other users of the driver. |
|
That's right. I've been meaning to add an expanded note to liquidctl earlier today, but it's getting late now and I'll do it tomorrow (for the kernel driver as well). I'll test this on both devices tomorrow once again and then we can merge this and plan on trying to upstream the kernel part. |
|
Thanks! |
With the nzxt-kraken3 HWMON driver now having expanded support for NZXT Kraken X53/X63/X73 and Z53/Z63/Z73 devices, allow liquidctl to leverage it when available.
Checklist:
docs/*guide.mddevice guides, with "new/changed in" notesliquidctl.8Linux/Unix/Mac OS man pagedocs/developer/protocolNew CLI flag?
extra/completions/New device?
extra/linux/71-liquidctl.rules(instructions in the file header)e) andgitMRLVNew driver?
docs/developer/protocol/