]> git.ipfire.org Git - thirdparty/systemd.git/blame - hwdb/70-mouse.hwdb
util: Fix assertion in split() on missing '
[thirdparty/systemd.git] / hwdb / 70-mouse.hwdb
CommitLineData
0213a26f
PH
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#
011c7034
PH
31# To add local entries, create a new file
32# /etc/udev/hwdb.d/71-mouse-local.hwdb
33# and add your rules there. To load the new rules execute (as root):
34# udevadm hwdb --update
35# udevadm trigger /dev/input/eventXX
36# where /dev/input/eventXX is the mouse in question. If in
37# doubt, simply use /dev/input/event* to reload all input rules.
38#
39# If your changes are generally applicable, open a bug report on
40# http://bugs.freedesktop.org/enter_bug.cgi?product=systemd
41# and include your new rules, a description of the device, and the
42# output of
43# udevadm info /dev/input/eventXX
44# (or /dev/input/event*).
45#
46# Allowed properties are:
47# MOUSE_DPI
48# MOUSE_WHEEL_CLICK_ANGLE
49#
50#########################################
51# MOUSE_DPI #
52#########################################
53#
0213a26f
PH
54# DPI settings are specified as
55# MOUSE_DPI=<dpi>[@<frequency>]
56#
57# Where <dpi> is the resolution in dots per inch, and <frequency> the
3a8d368a
PH
58# sampling frequency in Hz (optional). If a device supports dynamic
59# frequency scaling, the maximum frequency should be used. For devices
60# supporting multiple fixed frequencies, see below.
0213a26f
PH
61#
62# The value of MOUSE_DPI is:
63# - a single integer for single-resolution mice, e.g.
64# MOUSE_DPI=800
65# or, if the frequency is known:
66# MOUSE_DPI=800@120
67# - a space-separated list of resolutions for multi-resolution mice.
8c67d0a7 68# The default resolution must be prefixed by an asterisk, the resolutions
0213a26f
PH
69# in the database must be as shipped by the manufacturer. e.g.
70# MOUSE_DPI=400 *800 2000
71#
72# The order of resolutions is as configured by the HW manufacturer or in
73# ascending order, whichever appropriate.
74#
75# The frequency must be given to either none or all resolutions. If the
3a8d368a 76# device supports multiple fixed frequencies, the order of items is
0213a26f
PH
77# MOUSE_DPI=r1@f1 r2@f1 r3@f1 r1@f2 r2@f2 r3@f2
78#
79# If the default manufacturer-set resolution is unclear, a resolution of
80# 800 or 1000 should be set as default, if available. If neither is
81# available, choose the "middle" resolution value of those available.
82#
83# The list may contain a single item which must be marked with an
84# asterisk.
85#
86# Local changes to the a non-default resolution of the mouse (e.g. through
87# third-party software) must not be entered into this file, use a local
88# hwdb instead.
89#
011c7034
PH
90#########################################
91# MOUSE_WHEEL_CLICK_ANGLE #
92#########################################
93#
94# The angle in degrees per mouse wheel 'click', specified as
95# MOUSE_WHEEL_CLICK_ANGLE=<degrees>
96#
97# Most mice have a 15 degree click stop (24 clicks per full rotation).
0213a26f 98#
0213a26f 99
7731320a
ZJS
100#
101# Sort by by brand, type (usb, bluetooth), DPI, frequency.
102# For mice with switchable resolution, sort by the starred entry.
103
af157cf8
CB
104##########################################
105# Chicony
106##########################################
107
108# Chicony 2.4G Multimedia Wireless Kit MG-0919
109mouse:usb:v04f2p0963:name:Chicony 2.4G Multimedia Wireless Kit:
110 MOUSE_DPI=1000@142
111
eb59c75e
PH
112##########################################
113# Dell
114##########################################
115
116# Dell USB Laser Mouse
117mouse:usb:v046dpc063:name:DELL DELL USB Laser Mouse:
118 MOUSE_DPI=1000@125
119
eaa5a98f
CB
120##########################################
121# Fujitsu Siemens
122##########################################
123
124mouse:usb:v0461p4d16:name:USB Optical Mouse:
125 MOUSE_DPI=500@125
126
0213a26f
PH
127##########################################
128# Lenovo
129##########################################
130
eb59c75e 131# Lenovo Optical USB Mouse
0213a26f
PH
132mouse:usb:v17efp6019:name:Lenovo Optical USB Mouse:
133 MOUSE_DPI=1000@125
134
40dba702
LP
135# ThinkPad USB Laser Mouse
136mouse:usb:v17efp6044:name:ThinkPad USB Laser Mouse:
137 MOUSE_DPI=1200@125
138
0213a26f
PH
139##########################################
140# Logitech
141##########################################
142
eb59c75e
PH
143# Note: devices using the Logitech Unifying receiver will need two entries,
144# one for pre 3.19 with the wireless PID in the name, one for 3.19 with the
145# model name. The usb vid/pid is the same for all those devices.
146# Until 3.19 is available, this list just has the Wireless PID entry.
147
e31fc141
ZJS
148# Logitech M-BJ58 Optical Mouse
149mouse:usb:v046dpc00e:name:Logitech USB-PS/2 Optical Mouse:
150# Logitech MX310 Optical Mouse
151mouse:usb:v046dpc01b:name:Logitech USB-PS/2 Optical Mouse:
7731320a
ZJS
152# Logitech USB-PS/2 M-BT58
153mouse:usb:v046dpc03e:name:Logitech USB-PS/2 Optical Mouse:
154 MOUSE_DPI=400@125
155
c470b44f
FT
156# Lenovo USB mouse model MO28UOL
157mouse:usb:v04b3p310c:name:USB Optical Mouse:
158 MOUSE_DPI=400@142
159
7731320a
ZJS
160# Logitech USB-PS/2 M-BZ96C
161mouse:usb:v046dpc045:name:Logitech USB-PS/2 Optical Mouse:
162 MOUSE_DPI=600@125
163
abd440cd 164# Logitech Wireless Mouse M325
7731320a
ZJS
165mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:400a:
166 MOUSE_DPI=600@166
b333117c 167 MOUSE_WHEEL_CLICK_ANGLE=20
eb59c75e 168
6a057a99
PH
169# Logitech MX1000 Laser Cordless Mouse
170mouse:usb:v046dpc50e:name:Logitech USB RECEIVER:
eb59c75e
PH
171# Logitech Cordless Click! Plus
172mouse:usb:v046dpc50e:name:Logitech USB Receiver:
17134776
TJ
173# Logitech, Inc. RX 300 Optical Mouse
174mouse:usb:v046dpc040:name:Logitech USB-PS/2 Optical Mouse:
eb59c75e
PH
175 MOUSE_DPI=800@125
176
de72f11b
HH
177# Logitech MX 518
178mouse:usb:v046dpc01e:name:Logitech USB-PS/2 Optical Mouse:
179 MOUSE_DPI=400@125 *800@125 1600@125
180
dba76359
ZJS
181# Logitech, Inc. RX 250 Optical Mouse
182mouse:usb:v046dpc050:name:Logitech USB-PS/2 Optical Mouse:
183 MOUSE_DPI=800@142
184
6366e349
185# Logitech G400 (Wired)
186mouse:usb:v046dpc245:name:Logitech Gaming Mouse G400:
187 MOUSE_DPI=400@1000 *800@1000 1800@1000 3600@1000
5ebbc3f3 188
f9e35b2e
DM
189# Logitech G400s (Wired)
190mouse:usb:v046dpc24c:name:Logitech G400s Optical Gaming Mouse:
191 MOUSE_DPI=400@1000 *800@1000 2000@1000 4000@1000
192
7731320a
ZJS
193# Logitech Wireless Mouse M185
194mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4008:
195# Logitech M705 (marathon mouse)
196mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101b:
197 MOUSE_DPI=800@166
198
6437edbe
JG
199# Logitech G5 Laser Mouse
200mouse:usb:v046dpc049:name:Logitech USB Gaming Mouse:
eb59c75e 201# Logitech G500s Laser Gaming Mouse
0213a26f
PH
202mouse:usb:v046dpc24e:name:Logitech G500s Laser Gaming Mouse:
203 MOUSE_DPI=400@500 *800@500 2000@500
eb59c75e 204
7731320a
ZJS
205# Logitech B605 Wireless Mouse (also M505)
206mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101d:
207 MOUSE_DPI=900@166
208
e31fc141
ZJS
209# Logitech RX1000 Laser Mouse
210mouse:usb:v046dpc046:name:Logitech USB Optical Mouse:
211# Logitech M100 Optical Mouse
7731320a 212mouse:usb:v046dpc05a:name:Logitech USB Optical Mouse:
bf66fe26
CB
213# Logitech USB Laser Mouse M-U0011-O rebranded as "terra Laser"
214mouse:usb:v046dpc065:name:Logitech USB Laser Mouse:
7731320a
ZJS
215 MOUSE_DPI=1000@125
216
149ff903
CB
217# Logitech MK260 Wireless Combo Receiver aka M-R0011
218mouse:usb:v046dpc52e:name:Logitech USB Receiver:
219 MOUSE_DPI=1000@200
220
eb59c75e
PH
221# Logitech G700 Laser Mouse (Wired)
222mouse:usb:v046dpc06b:name:Logitech G700 Laser Mouse:
223# Logitech G700 Laser Mouse (Wireless)
224mouse:usb:v046dpc531:name:Logitech USB Receiver:
225 MOUSE_DPI=*1000@500 3800@500 500@1000 1500@1000 2000@1000
226
bdd31644
CB
227# Logitech USB Laser Mouse M-UAS144 [LS1 Laser Mouse]
228mouse:usb:v046dpc062:name:Logitech USB Laser Mouse:
4540817b
LP
229# Logitech USB Laser Mouse M-U0007
230mouse:usb:v046dpc069:name:Logitech USB Laser Mouse:
bdd31644
CB
231 MOUSE_DPI=1200@125
232
eb59c75e
PH
233# Logitech T620 (or, the soap)
234mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4027:
235 MOUSE_DPI=1200@250
236
7731320a
ZJS
237# Logitech ZoneTouch Mouse T400
238mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4026:
239 MOUSE_DPI=1300@166
85c24db1 240
eb59c75e
PH
241# Logitech Ultrathin Touch Mouse
242mouse:bluetooth:v046dpb00d:name:Ultrathin Touch Mouse:
243 MOUSE_DPI=1000@1000
244
60329a9d
PH
245# ImExPS/2 Logitech Wheel Mouse
246mouse:ps2:*:name:ImExPS/2 Logitech Wheel Mouse:
247 MOUSE_DPI=400@250
248
eb59c75e
PH
249##########################################
250# Microsoft
251##########################################
252
edbda61f 253mouse:usb:v045ep0040:name:Microsoft Microsoft 3-Button Mouse with IntelliEye(TM):
9fba65f1
LM
254 MOUSE_DPI=400@125
255
b631b481
PH
256# Note: unsure that these work, it's likely that all devices on these
257# receivers show up with the same vid/pid/name
258
259# Microsoft Sculpt Ergonomic Mouse
260mouse:usb:v045ep07a5:name:Microsoft Microsoft® 2.4GHz Transceiver v9.0:
261 MOUSE_DPI=1000@142
262
eb59c75e
PH
263# Microsoft Arc Touch Mouse USB
264mouse:usb:v045ep07b1:name:Microsoft Microsoft® Nano Transceiver v1.0:
265 MOUSE_DPI=1400@142
266
2c561af2
FT
267# Microsoft Wireless Laser Mouse 8000
268mouse:bluetooth:v045ep0702:name:Microsoft Wireless Laser Mouse 8000:
269 MOUSE_DPI=1000@1000
270
eb59c75e
PH
271##########################################
272# Oklick
273##########################################
274
0068de37 275# Oklick 406S Bluetooth Laser Mouse
eb59c75e
PH
276mouse:bluetooth:v056ep0061:name:Laser BTmouse:
277 MOUSE_DPI=*800@333 1600@333
0068de37
TG
278
279##########################################
280# Razer
281##########################################
282
283# Razer Abyssus
284mouse:usb:v1532p0042:name:Razer Razer Abyssus:
285 MOUSE_DPI=3500@1000
729bc933
BT
286
287##########################################
288# Roccat
289##########################################
290
291# Roccat Lua (ROC-11-310)
292mouse:usb:v1e7dp2c2e:name:ROCCAT ROCCAT Lua:
293 MOUSE_DPI=250@125 500@125 1000@125 1250@125 1500@125 1750@125 2000@125 250@250 500@250 1000@250 1250@250 1500@250 1750@250 2000@250 250@500 500@500 1000@500 1250@500 1500@500 1750@500 2000@500 250@1000 500@1000 *1000@1000 1250@1000 1500@1000 1750@1000 2000@1000
294 MOUSE_WHEEL_CLICK_ANGLE=15