Skip to content

T480: FN_CTRL_SWAP #2038

@code4brot

Description

@code4brot

It would be neat to be able to swap the Fn and Ctrl keys on T480.

Unlike e.g. the XX30 series there is no cmos.default that could be patched as described here: 1087 nor does nvramtool work as there is no coreboot option table in this build.

Best would probably be a configuration option on the heads level to make this agnostic of boards.

While it should be possible to flash the stock firmware, tweak the EC from there then flash heads and have the Fn Ctrl Swap value persist in the EC I found the following workaround to better fit my personal needs:

(inside the heads repo):

  1. edit config/coreboot-t480-maximized.config
  2. change # CONFIG_H8_FN_CTRL_SWAP is not set
  3. to CONFIG_H8_FN_CTRL_SWAP=y
  4. build like usual e.g. make BOARD=EOL_t480-maximized CPUS=$(nproc)

NOTE: that this leaves your build version with the -dirty suffix. But it does the trick.

Suggestions and opinions are appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions