Originally from: https://bugzilla.gnome.org/show_bug.cgi?id=722437 Possible patch attached. It doesn't seem to work as well as it used to, probably kernel regressions :/
Created attachment 109430 [details] [review] input_id: Detect whether keyboards have lock LEDs Use capabilities/led whether to detect whether keyboards have NumLock and/or CapsLock LEDs. This allows desktops to show an OSD when the CapsLock/NumLock status changes if the keyboard doesn't have any such LEDs.
Looks like we won't be able to use this to detect whether keyboards have LEDs or not... We'll probably need to tag the devices "by hand" a-la keyboard hwdb.
Yeah, the hwdb is the right place for such information. We can certainly add that, modelled after the mouse dpi logic.
closing, systemd doesn't use this bugzilla anymore, please file in github if it's still an issue.
Moved to: https://github.com/systemd/systemd/issues/5559
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.