• Hans de Goede's avatar
    platform/x86: asus-nb-wmi: Revert "Do not load on Asus T100TA and T200TA" · aab9e789
    Hans de Goede authored
    The WMI INIT method on for some reason turns on the camera LED on these
    2-in-1s, without the WMI interface allowing further control over the LED.
    
    To fix this commit b5f7311d ("platform/x86: asus-nb-wmi: Do not load
    on Asus T100TA and T200TA") added a blacklist with these 2 models on it
    since the WMI driver did not add any extra functionality to these models.
    
    Recently I've been working on making more 2-in-1 models report their
    tablet-mode (SW_TABLET_MODE) to userspace; and I've found that these 2
    Asus models report this through WMI. This commit reverts the adding
    of the blacklist, so that the Asus WMI driver can be used on these
    models to report their tablet-mode.
    
    Note, not calling INIT is also not an option, because then we will not
    receive events when the tablet-mode changes. So the LED issue will need
    to be fixed somewhere else entirely.
    Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
    Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
    aab9e789
asus-nb-wmi.c 14.6 KB