Post #2075268
2026-04-05 06:32 UTC
Why don't usb keyboards advertise their layout and model? Would be nice to be able to unlock LUKS at atomic Linux distro boot without having to remember a foreign kbd layout I did not use while setting up the encryption. Desktop kbd setup would be easier too.
What if there was a usb forwarding dongle for keyboards that modified the HID descriptors to add this info? And an interface to program that info into the dongle.
Replies (3)
-
@alcinnz@floss.social 2026-04-05 07:02
@pq@floss.social Hey, what if keyboards used the Unicode Usage Page? And upload UTF-16 to the computer? I hear this doesn't work on Windows, that's probably why it doesn't happen.
-
@emersion@hachyderm.io 2026-04-05 08:14
@pq@floss.social I've always been wondering about this. It seems some related metadata is spec'ed in HID section 15.18 "descriptive controls".
-
@suihkulokki@society.oftrolls.com 2026-04-05 17:07
@pq@floss.social It's infuriating yes. This is what happens when companies making the keyboards define the standard and not the end users. It would be extra work for the keyboard maker to start programming different HID descriptors based on what keycaps the put on the keyboard.