Skip to content

Commit

Permalink
Add quirks for Lenovo MIIX 720.
Browse files Browse the repository at this point in the history
* Lenovo MIIX 720 is a tablet with a detachable keyboard. To keep
  the volume rockers on the tablet enabled even when the keyboard
  is detached, add `ModelTabletModeNoSuspend=1` to the internal
  keyboard.
* The external keyboard is a keyboard-touchpad combo. Assign
  `AttrTPKComboLayout=below` to the touchpad to allow features
  like disable-while-typing and palm-detection.
  • Loading branch information
badshah400 committed Aug 21, 2018
1 parent db8b6f4 commit 0d62c8f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions quirks/50-system-chicony.quirks
Expand Up @@ -7,3 +7,11 @@ MatchBus=usb
MatchVendor=0x4F2
MatchProduct=0x1558
AttrTPKComboLayout=below

# Lenovo MIIX 720 comes with a detachable touchpad-keyboard combo
[Chicony Lenovo MIIX 720 Touchpad]
MatchUdevType=touchpad
MatchBus=0x03
MatchVendor=0x17ef
MatchProduct=0x60a6
AttrTPKComboLayout=below
9 changes: 9 additions & 0 deletions quirks/50-system-lenovo.quirks
Expand Up @@ -80,3 +80,12 @@ ModelLenovoCarbonX16th=1
MatchName=AT Translated Set 2 keyboard
MatchDMIModalias=dmi:*svnIBM:*pvrThinkPadX41Tablet:*
ModelTabletModeNoSuspend=1

# Lenovo MIIX 720 comes with a detachable keyboard. We must not disable
# the keyboard because some keys are still accessible on the screen and
# volume rocker. See
# https://gitlab.freedesktop.org/libinput/libinput/issues/115
[Lenovo MIIX 720]
MatchName=AT Raw Set 2 keyboard
MatchDMIModalias=dmi:*svnLENOVO:*pvrLenovoMIIX720-12IKB:*
ModelTabletModeNoSuspend=1

0 comments on commit 0d62c8f

Please sign in to comment.