Difference between revisions of "How to turn off framework power led on ubuntu"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | Clone the source for framework's embedded controller: https://github.com/FrameworkComputer/EmbeddedController |
||
⚫ | |||
+ | Enter that directory, make the ectool binary: |
||
− | also had to |
||
+ | make utils |
||
− | |||
+ | Turn off the led as follows: |
||
− | mv /run/lock/cros_ec_lock ~/cros_ec_lock |
||
+ | EmbeddedController $ sudo ./build/hx20/util/ectool led power off |
||
− | |||
+ | Or change the color like |
||
− | because I was getting error |
||
⚫ | |||
− | |||
+ | For the list of colors, pass an unrecognized color:<pre> |
||
⚫ | |||
+ | EmbeddedController $ sudo ./build/hx20/util/ectool led power 3 |
||
− | Cannot open lockfile /run/lock/cros_ec_lockCould not acquire GEC lock. |
||
+ | Bad color name: 3 |
||
− | |||
+ | Valid colors: red green blue yellow white amber |
||
− | After I applied this change, I got |
||
+ | </pre> |
||
− | |||
⚫ | |||
− | RO version: hx20_v0.0.1-24c42a7 |
||
− | RW version: |
||
− | Firmware copy: RO |
||
− | Build info: hx20_v0.0.1-24c42a7 2021-06-30 06:29:08 [email protected] |
||
− | Tool version: v0.0.1-4690763 2022-01-03 10:23:48 [email protected] |
||
+ | == Potentially outdated information below: == |
||
When I turned on secure boot, I get this error: |
When I turned on secure boot, I get this error: |
||
Latest revision as of 08:31, 17 March 2023
Clone the source for framework's embedded controller: https://github.com/FrameworkComputer/EmbeddedController
Enter that directory, make the ectool binary:
make utils
Turn off the led as follows:
EmbeddedController $ sudo ./build/hx20/util/ectool led power off
Or change the color like
sudo ./build/hx20/util/ectool led power amber
For the list of colors, pass an unrecognized color:
EmbeddedController $ sudo ./build/hx20/util/ectool led power 3 Bad color name: 3 Valid colors: red green blue yellow white amber
Potentially outdated information below:[edit | edit source]
When I turned on secure boot, I get this error:
fw-ectool $ sudo ./build/bds/util/ectool --interface=fwk led power red Error getting I/O privilege: Operation not permitted Unable to establish host communication Couldn't find EC
Looks like this: