Is there a command I can run to get the Framework version of the computer?
I am running a Framework 13 11th gen intel i5
Runing the following, I get
cat /sys/class/dmi/id/board_name
FRANBMCP03
Is there a list somewhere of all these codes so I can me a tool that identified your computer.
While on this topic, is there a standard document with ectools or such?
I want to make a tool for linux that controls the battery, fan, leds, and power profiles in Fedora Linux.
To get something like a specific version, you may need to look at ‘system’ and ‘processor’ and grep for the specifics if you need data in a script etc.
Specifically: sudo dmidecode --type 1,4
The dmidecode man page lists type info and the organization for DMTF (Desktop Management Task Force) may have more docs.
This script from Framework can detect the model: linux-docs/log-helper at main · FrameworkComputer/linux-docs · GitHub Maybe you could use the same method.
As for ectool, I’m not sure if I fully understand your question, but you can list the supported commands using ./ectool help. I’m not aware of any document that describes this in more detail. Personally, I only use the fanduty and autofanctrl commands for fan control in ectool.
I was wondering about the different options.
I know I can use regular linux commands to modify the leds somewhat.
I also know about ectool and have used it a long time ago, but dont remember how to install it. Is there a good place to restart with ectool?
It’s a standalone binary that doesn’t require installation. You can download it from: Dustin L. Howett / ectool · GitLab . Navigate to Build > Artifacts and download the latest successful artifacts.zip for your platform. Although the tool can be run as a regular user, most commands will fail due to insufficient permissions, so you’ll need to run it with sudo.