• Jarod Wilson's avatar
    V4L/DVB: IR/imon: convert to ir-core protocol change handling · 6718e8ad
    Jarod Wilson authored
    Drop the imon driver's internal protocol definitions in favor of using
    those provided by ir-core. Should make ir-keytable Just Work for
    switching protocol on the fly on the imon devices that support both the
    native imon remotes and mce remotes.
    
    The imon-no-pad-stabilize pseudo-protocol was dropped as a protocol, and
    converted to a separate modprobe option (which it probably should have
    been in the first place). On the TODO list is to convert this to an as yet
    unwritten protocol-specific options framework.
    
    While the mce remotes obviously map to IR_TYPE_RC6, I've yet to look at
    what the actual ir signals from the native imon remotes are, so for the
    moment, imon native ir is mapped to IR_TYPE_OTHER. Nailing it down more
    accurately is also on the TODO list.
    Signed-off-by: default avatarJarod Wilson <jarod@redhat.com>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    6718e8ad
imon.c 62.4 KB