• Robert Schedel's avatar
    HID: Suppress hidinput for Samsung IR control · efa0f16b
    Robert Schedel authored
    Samsung USB remotes (0419:0001) report six keys via standard HID usage pages
    (arrow keys, OK, Power).  Kernel 2.6.25 maps those to input events (in addition
    to the hiddev report).  The remaining 43 keys are reported via proprietary HID
    report page and therefore by hiddev only.
    
    Applications using hiddev and input device might process the 6 standard keys
    twice.  To avoid this, the input device will be suppressed for the Samsung
    remote with a quirk entry, forcing to use the hiddev device only.
    
    LIRC already contains the proper support.
    Signed-off-by: default avatarRobert Schedel <r.schedel@yahoo.de>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    efa0f16b
hid-quirks.c 48.9 KB