<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - hwdb: fails on empty lines/comments in hwdb files"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73272">73272</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>hwdb: fails on empty lines/comments in hwdb files
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>enrico.scholz@informatik.tu-chemnitz.de
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>I am about to convert old keymap files to the new hwdb format but entries like
| pci:v1131p7160*
| KEYBOARD_KEY_160001=power
| KEYBOARD_KEY_160018=mute
|
| KEYBOARD_KEY_160003=kp1
get rejected by '/sbin/udevadm hwdb --update --root=../../..' with
| Error, MATCH expected but got ' KEYBOARD_KEY_160003=kp1' in ...
Replacing empty lines (which splits basically function blocks or rows of the
remote control) with comments does not help.
As this is a complex ruleset defining >100 keys, I need some
markup/documentation in the file so that I do not lose overview.
Things worked fine with old keymap files.
Tested with systemd-208</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>