1. 22 9月, 2011 1 次提交
  2. 20 5月, 2011 1 次提交
  3. 23 3月, 2011 3 次提交
    • M
      [media] rc/keymaps: Remove the obsolete rc-rc5-tv keymap · 20624106
      Mauro Carvalho Chehab 提交于
      This keymap were used for the Hauppauge Black remote controller
      only. It also contains some keycodes not found there. As the
      Hauppauge Black is now part of the hauppauge keymap, just remove
      it.
      
      Also, remove the modprobe hacks to select between the Gray
      and the Black versions of the remote controller as:
       - Both are supported by default by the keymap;
       - If the user just wants one keyboard supported,
         it is just a matter of changing the keymap via
         the userspace tool (ir-keytable), removing
         the keys that he doesn't desire. As ir-keytable
         auto-loads the keys via udev, this is better than
         obscure modprobe parameters.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      20624106
    • M
      [media] remove the old RC_MAP_HAUPPAUGE_NEW RC map · af86ce79
      Mauro Carvalho Chehab 提交于
      The rc-hauppauge-new map is a messy thing, as it bundles 3
      
      different remote controllers as if they were just one,
      discarding the address byte. Also, some key maps are wrong.
      
      With the conversion to the new rc-core, it is likely that
      most of the devices won't be working properly, as the i2c
      driver and the raw decoders are now providing 16 bits for
      the remote, instead of just 8.
      
       delete mode 100644 drivers/media/rc/keymaps/rc-hauppauge-new.c
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      af86ce79
    • M
      [media] rc/keymaps: Rename Hauppauge table as rc-hauppauge · 15195d3a
      Mauro Carvalho Chehab 提交于
      There are two "hauppauge-new" keymaps, one with protocol
      unknown, and the other with the protocol marked accordingly.
      However, both tables are miss-named.
      
      Also, the old rc-hauppauge-new is broken, as it mixes
      three different controllers as if they were just one.
      
      This patch solves half of the problem by renaming the
      correct keycode table as just rc-hauppauge. This table
      contains the codes for the four different types of
      remote controllers found on Hauppauge cards, properly
      mapped with their different addresses.
      
       create mode 100644 drivers/media/rc/keymaps/rc-hauppauge.c
       delete mode 100644 drivers/media/rc/keymaps/rc-rc5-hauppauge-new.c
      [Jarod: fix up RC_MAP_HAUPPAUGE defines]
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      15195d3a
  4. 22 3月, 2011 2 次提交
  5. 29 12月, 2010 3 次提交
  6. 23 10月, 2010 2 次提交
  7. 21 10月, 2010 14 次提交
  8. 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
  9. 03 8月, 2010 4 次提交
  10. 01 6月, 2010 2 次提交
  11. 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