• 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 x230 Touchpad]
9MatchName=*SynPS/2 Synaptics TouchPad
10MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadX230*
11ModelLenovoX230=1
12
13[Lenovo T440p Touchpad PS/2]
14MatchName=SynPS/2 Synaptics TouchPad
15MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadT440p*
16ModelLenovoT450Touchpad=1
17
18[Lenovo T440p Touchpad RMI4]
19MatchName=Synaptics tm2964-001
20MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadT440p*
21ModelLenovoT450Touchpad=1
22
23[Lenovo T470 Trackpoint]
24MatchName=*TPPS/2 IBM TrackPoint
25MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadT470:*
26AttrTrackpointMultiplier=0.4
27
28[Lenovo T480 Trackpoint]
29MatchName=*TPPS/2 IBM TrackPoint
30MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadT480:*
31AttrTrackpointMultiplier=0.4
32
33# Touchpad is a clickpad but INPUT_PROP_BUTTONPAD is not set, see
34# https://gitlab.freedesktop.org/libinput/libinput/issues/177
35[Lenovo T480s Touchpad]
36MatchName=Elan Touchpad
37MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadT480s*
38AttrInputProp=+INPUT_PROP_BUTTONPAD
39
40# Touchpad is a clickpad but INPUT_PROP_BUTTONPAD is not set, see
41# https://gitlab.freedesktop.org/libinput/libinput/issues/177
42[Lenovo T490s Touchpad]
43MatchName=Elan Touchpad
44MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadT490s*
45AttrInputProp=+INPUT_PROP_BUTTONPAD
46
47[Lenovo T490s Trackpoint]
48MatchName=*TPPS/2 IBM TrackPoint
49MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadT490s:*
50AttrTrackpointMultiplier=0.4
51
52[Lenovo P14s Gen 1 AMD Trackpoint]
53MatchUdevType=pointingstick
54MatchName=*TPPS/2 Elan TrackPoint*
55MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadP14sGen1*
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*
63AttrInputProp=+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 X280 Trackpoint]
81MatchName=*TPPS/2 Elan TrackPoint
82MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX280:*
83AttrTrackpointMultiplier=0.5
84
85[Lenovo X280 Touchpad]
86MatchName=Synaptics TM3381-002
87MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadX280*
88AttrPalmSizeThreshold=6
89
90[Lenovo P50 Touchpad]
91MatchName=SynPS/2 Synaptics TouchPad
92MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadP50*:
93ModelLenovoT450Touchpad=1
94AttrPalmPressureThreshold=150
95
96[Lenovo *50 Touchpad]
97MatchName=SynPS/2 Synaptics TouchPad
98MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPad??50*:
99ModelLenovoT450Touchpad=1
100AttrPalmPressureThreshold=150
101
102[Lenovo *60 Touchpad]
103MatchName=SynPS/2 Synaptics TouchPad
104MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPad??60*:
105ModelLenovoT450Touchpad=1
106AttrPalmPressureThreshold=150
107
108[Lenovo X1 Carbon 3rd Touchpad]
109MatchName=SynPS/2 Synaptics TouchPad
110MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadX1Carbon3rd:*
111ModelLenovoT450Touchpad=1
112AttrPalmPressureThreshold=150
113
114[Lenovo X1 Carbon 4th Trackpoint]
115MatchUdevType=pointingstick
116MatchName=*TPPS/2 IBM TrackPoint*
117MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadX1Carbon4th*
118AttrTrackpointMultiplier=0.5
119
120[Lenovo X1 Carbon 6th Trackpoint]
121MatchUdevType=pointingstick
122MatchName=*TPPS/2 Elan TrackPoint*
123MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadX1Carbon6th*
124AttrTrackpointMultiplier=0.4
125
126[Lenovo ThinkPad Compact USB Keyboard with TrackPoint (keyboard)]
127MatchUdevType=keyboard
128MatchBus=usb
129MatchVendor=0x17EF
130MatchProduct=0x6047
131AttrKeyboardIntegration=external
132
133[Lenovo ThinkPad Compact USB Keyboard with TrackPoint (trackpoint)]
134MatchUdevType=pointingstick
135MatchBus=usb
136MatchVendor=0x17EF
137MatchProduct=0x6047
138AttrPointingStickIntegration=external
139
140# Lenovo Thinkpad Yoga (not the consumer versions) disables the keyboard
141# mechanically. We must not disable the keyboard because some keys are
142# still accessible on the screen and volume rocker.
143# Initially #103749 and extended by #106799 comment 7
144[Lenovo Thinkpad Yoga]
145MatchName=AT Translated Set 2 keyboard
146MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPad*Yoga*:*
147ModelTabletModeNoSuspend=1
148
149[Lenovo X1 Yoga Trackpoint 1st gen]
150MatchName=*TPPS/2 IBM TrackPoint
151MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadX1Yoga1st:*
152AttrTrackpointMultiplier=1.25
153
154# A true pressurepad so let's not use pressure for contact size
155# https://gitlab.freedesktop.org/libinput/libinput/-/issues/562
156[Lenovo Yoga 9i Pressurepad]
157MatchBus=i2c
158MatchVendor=0x06CB
159MatchProduct=0xCE37
160ModelPressurePad=1
161
162[Lenovo Yoga C930 Tablet]
163MatchBus=i2c
164MatchVendor=0x056A
165MatchProduct=0x5196
166AttrTabletSmoothing=1
167
168# Lenovo Carbon X1 6th gen (RMI4 only, PS/2 is broken on this device,
169# sends bogus ABS_MT_TOOL_TYPE events for MT_TOOL_PALM
170[Lenovo Carbon X1 6th gen]
171MatchName=Synaptics TM3288-011
172MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX1Carbon6th:*
173AttrEventCode=-ABS_MT_TOOL_TYPE
174ModelLenovoX1Gen6Touchpad=1
175
176[Lenovo X41 Tablet]
177MatchName=AT Translated Set 2 keyboard
178MatchDMIModalias=dmi:*svnIBM:*pvrThinkPadX41Tablet:*
179ModelTabletModeNoSuspend=1
180
181[Lenovo X60 Tablet]
182MatchName=AT Translated Set 2 keyboard
183MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX60Tablet:*
184ModelTabletModeNoSuspend=1
185
186[Lenovo X61 Tablet]
187MatchName=AT Translated Set 2 keyboard
188MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX61Tablet:*
189ModelTabletModeNoSuspend=1
190
191# Lenovo X220 Tablet special bezel buttons are associated to the
192# keyboard and would therefore mistakenly be deactivated as well.
193# See https://gitlab.freedesktop.org/libinput/libinput/issues/154
194[Lenovo X220 Tablet]
195MatchName=AT Translated Set 2 keyboard
196MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX220Tablet:*
197ModelTabletModeNoSuspend=1
198
199# Special bezel button deactivation with
200# keyboard also applies to X230 Tablet
201[Lenovo X230 Tablet]
202MatchName=AT Translated Set 2 keyboard
203MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX230Tablet:*
204ModelTabletModeNoSuspend=1
205
206# Special bezel button deactivation with
207# keyboard also applies to X200 Tablet
208[Lenovo X200 Tablet]
209MatchName=AT Translated Set 2 keyboard
210MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX200Tablet:*
211ModelTabletModeNoSuspend=1
212
213[Lenovo X201 Tablet]
214MatchName=At Translated Set 2 keyboard
215MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX201Tablet:*
216ModelTabletModeNoSuspend=1
217
218# Lenovo MIIX 720 comes with a detachable keyboard. We must not disable
219# the keyboard because some keys are still accessible on the screen and
220# volume rocker. See
221# https://gitlab.freedesktop.org/libinput/libinput/issues/115
222[Lenovo MIIX 720]
223MatchName=AT Raw Set 2 keyboard
224MatchDMIModalias=dmi:*svnLENOVO:*pvrLenovoMIIX720-12IKB:*
225ModelTabletModeNoSuspend=1
226
227# Lenovo ThinkPad X1 Tablet (1st Gen) also comes with a detachable keyboard.
228# We must not disable the keyboard because some keys are still accessible on
229# volume rocker.
230[Lenovo ThinkPad X1 Tablet (1st Gen)]
231MatchName=AT Raw Set 2 keyboard
232MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX1Tablet:*
233ModelTabletModeNoSuspend=1
234
235# Misidentified as an external keyboard by libinput
236# Tested on Legion 5 15AR05H
237[Lenovo Legion 5 Keyboard (C100)]
238MatchUdevType=keyboard
239MatchBus=usb
240MatchVendor=0x048D
241MatchProduct=0xC100
242AttrKeyboardIntegration=internal
243
244# Tested on Legion 5 15ARH7H, should also work for Legion 5 Pro 16ARH7H
245# 048d:c102 Integrated Technology Express, Inc. ITE Device(8910)
246[Lenovo Legion 5 Keyboard (C102)]
247MatchUdevType=keyboard
248MatchBus=usb
249MatchVendor=0x048D
250MatchProduct=0xC102
251AttrKeyboardIntegration=internal
252
253[Lenovo Legion 5 Keyboard (C955)]
254MatchUdevType=keyboard
255MatchBus=usb
256MatchVendor=0x048D
257MatchProduct=0xC955
258AttrKeyboardIntegration=internal
259
260# Tested on Lenovo Legion 5 Pro 16ACH6H
261[Lenovo Legion 5 Pro Keyboard]
262MatchUdevType=keyboard
263MatchBus=usb
264MatchVendor=0x048D
265MatchProduct=0xC101
266AttrKeyboardIntegration=internal
267
268[Lenovo Legion 5i Keyboard]
269MatchName=ITE Tech. Inc. ITE Device(8910) Keyboard
270MatchDMIModalias=dmi:*svnLENOVO:*pvrLegion515IAH7H:*
271AttrKeyboardIntegration=internal
272
273[Lenovo Legion 7 Keyboard]
274MatchUdevType=keyboard
275MatchBus=usb
276MatchVendor=0x048D
277MatchProduct=0xC968
278AttrKeyboardIntegration=internal
279
280[Lenovo Legion Y740 Keyboard]
281MatchUdevType=keyboard
282MatchBus=usb
283MatchVendor=0x048D
284MatchProduct=0xC936
285AttrKeyboardIntegration=internal
286
287[Lenovo Legion Slim 7]
288MatchUdevType=keyboard
289MatchBus=usb
290MatchVendor=0x048D
291MatchProduct=0xC967
292AttrKeyboardIntegration=internal
293
294# https://gitlab.freedesktop.org/libinput/libinput/-/issues/604
295[Lenovo Yoga Slim 9 14ITL5 Pressurepad]
296MatchBus=i2c
297MatchVendor=0x27C6
298MatchProduct=0x01E8
299ModelPressurePad=1
300
301# Duet 7i tablet switch activated by folding keyboard cover, or removing it.
302# We must not disable volume rocker 'keyboard'.
303[Lenovo Duet 7i]
304MatchName=AT Raw Set 2 keyboard
305MatchDMIModalias=dmi:*svnLENOVO:*pvrYogaDuet713IML05:*
306ModelTabletModeNoSuspend=1
307
308# Lenovo IdeaPad Duet 3 also comes with a detachable keyboard.
309[Lenovo IdeaPad Duet 3]
310MatchName=AT Raw Set 2 keyboard
311MatchDMIModalias=dmi:*svnLENOVO:*pvrIdeaPadDuet3*:*
312ModelTabletModeNoSuspend=1
313
314# Modifies pressure range to avoid random jumps.
315# https://gitlab.freedesktop.org/libinput/libinput/-/issues/407
316[Lenovo Yoga 2 Pro touchpad]
317MatchUdevType=touchpad
318MatchName=*SynPS/2 Synaptics TouchPad
319MatchDMIModalias=dmi:*svnLENOVO:*:pvrLenovoYoga2Pro*
320AttrPressureRange=50:45
321
322[Lenovo Legion 7i 4090 Keyboard]
323MatchUdevType=keyboard
324MatchBus=usb
325MatchDMIModalias=dmi:*svnLENOVO:*:pvrLegionY9000PIRX8H*
326AttrKeyboardIntegration=internal
327
328[Lenovo LOQ 15IRH8 Keyboard]
329MatchUdevType=keyboard
330MatchBus=usb
331MatchVendor=0x048D
332MatchProduct=0xC986
333AttrKeyboardIntegration=internal
334
335[Lenovo ThinkPad E14 v2]
336MatchUdevType=touchpad
337MatchName=*Elan Touchpad
338MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadE14Gen2*
339AttrPalmPressureThreshold=300
340AttrPressureRange=10:8
341