• Maximilian Luz's avatar
    HID: hid-input: add Surface Go battery quirk · db925d80
    Maximilian Luz authored
    Similar to the Surface Go (1), the (Elantech) touchscreen/digitizer in
    the Surface Go 2 mistakenly reports the battery of the stylus. Instead
    of over the touchscreen device, battery information is provided via
    bluetooth and the touchscreen device reports an empty battery.
    
    Apply the HID_BATTERY_QUIRK_IGNORE quirk to ignore this battery and
    prevent the erroneous low battery warnings.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarMaximilian Luz <luzmaximilian@gmail.com>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    db925d80
hid-input.c 64.9 KB