]> git.ipfire.org Git - thirdparty/systemd.git/blame - hwdb.d/70-pointingstick.hwdb
cryptsetup: minor coding style tweaks
[thirdparty/systemd.git] / hwdb.d / 70-pointingstick.hwdb
CommitLineData
f29378b4
HG
1# This file is part of systemd.
2#
3# Pointingstick const-accel configuration, to make different brand / model
1d541ccd
YW
4# laptop pointingsticks have the same speed / feel, and per model adjustment of
5# the IBM TrackPoint and Dell DualPoint Stick driver's sensitivity setting.
f29378b4 6#
d3bee9f3
YW
7# ########################### MATCHING #######################################
8#
f29378b4
HG
9# The lookup keys are composed in:
10# 60-evdev.rules
11#
f29378b4
HG
12# Supported hardware matches are:
13# - Generic input devices match:
98873699 14# evdev:input:bZZZZvYYYYpXXXXeWWWW-VVVV
f29378b4
HG
15# This matches on the kernel modalias of the input-device, mainly:
16# ZZZZ is the bus-id (see /usr/include/linux/input.h BUS_*), YYYY, XXXX and
17# WWW are the 4-digit hex uppercase vendor, product and version ID and VVVV
d3bee9f3 18# is a variable-length input-modalias describing the device capabilities.
250f600e
PH
19# The vendor, product and version ID for a device node "eventX" is listed
20# in /sys/class/input/eventX/device/id.
f29378b4
HG
21#
22# - Input driver device name and DMI data match:
62ad1c64 23# evdev:name:<input device name>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*:*
f29378b4 24# <input device name> is the name device specified by the driver,
250f600e 25# <vendor> is the firmware-provided string from the kernel DMI modalias,
d3bee9f3
YW
26# see /sys/class/dmi/id/modalias.
27#
28# - Extended input driver device name, properties and DMI data match:
29# evdev:name:<input device name>:phys:<phys>:ev:<ev>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
30# <input device name> is the name device specified by the
31# driver, <phys> is the physical-device-path, "cat
32# /sys/class/input/input?/phys", <ev> is the event bitmask, "cat
33# /sys/class/input/input?/capabilities/ev" and <vendor> is the
34# firmware-provided string exported by the kernel DMI modalias,
35# see /sys/class/dmi/id/modalias.
f29378b4
HG
36#
37# To add local entries, create a new file
38# /etc/udev/hwdb.d/71-pointingstick-local.hwdb
39# and add your rules there. To load the new rules execute (as root):
331d6a20 40# systemd-hwdb update
f29378b4 41# udevadm trigger /dev/input/eventXX
d3bee9f3
YW
42# where /dev/input/eventXX is the pointingstick in question. If in doubt, simply
43# use /dev/input/event* to reload all input rules.
f29378b4 44#
195c9e37
ZJS
45# If your changes are generally applicable, preferably send them as a pull
46# request to
47# https://github.com/systemd/systemd
48# or create a bug report on https://github.com/systemd/systemd/issues and
49# include your new rules, a description of the device, and the output of
52bd587f 50# udevadm info /dev/input/eventXX.
f29378b4
HG
51#
52# Allowed properties are:
c5e9aeca 53# ID_INPUT_POINTINGSTICK
5defbb5f 54# POINTINGSTICK_SENSITIVITY
f29378b4 55#
ea35a386
ZJS
56# Entries should be sorted with growing _SENSITIVITY and _CONST_ACCEL.
57#
f29378b4 58#########################################
5defbb5f
HG
59# POINTINGSTICK_SENSITIVITY #
60#########################################
61#
62# TPPS/2 IBM TrackPoint driver sensitivity sysfs setting
63# POINTINGSTICK_SENSITIVITY=<sensitivity>
64#
65# Where <sensitivity> is a number between 0 and 255, note this property
66# only applies to TPPS/2 IBM TrackPoint devices, see
67# drivers/input/mouse/trackpoint.c in the Linux kernel sources.
68#
f29378b4 69
61233823 70# Sort by brand, model
70a5703b 71
c5e9aeca
JE
72##########################################
73# Generic
74##########################################
75evdev:name:*[tT]rack[pP]oint*:*
1d541ccd 76evdev:name:*[dD]ual[pP]oint [sS]tick*:*
c5e9aeca
JE
77 ID_INPUT_POINTINGSTICK=1
78
70a5703b
HG
79#########################################
80# Lenovo
81#########################################
82
74875a56
E
83# Lenovo Thinkpad X220
84evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX220:*
c155a055
WW
85# Lenovo Thinkpad X220 tablet
86evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX220Tablet:*
27c43e7e
PH
87# Lenovo Thinkpad X230
88evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX230:*
e6e3d81e
HG
89# Lenovo Thinkpad X230 tablet
90evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX230Tablet:*
82a18dcf
JPH
91# Lenovo ThinkPad *30 series
92evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??30:*
93evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??30?:*
e5bc3f4f 94# Lenovo Thinkpad *40 series
d26d41f3 95evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??40:*
e5bc3f4f
PH
96evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??40?:*
97# Lenovo Thinkpad *50 series
d26d41f3 98evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??50:*
e5bc3f4f
PH
99evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??50?:*
100# Lenovo Thinkpad *60 series
d26d41f3 101evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??60:*
e5bc3f4f 102evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??60?:*
751d8f7d
TH
103# Lenovo Thinkpad *70 series
104evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??70:*
105evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??70?:*
106# Lenovo Thinkpad *80 series
107evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??80:*
108evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??80?:*
109# Lenovo Thinkpad *90 series
110evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??90:*
111evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??90?:*
c01705b9
HG
112# Lenovo Thinkpad X1 Carbon 3rd gen
113evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon3rd:*
21fce63e
MC
114# Lenovo Thinkpad X1 Carbon 4th gen
115evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon4th:*
f5b15d1b
DW
116# Lenovo Thinkpad X1 Tablet
117evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Tablet:*
3d431503 118 POINTINGSTICK_SENSITIVITY=200
ea35a386 119
b9d365e6 120# Lenovo Thinkpad X200/X201/X200s/X201s/X200 Tablet/X201 Tablet
ea35a386
ZJS
121# Note these come with 2 revisions of keyboard, with the trackpoints having a
122# different sensitivity in the different revisions. 1.25 is a bit slow for the
123# least sensitive revision, but it is better to be a bit slow than too fast.
5efd9f72
PH
124evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20?:*
125evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20??:*
b9d365e6 126evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20?Tablet:*
3d431503 127 POINTINGSTICK_SENSITIVITY=200
f9d77d19
CP
128
129# Lenovo UltraNav SK-8845 (USB keyboard)
3a7771c9 130evdev:input:b0003v06CBp0009*
f9d77d19 131 POINTINGSTICK_SENSITIVITY=200