Change keyboard backlight presets?

My understanding is the keyboard backlight is controlled by the embedded controller, is it possible using something like ectool to poke the keyboard backlight presets in the EC?

As it stands when pressing fn + space I currently have, low (20%) > bright (75%) > bright(100%) > bright(100%) > off

I’d like to customize the presets as the last 3 are very similar and the last 2 are apparently literally the same thing?

Apologies if this has been asked before I was not able to find an answer in my searching

2 Likes

Pretty sure those are hardcoded (ant at least on the 7840u there are only 3 levels) but it was pretty much the first thing I did when I got the development setup running, 1%, 10%, 100% is much more useful.

The ec code for the ryzen ai boards is not released afaik so maybe they did make it 5 levels there.

1 Like

You can of course temporarily set the keyboard backlight via ectool or even through the linux sysfs

I’m too unfamiliar with the EC code to say for sure but on the EmbeddedController github page, issue #66 there’s a comment saying that fwk-lilac is the AI 300 EC so I think this might be the branch for the new board?

Looking through the commits I see one on that branch mentioning fixing an auto keyboard backlight bug so maybe that’ll be an alright solution whenever v3.0.4 gets released

That bug also explains the two 100% options I have currently, the last one is supposed to be auto but isn’t clearing the previous 100% option or something

Yeah, Lilac is AMD AI 300 Series

Embedded Controller firmware codenames:

Laptop EC Firmware
Framework Laptop 13 · Intel 11th Gen hx20
Framework Laptop 13 · Intel 12th Gen hx30
Framework Laptop 13 · Intel 13th Gen hx30
Framework Laptop 13 · AMD 7040 Azalea
Framework Laptop 13 · Intel Ultra Series 1 Marigold
Framework Laptop 13 · AMD AI 300 Series Lilac
Framework Laptop 16 · AMD 7040 Series Lotus
Framework Laptop 12 · Intel 1300U Series Sunflower (presumed)

Sunflower is through process of elimination, and this:

1 Like