1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 06:52:22 +03:00
Commit Graph

17 Commits

Author SHA1 Message Date
Peter Hutterer
d9a03677a5 hwdb: add Samsung 305V4A axis resolutions
From https://bugzilla.redhat.com/show_bug.cgi?id=1294022
2016-02-01 12:50:43 +10:00
Daniel Mack
599601a4b9 Merge pull request #2222 from snakeroot/eventsplat
hwdb: remove references to udevadm info /dev/input/event*
2016-01-20 17:06:56 +01:00
Peter Hutterer
75e60eea58 hwdb: add axis ranges and resolution for Dell Lattitude E6220
https://bugzilla.redhat.com/show_bug.cgi?id=1293576
2016-01-05 08:14:04 +10:00
Chris Atkinson
52bd587fe7 hwdb: remove references to udevadm info /dev/input/event* 2015-12-24 13:34:24 -05:00
Peter Hutterer
3872f4d3ab hwdb: add axis range corrections for Lenovo T510
From https://bugzilla.redhat.com/show_bug.cgi?id=1247958
2015-11-10 14:19:29 +10:00
Peter Hutterer
30d980b22a hwdb: add Dell Inspiron N5040 touchpad corrections
From https://bugzilla.redhat.com/show_bug.cgi?id=1275070
2015-11-10 12:54:32 +10:00
Peter Hutterer
3cf23b62ea hwdb: sort the brand names alphabetically 2015-11-10 12:52:01 +10:00
Peter Hutterer
adcf219921 hwdb: fix capitalization of product version for the Macbooks
We need uppercase hex here.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-08-18 09:39:57 +10:00
Zbigniew Jędrzejewski-Szmek
195c9e37fc Update bugtracker address 2015-08-04 00:03:55 -04:00
Alastair Hughes
8d51633304 hwdb: add resolution information for Dell Vostro 1510 touchpad
Dell Vostro 1510, AlpsPS/2 ALPS GlidePoint touchpad.

Relevant issue: #763
2015-08-01 20:03:51 +12:00
Peter Hutterer
47b84eac21 hwdb: add min/max/resolution override for Appletouch one-button touchpads
Macbook2,1, late 2006 model.

https://bugzilla.redhat.com/show_bug.cgi?id=1246651
2015-07-30 16:17:19 +10:00
Peter Hutterer
5b7246d09d hwdb: add resolution values for Asus K52JT touchpad
https://bugs.freedesktop.org/show_bug.cgi?id=91364
2015-07-30 16:17:16 +10:00
Peter Hutterer
47d36b7c85 hwdb: fix typo - "sort by by..." -> "sort by..." 2015-04-23 12:14:58 +10:00
Benjamin Tissoires
696f1dbfe1 hwdb: add Chromebook pixel (2015) resolution fix
The atmel driver sets a default resolution of 20 for each touchpads it
creates. On this model, 10 is more appropriate.

The resolution is not set for the touchscreen by the kernel, so match
the name to both touchpad and touchscreen.
2015-04-21 11:29:30 +10:00
Benjamin Tissoires
a58223dc37 hwdb: add evdev entry for the Lenovo X230 series touchpad
The Lenovo X230 advertize a vertical resolution of 136, which gives a true
size of 31 mm. The actual physical size of the touchpad is 40 mm, so
override the resolution to 100.
2015-04-21 11:29:01 +10:00
Peter Hutterer
3ebc2dc498 hwdb: set the resolution for a couple of bcm5974 touchpads
Verified for the 5,1 Macbook, the others are guesses based on the list of
supported devices of the moshi trackpad protector.
http://www.moshi.com/trackpad-protector-trackguard-macbook-pro#silver

Resolution calculated based on the min/max settings set in the kernel driver,
divided by the physical size. This is probably slightly off, but still better
than no resolution at all.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-04-11 08:44:33 +10:00
Peter Hutterer
51c0c28698 udev: builtin-keyboard: add support for EVDEV_ABS_*
Parse properties in the form
EVDEV_ABS_00="<min>:<max>:<res>:<fuzz>:<flat>"

and apply them to the kernel device. Future processes that open that device
will see the updated EV_ABS range.

This is particularly useful for touchpads that don't provide a resolution in
the kernel driver but can be fixed up through hwdb entries (e.g. bcm5974).

All values in the property are optional, e.g. a string of "::45" is valid to
set the resolution to 45.

The order intentionally orders resolution before fuzz and flat despite it
being the last element in the absinfo struct. The use-case for setting
fuzz/flat is almost non-existent, resolution is probably the most common case
we'll need.

To avoid multiple hwdb invocations for the same device, replace the
hwdb "keyboard:" prefix with "evdev:" and drop the separate 60-keyboard.rules
file. The new 60-evdev.rules is called for all event nodes
anyway, we don't need a separate rules file and second callout to the hwdb
builtin.
2015-04-11 08:44:33 +10:00