]> git.ipfire.org Git - thirdparty/systemd.git/blame - hwdb/70-mouse.hwdb
sd-device: fix return codes on error
[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 100#
47d36b7c 101# Sort by brand, type (usb, bluetooth), DPI, frequency.
7731320a
ZJS
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
e8043cd5
PH
127##########################################
128# HP
129##########################################
130
131# HP X1000
132mouse:usb:v093ap2510:name:PixArt USB Optical Mouse:
133 MOUSE_DPI=1000@125
134
0213a26f
PH
135##########################################
136# Lenovo
137##########################################
138
eb59c75e 139# Lenovo Optical USB Mouse
0213a26f
PH
140mouse:usb:v17efp6019:name:Lenovo Optical USB Mouse:
141 MOUSE_DPI=1000@125
142
40dba702
LP
143# ThinkPad USB Laser Mouse
144mouse:usb:v17efp6044:name:ThinkPad USB Laser Mouse:
145 MOUSE_DPI=1200@125
146
0213a26f
PH
147##########################################
148# Logitech
149##########################################
150
eb59c75e
PH
151# Note: devices using the Logitech Unifying receiver will need two entries,
152# one for pre 3.19 with the wireless PID in the name, one for 3.19 with the
153# model name. The usb vid/pid is the same for all those devices.
154# Until 3.19 is available, this list just has the Wireless PID entry.
155
e31fc141
ZJS
156# Logitech M-BJ58 Optical Mouse
157mouse:usb:v046dpc00e:name:Logitech USB-PS/2 Optical Mouse:
158# Logitech MX310 Optical Mouse
159mouse:usb:v046dpc01b:name:Logitech USB-PS/2 Optical Mouse:
7731320a
ZJS
160# Logitech USB-PS/2 M-BT58
161mouse:usb:v046dpc03e:name:Logitech USB-PS/2 Optical Mouse:
162 MOUSE_DPI=400@125
163
c470b44f
FT
164# Lenovo USB mouse model MO28UOL
165mouse:usb:v04b3p310c:name:USB Optical Mouse:
166 MOUSE_DPI=400@142
167
7731320a
ZJS
168# Logitech USB-PS/2 M-BZ96C
169mouse:usb:v046dpc045:name:Logitech USB-PS/2 Optical Mouse:
170 MOUSE_DPI=600@125
171
abd440cd 172# Logitech Wireless Mouse M325
7731320a
ZJS
173mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:400a:
174 MOUSE_DPI=600@166
b333117c 175 MOUSE_WHEEL_CLICK_ANGLE=20
eb59c75e 176
6a057a99
PH
177# Logitech MX1000 Laser Cordless Mouse
178mouse:usb:v046dpc50e:name:Logitech USB RECEIVER:
eb59c75e
PH
179# Logitech Cordless Click! Plus
180mouse:usb:v046dpc50e:name:Logitech USB Receiver:
17134776
TJ
181# Logitech, Inc. RX 300 Optical Mouse
182mouse:usb:v046dpc040:name:Logitech USB-PS/2 Optical Mouse:
eb59c75e
PH
183 MOUSE_DPI=800@125
184
de72f11b
HH
185# Logitech MX 518
186mouse:usb:v046dpc01e:name:Logitech USB-PS/2 Optical Mouse:
187 MOUSE_DPI=400@125 *800@125 1600@125
188
dba76359
ZJS
189# Logitech, Inc. RX 250 Optical Mouse
190mouse:usb:v046dpc050:name:Logitech USB-PS/2 Optical Mouse:
191 MOUSE_DPI=800@142
192
6366e349
193# Logitech G400 (Wired)
194mouse:usb:v046dpc245:name:Logitech Gaming Mouse G400:
195 MOUSE_DPI=400@1000 *800@1000 1800@1000 3600@1000
5ebbc3f3 196
f9e35b2e
DM
197# Logitech G400s (Wired)
198mouse:usb:v046dpc24c:name:Logitech G400s Optical Gaming Mouse:
199 MOUSE_DPI=400@1000 *800@1000 2000@1000 4000@1000
200
25069faa
PH
201# Logitech M570 trackball
202mouse:usb:v046dp1028:name:Logitech M570:
203 MOUSE_DPI=540@167
204
7731320a
ZJS
205# Logitech Wireless Mouse M185
206mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4008:
207# Logitech M705 (marathon mouse)
208mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101b:
209 MOUSE_DPI=800@166
210
6437edbe
JG
211# Logitech G5 Laser Mouse
212mouse:usb:v046dpc049:name:Logitech USB Gaming Mouse:
eb59c75e 213# Logitech G500s Laser Gaming Mouse
0213a26f
PH
214mouse:usb:v046dpc24e:name:Logitech G500s Laser Gaming Mouse:
215 MOUSE_DPI=400@500 *800@500 2000@500
eb59c75e 216
7731320a
ZJS
217# Logitech B605 Wireless Mouse (also M505)
218mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101d:
219 MOUSE_DPI=900@166
220
e31fc141
ZJS
221# Logitech RX1000 Laser Mouse
222mouse:usb:v046dpc046:name:Logitech USB Optical Mouse:
223# Logitech M100 Optical Mouse
7731320a 224mouse:usb:v046dpc05a:name:Logitech USB Optical Mouse:
bf66fe26
CB
225# Logitech USB Laser Mouse M-U0011-O rebranded as "terra Laser"
226mouse:usb:v046dpc065:name:Logitech USB Laser Mouse:
7731320a
ZJS
227 MOUSE_DPI=1000@125
228
149ff903
CB
229# Logitech MK260 Wireless Combo Receiver aka M-R0011
230mouse:usb:v046dpc52e:name:Logitech USB Receiver:
231 MOUSE_DPI=1000@200
232
eb59c75e
PH
233# Logitech G700 Laser Mouse (Wired)
234mouse:usb:v046dpc06b:name:Logitech G700 Laser Mouse:
235# Logitech G700 Laser Mouse (Wireless)
236mouse:usb:v046dpc531:name:Logitech USB Receiver:
237 MOUSE_DPI=*1000@500 3800@500 500@1000 1500@1000 2000@1000
238
bdd31644
CB
239# Logitech USB Laser Mouse M-UAS144 [LS1 Laser Mouse]
240mouse:usb:v046dpc062:name:Logitech USB Laser Mouse:
4540817b
LP
241# Logitech USB Laser Mouse M-U0007
242mouse:usb:v046dpc069:name:Logitech USB Laser Mouse:
bdd31644
CB
243 MOUSE_DPI=1200@125
244
eb59c75e
PH
245# Logitech T620 (or, the soap)
246mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4027:
247 MOUSE_DPI=1200@250
248
7731320a
ZJS
249# Logitech ZoneTouch Mouse T400
250mouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4026:
251 MOUSE_DPI=1300@166
85c24db1 252
eb59c75e
PH
253# Logitech Ultrathin Touch Mouse
254mouse:bluetooth:v046dpb00d:name:Ultrathin Touch Mouse:
255 MOUSE_DPI=1000@1000
256
60329a9d
PH
257# ImExPS/2 Logitech Wheel Mouse
258mouse:ps2:*:name:ImExPS/2 Logitech Wheel Mouse:
259 MOUSE_DPI=400@250
260
eb59c75e
PH
261##########################################
262# Microsoft
263##########################################
264
edbda61f 265mouse:usb:v045ep0040:name:Microsoft Microsoft 3-Button Mouse with IntelliEye(TM):
9fba65f1
LM
266 MOUSE_DPI=400@125
267
b631b481
PH
268# Note: unsure that these work, it's likely that all devices on these
269# receivers show up with the same vid/pid/name
270
271# Microsoft Sculpt Ergonomic Mouse
272mouse:usb:v045ep07a5:name:Microsoft Microsoft® 2.4GHz Transceiver v9.0:
273 MOUSE_DPI=1000@142
274
eb59c75e
PH
275# Microsoft Arc Touch Mouse USB
276mouse:usb:v045ep07b1:name:Microsoft Microsoft® Nano Transceiver v1.0:
277 MOUSE_DPI=1400@142
278
2c561af2
FT
279# Microsoft Wireless Laser Mouse 8000
280mouse:bluetooth:v045ep0702:name:Microsoft Wireless Laser Mouse 8000:
281 MOUSE_DPI=1000@1000
282
eb59c75e
PH
283##########################################
284# Oklick
285##########################################
286
0068de37 287# Oklick 406S Bluetooth Laser Mouse
eb59c75e
PH
288mouse:bluetooth:v056ep0061:name:Laser BTmouse:
289 MOUSE_DPI=*800@333 1600@333
0068de37
TG
290
291##########################################
292# Razer
293##########################################
294
295# Razer Abyssus
296mouse:usb:v1532p0042:name:Razer Razer Abyssus:
297 MOUSE_DPI=3500@1000
729bc933
BT
298
299##########################################
300# Roccat
301##########################################
302
303# Roccat Lua (ROC-11-310)
304mouse:usb:v1e7dp2c2e:name:ROCCAT ROCCAT Lua:
305 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
306 MOUSE_WHEEL_CLICK_ANGLE=15