• Wade Wang's avatar
    HID: plantronics: Workaround for an unexcepted opposite volume key · 87b69620
    Wade Wang authored
    Some Plantronics headset as the below send an unexcept opposite
    volume key's HID report for each volume key press after 200ms, like
    unecepted Volume Up Key following Volume Down key pressed by user.
    This patch adds a quirk to hid-plantronics for these devices, which
    will ignore the second unexcepted opposite volume key if it happens
    within 220ms from the last one that was handled.
        Plantronics EncorePro 500 Series  (047f:431e)
        Plantronics Blackwire_3325 Series (047f:430c)
    
    The patch was tested on the mentioned model, it shouldn't affect
    other models, however, this quirk might be needed for them too.
    Auto-repeat (when a key is held pressed) is not affected per test
    result.
    
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarWade Wang <wade.wang@hp.com>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
    87b69620
hid-plantronics.c 7.25 KB