linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ir-core: add imon device driver
@ 2010-04-16 21:26 Jarod Wilson
  2010-04-16 21:27 ` [PATCH 1/3] ir-core: make ir_g_keycode_from_table a public function Jarod Wilson
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Jarod Wilson @ 2010-04-16 21:26 UTC (permalink / raw)
  To: mchehab; +Cc: linux-media, linux-input

The following series adds a new device driver for the SoundGraph iMON and
Antec Veris IR/display devices commonly found in many home theater pc
cases and as after-market case additions.

This driver was previously submitted as a pure input layer driver, but I
was convinced to port it to the new ir-core infrastructure, so this patch
is against http://git.linuxtv.org/mchehab/ir.git.

With only some minor modifications to ir-core (making an already exported
function public) and reasonably little porting driver-side, I've managed
to finish at least the initial conversion. There's still a local key
release timer in use in the driver that needs to be converted to use
ir-core's keyup timer, and I'm not using ir_keydown due to some serious
quirks in the way the imon hardware decodes IR signals (I need to do my
own key release detection, as there are three different ways a key release
is identified even on the exact same device...), but it does use all the
ir-core keymap loading and parsing code, ir_input_dev, ir_dev_props, etc.

Something I wasn't too sure about... Where exactly should an IR-only device
driver live in the tree? I've put it at drivers/media/IR/imon.c for the
moment, but it might make sense to have a drivers/media/IR/hardware/
directory to drop things like this and the forthcoming lirc_mceusb port
into, rather than intermingling with the core bits.

The most important part: I've tested this out w/actual imon hardware, and
it even works. :)

---

Jarod Wilson (3)
	ir-core: make ir_g_keycode_from_table a public function
	ir-core: add imon pad and mce keymaps
	ir-core: add imon driver

 drivers/media/IR/Kconfig               |   12 +
 drivers/media/IR/Makefile              |    3 +
 drivers/media/IR/imon.c                | 2417 ++++++++++++++++++++++++++++++++
 drivers/media/IR/ir-core-priv.h        |    7 -
 drivers/media/IR/keymaps/Makefile      |    2 +
 drivers/media/IR/keymaps/rc-imon-mce.c |  142 ++
 drivers/media/IR/keymaps/rc-imon-pad.c |  155 ++
 include/media/ir-core.h                |    1 +
 include/media/rc-map.h                 |    2 +
 9 files changed, 2734 insertions(+), 7 deletions(-)

-- 
Jarod Wilson
jarod@redhat.com


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-04-24 20:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-16 21:26 [PATCH 0/3] ir-core: add imon device driver Jarod Wilson
2010-04-16 21:27 ` [PATCH 1/3] ir-core: make ir_g_keycode_from_table a public function Jarod Wilson
2010-04-16 21:28 ` [PATCH 2/3] ir-core: add imon pad and mce keymaps Jarod Wilson
2010-04-24  8:53   ` David Härdeman
2010-04-24 20:53     ` Jarod Wilson
2010-04-16 21:29 ` [PATCH 3/3] ir-core: add imon driver Jarod Wilson
2010-04-20 21:22   ` Mauro Carvalho Chehab
2010-04-22  1:55     ` Jarod Wilson
2010-04-22 13:36       ` Mauro Carvalho Chehab
2010-04-23  5:23         ` Jarod Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).