2017-10-30 08:42:29 +08:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# The lookup keys are composed in:
|
|
|
|
# 60-input-id.rules
|
|
|
|
#
|
2020-10-15 15:22:35 +08:00
|
|
|
# Note: The format of the "input-id:" prefix match key is a contract between
|
|
|
|
# the rules file and the hardware data, it might change in later revisions to
|
|
|
|
# support more or better matches, it is not necessarily expected to be a stable
|
|
|
|
# ABI.
|
2017-10-30 08:42:29 +08:00
|
|
|
#
|
|
|
|
# Match string formats:
|
2020-11-03 21:28:14 +08:00
|
|
|
# id-input:modalias:<modalias>
|
2017-10-30 08:42:29 +08:00
|
|
|
#
|
|
|
|
# To add local entries, create a new file
|
|
|
|
# /etc/udev/hwdb.d/61-input-id-local.hwdb
|
|
|
|
# and add your rules there. To load the new rules execute (as root):
|
|
|
|
# systemd-hwdb update
|
|
|
|
# udevadm trigger /dev/input/eventXX
|
|
|
|
# where /dev/input/eventXX is the device in question. If in
|
|
|
|
# doubt, simply use /dev/input/event* to reload all input rules.
|
|
|
|
#
|
|
|
|
# If your changes are generally applicable, preferably send them as a pull
|
|
|
|
# request to
|
|
|
|
# https://github.com/systemd/systemd
|
|
|
|
# or create a bug report on https://github.com/systemd/systemd/issues and
|
|
|
|
# include your new rules, a description of the device, and the output of
|
|
|
|
# udevadm info /dev/input/eventXX.
|
|
|
|
#
|
|
|
|
# This file must only be used where the input_id builtin assigns the wrong
|
2020-10-15 15:22:35 +08:00
|
|
|
# properties or lacks the assignment of some properties. This is almost always
|
|
|
|
# caused by a device not adhering to the standard of the device's type.
|
2017-10-30 08:42:29 +08:00
|
|
|
#
|
|
|
|
# Allowed properties are:
|
2020-10-15 15:22:35 +08:00
|
|
|
# ID_INPUT, ID_INPUT_ACCELEROMETER, ID_INPUT_MOUSE, ID_INPUT_POINTINGSTICK,
|
|
|
|
# ID_INPUT_TOUCHSCREEN, ID_INPUT_TOUCHPAD, ID_INPUT_TABLET,
|
|
|
|
# ID_INPUT_TABLET_PAD, ID_INPUT_JOYSTICK, ID_INPUT_KEY, ID_INPUT_KEYBOARD,
|
|
|
|
# ID_INPUT_SWITCH, ID_INPUT_TRACKBALL
|
2017-10-30 08:42:29 +08:00
|
|
|
#
|
|
|
|
# ID_INPUT
|
|
|
|
# * MUST be set when ANY of ID_INPUT_* is set
|
|
|
|
# * MUST be unset when ALL of ID_INPUT_* are unset
|
|
|
|
#
|
|
|
|
# ID_INPUT_TABLET
|
|
|
|
# * MUST be set when setting ID_INPUT_TABLET_PAD
|
|
|
|
#
|
2020-10-15 15:22:35 +08:00
|
|
|
# Allowed values are 1 and 0 to set or unset, respectively.
|
2017-10-30 08:42:29 +08:00
|
|
|
#
|
|
|
|
# NOT allowed in this file are:
|
|
|
|
# ID_INPUT_WIDTH_MM, ID_INPUT_HEIGHT_MM, ID_INPUT_TOUCHPAD_INTEGRATION
|
|
|
|
#
|
|
|
|
|
|
|
|
# Example:
|
Partially revert "hwdb: add trailing ":*" everywhere"
This reverts commit c0443b97b71d5f70a0622061f589307bec5502c6.
I got various cases wrong:
"usb:v04F3p2B7Cd5912dc00dsc00dp00ic03isc00ip00in00"
"usb:v0627p0001:QEMU USB Tablet"
"input:b0003v0627p0001e0001-e0,1,2,4,k110,111,112,r0,1,8,B,am4,lsfw"
OTOH:
-evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV:*
+evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV*
is OK. Other parts follow after 'pn'.
-mouse:*:name:*Trackball*:*
-mouse:*:name:*trackball*:*
-mouse:*:name:*TrackBall*:*
+mouse:*:name:*Trackball*:
+mouse:*:name:*trackball*:
+mouse:*:name:*TrackBall*:
... and anything else with :name should be OK too, because our imports always
include ":" at the end:
IMPORT{builtin}="hwdb 'joystick:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'"
Including '*' at the end makes the pattern work even if we decide to add
something to the match string later.
Fixes #17499.
2020-11-03 21:17:53 +08:00
|
|
|
# id-input:modalias:input:b0003v1234pABCD*
|
2017-10-30 08:42:29 +08:00
|
|
|
# ID_INPUT_TOUCHPAD=1
|
|
|
|
# ID_INPUT=1
|
|
|
|
|
|
|
|
# Sort by brand, model
|
2017-10-30 08:58:00 +08:00
|
|
|
|
2018-08-14 10:59:06 +08:00
|
|
|
# XP-PEN STAR 06
|
Partially revert "hwdb: add trailing ":*" everywhere"
This reverts commit c0443b97b71d5f70a0622061f589307bec5502c6.
I got various cases wrong:
"usb:v04F3p2B7Cd5912dc00dsc00dp00ic03isc00ip00in00"
"usb:v0627p0001:QEMU USB Tablet"
"input:b0003v0627p0001e0001-e0,1,2,4,k110,111,112,r0,1,8,B,am4,lsfw"
OTOH:
-evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV:*
+evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV*
is OK. Other parts follow after 'pn'.
-mouse:*:name:*Trackball*:*
-mouse:*:name:*trackball*:*
-mouse:*:name:*TrackBall*:*
+mouse:*:name:*Trackball*:
+mouse:*:name:*trackball*:
+mouse:*:name:*TrackBall*:
... and anything else with :name should be OK too, because our imports always
include ":" at the end:
IMPORT{builtin}="hwdb 'joystick:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'"
Including '*' at the end makes the pattern work even if we decide to add
something to the match string later.
Fixes #17499.
2020-11-03 21:17:53 +08:00
|
|
|
id-input:modalias:input:b0003v28bdp0078*
|
2018-08-14 10:59:06 +08:00
|
|
|
ID_INPUT_TABLET=1
|
2019-03-11 07:00:03 +08:00
|
|
|
|
|
|
|
# Lite-On Tech IBM USB Travel Keyboard with Ultra Nav Mouse
|
Partially revert "hwdb: add trailing ":*" everywhere"
This reverts commit c0443b97b71d5f70a0622061f589307bec5502c6.
I got various cases wrong:
"usb:v04F3p2B7Cd5912dc00dsc00dp00ic03isc00ip00in00"
"usb:v0627p0001:QEMU USB Tablet"
"input:b0003v0627p0001e0001-e0,1,2,4,k110,111,112,r0,1,8,B,am4,lsfw"
OTOH:
-evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV:*
+evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV*
is OK. Other parts follow after 'pn'.
-mouse:*:name:*Trackball*:*
-mouse:*:name:*trackball*:*
-mouse:*:name:*TrackBall*:*
+mouse:*:name:*Trackball*:
+mouse:*:name:*trackball*:
+mouse:*:name:*TrackBall*:
... and anything else with :name should be OK too, because our imports always
include ":" at the end:
IMPORT{builtin}="hwdb 'joystick:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'"
Including '*' at the end makes the pattern work even if we decide to add
something to the match string later.
Fixes #17499.
2020-11-03 21:17:53 +08:00
|
|
|
id-input:modalias:input:b0003v04B3p301Ee0100-e0,1,2,4*
|
2019-03-11 07:00:03 +08:00
|
|
|
ID_INPUT_POINTINGSTICK=1
|
2020-05-05 22:38:37 +08:00
|
|
|
|
|
|
|
# Logitech Ultrathin Touch Mouse
|
Partially revert "hwdb: add trailing ":*" everywhere"
This reverts commit c0443b97b71d5f70a0622061f589307bec5502c6.
I got various cases wrong:
"usb:v04F3p2B7Cd5912dc00dsc00dp00ic03isc00ip00in00"
"usb:v0627p0001:QEMU USB Tablet"
"input:b0003v0627p0001e0001-e0,1,2,4,k110,111,112,r0,1,8,B,am4,lsfw"
OTOH:
-evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV:*
+evdev:name:ETPS/2 Elantech Touchpad:dmi:*svnASUSTeKComputerInc.:pnN53SV*
is OK. Other parts follow after 'pn'.
-mouse:*:name:*Trackball*:*
-mouse:*:name:*trackball*:*
-mouse:*:name:*TrackBall*:*
+mouse:*:name:*Trackball*:
+mouse:*:name:*trackball*:
+mouse:*:name:*TrackBall*:
... and anything else with :name should be OK too, because our imports always
include ":" at the end:
IMPORT{builtin}="hwdb 'joystick:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'"
Including '*' at the end makes the pattern work even if we decide to add
something to the match string later.
Fixes #17499.
2020-11-03 21:17:53 +08:00
|
|
|
id-input:modalias:input:b0005v046DpB00De0700*
|
2020-05-05 22:38:37 +08:00
|
|
|
ID_INPUT_MOUSE=1
|
2021-01-07 16:14:16 +08:00
|
|
|
|
|
|
|
# Logitech MX Keys
|
|
|
|
id-input:modalias:input:b0003v046Dp408Ae0111*
|
2022-01-20 11:38:21 +08:00
|
|
|
ID_INPUT_MOUSE=0
|
|
|
|
|
|
|
|
# CH Products Pro Pedals
|
|
|
|
id-input:modalias:input:b0003v068Ep00F2e0100*
|
|
|
|
ID_INPUT_ACCELEROMETER=0
|
|
|
|
ID_INPUT_JOYSTICK=1
|