diff --git a/quirks/50-system-lenovo.quirks b/quirks/50-system-lenovo.quirks index dd49b3bc..52494630 100644 --- a/quirks/50-system-lenovo.quirks +++ b/quirks/50-system-lenovo.quirks @@ -156,14 +156,6 @@ MatchName=*TPPS/2 IBM TrackPoint MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadX1Yoga1st:* AttrTrackpointMultiplier=1.25 -# A true pressurepad so let's not use pressure for contact size -# https://gitlab.freedesktop.org/libinput/libinput/-/issues/562 -[Lenovo Yoga 9i Pressurepad] -MatchBus=i2c -MatchVendor=0x06CB -MatchProduct=0xCE37 -AttrInputProp=+INPUT_PROP_PRESSUREPAD - [Lenovo Yoga C930 Tablet] MatchBus=i2c MatchVendor=0x056A @@ -237,88 +229,6 @@ MatchName=AT Raw Set 2 keyboard MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX1Tablet:* ModelTabletModeNoSuspend=1 -# Misidentified as an external keyboard by libinput -# Tested on Legion 5 15AR05H -[Lenovo Legion 5 Keyboard (C100)] -MatchUdevType=keyboard -MatchBus=usb -MatchVendor=0x048D -MatchProduct=0xC100 -AttrKeyboardIntegration=internal - -# Tested on Legion 5 15ARH7H, should also work for Legion 5 Pro 16ARH7H -# 048d:c102 Integrated Technology Express, Inc. ITE Device(8910) -[Lenovo Legion 5 Keyboard (C102)] -MatchUdevType=keyboard -MatchBus=usb -MatchVendor=0x048D -MatchProduct=0xC102 -AttrKeyboardIntegration=internal - -# Tested on Legion Pro 5 16IRX8 -# 048d:c103 Integrated Technology Express, Inc. ITE Device(8910) -[Lenovo Legion 5 Keyboard (C103)] -MatchUdevType=keyboard -MatchBus=usb -MatchVendor=0x048D -MatchProduct=0xC103 -AttrKeyboardIntegration=internal - -[Lenovo Legion 5 Keyboard (C955)] -MatchUdevType=keyboard -MatchBus=usb -MatchVendor=0x048D -MatchProduct=0xC955 -AttrKeyboardIntegration=internal - -# Tested on Lenovo Legion 5 Pro 16ACH6H -[Lenovo Legion 5 Pro Keyboard] -MatchUdevType=keyboard -MatchBus=usb -MatchVendor=0x048D -MatchProduct=0xC101 -AttrKeyboardIntegration=internal - -[Lenovo Legion 5i Keyboard] -MatchName=ITE Tech. Inc. ITE Device(8910) Keyboard -MatchDMIModalias=dmi:*svnLENOVO:*pvrLegion515IAH7H:* -AttrKeyboardIntegration=internal - -[Lenovo Legion 7 Keyboard] -MatchUdevType=keyboard -MatchBus=usb -MatchVendor=0x048D -MatchProduct=0xC968 -AttrKeyboardIntegration=internal - -[Lenovo Legion Y740 Keyboard] -MatchUdevType=keyboard -MatchBus=usb -MatchVendor=0x048D -MatchProduct=0xC936 -AttrKeyboardIntegration=internal - -[Lenovo Legion Slim 7] -MatchUdevType=keyboard -MatchBus=usb -MatchVendor=0x048D -MatchProduct=0xC967 -AttrKeyboardIntegration=internal - -[Lenovo Legion Slim 7 Gen 8] -MatchUdevType=keyboard -MatchBus=usb -MatchVendor=0x048D -MatchProduct=0xC987 -AttrKeyboardIntegration=internal - -# https://gitlab.freedesktop.org/libinput/libinput/-/issues/604 -[Lenovo Yoga Slim 9 14ITL5 Pressurepad] -MatchBus=i2c -MatchVendor=0x27C6 -MatchProduct=0x01E8 -AttrInputProp=+INPUT_PROP_PRESSUREPAD - # Duet 7i tablet switch activated by folding keyboard cover, or removing it. # We must not disable volume rocker 'keyboard'. [Lenovo Duet 7i] @@ -340,19 +250,6 @@ MatchName=*SynPS/2 Synaptics TouchPad MatchDMIModalias=dmi:*svnLENOVO:*:pvrLenovoYoga2Pro* AttrPressureRange=50:45 -[Lenovo Legion 7i 4090 Keyboard] -MatchUdevType=keyboard -MatchBus=usb -MatchDMIModalias=dmi:*svnLENOVO:*:pvrLegionY9000PIRX8H* -AttrKeyboardIntegration=internal - -[Lenovo LOQ 15IRH8 Keyboard] -MatchUdevType=keyboard -MatchBus=usb -MatchVendor=0x048D -MatchProduct=0xC986 -AttrKeyboardIntegration=internal - [Lenovo ThinkPad E14 v2] MatchUdevType=touchpad MatchName=*Elan Touchpad @@ -366,60 +263,14 @@ MatchName=*TPPS/2 Elan TrackPoint* MatchDMIModalias=dmi:*svnLENOVO:*:pvrThinkPadE16Gen3* AttrTrackpointMultiplier=0.5 -# White Backlit Keyboard -[Lenovo Ideapad Gaming 3] -MatchUdevType=keyboard -MatchBus=usb -MatchVendor=0x048D -MatchProduct=0xC966 -AttrKeyboardIntegration=internal - [Lenovo Thinkpad Yoga X390] MatchUdevType=pointingstick MatchName=*TPPS/2 Elan TrackPoint* MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX390Yoga*:* AttrTrackpointMultiplier=0.4 -# This should cover all keyboards that are misidentified as external. -# Tested on Lenovo Legion 5 Pro (2023) -[Lenovo 16ARX8 keyboard] -MatchName=ITE Tech. Inc. ITE Device(8910) Keyboard -MatchUdevType=keyboard -MatchDMIModalias=dmi:*svnLENOVO:* -AttrKeyboardIntegration=internal - -# Some ThinkBook 14/16 G7+ ASP models come with pressure pads that were not -# correctly declared as such. -[Lenovo ThinkBook G7+ ASP touchpad] -MatchName=*GXTP5100* -MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkBook*G7+ASP*:* -MatchUdevType=touchpad -AttrInputProp=+INPUT_PROP_PRESSUREPAD - -# The ThinkBook 14/16 G6+ IMH also has a similar issue as the G7+ mentioned above. -[Lenovo ThinkBook G6+ IMH] -MatchName=*GXTP5100* -MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkBook*G6+IMH*:* -MatchUdevType=touchpad -AttrInputProp=+INPUT_PROP_PRESSUREPAD - # Lenovo Yoga Slim 7i Carbon sends bogus ABS_MT_TOOL_TYPE MT_TOOL_PALM events [Lenovo Yoga Slim 7i Carbon] MatchName=* Touchpad MatchDMIModalias=dmi:*:svnLENOVO:*pvrYogaSlim7Carbon13IAP7:* AttrEventCode=-ABS_MT_TOOL_TYPE - -# The ThinkPad X9 15 Gen 1 Forcepad touchpad is not -# detected as a pressure pad -[Lenovo ThinkPad X9 15 Gen 1] -MatchName=*GXTP5100* -MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkPadX9-15Gen1*:* -MatchUdevType=touchpad -AttrInputProp=+INPUT_PROP_PRESSUREPAD - -# The ThinkBook 14/16 G7+ IAH also has a similar issue as the ASP mentioned above. -[Lenovo ThinkBook G7+ IAH touchpad] -MatchName=*GXTP5100* -MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkBook*G7+IAH*:* -MatchUdevType=touchpad -AttrInputProp=+INPUT_PROP_PRESSUREPAD