Skip to content
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

Kraken230 firmware 2 image support #692

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

sophipl
Copy link

@sophipl sophipl commented Apr 7, 2024

Added ability to set images for Kraken with firmware version 2

Fixes: #631
Closes:
Related:


Checklist:

  • Adhere to the development process
  • Conform to the style guide
  • Verify that the changes work as expected on real hardware
  • Add automated tests cases
  • Verify that all (other) automated tests (still) pass
  • Update/add documentation

Set image sending twice to avoid no change after USB device initialization
@sophipl
Copy link
Author

sophipl commented Apr 7, 2024

So I wrote the solution to send the image to the AIO LCD.
However after usb reset/disconnect, the image needs to be sent twice, otherwise no effect.
One solution is to send it twice all the time.

The manufacturer software sends it twice too.

BTW I don't know why the commits went from my second account that I don't use :), probably git config thing

@sophipl sophipl changed the title Kraken230 fw2 image support support Kraken230 firmware 2 image support Apr 7, 2024
liquidctl/driver/kraken3.py Outdated Show resolved Hide resolved
liquidctl/driver/kraken3.py Outdated Show resolved Hide resolved
liquidctl/driver/kraken3.py Outdated Show resolved Hide resolved
liquidctl/driver/kraken3.py Outdated Show resolved Hide resolved
liquidctl/driver/kraken3.py Outdated Show resolved Hide resolved
liquidctl/driver/kraken3.py Outdated Show resolved Hide resolved
liquidctl/driver/kraken3.py Outdated Show resolved Hide resolved
@aleksamagicka
Copy link
Member

Also:

  • Docs should be updated to note that GIFs are not supported on 2.X on 2023 models
  • I guess test_krakenz3_screen_not_totally_broken_part2() should be updated to cover this case? (Although it's broken for other reasons right now)

Thanks!

@sophipl
Copy link
Author

sophipl commented May 18, 2024

I added potential fix for test_krakenz3_screen_not_totally_broken_part2 case
However this testcase is not related to this pull request since it is about gif handling

@sophipl
Copy link
Author

sophipl commented May 19, 2024

Anything else I need to do?

@sophipl
Copy link
Author

sophipl commented May 25, 2024

@aleksamagicka @jonasmalacofilho please tell me what I need to do to merge this change?
I believe I addressed all @aleksamagicka points.
Sorry, I'm new to this :)

@sophipl
Copy link
Author

sophipl commented May 26, 2024

I don't know if I'm supposed to do that, but I checked all items in the task, since LGTM received.

@aleksamagicka
Copy link
Member

No need to select things that are not applicable to your PR, for example, updating the man pages if it's not needed (and I don't think it is, here).

@@ -172,6 +172,8 @@ _New in git._<br>

Adds support for NZXT Kraken 2023 Standard, Elite

*For firmware version 2 gif screen mode is no longer supported*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe link the issue #631 here, and do say that this only applies to 2023 models.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you link issues? just hashtag in code?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, something like *On 2023 models (standard and Elite), GIF screen mode is no longer supported for firmware versions 2.X (see #631).*

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, wait, I think the syntax is different.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, I copied this already, and it's linked
I can change it of course

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works:

*On 2023 models (standard and Elite), GIF screen mode is no longer supported for firmware versions 2.X (see [#631][`issue-631`]).*

With this at the end of the file (it already has a reference to liquidtux there, so below that):

[`issue-631`]: https://github.com/liquidctl/liquidctl/issues/631

Sorry, I forgot that it doesn't automatically do that for md files.

Well, I copied this already, and it's linked

In the PR view it is, but not when you access the file normally.

@sophipl
Copy link
Author

sophipl commented May 26, 2024

No need to select things that are not applicable to your PR, for example, updating the man pages if it's not needed (and I don't think it is, here).

So edit PR and remove items now?

@aleksamagicka
Copy link
Member

No need to select things that are not applicable to your PR, for example, updating the man pages if it's not needed (and I don't think it is, here).

So edit PR and remove items now?

I don't think there's a hard and fast rule... I just leave them unchecked if they do not apply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Firmware 2.0.1 breaks Kraken 2023 support
4 participants