]>
Commit | Line | Data |
---|---|---|
51c0c286 PH |
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 | # | |
195c9e37 ZJS |
23 | # If your changes are generally applicable, preferably send them as a pull |
24 | # request to | |
25 | # https://github.com/systemd/systemd | |
26 | # or create a bug report on https://github.com/systemd/systemd/issues and | |
27 | # include your new rules, a description of the device, and the output of | |
51c0c286 PH |
28 | # udevadm info /dev/input/eventXX |
29 | # (or /dev/input/event*). | |
30 | # | |
31 | # Allowed properties are: | |
32 | # EVDEV_ABS_<axis>=<min>:<max>:<res>:<fuzz>:<flat> | |
33 | # | |
34 | # where <axis> is the hexadecimal EV_ABS code as listed in linux/input.h | |
35 | # and min, max, res, fuzz, flat are the decimal values to the respective | |
36 | # fields of the struct input_absinfo as listed in linux/input.h. | |
37 | # If a field is missing the field will be left as-is. Not all fields need to | |
38 | # be present. e.g. ::45 sets the resolution to 45 units/mm. | |
3ebc2dc4 | 39 | |
a58223dc | 40 | # |
47d36b7c | 41 | # Sort by brand, model |
a58223dc BT |
42 | |
43 | ######################################### | |
44 | # Apple | |
45 | ######################################### | |
46 | ||
47b84eac PH |
47 | # Macbook2,1 (late 2006), single-button touchpad |
48 | evdev:input:b0003v05ACp021B* | |
49 | EVDEV_ABS_00=256:1471:12 | |
50 | EVDEV_ABS_01=256:831:12 | |
51 | ||
3ebc2dc4 PH |
52 | # Macbook5,1 (unibody), aka wellspring3 |
53 | evdev:input:b0003v05ACp0236* | |
54 | evdev:input:b0003v05ACp0237* | |
55 | evdev:input:b0003v05ACp0238* | |
56 | EVDEV_ABS_00=::92 | |
57 | EVDEV_ABS_01=::90 | |
58 | EVDEV_ABS_35=::92 | |
59 | EVDEV_ABS_36=::90 | |
60 | ||
61 | # Macbook8 (unibody, March 2011) | |
62 | evdev:input:b0003v05ACp0245* | |
63 | evdev:input:b0003v05ACp0246* | |
64 | evdev:input:b0003v05ACp0247* | |
65 | EVDEV_ABS_00=::92 | |
66 | EVDEV_ABS_01=::91 | |
67 | EVDEV_ABS_35=::92 | |
68 | EVDEV_ABS_36=::91 | |
69 | ||
70 | # Macbook8,2 (unibody) | |
71 | evdev:input:b0003v05ACp0252* | |
72 | evdev:input:b0003v05ACp0253* | |
73 | evdev:input:b0003v05ACp0254* | |
74 | EVDEV_ABS_00=::94 | |
75 | EVDEV_ABS_01=::92 | |
76 | EVDEV_ABS_35=::94 | |
77 | EVDEV_ABS_36=::92 | |
78 | ||
79 | # MacbookPro10,1 (unibody, June 2012) | |
80 | evdev:input:b0003v05ACp0259* | |
adcf2199 PH |
81 | evdev:input:b0003v05ACp025A* |
82 | evdev:input:b0003v05ACp025B* | |
3ebc2dc4 PH |
83 | # MacbookPro10,2 (unibody, October 2012) |
84 | evdev:input:b0003v05ACp0259* | |
adcf2199 PH |
85 | evdev:input:b0003v05ACp025A* |
86 | evdev:input:b0003v05ACp025B* | |
3ebc2dc4 PH |
87 | EVDEV_ABS_00=::94 |
88 | EVDEV_ABS_01=::92 | |
89 | EVDEV_ABS_35=::94 | |
90 | EVDEV_ABS_36=::92 | |
a58223dc | 91 | |
5b7246d0 PH |
92 | ######################################### |
93 | # ASUS | |
94 | ######################################### | |
95 | # Asus K52JT | |
96 | evdev:name:ETPS/2 Elantech Touchpad:dmi:bvn*:bvr*:bd*:svnASUSTeKComputerInc.:pnK52JT:* | |
97 | EVDEV_ABS_00=::18 | |
98 | EVDEV_ABS_01=::16 | |
99 | EVDEV_ABS_35=::18 | |
100 | EVDEV_ABS_36=::16 | |
101 | ||
3cf23b62 PH |
102 | ######################################### |
103 | # Dell | |
104 | ######################################### | |
105 | ||
106 | # Dell Vostro 1510 | |
107 | evdev:name:AlpsPS/2 ALPS GlidePoint*:dmi:bvn*:bvr*:bd*:svnDellInc.:pnVostro1510* | |
108 | EVDEV_ABS_00=::14 | |
109 | EVDEV_ABS_01=::18 | |
110 | ||
30d980b2 PH |
111 | # Dell Inspiron N5040 |
112 | evdev:name:AlpsPS/2 ALPS DualPoint TouchPad:dmi:bvn*:bvr*:bd*:svnDellInc.:pnInspironN5040* | |
113 | EVDEV_ABS_00=25:2000:22 | |
114 | EVDEV_ABS_01=0:1351:28 | |
115 | EVDEV_ABS_35=25:2000:22 | |
116 | EVDEV_ABS_36=0:1351:28 | |
117 | ||
696f1dbf BT |
118 | ######################################### |
119 | ||
120 | ######################################### | |
121 | ||
122 | # Chromebook Pixel (2015) - Samus | |
123 | evdev:name:Atmel maXTouch Touch*:dmi:bvn*:bvr*:bd*:svnGOOGLE:pnSamus* | |
124 | EVDEV_ABS_00=::10 | |
125 | EVDEV_ABS_01=::10 | |
126 | EVDEV_ABS_35=::10 | |
127 | EVDEV_ABS_36=::10 | |
128 | ||
a58223dc BT |
129 | ######################################### |
130 | # Lenovo | |
131 | ######################################### | |
132 | ||
133 | # Lenovo X230 series | |
134 | evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pn*ThinkPad*X230* | |
135 | EVDEV_ABS_01=::100 | |
136 | EVDEV_ABS_36=::100 | |
3872f4d3 PH |
137 | |
138 | # Lenovo T510 | |
139 | evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pn*ThinkPad*T510* | |
140 | EVDEV_ABS_00=778:6239:72 | |
141 | EVDEV_ABS_01=841:5330:100 | |
142 | EVDEV_ABS_35=778:6239:72 | |
143 | EVDEV_ABS_36=841:5330:100 |