[systemd-bugs] [Bug 73272] New: hwdb: fails on empty lines/comments in hwdb files

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jan 3 17:34:13 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=73272

          Priority: medium
            Bug ID: 73272
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: hwdb: fails on empty lines/comments in hwdb files
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: enrico.scholz at informatik.tu-chemnitz.de
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

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

-- 
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/20140104/de1dfbe7/attachment.html>


More information about the systemd-bugs mailing list