Skip to content
Commit cf5585f9 authored by José Expósito's avatar José Expósito Committed by Hans de Goede
Browse files

platform/x86/intel: hid: Add DMI switches allow list

Some devices, even non convertible ones, can send incorrect
SW_TABLET_MODE reports.

Add an allow list and accept such reports only from devices in it.

Bug reported for Dell XPS 17 9710 on:
https://gitlab.freedesktop.org/libinput/libinput/-/issues/662



Reported-by: default avatarTobias Gurtzick <magic@wizardtales.com>
Suggested-by: default avatarHans de Goede <hdegoede@redhat.com>
Tested-by: default avatarTobias Gurtzick <magic@wizardtales.com>
Signed-off-by: default avatarJosé Expósito <jose.exposito89@gmail.com>
Link: https://lore.kernel.org/r/20210920160312.9787-1-jose.exposito89@gmail.com


[hdegoede@redhat.com: Check dmi_switches_auto_add_allow_list only once]
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent d24236cb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment