How to turn off framework power led on ubuntu: Difference between revisions
Jump to navigation
Jump to search
(Created page with " sudo ./build/bds/util/ectool --interface=fwk led power off also had to mv /run/lock/cros_ec_lock ~/cros_ec_lock because I was getting error fw-ectool $ sudo ./build/bd...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
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: |
|||
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:<pre> |
|||
EmbeddedController $ sudo ./build/hx20/util/ectool led power 3 |
|||
Bad color name: 3 |
|||
Valid colors: red green blue yellow white amber |
|||
</pre> |
|||
== Potentially outdated information below: == |
|||
mv /run/lock/cros_ec_lock ~/cros_ec_lock |
|||
When I turned on secure boot, I get this error: |
|||
⚫ | |||
because I was getting error |
|||
Error getting I/O privilege: Operation not permitted |
|||
Unable to establish host communication |
|||
Couldn't find EC |
|||
Looks like this: |
|||
⚫ | |||
Cannot open lockfile /run/lock/cros_ec_lockCould not acquire GEC lock. |
|||
[[File:Secure boot set to on (bad).jpg|thumb]] |
|||
After I applied this change, I got |
|||
⚫ | |||
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 runner@fv-az177-983 |
|||
Tool version: v0.0.1-4690763 2022-01-03 10:23:48 razzi@razzi-framework |
Latest revision as of 03: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:
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: