From: Jarod Wilson <jarod@redhat.com>
To: mchehab@redhat.com
Cc: linux-media@vger.kernel.org, linux-input@vger.kernel.org
Subject: [PATCH 0/3] ir-core: add imon device driver
Date: Fri, 16 Apr 2010 17:26:22 -0400 [thread overview]
Message-ID: <20100416212622.GA6888@redhat.com> (raw)
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
next reply other threads:[~2010-04-16 21:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-16 21:26 Jarod Wilson [this message]
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-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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100416212622.GA6888@redhat.com \
--to=jarod@redhat.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.