summaryrefslogtreecommitdiff
path: root/hwdb.d
Commit message (Collapse)AuthorAgeFilesLines
* hwdb: add XKB_FIXED_MODEL to the keyboard hwdbSebastian Wick2019-11-052-16/+18
| | | | | | | | | | | Chromebook keyboards have a top row which generates f1-f10 key codes but the keys have media symbols printed on them. A simple scan code to key code mapping to the correct media keys makes the f1-f10 inaccessible. To properly use the keyboard a custom key code to symbol mapping in xbk is required (a variant of the chromebook xkb model is already upstream). Other devices have similar problems. This commit makes it possible to specify which xkb model should be used for a specific device by setting XKB_FIXED_MODEL.
* hwdb: Add Medion Akoya E2215T MD60198 sensor orientation quirkHans de Goede2019-10-211-0/+4
| | | | | Add sensor orientation quirk for the Medion Akoya E2215T so that desktop-environments show their graphics the right way up.
* Add Schneider SCT101CTM to sensor hwdbDaniel2019-10-211-0/+8
|
* Add Acer Switch SW312-31 to sensor hwdbRoadrunnerWMC2019-10-161-0/+3
| | | See issue #13732
* parse_hwdb: fix compatibility with pyparsing 2.4.*Zbigniew Jędrzejewski-Szmek2019-10-101-2/+3
| | | | | | | | | | | | | | | | | | | | | pyparsing 2.3.1/2.4.0 had some changes to grouping of And matches, and as a result we'd report 0 properties and 0 matches, and not really do any checks. With this change we get identical behaviour for pyparsing 2.3.1, 2.4.0, 2.4.2: $ hwdb/parse_hwdb.py hwdb/60-evdev.hwdb: 72 match groups, 94 matches, 262 properties hwdb/60-input-id.hwdb: 3 match groups, 3 matches, 4 properties hwdb/60-keyboard.hwdb: 173 match groups, 256 matches, 872 properties Keycode KBD_LCD_MENU1 unknown Keycode KBD_LCD_MENU4 unknown Keycode KBD_LCD_MENU2 unknown Keycode KBD_LCD_MENU3 unknown hwdb/60-sensor.hwdb: 101 match groups, 120 matches, 105 properties hwdb/70-joystick.hwdb: 2 match groups, 3 matches, 2 properties hwdb/70-mouse.hwdb: 104 match groups, 119 matches, 123 properties hwdb/70-pointingstick.hwdb: 8 match groups, 30 matches, 11 properties hwdb/70-touchpad.hwdb: 6 match groups, 9 matches, 6 properties
* parse_hwdb: process files in orderZbigniew Jędrzejewski-Szmek2019-10-101-1/+1
| | | | | Also, make the pattern more general. There are some plans to add more files there, let's make sure we don't miss them.
* parse_hwdb: bail with an error if no matches or groups are detectedZbigniew Jędrzejewski-Szmek2019-10-101-4/+6
| | | | | | pyparsing sometimes changes behaviour and stops giving matches. This should allow us to detect such scenario. With this change, parse_hwdb fails with pyparsing 2.4 on F31.
* Rename udev's hwdb/ to hwdb.d/Zbigniew Jędrzejewski-Szmek2019-10-1034-0/+522445
As in the parent commit, this makes the name consistent with the rest of the source tree and the actuall installation path.