Talk:Framework Laptop 16

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using ~~~~:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC)
: A reply [[User:Sally|Sally]] 03:50, 14 June 2024 (UTC)
:: Your reply ~~~~

Telling users to run an install script on GitHub as root

Talk status
This discussion is still ongoing as of 2024-05-19.

Section Fan control tells users to clone a fork of a popular GitHub repository and run the install script with sudo. I see three problems with this:

  1. We usually use {{RootCmd}} instead of sudo (see the guidelines)
  2. This script can change at any moment. Do we trust it?
  3. The package manager isn't involved. This has a few implications:
    • The install script can override files owned by other packages
    • Other packages can override files owned by the script
    • And more

How should I deal with this? Should I remove the section entirely, or just add a warning?

Waldo Lemmer 06:14, 19 May 2024 (UTC)

  1. I'm new to editing the Gentoo Wiki, it was late at night, and I managed to get control over my fans and wanted to share. Yes, these are moderately lame excuses.
  2. This is why I forked the script to ensure it won't suddenly change.
  3. I don't have any experience writing ebuild scripts yet, this may be a good opportunity to learn how to do this, and possibly create my own overlay.


Proposed changes to section Fan control - Please make edits here until a final revision is agreed upon.

Fan control

A modified version of fw-fanctl on GitHub, which also includes a version of ectool that allows to control the fans, tracks the temperature better and will speed up fans faster when temperature rises fast. It also tracks changes in the config file, and reloads the config when it changes and contains a script for init.d as well as systemd.

To clone fw-fanctrl:

user $cd fw-fanctrl

To install (for OpenRC) run inside the cloned directory:

Warning
Please review the script and make sure it won't overwrite any files
root #chmod +x install-initd.sh
root #./install-initd.sh

To list available fan curves (configured in /etc/fw-fanctrl/config.json):

root #fw-fanctrl -l

To change to the fan curve lazy (as an example) run:

root #fw-fanctrl lazy

NaK-System (talk) 08:59, 19 May 2024 (UTC)

Yes, these are moderately lame excuses.

No worries, I wasn't criticizing in any way. Just wanted to guide you in the right direction, is all :)
Thanks a lot for the proposal, it already shows that you're paying more attention than most. I'll incorporate it, but I think I should leave this discussion open and hear what others have to say. I don't think the guidelines regarding third-party scripts are documented anywhere...
Waldo Lemmer 09:29, 19 May 2024 (UTC)

No worries, I wasn't criticizing in any way. Just wanted to guide you in the right direction, is all :)

Thanks for clarifying this. I am autistic, and prone to misunderstanding peoples intention, and with my history of social trauma, I often interpret any criticism harsher than it is intenden.

Thanks a lot for the proposal, it already shows that you're paying more attention than most.

I try my best. ;)

I don't think the guidelines regarding third-party scripts are documented anywhere...

As I said, I may write an ebuild to install the script, and build the ectool it uses to control the fans from sources. This is currently just a temporary solution.

NaK-System (talk) 11:06, 19 May 2024 (UTC)