• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Do not edit this file, it will be overwritten on update
2
3[Lenovo Thinkpad Touchpad]
4MatchName=*Synaptics*
5MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPad*:*
6AttrThumbPressureThreshold=100
7
8[Lenovo ThinkPad 13 2nd Generation TrackPoint]
9MatchUdevType=pointingstick
10MatchName=*ETPS/2 Elantech TrackPoint*
11MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPad132ndGen*
12AttrTrackpointMultiplier=1.75
13
14[Lenovo x230 Touchpad]
15MatchName=*SynPS/2 Synaptics TouchPad
16MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadX230*
17ModelLenovoX230=1
18
19[Lenovo T440p Touchpad PS/2]
20MatchName=SynPS/2 Synaptics TouchPad
21MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadT440p*
22ModelLenovoT450Touchpad=1
23
24[Lenovo T440p Touchpad RMI4]
25MatchName=Synaptics tm2964-001
26MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadT440p*
27ModelLenovoT450Touchpad=1
28
29[Lenovo T470 Trackpoint]
30MatchName=*TPPS/2 IBM TrackPoint
31MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadT470:*
32AttrTrackpointMultiplier=0.4
33
34[Lenovo T480 Trackpoint]
35MatchName=*TPPS/2 IBM TrackPoint
36MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadT480:*
37AttrTrackpointMultiplier=0.4
38
39# Touchpad is a clickpad but INPUT_PROP_BUTTONPAD is not set, see
40# https://gitlab.freedesktop.org/libinput/libinput/issues/177
41[Lenovo T480s Touchpad]
42MatchName=Elan Touchpad
43MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadT480s*
44AttrInputPropEnable=INPUT_PROP_BUTTONPAD
45
46# Touchpad is a clickpad but INPUT_PROP_BUTTONPAD is not set, see
47# https://gitlab.freedesktop.org/libinput/libinput/issues/177
48[Lenovo T490s Touchpad]
49MatchName=Elan Touchpad
50MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadT490s*
51AttrInputPropEnable=INPUT_PROP_BUTTONPAD
52
53[Lenovo T490s Trackpoint]
54MatchName=*TPPS/2 IBM TrackPoint
55MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadT490s:*
56AttrTrackpointMultiplier=0.4
57
58# Touchpad is a clickpad but INPUT_PROP_BUTTONPAD is not set, see
59# https://gitlab.freedesktop.org/libinput/libinput/issues/234
60[Lenovo L380 Touchpad]
61MatchName=Elan Touchpad
62MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadL380*
63AttrInputPropEnable=INPUT_PROP_BUTTONPAD
64
65[Lenovo X200 Trackpoint]
66MatchName=*TPPS/2 IBM TrackPoint
67MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX20?:*
68AttrTrackpointMultiplier=1.25
69
70[Lenovo X200x Trackpoint]
71MatchName=*TPPS/2 IBM TrackPoint
72MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX20??:*
73AttrTrackpointMultiplier=1.25
74
75[Lenovo X230 Trackpoint]
76MatchName=*TPPS/2 IBM TrackPoint
77MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX230:*
78AttrTrackpointMultiplier=0.25
79
80[Lenovo P50 Touchpad]
81MatchName=SynPS/2 Synaptics TouchPad
82MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadP50*:
83ModelLenovoT450Touchpad=1
84AttrPalmPressureThreshold=150
85
86[Lenovo *50 Touchpad]
87MatchName=SynPS/2 Synaptics TouchPad
88MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPad??50*:
89ModelLenovoT450Touchpad=1
90AttrPalmPressureThreshold=150
91
92[Lenovo *60 Touchpad]
93MatchName=SynPS/2 Synaptics TouchPad
94MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPad??60*:
95ModelLenovoT450Touchpad=1
96AttrPalmPressureThreshold=150
97
98[Lenovo X1 Carbon 3rd Touchpad]
99MatchName=SynPS/2 Synaptics TouchPad
100MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadX1Carbon3rd:*
101ModelLenovoT450Touchpad=1
102AttrPalmPressureThreshold=150
103
104[Lenovo X1 Carbon 4th Trackpoint]
105MatchUdevType=pointingstick
106MatchName=*TPPS/2 IBM TrackPoint*
107MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadX1Carbon4th*
108AttrTrackpointMultiplier=0.5
109
110[Lenovo X1 Carbon 6th Trackpoint]
111MatchUdevType=pointingstick
112MatchName=*TPPS/2 Elan TrackPoint*
113MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadX1Carbon6th*
114AttrTrackpointMultiplier=0.4
115
116[Lenovo ThinkPad Compact USB Keyboard with TrackPoint (keyboard)]
117MatchUdevType=keyboard
118MatchBus=usb
119MatchVendor=0x17EF
120MatchProduct=0x6047
121AttrKeyboardIntegration=external
122
123[Lenovo ThinkPad Compact USB Keyboard with TrackPoint (trackpoint)]
124MatchUdevType=pointingstick
125MatchBus=usb
126MatchVendor=0x17EF
127MatchProduct=0x6047
128AttrPointingStickIntegration=external
129
130# Lenovo Thinkpad Yoga (not the consumer versions) disables the keyboard
131# mechanically. We must not disable the keyboard because some keys are
132# still accessible on the screen and volume rocker.
133# Initially #103749 and extended by #106799 comment 7
134[Lenovo Thinkpad Yoga]
135MatchName=AT Translated Set 2 keyboard
136MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPad*Yoga*:*
137ModelTabletModeNoSuspend=1
138
139[Lenovo X1 Yoga Trackpoint 1st gen]
140MatchName=*TPPS/2 IBM TrackPoint
141MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadX1Yoga1st:*
142AttrTrackpointMultiplier=1.25
143
144# A true pressurepad so let's not use pressure for contact size
145# https://gitlab.freedesktop.org/libinput/libinput/-/issues/562
146[Lenovo Yoga 9i Pressurepad]
147MatchBus=i2c
148MatchVendor=0x06CB
149MatchProduct=0xCE37
150AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE;
151
152[Lenovo Yoga C930 Tablet]
153MatchBus=i2c
154MatchVendor=0x056A
155MatchProduct=0x5196
156AttrTabletSmoothing=1
157
158# Lenovo Carbon X1 6th gen (RMI4 only, PS/2 is broken on this device,
159# sends bogus ABS_MT_TOOL_TYPE events for MT_TOOL_PALM
160[Lenovo Carbon X1 6th gen]
161MatchName=Synaptics TM3288-011
162MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX1Carbon6th:*
163AttrEventCodeDisable=ABS_MT_TOOL_TYPE
164ModelLenovoX1Gen6Touchpad=1
165
166[Lenovo X41 Tablet]
167MatchName=AT Translated Set 2 keyboard
168MatchDMIModalias=dmi:*svnIBM:*pvrThinkPadX41Tablet:*
169ModelTabletModeNoSuspend=1
170
171[Lenovo X60 Tablet]
172MatchName=AT Translated Set 2 keyboard
173MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX60Tablet:*
174ModelTabletModeNoSuspend=1
175
176[Lenovo X61 Tablet]
177MatchName=AT Translated Set 2 keyboard
178MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX61Tablet:*
179ModelTabletModeNoSuspend=1
180
181# Lenovo X220 Tablet special bezel buttons are associated to the
182# keyboard and would therefore mistakenly be deactivated as well.
183# See https://gitlab.freedesktop.org/libinput/libinput/issues/154
184[Lenovo X220 Tablet]
185MatchName=AT Translated Set 2 keyboard
186MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX220Tablet:*
187ModelTabletModeNoSuspend=1
188
189# Special bezel button deactivation with
190# keyboard also applies to X230 Tablet
191[Lenovo X230 Tablet]
192MatchName=AT Translated Set 2 keyboard
193MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX230Tablet:*
194ModelTabletModeNoSuspend=1
195
196# Special bezel button deactivation with
197# keyboard also applies to X200 Tablet
198[Lenovo X200 Tablet]
199MatchName=AT Translated Set 2 keyboard
200MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX200Tablet:*
201ModelTabletModeNoSuspend=1
202
203[Lenovo X201 Tablet]
204MatchName=At Translated Set 2 keyboard
205MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX201Tablet:*
206ModelTabletModeNoSuspend=1
207
208# Lenovo MIIX 720 comes with a detachable keyboard. We must not disable
209# the keyboard because some keys are still accessible on the screen and
210# volume rocker. See
211# https://gitlab.freedesktop.org/libinput/libinput/issues/115
212[Lenovo MIIX 720]
213MatchName=AT Raw Set 2 keyboard
214MatchDMIModalias=dmi:*svnLENOVO:*pvrLenovoMIIX720-12IKB:*
215ModelTabletModeNoSuspend=1
216
217# Lenovo ThinkPad X1 Tablet (1st Gen) also comes with a detachable keyboard.
218# We must not disable the keyboard because some keys are still accessible on
219# volume rocker.
220[Lenovo ThinkPad X1 Tablet (1st Gen)]
221MatchName=AT Raw Set 2 keyboard
222MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX1Tablet:*
223ModelTabletModeNoSuspend=1
224
225# Misidentified as an external keyboard by libinput
226# Tested on Legion 5 15AR05H
227[Lenovo Legion 5 Keyboard]
228MatchUdevType=keyboard
229MatchBus=usb
230MatchVendor=0x048D
231MatchProduct=0xC100
232AttrKeyboardIntegration=internal
233
234[Lenovo Legion 5 Keyboard]
235MatchUdevType=keyboard
236MatchBus=usb
237MatchVendor=0x048D
238MatchProduct=0xC955
239AttrKeyboardIntegration=internal
240
241# Tested on Lenovo Legion 5 Pro 16ACH6H
242[Lenovo Legion 5 Pro Keyboard]
243MatchUdevType=keyboard
244MatchBus=usb
245MatchVendor=0x048D
246MatchProduct=0xC101
247AttrKeyboardIntegration=internal
248
249# https://gitlab.freedesktop.org/libinput/libinput/-/issues/604
250[Lenovo Yoga Slim 9 14ITL5 Pressurepad]
251MatchBus=i2c
252MatchVendor=0x27C6
253MatchProduct=0x01E8
254AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE;
255
256# Duet 7i tablet switch activated by folding keyboard cover, or removing it.
257# We must not disable volume rocker 'keyboard'.
258[Lenovo Duet 7i]
259MatchName=AT Raw Set 2 keyboard
260MatchDMIModalias=dmi:*svnLENOVO:*pvrYogaDuet713IML05:*
261ModelTabletModeNoSuspend=1
262
263# https://gitlab.freedesktop.org/libinput/libinput/-/issues/651
264[Lenovo TrackPoint Keyboard II USB]
265MatchBus=usb
266MatchVendor=0x17EF
267MatchProduct=0x60EE
268ModelLenovoTrackpointKeyboard2=1
269
270[Lenovo TrackPoint Keyboard II Bluetooth]
271MatchBus=bluetooth
272MatchVendor=0x17EF
273MatchProduct=0x60E1
274ModelLenovoTrackpointKeyboard2=1
275
276# Modifies pressure range to avoid random jumps.
277# https://gitlab.freedesktop.org/libinput/libinput/-/issues/407
278[Lenovo Yoga 2 Pro touchpad]
279MatchUdevType=touchpad
280MatchName=*SynPS/2 Synaptics TouchPad
281MatchDMIModalias=dmi:*svnLENOVO:*:pvrLenovoYoga2Pro*
282AttrPressureRange=50:45
283