summaryrefslogtreecommitdiff
path: root/hwdb
AgeCommit message (Collapse)Author
2017-02-12rules: Add extended evdev/input match rules for event nodes with the same nameHans de Goede
Sometimes a system may have 2 input event nodes with the same name where we only want to apply keyboard hwdb rules to 1 of the 2 devices. This problem happens e.g. on devices where the soc_button_array driver is used (e.g. intel atom based tablets) which registers 2 event nodes with the name "gpio-keys". This commit adds a new extended match rule which extends the match to also check $attr{phys} and $attr{capabilities/ev}, allowing to differentiate between devices with an identical name. Suggested-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2017-01-28hwdb: Asus TP500LB accelerometer supportM0Rf30
2017-01-28hwdb: references added to hwdb rules format, needed to write ↵M0Rf30
syntax-correctly rules
2017-01-28hwdb: use -y option to udevadm trigger to correctly do sysname-matchM0Rf30
2017-01-25hwdb: add Razer DeathAdder Black Edition (#5157)clearyf
2017-01-23hwdb: mark Wacom touchpads as external (#5115)Peter Hutterer
Wacom doesn't have any internal touchpads.
2017-01-16hwdb: add axis range corrections for Lenovo X1 Carbon 4th gen. / X1 Yoga (#5089)Björn
The parameters were calculated on my X1 Yoga using touchpad-edge-detector; As as the device name indicates, the Touchpad is exactly the same as the X1 Carbon 4th gen.
2017-01-15hwdb: Include X220 for pointingstick sensitivity (#5083)Earnestly
Without this the trackpoint is very difficult to manoeuvre until manually correcting the sysfs serio1/sensitivity entry.
2017-01-15hwdb: add Logitech TrackMan Wheel (#5084)kilian-k
2017-01-11hwdb: add correct metrics for Lenovo Thinkpad T430 (#5050)sammynx
2017-01-11hwdb: update micmute YCODE on device node at DELL LATITUDE laptops for mic ↵nikolaof
mute button. (#5012)
2017-01-10hwdb: add hwdb override for Asus S550CB (#5053)Peter Hutterer
Widen the match for the current X550CC rule, they probably all have the same touchpad. https://bugs.freedesktop.org/show_bug.cgi?id=99306
2017-01-06hwdb: add axis range overrides for Lenovo B590 (#5031)Peter Hutterer
https://bugs.freedesktop.org/show_bug.cgi?id=96315
2017-01-05hwdb: add axis range corrections for Dell Latitude E6320 (#5022)Peter Hutterer
From https://bugs.freedesktop.org/show_bug.cgi?id=99239
2017-01-05hwdb: add MOUSE_WHEEL_TILT_VERTICAL/HORIZONTAL to the mouse db (#5023)Peter Hutterer
Plenty of single scroll-wheel mice have the ability to tilt the wheel to generate horizontal wheel events. They use the same evdev axis as a real horizontal wheel (REL_HWHEEL) and are indistinguishable to userspace from the real thing. libinput promises physical degrees for wheel events but that's not accurate for those tilting wheels, hence mark them as tilting wheels so we can treat them like the special snowflakes they think they are.
2016-12-30hwdb/70-mouse.hwdb: Add Logitech Wired Mouse (G502)Taylor Smock
2016-12-23Merge pull request #4953 from esoleyman/masterPeter Hutterer
Add Microsoft Surface Mouse DPI
2016-12-22hwdb: clarify where to find the modalias and vid/pid information (#4952)Peter Hutterer
Fixes #4938
2016-12-21Add Microsoft Surface Mouse DPIesoleyman
2016-12-20hwdb: axis override for HP SpectrePeter Hutterer
https://bugzilla.redhat.com/show_bug.cgi?id=1402596
2016-12-20hwdb: add axis overrides for Asus Vivobook E402SAPeter Hutterer
2016-12-20hwdb: add axis override for Lenovo W530Peter Hutterer
https://bugs.freedesktop.org/show_bug.cgi?id=98844
2016-12-20hwdb: add axis override for Toshiba Tecra M11Peter Hutterer
2016-12-10Merge pull request #4844 from hadess/sensor-quirksLennart Poettering
udev: Add rules for accelerometer orientation quirks
2016-12-10hwdb_parser: make sure that our patterns match the full propertyZbigniew Jędrzejewski-Szmek
We would catch stuff like: ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0.0., 0 but not ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 0.0. because the match would stop at the next-to-last char. Fix that by requiring a line end.
2016-12-10hwdb_parser: add support for ACCEL_MOUNT_MATRIXZbigniew Jędrzejewski-Szmek
We test that we have exactly three rows of three reals separated by two semicolons.
2016-12-10udev: Add rules for accelerometer orientation quirksBastien Nocera
This commit adds a rules file to extract the properties from hwdb to set on i2c IIO devices. This is used to set the ACCEL_MOUNT_MATRIX property on IIO devices, to be consumed by iio-sensor-proxy or equivalent daemon. The hwdb file contains documentation on how to write quirks. Note however that mount information is usually exported in: - the device-tree for ARM devices - the ACPI DSDT for Intel-compatible devices but currently not extracted by the kernel. Also note that some devices have the framebuffer rotation that changes between the bootloader and the main system, which might mean that the accelerometer is then wrongly oriented. This is a missing feature in the i915 kernel driver: https://bugs.freedesktop.org/show_bug.cgi?id=94894 which needs to be fixed, and won't require quirks.
2016-12-06hwdb: Add fixed layout for another YubikeyBastien Nocera
2016-12-06hwdb: Add fixed layout for OKE barcode readerBastien Nocera
2016-12-01hwdb_parse: adjust indentation and imports following pylint adviceZbigniew Jędrzejewski-Szmek
(This commit is separate to make it easy to export to libinput.)
2016-12-01acpi-update.py: there is no "Error" classZbigniew Jędrzejewski-Szmek
Evidently this code path was never hit, because we'd crash with NameError. The exception message also seems bogus. So just replace the whole thing with the standard exception for invalid input.
2016-12-01hwdb: add XKB_FIXED_LAYOUT/VARIANT to the keyboard hwdbPeter Hutterer
Yubikeys and other pseudo keyboards require that they are in the US layout, otherwise the data they send is invalid. Add two new keys to signal this to processes that handles (XKB) layouts.
2016-12-01hwdb: fix comment referring to rules filePeter Hutterer
60-keyboard.rules was renamed to 60-evdev.rules in 51c0c2869 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2016-11-30hwdb/parse_hwdb.py: open files with UTF-8 modeMartin Pitt
pyparsing uses the system locale by default, which in the case of 'C' (in lots of build environment) will fail with a UnicodeDecodeError. Explicitly open it with UTF-8 encoding to guard against this.
2016-11-30parse_hwdb: fix to work with pyparsing 2.1.10Martin Pitt
pyparsing 2.1.10 fixed the handling of LineStart to really just apply to line starts and not ignore whitespace and comments any more. Adjust EMPTYLINE to this. Many thanks to Paul McGuire for pointing this out!
2016-11-25Revert "hwdb/parse_hwdb.py: open files with UTF-8 mode"Martin Pitt
"encoding" is not a valid Python 2 keyword, and despite the hashbang this script can be called with Python 2. This reverts commit 115a10c58d343d00b73bd9442f7ce6c294debad8.
2016-11-25hwdb: add axis overrides for HP Pavilion dv7Peter Hutterer
Fixes #4731
2016-11-24hwdb: fix syntax error in 60-keyboard.hwdbMartin Pitt
Fixes #4728
2016-11-24hwdb/parse_hwdb.py: open files with UTF-8 modeMartin Pitt
pyparsing uses the system locale by default, which in the case of 'C' (in lots of build environment) will fail with a UnicodeDecodeError. Explicitly open it with UTF-8 encoding to guard against this.
2016-11-23hwdb: use systemd-hwdb instead of obsolete udevadm hwdb (#4722)Michael Biebl
Fixes: #4721
2016-11-19hwdb: keyboard: Ignore brightness hotkey presses on MSI VR420 (model ↵Hans de Goede
MS-1422) (#4696) Add MSI VR420 (model MS-1422) to the list of MSI models which need to ignore brightness hotkey presses, as these are already reported through the acpi-video interface. Bug-link: https://bugzilla.redhat.com/show_bug.cgi?id=1270124 Reported-by: David Dreggors <dadreggors@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2016-11-16hwdb: fix airplane mode trigger when switching from laptop to desktop on HP ↵Francesco Brozzu
Pavilion x360 13 (#4680)
2016-11-03hwdb update for 232 (#4557)Lennart Poettering
2016-11-02parse_hwdb: add import fallback for python2Zbigniew Jędrzejewski-Szmek
2016-10-21hwdb: add MOUSE_WHEEL_CLICK_COUNT for non-integer click angles (#4440)Peter Hutterer
MOUSE_WHEEL_CLICK_ANGLE has been an integer, and at least libinput (probably the only user) parses it as strict integer. For backwards compatibility, we cannot change it to a decimal number now. Add a new property to list the number of clicks for a full 360 degree rotation, to be specified in addition to the old click angle property. Clients can prefer the new one where available and calculate the decimal value to whatever precision they want.
2016-10-20hwdb: Update database of Bluetooth company identifiersMarcel Holtmann
2016-10-15hwdb: Add sensitivity for Dell Latitude E7470 pointingstickBen Gamari
2016-10-12hwdb: Treat Latitude 2110 brightness keys like on Inspiron 1520 (#4355)Ben Harris
Like the Inspiron 1520, the Dell Latitude 2110 emits brightness-control key events both through atkbd and acpi-video. This suppresses them on the atkbd side.
2016-09-15hwdb: Update database of Bluetooth company identifiersMarcel Holtmann
2016-09-15hwdb: add Lenovo *40 series resolution fixes (#4149)Peter Hutterer