70-mouse.hwdb revision 29264ff382fa6614884afee7b518f09f55b9b536
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# This file is part of systemd.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# Database for the DPI setting of mice, trackballs, other pointer devices that
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# cannot be queried directly.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# The lookup keys are composed in:
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# Note: The format of the "mouse:" prefix match key is a
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# contract between the rules file and the hardware data, it might
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# change in later revisions to support more or better matches, it
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# is not necessarily expected to be a stable ABI.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# Match string format:
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# mouse:<subsystem>:v<vid>p<pid>:name:<name>:
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# Supported subsystems: usb, bluetooth
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# vid/pid as 4-digit hex lowercase vendor/product
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# if vid/pid is unavailable, use
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# mouse:*:name:<name>:
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# if name is unavailable, use
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# mouse:<subsystem>:v<vid>p<pid>:*
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# For example, the following 5 matches all match the same mouse:
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# mouse:usb:v17efp6019:name:Lenovo Optical USB Mouse:
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# mouse:usb:*:name:Lenovo Optical USB Mouse:
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# mouse:usb:v17efp6019:*
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# mouse:*:name:Lenovo Optical USB Mouse:
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# To add local entries, create a new file
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# and add your rules there. To load the new rules execute (as root):
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# udevadm hwdb --update
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# udevadm trigger /dev/input/eventXX
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# where /dev/input/eventXX is the mouse in question. If in
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# doubt, simply use /dev/input/event* to reload all input rules.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# If your changes are generally applicable, preferably send them as a pull
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# or create a bug report on https://github.com/systemd/systemd/issues and
8c67d0a74bc466f0a21d96625ce6b4e24b2a5f1fTorstein Husebø# include your new rules, a description of the device, and the output of
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# Allowed properties are:
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# MOUSE_WHEEL_CLICK_ANGLE
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer#########################################
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer#########################################
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# DPI settings are specified as
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# MOUSE_DPI=<dpi>[@<frequency>]
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# Where <dpi> is the resolution in dots per inch, and <frequency> the
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# sampling frequency in Hz (optional). If a device supports dynamic
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# frequency scaling, the maximum frequency should be used. For devices
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# supporting multiple fixed frequencies, see below.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# The value of MOUSE_DPI is:
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# - a single integer for single-resolution mice, e.g.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# MOUSE_DPI=800
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# or, if the frequency is known:
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# MOUSE_DPI=800@120
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# - a space-separated list of resolutions for multi-resolution mice.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# The default resolution must be prefixed by an asterisk, the resolutions
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# in the database must be as shipped by the manufacturer. e.g.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# MOUSE_DPI=400 *800 2000
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# The order of resolutions is as configured by the HW manufacturer or in
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# ascending order, whichever appropriate.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# The frequency must be given to either none or all resolutions. If the
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# device supports multiple fixed frequencies, the order of items is
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# MOUSE_DPI=r1@f1 r2@f1 r3@f1 r1@f2 r2@f2 r3@f2
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmek# If the default manufacturer-set resolution is unclear, a resolution of
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmek# 800 or 1000 should be set as default, if available. If neither is
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmek# available, choose the "middle" resolution value of those available.
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# The list may contain a single item which must be marked with an
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Local changes to the a non-default resolution of the mouse (e.g. through
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# third-party software) must not be entered into this file, use a local
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# hwdb instead.
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer#########################################
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# MOUSE_WHEEL_CLICK_ANGLE #
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer#########################################
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# The angle in degrees per mouse wheel 'click', specified as
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# MOUSE_WHEEL_CLICK_ANGLE=<degrees>
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# Most mice have a 15 degree click stop (24 clicks per full rotation).
40dba7022a2affe42a774a73828475a488cca751Lennart Poettering# Sort by brand, type (usb, bluetooth), DPI, frequency.
40dba7022a2affe42a774a73828475a488cca751Lennart Poettering# For mice with switchable resolution, sort by the starred entry.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer##########################################
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer##########################################
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Apple MagicMouse
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Note: this device changes name once connected to a mac, the name ends up
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# as $username`s mouse
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:bluetooth:v05acp030d:name:*:
e31fc1417a32f7f4efec1eb58a1511075a60e428Zbigniew Jędrzejewski-Szmek MOUSE_DPI=1300@1000
e31fc1417a32f7f4efec1eb58a1511075a60e428Zbigniew Jędrzejewski-Szmek##########################################
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmek##########################################
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmek# Chicony 2.4G Multimedia Wireless Kit MG-0919
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmekmouse:usb:v04f2p0963:name:Chicony 2.4G Multimedia Wireless Kit:
c470b44ff0188d4648f7103f6d68fb37f05f9319Frank Theile MOUSE_DPI=1000@142
c470b44ff0188d4648f7103f6d68fb37f05f9319Frank Theile##########################################
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmek##########################################
f08fa3be8d0b90ff0e778c7f2457711e9800ae95Zbigniew Jędrzejewski-Szmekmouse:usb:v413cp3012:name:Dell Dell USB Optical Mouse:
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmek MOUSE_DPI=400@166
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmek# Dell USB Laser Mouse
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmekmouse:usb:v046dpc063:name:DELL DELL USB Laser Mouse:
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmek MOUSE_DPI=1000@125
6a057a99854268afe19738022205416bd5a0f4b5Peter Hutterer##########################################
6a057a99854268afe19738022205416bd5a0f4b5Peter Hutterer# Fujitsu Siemens
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer##########################################
171347760e6864d3c92bcd220013a62049fd4636Tim JPmouse:usb:v0461p4d16:name:USB Optical Mouse:
171347760e6864d3c92bcd220013a62049fd4636Tim JP MOUSE_DPI=500@125
90d37f7e8f9e9ab91b5d78bedfbca54b92143745Erik Auerswald##########################################
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# HandShoe Mouse
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer##########################################
de72f11bd1d98956baaae2192094b4f59ed2d307Harald Hoyer# HandShoe Mouse
de72f11bd1d98956baaae2192094b4f59ed2d307Harald Hoyermouse:usb:v192fp0916:name:USB Optical Mouse:
de72f11bd1d98956baaae2192094b4f59ed2d307Harald Hoyer MOUSE_DPI=1000@128
f9e35b2e0d510986d30808824345cddd794b9fd6Daniel Mack##########################################
f9e35b2e0d510986d30808824345cddd794b9fd6Daniel Mack##########################################
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmek# Hoverstop active ergonomic mouse
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmekmouse:usb:v088dp1234:name:HoverStop NL Hoverstop active ergonomic mouse:
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmek MOUSE_DPI=400@129
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmek##########################################
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer##########################################
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# HP USB 1000dpi Laser Mouse
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmekmouse:usb:v0458p0133:name:Mouse Laser Mouse:
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmek MOUSE_DPI=1000@125
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmek MOUSE_WHEEL_CLICK_ANGLE=15
e31fc1417a32f7f4efec1eb58a1511075a60e428Zbigniew Jędrzejewski-Szmekmouse:usb:v093ap2510:name:PixArt USB Optical Mouse:
e31fc1417a32f7f4efec1eb58a1511075a60e428Zbigniew Jędrzejewski-Szmekmouse:usb:v093ap2510:name:PIXART USB OPTICAL MOUSE:
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmek MOUSE_DPI=1000@125
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmek##########################################
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer##########################################
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Lenovo Optical USB Mouse
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:usb:v17efp6019:name:Lenovo Optical USB Mouse:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer MOUSE_DPI=1000@125
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Lenovo M-U0025-O
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:usb:v17efp6019:name:Logitech Lenovo USB Optical Mouse:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer MOUSE_DPI=1000@166
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmek# ThinkPad USB Laser Mouse
7731320a14caaf8410c45867746abf38c62252aaZbigniew Jędrzejewski-Szmekmouse:usb:v17efp6044:name:ThinkPad USB Laser Mouse:
85c24db1f7aca581df5c4e375a564d40dc3149c8Lennart Poettering MOUSE_DPI=1200@125
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Lenovo Precision USB Mouse
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:usb:v17efp6050:name:Lenovo Precision USB Mouse:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer MOUSE_DPI=1200@127
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Lenovo MOBGUL
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:usb:v17efp601d:name:Primax Lenovo Laser Mouse:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Lenovo MOBGULA
b631b4812a48f3e7f629833534a5ff6b8177ee56Peter Hutterermouse:usb:v17efp6045:name:Lenovo USB Laser Mouse:
b631b4812a48f3e7f629833534a5ff6b8177ee56Peter Hutterer MOUSE_DPI=1600@125
b631b4812a48f3e7f629833534a5ff6b8177ee56Peter Hutterer##########################################
b631b4812a48f3e7f629833534a5ff6b8177ee56Peter Hutterer##########################################
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Note: devices using the Logitech Unifying receiver will need two entries,
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# one for pre 3.19 with the wireless PID in the name, one for 3.19 with the
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# model name. The usb vid/pid is the same for all those devices.
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Until 3.19 is available, this list just has the Wireless PID entry.
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Logitech M-BJ58 Optical Mouse
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:usb:v046dpc00e:name:Logitech USB-PS/2 Optical Mouse:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Logitech Mini Optical Mouse
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:usb:v046dpc016:name:Logitech Optical USB Mouse:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Logitech MX310 Optical Mouse
MOUSE_DPI=400@1000 600@1000 800@1000 1000@1000 1200@1000 1400@1000 1600@1000 1800@1000 2000@1000 2200@1000 2400@1000
MOUSE_DPI=400@1000 600@1000 800@1000 1000@1000 1200@1000 1400@1000 1600@1000 1800@1000 2000@1000 2200@1000 2400@1000
# receivers show up with the same vid/pid/name