70-mouse.hwdb revision eb59c75e9a864063f3916c1914a563e1c89cf3ac
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# This file is part of systemd.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer#
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# Database for the DPI setting of mice, trackballs, other pointer devices that
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# cannot be queried directly.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer#
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# The lookup keys are composed in:
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# 70-mouse.rules
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer#
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#
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# Match string format:
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# mouse:<subsystem>:v<vid>p<pid>:name:<name>:
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer#
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# Supported subsystems: usb, bluetooth
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# vid/pid as 4-digit hex lowercase vendor/product
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer#
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#
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#
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# DPI settings are specified as
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# MOUSE_DPI=<dpi>[@<frequency>]
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer#
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# Where <dpi> is the resolution in dots per inch, and <frequency> the
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# optional sampling frequency in Hz.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer#
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 resultions
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# in the database must be as shipped by the manufacturer. e.g.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# MOUSE_DPI=400 *800 2000
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer#
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# The order of resolutions is as configured by the HW manufacturer or in
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# ascending order, whichever appropriate.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer#
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# The frequency must be given to either none or all resolutions. If the
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# device supports multiple frequencies, the order of items is
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# MOUSE_DPI=r1@f1 r2@f1 r3@f1 r1@f2 r2@f2 r3@f2
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer#
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# If the default manufacturer-set resolution is unclear, a resolution of
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# 800 or 1000 should be set as default, if available. If neither is
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# available, choose the "middle" resolution value of those available.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer#
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# The list may contain a single item which must be marked with an
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# asterisk.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer#
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# Local changes to the a non-default resolution of the mouse (e.g. through
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# third-party software) must not be entered into this file, use a local
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# hwdb instead.
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer#
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# To add local entries, create a new file
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# /etc/udev/hwdb.d/71-mouse-local.hwdb
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#
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# If your changes are generally applicable, open a bug report on
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# http://bugs.freedesktop.org/enter_bug.cgi?product=systemd
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# and include your new rules, a description of the device, and the
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# output of
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# udevadm info /dev/input/eventXX
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# (or /dev/input/event*).
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer##########################################
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Dell
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer##########################################
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Dell USB Laser Mouse
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:usb:v046dpc063:name:DELL DELL USB Laser Mouse:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer MOUSE_DPI=1000@125
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer##########################################
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# Lenovo
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer##########################################
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Lenovo Optical USB Mouse
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterermouse:usb:v17efp6019:name:Lenovo Optical USB Mouse:
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer MOUSE_DPI=1000@125
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer##########################################
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer# Logitech
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer##########################################
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter 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
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Logitech B605 Wireless Mouse (also M505)
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101d:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer MOUSE_DPI=900@166
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Logitech Cordless Click! Plus
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:usb:v046dpc50e:name:Logitech USB Receiver:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer MOUSE_DPI=800@125
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Logitech G500s Laser Gaming Mouse
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterermouse:usb:v046dpc24e:name:Logitech G500s Laser Gaming Mouse:
0213a26f656d72ac83eb201f2104726fcfe60eaaPeter Hutterer MOUSE_DPI=400@500 *800@500 2000@500
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Logitech G700 Laser Mouse (Wired)
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:usb:v046dpc06b:name:Logitech G700 Laser Mouse:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Logitech G700 Laser Mouse (Wireless)
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:usb:v046dpc531:name:Logitech USB Receiver:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer MOUSE_DPI=*1000@500 3800@500 500@1000 1500@1000 2000@1000
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Logitech Wireless Mouse M185
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4008:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer MOUSE_DPI=800@166
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Logitech M705 (marathon mouse)
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:101b:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer MOUSE_DPI=800@166
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Logitech ZoneTouch Mouse T400
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4026:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer MOUSE_DPI=1300@166
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Logitech T620 (or, the soap)
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:usb:v046dpc52b:name:Logitech Unifying Device. Wireless PID:4027:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer MOUSE_DPI=1200@250
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Logitech Ultrathin Touch Mouse
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:bluetooth:v046dpb00d:name:Ultrathin Touch Mouse:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer MOUSE_DPI=1000@1000
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Logitech USB Optical Mouse
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:usb:v046dpc05a:name:Logitech USB Optical Mouse:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer MOUSE_DPI=1000@125
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer##########################################
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Microsoft
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer##########################################
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Microsoft Arc Touch Mouse USB
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:usb:v045ep07b1:name:Microsoft Microsoft® Nano Transceiver v1.0:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer MOUSE_DPI=1400@142
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer##########################################
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Oklick
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer##########################################
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer# Oklick 406S Bluetooth Laster Mouse
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterermouse:bluetooth:v056ep0061:name:Laser BTmouse:
eb59c75e9a864063f3916c1914a563e1c89cf3acPeter Hutterer MOUSE_DPI=*800@333 1600@333