]> git.ipfire.org Git - thirdparty/systemd.git/blame - hwdb.d/70-pointingstick.hwdb
Merge pull request #15840 from Werkov/mkosi-opensuse
[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
4# laptop pointingsticks have the same speed / feel, and per model adjustment
5# of the IBM TrackPoint driver's sensitivity setting
6#
7# The lookup keys are composed in:
8# 60-evdev.rules
9#
10# Note: The format of the "evdev:" prefix match key is a contract between the
11# rules file and the hardware data, it might change in later revisions to
12# support more or better matches, it is not necessarily a stable ABI.
13#
14# Supported hardware matches are:
15# - Generic input devices match:
16# evdev:input:bZZZZvYYYYpXXXXeWWWW-VVVV
17# This matches on the kernel modalias of the input-device, mainly:
18# ZZZZ is the bus-id (see /usr/include/linux/input.h BUS_*), YYYY, XXXX and
19# WWW are the 4-digit hex uppercase vendor, product and version ID and VVVV
20# is an arbitrary length input-modalias describing the device capabilities.
250f600e
PH
21# The vendor, product and version ID for a device node "eventX" is listed
22# in /sys/class/input/eventX/device/id.
f29378b4
HG
23#
24# - Input driver device name and DMI data match:
25# evdev:name:<input device name>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
26# <input device name> is the name device specified by the driver,
250f600e
PH
27# <vendor> is the firmware-provided string from the kernel DMI modalias,
28# see /sys/class/dmi/id/modalias
f29378b4
HG
29#
30# To add local entries, create a new file
31# /etc/udev/hwdb.d/71-pointingstick-local.hwdb
32# and add your rules there. To load the new rules execute (as root):
331d6a20 33# systemd-hwdb update
f29378b4
HG
34# udevadm trigger /dev/input/eventXX
35# where /dev/input/eventXX is the pointingstick in question. If in
36# doubt, simply use /dev/input/event* to reload all input rules.
37#
195c9e37
ZJS
38# If your changes are generally applicable, preferably send them as a pull
39# request to
40# https://github.com/systemd/systemd
41# or create a bug report on https://github.com/systemd/systemd/issues and
42# include your new rules, a description of the device, and the output of
52bd587f 43# udevadm info /dev/input/eventXX.
f29378b4
HG
44#
45# Allowed properties are:
03bde6de 46# POINTINGSTICK_CONST_ACCEL (deprecated)
5defbb5f 47# POINTINGSTICK_SENSITIVITY
f29378b4 48#
ea35a386
ZJS
49# Entries should be sorted with growing _SENSITIVITY and _CONST_ACCEL.
50#
f29378b4
HG
51#########################################
52# POINTINGSTICK_CONST_ACCEL #
53#########################################
54#
03bde6de
PH
55# DO NOT USE THIS PROPERTY. This property is kept for backwards
56# compatibility. The only known consumer, libinput, stopped reading this
57# property in version 1.9.0. No new entries for this property should be
58# added.
59#
f29378b4
HG
60# Trackpoint const accel settings are specified as
61# POINTINGSTICK_CONST_ACCEL=<accel>
62#
5238e957 63# Where <accel> is a floating point number, using a '.' separator, specifying
f29378b4
HG
64# by how much to multiply deltas generated by the pointingstick to get
65# normalized deltas.
66#
5defbb5f
HG
67#########################################
68# POINTINGSTICK_SENSITIVITY #
69#########################################
70#
71# TPPS/2 IBM TrackPoint driver sensitivity sysfs setting
72# POINTINGSTICK_SENSITIVITY=<sensitivity>
73#
74# Where <sensitivity> is a number between 0 and 255, note this property
75# only applies to TPPS/2 IBM TrackPoint devices, see
76# drivers/input/mouse/trackpoint.c in the Linux kernel sources.
77#
f29378b4
HG
78
79#
61233823 80# Sort by brand, model
70a5703b 81
1f845120
HG
82#########################################
83# Dell
84#########################################
85
86# Latitude D620
87evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeD620*:pvr*
3d431503 88 POINTINGSTICK_CONST_ACCEL=0.5
1f845120 89
80196e36
VS
90# Latitude E5570
91evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE5570*:pvr*
92 POINTINGSTICK_CONST_ACCEL=0.1
93
d68c7dea
PH
94# Latitude E6320
95evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6320*:pvr*
3d431503 96 POINTINGSTICK_CONST_ACCEL=2.0
d68c7dea 97
1f845120
HG
98# Latitude E6400
99evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6400*:pvr*
3d431503 100 POINTINGSTICK_CONST_ACCEL=1.5
1f845120 101
579a2ab3
BG
102# Latitude E7470
103evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE7470*:pvr*
104 POINTINGSTICK_CONST_ACCEL=0.6
105
70a5703b
HG
106#########################################
107# Lenovo
108#########################################
109
74875a56
E
110# Lenovo Thinkpad X220
111evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX220:*
c155a055
WW
112# Lenovo Thinkpad X220 tablet
113evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX220Tablet:*
27c43e7e
PH
114# Lenovo Thinkpad X230
115evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX230:*
e6e3d81e
HG
116# Lenovo Thinkpad X230 tablet
117evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX230Tablet:*
82a18dcf
JPH
118# Lenovo ThinkPad *30 series
119evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??30:*
120evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??30?:*
e5bc3f4f 121# Lenovo Thinkpad *40 series
d26d41f3 122evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??40:*
e5bc3f4f
PH
123evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??40?:*
124# Lenovo Thinkpad *50 series
d26d41f3 125evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??50:*
e5bc3f4f
PH
126evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??50?:*
127# Lenovo Thinkpad *60 series
d26d41f3 128evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??60:*
e5bc3f4f 129evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??60?:*
751d8f7d
TH
130# Lenovo Thinkpad *70 series
131evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??70:*
132evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??70?:*
133# Lenovo Thinkpad *80 series
134evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??80:*
135evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??80?:*
136# Lenovo Thinkpad *90 series
137evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??90:*
138evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??90?:*
c01705b9
HG
139# Lenovo Thinkpad X1 Carbon 3rd gen
140evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon3rd:*
21fce63e
MC
141# Lenovo Thinkpad X1 Carbon 4th gen
142evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon4th:*
f5b15d1b
DW
143# Lenovo Thinkpad X1 Tablet
144evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Tablet:*
3d431503
ZJS
145 POINTINGSTICK_SENSITIVITY=200
146 POINTINGSTICK_CONST_ACCEL=1.0
ea35a386 147
b9d365e6 148# Lenovo Thinkpad X200/X201/X200s/X201s/X200 Tablet/X201 Tablet
ea35a386
ZJS
149# Note these come with 2 revisions of keyboard, with the trackpoints having a
150# different sensitivity in the different revisions. 1.25 is a bit slow for the
151# least sensitive revision, but it is better to be a bit slow than too fast.
5efd9f72
PH
152evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20?:*
153evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20??:*
b9d365e6 154evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20?Tablet:*
3d431503
ZJS
155 POINTINGSTICK_SENSITIVITY=200
156 POINTINGSTICK_CONST_ACCEL=1.25
f9d77d19
CP
157
158# Lenovo UltraNav SK-8845 (USB keyboard)
159evdev:input:b0003v06CBp0009*
160 POINTINGSTICK_CONST_ACCEL=2.5
161 POINTINGSTICK_SENSITIVITY=200