Command to get Framework Laptop model?

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.

Any comments are appreciated. Thanks!

2 Likes

Install the package for inxi and run inxi. -b. Lots of other things you can output with inxi. Read the man page for more.

Also fastfetch:

fastfetch -c all.jsonc

Try dmidecode

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.

1 Like

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.

1 Like

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.

There’s an unofficial list in LibreHardwareMonitor, which is based on a Linux Hardware Database Search.

I’ve written a Python library that can help with that: GitHub - Steve-Tech/CrOS_EC_Python: A Python library for interacting with a Chrome OS EC.

There’s also the official Rust Library: GitHub - FrameworkComputer/framework-system: Rust libraries and tools to interact with the Framework Computer systems

And this list of projects might be useful too: List of company or individually driven projects

If you are using KDE plasma info is available through the Info Center.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.