[Wayland-bugs] [Bug 98400] Multimedia Keys not recognized
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jan 9 22:09:39 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=98400
--- Comment #3 from Peter Hutterer <peter.hutterer at who-t.net> ---
sorry about the delay, this fell through.
short summary: this would need to go into systemd's hwdb (60-keyboard.hwdb) but
I fail to see any identifying information for that keyboard, so I'm not sure we
can make a generic match here. Is this a laptop? The dmi only includes the
gigabyte motherboard's information and the keyboard claims it's connected via
serial bus.
either way, the solution to this would be a blurb simliar to others in the
60-keyboard.hwdb file. A match string, together with the scancode to event code
mappings. example here:
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*Presario*CQ*:pvr*
KEYBOARD_KEY_d8=f21
KEYBOARD_KEY_d9=f21
You'll need to convert the scancodes into hex (e.g. 159 -> 0x9f) and then add
the entries. the key names are in /usr/linux/input-event-codes.h, just
lowercase it and remove the KEY_ prefix.
If we can't find any identifying information, you'll have to keep this as a
local override in /etc/udev/hwdb.d/
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170109/d0c0553c/attachment.html>
More information about the wayland-bugs
mailing list