Skip to content

Commit

Permalink
Update to main branch + switch to fw-ectool (#61)
Browse files Browse the repository at this point in the history
* Adding @Svenum as an assignee to nix-related issues (#43)

* Fixing adding @Svenum as an assignee to nix-related issues (#44)

(non contributors cannot be assigned to issues)

* Reload will report if config couldn't be parsed and the service keeps running. (#46)

Authored-by: Nina Alexandra Klama <nina-git@klama.name>

* Removing binary blobs from the project (#51)

* removing binary blobs from the project.
we now fetch the ectool from the gitlab artifacts and confirm the checksum.

* remove bin references from README.md

* extracting $TEMP_FOLDER from installEctool

* Fix README spelling/grammer, fix "FrameWork" capitalization in service description (#52)

* Review README spelling/grammar

* Fix "FrameWork" capitalization in service

* Clarify behaviour on service stop or pause (#53) (#55)

* Separating FanController into different subclasses to allow HardwareController and SocketController diversity. 2 (Repost of #50) (#58)

* separating `FanController` into different subclasses to allow `HardwareController` and `SocketController` diversity

* adding the new arguments into the README.md

* fixing an indentation error causing `--strategy <strategy>` not to work (the simple `<strategy>` still worked)

* add fw-ectool in module

* fixing missing print for command execution (#63)

---------

Co-authored-by: Léopold Hubert <hubertleopold01@gmail.com>
Co-authored-by: Nina Alexandra Klama <github@fklama.de>
Co-authored-by: DeflateAwning <11021263+DeflateAwning@users.noreply.github.com>
  • Loading branch information
4 people authored Aug 3, 2024
1 parent c51335b commit c79c43e
Show file tree
Hide file tree
Showing 4 changed files with 231 additions and 119 deletions.
27 changes: 15 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Under the hood, it uses [ectool](https://gitlab.howett.net/DHowett/ectool) to ch

It is compatible with all kinds of 13" and 16" models, both AMD/Intel CPUs, with or without a discrete GPU.

If the service is paused or stopped, the fans will revert to their default behaviour.

# Install
For NixOS this repo contains an Flake. You could add it to your config like this:

Expand Down Expand Up @@ -94,15 +96,16 @@ The strategy active by default is the one specified in the `defaultStrategy` ent

# Commands

| Option | Context | Description |
|-------------------|-----------------|---------------------------------|
| \<strategy> | run & configure | the name of the strategy to use |
| --run | run | run the service |
| --config | run | specify the configuration path |
| --no-log | run | disable state logging |
| --query, -q | configure | print the current strategy name |
| --list-strategies | configure | print the available strategies |
| --reload, -r | configure | reload the configuration file |
| --pause | configure | temporarily disable the service |
| --resume | configure | resume the service |

| Option | Context | Description |
|-----------------------------|-----------------|-------------------------------------------------------------------------------|
| \<strategy> | run & configure | the name of the strategy to use |
| --run | run | run the service |
| --config | run | specify the configuration path |
| --no-log | run | disable state logging |
| --query, -q | configure | print the current strategy name |
| --list-strategies | configure | print the available strategies |
| --reload, -r | configure | reload the configuration file |
| --pause | configure | temporarily disable the service and reset the fans to their default behaviour |
| --resume | configure | resume the service |
| --hardware-controller, --hc | run | select the hardware controller. choices: ectool |
| --socket-controller, --sc | run & configure | select the socket controller. choices: unix |
Loading

0 comments on commit c79c43e

Please sign in to comment.