[systemd-bugs] [Bug 88410] * glob works wrongly in 60-keyboard.hwdb
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Jan 17 15:15:26 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=88410
--- Comment #2 from maxtram95 at gmail.com ---
(In reply to Zbigniew Jedrzejewski-Szmek from comment #1)
> It's a question of ordering. Since both the generic MICRO-STAR and the more
> specific U100/U90/etc patterns match, which ever gets assigned last wins. I
> guess that this is by design, since the documentation does not say anything
> about the order. Let's see what Kay thinks.
>
> @Kay: ^^^
Indeed, I tried to remove that lines from generic rule:
KEYBOARD_KEY_f7=brightnessdown # Fn+F4
KEYBOARD_KEY_f8=brightnessup # Fn+F5
And udevadm info /dev/input/event5 shows f7 and f8 as reserved, so *U100* rule
works. So asterisk is not a bug. MSI rules rely on order of applying, but it is
unspecified.
I think the order in which rules are applied has to be specified. Old
95-keymap.rules were applied from top to bottom in order. New 60-keyboard.hwdb
is simply generated from 95-keymap.rules. But the ordering is broken now.
Maybe, MSI is not the only case where it is important.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150117/4a940e31/attachment.html>
More information about the systemd-bugs
mailing list