[systemd-bugs] [Bug 88410] New: * glob works wrongly in 60-keyboard.hwdb
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jan 14 08:59:16 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=88410
Bug ID: 88410
Summary: * glob works wrongly in 60-keyboard.hwdb
Product: systemd
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: systemd-bugs at lists.freedesktop.org
Reporter: maxtram95 at gmail.com
QA Contact: systemd-bugs at lists.freedesktop.org
I use MSI Wind U100 laptop. My DMI is:
dmi:bvnAmericanMegatrendsInc.:bvr4.6.3:bd12/01/2009:svnMICRO-STARINTERNATIONALCO.,LTD:pnU90/U100:pvrVer.001:rvnMICRO-STARINTERNATIONALCO.,LTD:rnU90/U100:rvrVer.001:cvnMICRO-STARINTERNATIONALCO.,LTD:ct10:cvrVer.001:
There are some rules that should match my laptop in
/lib/udev/hwdb.d/60-keyboard.hwdb:
keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*
keyboard:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*
KEYBOARD_KEY_a0=mute # Fn+F9
KEYBOARD_KEY_ae=volumedown # Fn+F7
KEYBOARD_KEY_b0=volumeup # Fn+F8
KEYBOARD_KEY_b2=www # e button
KEYBOARD_KEY_df=sleep # Fn+F12
KEYBOARD_KEY_e2=bluetooth # satellite dish2
KEYBOARD_KEY_e4=f21 # Fn+F3 Touchpad
disable
KEYBOARD_KEY_ec=email # envelope button
KEYBOARD_KEY_ee=camera # Fn+F6 camera disable
KEYBOARD_KEY_f6=wlan # satellite dish1
KEYBOARD_KEY_f7=brightnessdown # Fn+F4
KEYBOARD_KEY_f8=brightnessup # Fn+F5
KEYBOARD_KEY_f9=search
#
keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*U-100*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*U100*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*N033:*
KEYBOARD_KEY_f7=reserved
KEYBOARD_KEY_f8=reserved
#
keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnU90/U100:*
KEYBOARD_KEY_e4=reserved
The problem is that string
"keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*U100*:pvr*" for some reason does
not match my laptop. I tried
"keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnU90/U100:pvr*", and it worked.
After some tries I found out that if "pn" is followed by "*", match will not
work. So:
doesn't work: keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*U100*:pvr*
doesn't work: keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*U90/U100:pvr*
works fine: keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnU90/U100:pvr*
works fine: keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnU90*:pvr*
doesn't work: keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*90*:pvr*
Obviously this is a bug, * should work like expected. I'm on systemd 218,
Gentoo ~x86.
--
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/20150114/895c532b/attachment.html>
More information about the systemd-bugs
mailing list