Skip to content

Add Farbwerk 360 support to aquacomputer driver#491

Merged
jonasmalacofilho merged 11 commits intoliquidctl:mainfrom
aleksamagicka:aqc-farbwerk360
Aug 9, 2022
Merged

Add Farbwerk 360 support to aquacomputer driver#491
jonasmalacofilho merged 11 commits intoliquidctl:mainfrom
aleksamagicka:aqc-farbwerk360

Conversation

@aleksamagicka
Copy link
Member

Following up on #482, this PR adds support and tests for reading temperature sensors of the Aquacomputer Farbwerk 360 RGB controller.

Related: #438


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 the README and other applicable documentation pages
  • Update the liquidctl.8 Linux/Unix/Mac OS man page
  • Update or add applicable docs/*guide.md device guides
  • Submit relevant data, scripts or dissectors to https://github.com/liquidctl/collected-device-data

New CLI flag?

  • Adjust the completion scripts in extra/completions/

New device?

  • Regenerate extra/linux/71-liquidctl.rules (instructions in the file header)
  • Add entry to the README's supported device list with applicable notes (at least en)

New driver?

  • Document the protocol in docs/developer/protocol/

Comment on lines +51 to +54
"""Support for hwmon: aquacomputer_d5next driver
- D5 Next watercooling pymp: sensors - 5.15+
- Farbwerk 360: sensors - 5.18+
"""
Copy link
Member

Choose a reason for hiding this comment

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

I think it's better to move this note to the module docstring, or to a simple comment. It's currently hard for non-Linux users to parse, and as the entire class docstring, it also suggests that this driver is only about hwmon support.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks, moved it to the module docstring.

mockD5NextDevice.set_fixed_speed("pump", 84)


def test_kraken_speed_profiles_not_supported(mockD5NextDevice):
Copy link
Member

Choose a reason for hiding this comment

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

Oh, I totally missed this before, ops : )

@jonasmalacofilho jonasmalacofilho merged commit 747af54 into liquidctl:main Aug 9, 2022
@jonasmalacofilho
Copy link
Member

Merged, thanks!

@aleksamagicka aleksamagicka deleted the aqc-farbwerk360 branch August 9, 2022 13:44
jonasmalacofilho added a commit that referenced this pull request Aug 11, 2022
PR #491 unexpectedly changed the encoding the of 71-liquidctl.rules:

$ file extra/linux/71-liquidctl.rules
extra/linux/71-liquidctl.rules: Unicode text, UTF-16, little-endian text, with CRLF line terminators

Regenerate the file and change it back to UTF-8:

extra/linux/71-liquidctl.rules: Unicode text, UTF-8 text

Fixes: #491
Fixes: 747af54
Cc: @aleksamagicka
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.

2 participants