1 # This file is part of systemd.
3 # The lookup keys are composed in:
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.
11 # Match string formats:
13 # evdev:name:<device name>:dmi:<dmi string>
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.
23 # If your changes are generally applicable, preferably send them as a pull
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
28 # udevadm info /dev/input/eventXX.
30 # Allowed properties are:
31 # EVDEV_ABS_<axis>=<min>:<max>:<res>:<fuzz>:<flat>
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.
40 # Sort by brand, model
42 #########################################
44 #########################################
46 # Macbook2,1 (late 2006), single-button touchpad
47 evdev:input:b0003v05ACp021B*
48 EVDEV_ABS_00=256:1471:12
49 EVDEV_ABS_01=256:831:12
51 # Macbook5,1 (unibody), aka wellspring3
52 evdev:input:b0003v05ACp0236*
53 evdev:input:b0003v05ACp0237*
54 evdev:input:b0003v05ACp0238*
60 # Macbook8 (unibody, March 2011)
61 evdev:input:b0003v05ACp0245*
62 evdev:input:b0003v05ACp0246*
63 evdev:input:b0003v05ACp0247*
69 # Macbook8,2 (unibody)
70 evdev:input:b0003v05ACp0252*
71 evdev:input:b0003v05ACp0253*
72 evdev:input:b0003v05ACp0254*
78 # MacbookPro10,1 (unibody, June 2012)
79 evdev:input:b0003v05ACp0259*
80 evdev:input:b0003v05ACp025A*
81 evdev:input:b0003v05ACp025B*
82 # MacbookPro10,2 (unibody, October 2012)
83 evdev:input:b0003v05ACp0259*
84 evdev:input:b0003v05ACp025A*
85 evdev:input:b0003v05ACp025B*
91 #########################################
93 #########################################
95 evdev:name:ETPS/2 Elantech Touchpad:dmi:bvn*:bvr*:bd*:svnASUSTeKComputerInc.:pnK52JT:*
101 #########################################
103 #########################################
106 evdev:name:AlpsPS/2 ALPS GlidePoint*:dmi:bvn*:bvr*:bd*:svnDellInc.:pnVostro1510*
110 # Dell Inspiron N5040
111 evdev:name:AlpsPS/2 ALPS DualPoint TouchPad:dmi:bvn*:bvr*:bd*:svnDellInc.:pnInspironN5040*
112 EVDEV_ABS_00=25:2000:22
113 EVDEV_ABS_01=0:1351:28
114 EVDEV_ABS_35=25:2000:22
115 EVDEV_ABS_36=0:1351:28
117 # Dell Latitude E6220
118 evdev:name:AlpsPS/2 ALPS DualPoint TouchPad:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6220*
119 EVDEV_ABS_00=76:1815:22
120 EVDEV_ABS_01=131:1330:30
121 EVDEV_ABS_35=76:1815:22
122 EVDEV_ABS_36=131:1330:30
124 #########################################
126 #########################################
128 # Chromebook Pixel (2015) - Samus
129 evdev:name:Atmel maXTouch Touch*:dmi:bvn*:bvr*:bd*:svnGOOGLE:pnSamus*
135 #########################################
137 #########################################
140 evdev:name:SynPS/2 Synaptics TouchPad*:dmi:*svnHewlett-Packard:pnHPPaviliondm4*
141 EVDEV_ABS_00=1360:5563:47
142 EVDEV_ABS_01=1269:4618:61
143 EVDEV_ABS_35=1360:5563:47
144 EVDEV_ABS_36=1269:4618:61
146 #########################################
148 #########################################
151 evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pn*ThinkPad*P50*
158 evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pn*ThinkPad*T460*
159 EVDEV_ABS_00=1266:5677:44
160 EVDEV_ABS_01=1093:4832:65
161 EVDEV_ABS_35=1266:5677:44
162 EVDEV_ABS_36=1093:4832:65
165 evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pn*ThinkPad*T510*
166 EVDEV_ABS_00=778:6239:72
167 EVDEV_ABS_01=841:5330:100
168 EVDEV_ABS_35=778:6239:72
169 EVDEV_ABS_36=841:5330:100
172 evdev:name:SynPS/2 Synaptics TouchPad:dmi:*svnLENOVO*:pn*ThinkPad*X230*
176 #########################################
178 #########################################
181 evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnSAMSUNGELECTRONICSCO.,LTD.:pn305V4A/305V5A*
182 EVDEV_ABS_00=0:2480:28
183 EVDEV_ABS_01=0:1116:24
184 EVDEV_ABS_35=0:2480:28
185 EVDEV_ABS_36=0:1116:24