]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - hwdb.d/parse_hwdb.py
hwdb: Add override for headset form-factors
[thirdparty/systemd.git] / hwdb.d / parse_hwdb.py
index 5a1ae5a6a049d35f87beb9f1f968f55fbb149689..ee3474a6f5e9ebed54d41037dd9509bc641ffc54 100755 (executable)
@@ -193,6 +193,7 @@ def property_grammar():
              ('ID_TAG_MASTER_OF_SEAT', Literal('1')),
              ('ID_INFRARED_CAMERA', Or((Literal('0'), Literal('1')))),
              ('ID_CAMERA_DIRECTION', Or(('front', 'rear'))),
+             ('SOUND_FORM_FACTOR', Or(('internal', 'webcam', 'speaker', 'headphone', 'headset', 'handset', 'microphone'))),
             )
     fixed_props = [Literal(name)('NAME') - Suppress('=') - val('VALUE')
                    for name, val in props]