1. 03 8月, 2010 2 次提交
    • J
      V4L/DVB: IR/mceusb: use the proper ir-core device unregister function · bd3881b1
      Jarod Wilson 提交于
      Was using input_unregister_device directly, instead of using
      ir_input_unregister, which tears down a bunch of other things in
      addition to eventually calling input_unregister_device.
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      bd3881b1
    • J
      V4L/DVB: IR: add mceusb IR receiver driver · 66e89522
      Jarod Wilson 提交于
      This is a new driver for the Windows Media Center Edition/eHome
      Infrared Remote transceiver devices. Its a port of the current
      lirc_mceusb driver to ir-core, and currently lacks transmit support,
      but will grow it back soon enough... This driver also differs from
      lirc_mceusb in that it borrows heavily from a simplified IR buffer
      decode routine found in Jon Smirl's earlier ir-mceusb port.
      
      This driver has been tested on the original first-generation MCE IR
      device with the MS vendor ID, as well as a current-generation device
      with a Topseed vendor ID. Every receiver supported by lirc_mceusb
      should work equally well. Testing was done primarily with RC6 MCE
      remotes, but also briefly with a Hauppauge RC5 remote, and all works
      as expected.
      
      v2: fix call to ir_raw_event_handle so repeats work as they should.
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      66e89522