1. 21 10月, 2010 5 次提交
    • A
      [media] TrekStor DVB-T USB Stick remote controller · a3d34e6a
      Antti Palosaari 提交于
      Imported from af9015.h.
      Initial keytable was from Marc Schneider <macke@macke.org>
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      a3d34e6a
    • A
      [media] MSI DIGIVOX mini III remote controller keytable · 76ba9c4d
      Antti Palosaari 提交于
      MSI DIGIVOX mini III remote controller. Uses NEC extended 0x61d6.
      This remote seems to be same as rc-kworld-315u.c. Anyhow, add new remote
      since rc-kworld-315u.c lacks NEC extended address byte.
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      76ba9c4d
    • A
      [media] TerraTec remote controller keytable · 68617b31
      Antti Palosaari 提交于
      TerraTec slim remote, 7 rows, 4 columns. Uses NEC extended 0x02bd.
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      68617b31
    • M
      V4L/DVB: Support or LME2510(C) DM04/QQBOX USB DVB-S BOXES · d2f918bb
      Malcolm Priestley 提交于
      DM04/QQBOX DVB-S USB BOX with LME2510C+SHARP:BS2F7HZ7395 or LME2510+LGTDQT-P001F tuner.
      
      [mchehab@redhat.com: Fix merge conflicts/compilation and CodingStyle issues]
      Signed-off-by: NMalcolm Priestley <tvboxspy@gmail.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      d2f918bb
    • J
      V4L/DVB: IR/streamzap: functional in-kernel decoding · 7a569f52
      Jarod Wilson 提交于
      This patch makes in-kernel decoding with the stock Streamzap PC Remote
      work out of the box. There are quite a few things going on in this
      patch, all related to getting this working:
      
      1) I had to enable reporting of a long space at the end of each signal,
         or I had weird buffering and keybounce issues.
      
      2) The keymap has been reworked slightly to match actual decoded values,
         the first edition was missing the pre-data bits present in the lirc
         config file for this remote.
      
      3) There's a whole new decoder included, specifically for the
         not-quite-RC5 15-bit protocol variant used by the Streamzap PC
         Remote. The decoder, while usable with other recievers (tested with
         an mceusb receiver), will only be loaded by the streamzap driver, as
         its likely not of use in almost all other situations. This can be
         revisited if/when all keytable loading (and disabling of unneeded
         protocol decoder engines) is moved to userspace, but for now, I think
         this makes the most sense.
      
      Note that I did try to enable handling the streamzap RC5-ish protocol in
      the current RC5 decoder, but there's no particularly easy way to tell if
      its 14-bit RC5 or 15-bit Streamzap until we see bit 14, and even then,
      in testing an attempted decoder merge, only 2/3 of the keys were
      properly recognized as being the 15-bit variant and decoded correctly,
      the rest were close enough to compliant with 14-bit that they were
      decoded as such (but they have overlap with one another, and thus we
      can't just shrug and use the 14-bit decoded values).
      
      Also of note in this patch is the removal of the streamzap driver's
      internal delay buffer. Per discussion w/Christoph, it shouldn't be
      needed by lirc any longer anyway, and it doesn't seem to make any
      difference to the in-kernel decoder engine. That being the case, I'm
      yanking it all out, as it greatly simplifies the driver code.
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      7a569f52
  2. 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
  3. 03 8月, 2010 4 次提交
  4. 01 6月, 2010 2 次提交
  5. 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