1. 09 8月, 2010 2 次提交
    • M
      V4L/DVB: IR: Allow not to compile keymaps in · b378f43f
      Maxim Levitsky 提交于
      Currently, ir device registration fails if keymap requested by driver is not found.
      Fix that by always compiling in the empty keymap, and using it as a failback.
      Signed-off-by: NMaxim Levitsky <maximlevitsky@gmail.com>
      Acked-by: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      b378f43f
    • J
      V4L/DVB: staging/lirc: port lirc_streamzap to ir-core · 8e9e6064
      Jarod Wilson 提交于
      This ports lirc_streamzap.c over to ir-core in-place, to be followed by
      a patch moving the driver over to drivers/media/IR/streamzap.c and
      enabling the proper Kconfig bits.
      
      Presently, the in-kernel keymap doesn't work, as the stock Streamzap
      remote uses an RC-5-like, but not-quite-RC-5 protocol, which the
      in-kernel RC-5 decoder doesn't cope with. The remote can be used right
      now with the lirc bridge driver though, and other remotes (at least an
      RC-6(A) MCE remote) work perfectly with the driver.
      
      I'll take a look at making the existing RC-5 decoder cope with this odd
      duck, possibly implement another standalone decoder engine, or just
      throw up my hands and say "meh, use lirc"... But the driver itself
      should be perfectly sound.
      
      Remaining items on the streamzap TODO list:
      - add LIRC_SET_REC_TIMEOUT-alike support
      - add LIRC_GET_M{AX,IN}_TIMEOUT-alike support
      - add LIRC_GET_REC_RESOLUTION-alike support
      
      All of the above should be trivial to add. There are patches pending to
      add this support to ir-core from Maxim Levitsky, and I'll take care of
      these once his patches get integrated. None of them are currently
      essential though.
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      8e9e6064
  2. 03 8月, 2010 4 次提交
  3. 01 6月, 2010 2 次提交
  4. 19 5月, 2010 3 次提交
    • J
      V4L/DVB: ir-core: add imon pad and mce keymaps · 1159f838
      Jarod Wilson 提交于
      This adds the keymaps for the hardware decode scancodes imon
      devices create for their native imon pad (and mini) remotes,
      and the hardware scancodes generated by the imon devices when
      used with an rc6 windows media center ed. remote.
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      1159f838
    • M
      V4L/DVB: ir-core: Add support for badly-implemented hardware decoders · 9dfe4e83
      Mauro Carvalho Chehab 提交于
      A few hardware Remote Controller decoders, even using a standard protocol,
      aren't able to provide the entire scancode. Due to that, the capability
      of using other IR's are limited on those hardware.
      
      Adds a way to indicate to ir-core what are the bits that the hardware
      provides, from a scancode, allowing the addition of a complete IR table
      to the kernel and allowing a limited support for changing the Remote
      Controller on those devices.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      9dfe4e83
    • M
      V4L/DVB: Break Remote Controller keymaps into modules · 6686fa69
      Mauro Carvalho Chehab 提交于
      The original Remote Controller approach were very messy: a big file,
      that were part of ir-common kernel module, containing 64 different
      RC keymap tables, used by the V4L/DVB drivers.
      
      Better to break each RC keymap table into a separate module,
      registering them into rc core on a process similar to the fs/nls tables.
      
      As an userspace program is now in charge of loading those tables,
      adds an option to allow the complete removal of those tables from
      kernelspace.
      
      Yet, on embedded devices like Set Top Boxes and TV sets, maybe the
      only available input device is the IR. So, we should keep allowing
      the usage of in-kernel tables, but a latter patch should change
      the default to 'n', after giving some time for distros to add
      the v4l-utils with the ir-keytable program, to allow the table
      load via userspace.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      6686fa69