How to turn off framework power led on ubuntu

From razwiki
Revision as of 02:41, 8 January 2022 by Razzi (talk | contribs)
Jump to navigation Jump to search
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/bds/util/ectool --interface=fwk version
Cannot open lockfile /run/lock/cros_ec_lockCould not acquire GEC lock.

After I applied this change, I got

fw-ectool $ sudo ./build/bds/util/ectool --interface=fwk version
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

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:

Secure boot set to on (bad).jpg