Update.
[oweals/hwids.git] / udev / 70-mouse.hwdb
1 # This file is part of systemd.
2 #
3 # Database for the DPI setting of mice, trackballs, other pointer devices that
4 # cannot be queried directly.
5 #
6 # The lookup keys are composed in:
7 #   70-mouse.rules
8 #
9 # Note: The format of the "mouse:" prefix match key is a
10 # contract between the rules file and the hardware data, it might
11 # change in later revisions to support more or better matches, it
12 # is not necessarily expected to be a stable ABI.
13 #
14 # Match string format:
15 # mouse:<subsystem>:v<vid>p<pid>:name:<name>:
16 #
17 # Supported subsystems: usb, bluetooth
18 # vid/pid as 4-digit hex lowercase vendor/product
19 #
20 # if vid/pid is unavailable, use
21 # mouse:*:name:<name>:
22 # if name is unavailable, use
23 # mouse:<subsystem>:v<vid>p<pid>:*
24 #
25 # For example, the following 5 matches all match the same mouse:
26 # mouse:usb:v17efp6019:name:Lenovo Optical USB Mouse:
27 # mouse:usb:*:name:Lenovo Optical USB Mouse:
28 # mouse:usb:v17efp6019:*
29 # mouse:*:name:Lenovo Optical USB Mouse:
30 #
31 # DPI settings are specified as
32 #    MOUSE_DPI=<dpi>[@<frequency>]
33 #
34 # Where <dpi> is the resolution in dots per inch, and <frequency> the
35 # sampling frequency in Hz (optional). If a device supports dynamic
36 # frequency scaling, the maximum frequency should be used. For devices
37 # supporting multiple fixed frequencies, see below.
38 #
39 # The value of MOUSE_DPI is:
40 # - a single integer for single-resolution mice, e.g.
41 #   MOUSE_DPI=800
42 #   or, if the frequency is known:
43 #   MOUSE_DPI=800@120
44 # - a space-separated list of resolutions for multi-resolution mice.
45 #   The default resolution must be prefixed by an asterisk, the resolutions
46 #   in the database must be as shipped by the manufacturer. e.g.
47 #   MOUSE_DPI=400 *800 2000
48 #
49 #   The order of resolutions is as configured by the HW manufacturer or in
50 #   ascending order, whichever appropriate.
51 #
52 #   The frequency must be given to either none or all resolutions. If the
53 #   device supports multiple fixed frequencies, the order of items is
54 #   MOUSE_DPI=r1@f1 r2@f1 r3@f1 r1@f2 r2@f2 r3@f2
55 #
56 #   If the default manufacturer-set resolution is unclear, a resolution of
57 #   800 or 1000 should be set as default, if available. If neither is
58 #   available, choose the "middle" resolution value of those available.
59 #
60 #   The list may contain a single item which must be marked with an
61 #   asterisk.
62 #
63 # Local changes to the a non-default resolution of the mouse (e.g. through
64 # third-party software) must not be entered into this file, use a local
65 # hwdb instead.
66 #
67 # To add local entries, create a new file
68 #   /etc/udev/hwdb.d/71-mouse-local.hwdb
69 # and add your rules there. To load the new rules execute (as root):
70 #   udevadm hwdb --update
71 #   udevadm trigger /dev/input/eventXX
72 # where /dev/input/eventXX is the mouse in question. If in
73 # doubt, simply use /dev/input/event* to reload all input rules.
74 #
75 # If your changes are generally applicable, open a bug report on
76 #   http://bugs.freedesktop.org/enter_bug.cgi?product=systemd
77 # and include your new rules, a description of the device, and the
78 # output of
79 #   udevadm info /dev/input/eventXX
80 # (or /dev/input/event*).
81
82 #
83 # Sort by by brand, type (usb, bluetooth), DPI, frequency.
84 # For mice with switchable resolution, sort by the starred entry.
85
86 ##########################################
87 # Chicony
88 ##########################################
89
90 # Chicony 2.4G Multimedia Wireless Kit MG-0919
91 mouse:usb:v04f2p0963:name:Chicony 2.4G Multimedia Wireless Kit:
92  MOUSE_DPI=1000@142
93
94 ##########################################
95 # Dell
96 ##########################################
97
98 # Dell USB Laser Mouse
99 mouse:usb:v046dpc063:name:DELL DELL USB Laser Mouse:
100  MOUSE_DPI=1000@125
101
102 ##########################################
103 # Fujitsu Siemens
104 ##########################################
105
106 mouse:usb:v0461p4d16:name:USB Optical Mouse:
107  MOUSE_DPI=500@125
108
109 ##########################################
110 # Lenovo
111 ##########################################
112
113 # Lenovo Optical USB Mouse
114 mouse:usb:v17efp6019:name:Lenovo Optical USB Mouse:
115  MOUSE_DPI=1000@125
116
117 # ThinkPad USB Laser Mouse
118 mouse:usb:v17efp6044:name:ThinkPad USB Laser Mouse:
119  MOUSE_DPI=1200@125
120
121 ##########################################
122 # Logitech
123 ##########################################
124
125 # Note: devices using the Logitech Unifying receiver will need two entries,
126 # one for pre 3.19 with the wireless PID in the name, one for 3.19 with the
127 # model name. The usb vid/pid is the same for all those devices.
128 # Until 3.19 is available, this list just has the Wireless PID entry.
129
130 # Logitech M-BJ58 Optical Mouse
131 mouse:usb:v046dpc00e:name:Logitech USB-PS/2 Optical Mouse:
132 # Logitech MX310 Optical Mouse
133 mouse:usb:v046dpc01b:name:Logitech USB-PS/2 Optical Mouse:
134 # Logitech USB-PS/2 M-BT58
135 mouse:usb:v046dpc03e:name:Logitech USB-PS/2 Optical Mouse:
136  MOUSE_DPI=400@125
137
138 # Lenovo USB mouse model MO28UOL
139 mouse:usb:v04b3p310c:name:USB Optical Mouse:
140  MOUSE_DPI=400@142
141
142 # Logitech USB-PS/2 M-BZ96C
143 mouse:usb:v046dpc045:name:Logitech USB-PS/2 Optical Mouse:
144  MOUSE_DPI=600@125
145
146 # Logitech Wireless Mouse M325
147 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:400a:
148  MOUSE_DPI=600@166
149
150 # Logitech MX1000 Laser Cordless Mouse
151 mouse:usb:v046dpc50e:name:Logitech USB RECEIVER:
152 # Logitech Cordless Click! Plus
153 mouse:usb:v046dpc50e:name:Logitech USB Receiver:
154 # Logitech, Inc. RX 300 Optical Mouse
155 mouse:usb:v046dpc040:name:Logitech USB-PS/2 Optical Mouse:
156  MOUSE_DPI=800@125
157
158 # Logitech MX 518
159 mouse:usb:v046dpc01e:name:Logitech USB-PS/2 Optical Mouse:
160  MOUSE_DPI=400@125 *800@125 1600@125
161
162 # Logitech, Inc. RX 250 Optical Mouse
163 mouse:usb:v046dpc050:name:Logitech USB-PS/2 Optical Mouse:
164  MOUSE_DPI=800@142
165
166 # Logitech G400 (Wired)
167 mouse:usb:v046dpc245:name:Logitech Gaming Mouse G400:
168  MOUSE_DPI=400@1000 *800@1000 1800@1000 3600@1000
169 # Logitech G400s (Wired)
170 mouse:usb:v046dpc24c:name:Logitech G400s Optical Gaming Mouse:
171  MOUSE_DPI=400@1000 *800@1000 2000@1000 4000@1000
172
173 # Logitech Wireless Mouse M185
174 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4008:
175 # Logitech M705 (marathon mouse)
176 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101b:
177  MOUSE_DPI=800@166
178
179 # Logitech G500s Laser Gaming Mouse
180 mouse:usb:v046dpc24e:name:Logitech G500s Laser Gaming Mouse:
181  MOUSE_DPI=400@500 *800@500 2000@500
182
183 # Logitech B605 Wireless Mouse (also M505)
184 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101d:
185  MOUSE_DPI=900@166
186
187 # Logitech RX1000 Laser Mouse
188 mouse:usb:v046dpc046:name:Logitech USB Optical Mouse:
189 # Logitech M100 Optical Mouse
190 mouse:usb:v046dpc05a:name:Logitech USB Optical Mouse:
191 # Logitech USB Laser Mouse M-U0011-O rebranded as "terra Laser"
192 mouse:usb:v046dpc065:name:Logitech USB Laser Mouse:
193  MOUSE_DPI=1000@125
194
195 # Logitech MK260 Wireless Combo Receiver aka M-R0011
196 mouse:usb:v046dpc52e:name:Logitech USB Receiver:
197  MOUSE_DPI=1000@200
198
199 # Logitech G700 Laser Mouse (Wired)
200 mouse:usb:v046dpc06b:name:Logitech G700 Laser Mouse:
201 # Logitech G700 Laser Mouse (Wireless)
202 mouse:usb:v046dpc531:name:Logitech USB Receiver:
203  MOUSE_DPI=*1000@500 3800@500 500@1000 1500@1000 2000@1000
204
205 # Logitech USB Laser Mouse M-UAS144 [LS1 Laser Mouse]
206 mouse:usb:v046dpc062:name:Logitech USB Laser Mouse:
207  MOUSE_DPI=1200@125
208
209 # Logitech T620 (or, the soap)
210 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4027:
211  MOUSE_DPI=1200@250
212
213 # Logitech ZoneTouch Mouse T400
214 mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4026:
215  MOUSE_DPI=1300@166
216
217 # Logitech Ultrathin Touch Mouse
218 mouse:bluetooth:v046dpb00d:name:Ultrathin Touch Mouse:
219  MOUSE_DPI=1000@1000
220
221 # ImExPS/2 Logitech Wheel Mouse
222 mouse:ps2:*:name:ImExPS/2 Logitech Wheel Mouse:
223  MOUSE_DPI=400@250
224
225 ##########################################
226 # Microsoft
227 ##########################################
228
229 # Note: unsure that these work, it's likely that all devices on these
230 # receivers show up with the same vid/pid/name
231
232 # Microsoft Sculpt Ergonomic Mouse
233 mouse:usb:v045ep07a5:name:Microsoft Microsoft® 2.4GHz Transceiver v9.0:
234  MOUSE_DPI=1000@142
235
236 # Microsoft Arc Touch Mouse USB
237 mouse:usb:v045ep07b1:name:Microsoft Microsoft® Nano Transceiver v1.0:
238  MOUSE_DPI=1400@142
239
240 # Microsoft  Wireless Laser Mouse 8000
241 mouse:bluetooth:v045ep0702:name:Microsoft  Wireless Laser Mouse 8000:
242  MOUSE_DPI=1000@1000
243
244 ##########################################
245 # Oklick
246 ##########################################
247
248 # Oklick 406S Bluetooth Laser Mouse
249 mouse:bluetooth:v056ep0061:name:Laser  BTmouse:
250  MOUSE_DPI=*800@333 1600@333
251
252 ##########################################
253 # Razer
254 ##########################################
255
256 # Razer Abyssus
257 mouse:usb:v1532p0042:name:Razer Razer Abyssus:
258  MOUSE_DPI=3500@1000