]> git.ipfire.org Git - thirdparty/systemd.git/blob - hwdb.d/70-pointingstick.hwdb
Merge pull request #17185 from yuwata/ethtool-update
[thirdparty/systemd.git] / hwdb.d / 70-pointingstick.hwdb
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.
21 # The vendor, product and version ID for a device node "eventX" is listed
22 # in /sys/class/input/eventX/device/id.
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,
27 # <vendor> is the firmware-provided string from the kernel DMI modalias,
28 # see /sys/class/dmi/id/modalias
29 #
30 # All matches should end in ':*' to allow future expansions of the match key.
31 #
32 # To add local entries, create a new file
33 # /etc/udev/hwdb.d/71-pointingstick-local.hwdb
34 # and add your rules there. To load the new rules execute (as root):
35 # systemd-hwdb update
36 # udevadm trigger /dev/input/eventXX
37 # where /dev/input/eventXX is the pointingstick in question. If in
38 # doubt, simply use /dev/input/event* to reload all input rules.
39 #
40 # If your changes are generally applicable, preferably send them as a pull
41 # request to
42 # https://github.com/systemd/systemd
43 # or create a bug report on https://github.com/systemd/systemd/issues and
44 # include your new rules, a description of the device, and the output of
45 # udevadm info /dev/input/eventXX.
46 #
47 # Allowed properties are:
48 # POINTINGSTICK_CONST_ACCEL (deprecated)
49 # POINTINGSTICK_SENSITIVITY
50 #
51 # Entries should be sorted with growing _SENSITIVITY and _CONST_ACCEL.
52 #
53 #########################################
54 # POINTINGSTICK_CONST_ACCEL #
55 #########################################
56 #
57 # DO NOT USE THIS PROPERTY. This property is kept for backwards
58 # compatibility. The only known consumer, libinput, stopped reading this
59 # property in version 1.9.0. No new entries for this property should be
60 # added.
61 #
62 # Trackpoint const accel settings are specified as
63 # POINTINGSTICK_CONST_ACCEL=<accel>
64 #
65 # Where <accel> is a floating point number, using a '.' separator, specifying
66 # by how much to multiply deltas generated by the pointingstick to get
67 # normalized deltas.
68 #
69 #########################################
70 # POINTINGSTICK_SENSITIVITY #
71 #########################################
72 #
73 # TPPS/2 IBM TrackPoint driver sensitivity sysfs setting
74 # POINTINGSTICK_SENSITIVITY=<sensitivity>
75 #
76 # Where <sensitivity> is a number between 0 and 255, note this property
77 # only applies to TPPS/2 IBM TrackPoint devices, see
78 # drivers/input/mouse/trackpoint.c in the Linux kernel sources.
79 #
80
81 # Sort by brand, model
82
83 #########################################
84 # Dell
85 #########################################
86
87 # Latitude D620
88 evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeD620*:*
89 POINTINGSTICK_CONST_ACCEL=0.5
90
91 # Latitude E5570
92 evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE5570*:*
93 POINTINGSTICK_CONST_ACCEL=0.1
94
95 # Latitude E6320
96 evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6320*:*
97 POINTINGSTICK_CONST_ACCEL=2.0
98
99 # Latitude E6400
100 evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE6400*:*
101 POINTINGSTICK_CONST_ACCEL=1.5
102
103 # Latitude E7470
104 evdev:name:*DualPoint Stick:dmi:bvn*:bvr*:bd*:svnDellInc.:pnLatitudeE7470*:*
105 POINTINGSTICK_CONST_ACCEL=0.6
106
107 #########################################
108 # Lenovo
109 #########################################
110
111 # Lenovo Thinkpad X220
112 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX220:*
113 # Lenovo Thinkpad X220 tablet
114 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX220Tablet:*
115 # Lenovo Thinkpad X230
116 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX230:*
117 # Lenovo Thinkpad X230 tablet
118 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX230Tablet:*
119 # Lenovo ThinkPad *30 series
120 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??30:*
121 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??30?:*
122 # Lenovo Thinkpad *40 series
123 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??40:*
124 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??40?:*
125 # Lenovo Thinkpad *50 series
126 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??50:*
127 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??50?:*
128 # Lenovo Thinkpad *60 series
129 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??60:*
130 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??60?:*
131 # Lenovo Thinkpad *70 series
132 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??70:*
133 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??70?:*
134 # Lenovo Thinkpad *80 series
135 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??80:*
136 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??80?:*
137 # Lenovo Thinkpad *90 series
138 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??90:*
139 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPad??90?:*
140 # Lenovo Thinkpad X1 Carbon 3rd gen
141 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon3rd:*
142 # Lenovo Thinkpad X1 Carbon 4th gen
143 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Carbon4th:*
144 # Lenovo Thinkpad X1 Tablet
145 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX1Tablet:*
146 POINTINGSTICK_SENSITIVITY=200
147 POINTINGSTICK_CONST_ACCEL=1.0
148
149 # Lenovo Thinkpad X200/X201/X200s/X201s/X200 Tablet/X201 Tablet
150 # Note these come with 2 revisions of keyboard, with the trackpoints having a
151 # different sensitivity in the different revisions. 1.25 is a bit slow for the
152 # least sensitive revision, but it is better to be a bit slow than too fast.
153 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20?:*
154 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20??:*
155 evdev:name:TPPS/2 IBM TrackPoint:dmi:bvn*:bvr*:bd*:svnLENOVO:pn*:pvrThinkPadX20?Tablet:*
156 POINTINGSTICK_SENSITIVITY=200
157 POINTINGSTICK_CONST_ACCEL=1.25
158
159 # Lenovo UltraNav SK-8845 (USB keyboard)
160 evdev:input:b0003v06CBp0009:*
161 POINTINGSTICK_CONST_ACCEL=2.5
162 POINTINGSTICK_SENSITIVITY=200