Skip to content

Conversation

@jglathe
Copy link
Contributor

@jglathe jglathe commented Nov 2, 2025

…o a json

This is to avoid formatting mishaps and the like. It may be overkill, but it was a byproduct of a longer debug session when I tried to dynamically generate stubble input for building the Ubuntu kernel packages. Adding a new hwid boils down to this command on the target machine:

cd hwids
sudo fwupdtool hwids | ./fwupd2hwid.py --compatible <compatible string from the dtb> [-f <json file name>]

The resulting json shoud be usable as-is. I've tested this here on the T14s and Ideapad 5 2in1 during the debugging, seems to work well.

…o a json

This is to avoid formatting mishaps and the like.

Signed-off-by: Jens Glathe <jens.glathe@oldschoolsolutions.biz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant