Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuryroot/39e038f1d2d34661157618dd17ea630a to your computer and use it in GitHub Desktop.
Save yuryroot/39e038f1d2d34661157618dd17ea630a to your computer and use it in GitHub Desktop.

Config

Details: https://github.com/liquidctl/liquidctl/blob/main/docs/corsair-platinum-pro-xt-guide.md

sudo liquidctl --match H100i initialize --pump-mode quiet
sudo liquidctl --match H100i set fan speed 20 20 40 70 50 100
sudo liquidctl --match H100i status

Service

Details: https://github.com/liquidctl/liquidctl#automation-and-running-at-boot

Create file:

sudo nano /etc/systemd/system/liquidcfg.service

with content:

[Unit]
Description=AIO startup service

[Service]
Type=oneshot
ExecStartPre=/bin/bash -c '(while ! liquidctl --match H100i initialize --pump-mode quiet 2>/dev/null; do echo "Waiting device to be ready..."; sleep 2; done); sleep 2'
ExecStart=liquidctl --match H100i set fan speed 20 20 40 70 50 100

[Install]
WantedBy=default.target

Enable service:

sudo systemctl daemon-reload
sudo systemctl start liquidcfg
sudo systemctl enable liquidcfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment