From: Brad Campbell <brad@wasp.net.au>
To: Darren Hart <darren@dvhart.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: IR Remotes under 2.6
Date: Sat, 19 Jun 2004 21:53:38 +0400 [thread overview]
Message-ID: <40D47DA2.1000201@wasp.net.au> (raw)
In-Reply-To: <1087658340.2792.31.camel@farah>
Darren Hart wrote:
> I had some thoughts regarding the >=2.6.6 approach to handling remotes
> as keyboards (specifically the ir-kbd-i2c driver).
>
> 1) First, I believe the kernel can really only recognize the receiver,
> Thoughts?
Something completely different.. Perhaps userspace?
I'm using a streamzap USB ir remote with lirc. I have a modified version of Nils Faebers kbdd
package that does the translation and injects the packets into /dev/misc/uinput.
Whammo. Userspace IR remote to keyboard translator.
You may want to do it in kernel space however. I'm just throwing it out there.
Modified version here http://www.wasp.net.au/~brad/kbdd-lirc-0.01.tar.gz
Ugly and bad code is most probably mine :p)
If you have a good reason to keep it in kernel space, them my argument is null and void :p)
It's nice being able to specify Remote->Key maps on a per app basis depending on what you are
running at the time.
Makes controlling bash scripts using dialog really easy by remote :p)
Regards,
Brad
prev parent reply other threads:[~2004-06-19 17:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-19 15:19 IR Remotes under 2.6 Darren Hart
2004-06-19 17:53 ` Brad Campbell [this message]
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=40D47DA2.1000201@wasp.net.au \
--to=brad@wasp.net.au \
--cc=darren@dvhart.com \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox