chiark / gitweb /
c6942bab8ff36f06d0c0c2b95989f95a6d164bc4
[elogind.git] / hwdb / 60-evdev.hwdb
1 # This file is part of systemd.
2 #
3 # The lookup keys are composed in:
4 #   60-evdev.rules
5 #
6 # Note: The format of the "evdev:" prefix match key is a
7 # contract between the rules file and the hardware data, it might
8 # change in later revisions to support more or better matches, it
9 # is not necessarily expected to be a stable ABI.
10 #
11 # Match string formats:
12 # evdev:<modalias>
13 # evdev:name:<device name>:dmi:<dmi string>
14 #
15 # To add local entries, create a new file
16 #   /etc/udev/hwdb.d/61-evdev-local.hwdb
17 # and add your rules there. To load the new rules execute (as root):
18 #   udevadm hwdb --update
19 #   udevadm trigger /dev/input/eventXX
20 # where /dev/input/eventXX is the device in question. If in
21 # doubt, simply use /dev/input/event* to reload all input rules.
22 #
23 # If your changes are generally applicable, open a bug report on
24 #   http://bugs.freedesktop.org/enter_bug.cgi?product=systemd
25 # and include your new rules, a description of the device, and the
26 # output of
27 #   udevadm info /dev/input/eventXX
28 # (or /dev/input/event*).
29 #
30 # Allowed properties are:
31 #    EVDEV_ABS_<axis>=<min>:<max>:<res>:<fuzz>:<flat>
32 #
33 # where <axis> is the hexadecimal EV_ABS code as listed in linux/input.h
34 # and min, max, res, fuzz, flat are the decimal values to the respective
35 # fields of the struct input_absinfo as listed in linux/input.h.
36 # If a field is missing the field will be left as-is. Not all fields need to
37 # be present. e.g. ::45 sets the resolution to 45 units/mm.
38
39 #
40 # Sort by brand, model
41
42 #########################################
43 # Apple
44 #########################################
45
46 # Macbook5,1 (unibody), aka wellspring3
47 evdev:input:b0003v05ACp0236*
48 evdev:input:b0003v05ACp0237*
49 evdev:input:b0003v05ACp0238*
50  EVDEV_ABS_00=::92
51  EVDEV_ABS_01=::90
52  EVDEV_ABS_35=::92
53  EVDEV_ABS_36=::90
54
55 # Macbook8 (unibody, March 2011)
56 evdev:input:b0003v05ACp0245*
57 evdev:input:b0003v05ACp0246*
58 evdev:input:b0003v05ACp0247*
59  EVDEV_ABS_00=::92
60  EVDEV_ABS_01=::91
61  EVDEV_ABS_35=::92
62  EVDEV_ABS_36=::91
63
64 # Macbook8,2 (unibody)
65 evdev:input:b0003v05ACp0252*
66 evdev:input:b0003v05ACp0253*
67 evdev:input:b0003v05ACp0254*
68  EVDEV_ABS_00=::94
69  EVDEV_ABS_01=::92
70  EVDEV_ABS_35=::94
71  EVDEV_ABS_36=::92
72
73 # MacbookPro10,1 (unibody, June 2012)
74 evdev:input:b0003v05ACp0259*
75 evdev:input:b0003v05ACp025a*
76 evdev:input:b0003v05ACp025b*
77 # MacbookPro10,2 (unibody, October 2012)
78 evdev:input:b0003v05ACp0259*
79 evdev:input:b0003v05ACp025a*
80 evdev:input:b0003v05ACp025b*
81  EVDEV_ABS_00=::94
82  EVDEV_ABS_01=::92
83  EVDEV_ABS_35=::94
84  EVDEV_ABS_36=::92
85
86 #########################################
87 # ASUS
88 #########################################
89 # Asus K52JT
90 evdev:name:ETPS/2 Elantech Touchpad:dmi:bvn*:bvr*:bd*:svnASUSTeKComputerInc.:pnK52JT:*
91  EVDEV_ABS_00=::18
92  EVDEV_ABS_01=::16
93  EVDEV_ABS_35=::18
94  EVDEV_ABS_36=::16
95
96 #########################################
97 # Google
98 #########################################
99
100 # Chromebook Pixel (2015) - Samus
101 evdev:name:Atmel maXTouch Touch*:dmi:bvn*:bvr*:bd*:svnGOOGLE:pnSamus*
102  EVDEV_ABS_00=::10
103  EVDEV_ABS_01=::10
104  EVDEV_ABS_35=::10
105  EVDEV_ABS_36=::10
106
107 #########################################
108 # Lenovo
109 #########################################
110
111 # Lenovo X230 series
112 evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pn*ThinkPad*X230*
113  EVDEV_ABS_01=::100
114  EVDEV_ABS_36=::100