From: Andy Walls <awalls@md.metrocast.net>
To: Richard Zidlicky <rz@linux-m68k.org>
Cc: linux-media@vger.kernel.org, mchehab@infradead.org,
stefano.pompa@gmail.com
Subject: Re: Hauppauge WinTV MiniStick IR in 2.6.36 - [PATCH]
Date: Mon, 15 Nov 2010 07:35:06 -0500 [thread overview]
Message-ID: <1289824506.2057.9.camel@morgan.silverblock.net> (raw)
In-Reply-To: <20101115112746.GB6607@linux-m68k.org>
On Mon, 2010-11-15 at 12:27 +0100, Richard Zidlicky wrote:
> Hi,
>
> for some users (thats at least one user in Italy and me) the following is required:
>
> --- linux-2.6.36/drivers/media/dvb/siano/sms-cards.c.rz 2010-11-15 11:16:56.000000000 +0100
> +++ linux-2.6.36/drivers/media/dvb/siano/sms-cards.c 2010-11-15 11:54:25.000000000 +0100
> @@ -17,6 +17,9 @@
> * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
> */
>
> +//#include <media/ir-kbd-i2c.h>
> +//#include <media/ir-core.h>
> +
> #include "sms-cards.h"
> #include "smsir.h"
>
> @@ -64,7 +67,7 @@
> .type = SMS_NOVA_B0,
> .fw[DEVICE_MODE_ISDBT_BDA] = "sms1xxx-hcw-55xxx-isdbt-02.fw",
> .fw[DEVICE_MODE_DVBT_BDA] = "sms1xxx-hcw-55xxx-dvbt-02.fw",
> - .rc_codes = RC_MAP_RC5_HAUPPAUGE_NEW,
> + .rc_codes = RC_MAP_DIB0700_RC5_TABLE,
> .board_cfg.leds_power = 26,
> .board_cfg.led0 = 27,
> .board_cfg.led1 = 28,
>
> What is the way to achieve the effect without recompiling the kernel - is there any?
> Could we combine the keymaps - as I understand it all RC5 maps could be combined into
> one huge map without any problems except memory usage?
You apparently can use the keytable program to twiddle sysfs nodes or
the /dev/input nodes, I think:
http://git.linuxtv.org/v4l-utils.git?a=tree;f=utils/keytable;h=e599a8b5288517fc7fe58d96f44f28030b04afbc;hb=HEAD
DocBook documentation source is here:
http://git.linuxtv.org/media_tree.git?a=tree;f=Documentation/DocBook/v4l;h=a3e5448a4703ef0bd35fc5910bd990b2a3ca306c;hb=staging/for_v2.6.37-rc1
Human readable documentation is here:
http://linuxtv.org/downloads/v4l-dvb-apis/v4ldvb_common.html
Regards,
Andy
next prev parent reply other threads:[~2010-11-15 12:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-15 11:27 Hauppauge WinTV MiniStick IR in 2.6.36 - [PATCH] Richard Zidlicky
2010-11-15 11:55 ` Anca Emanuel
2010-11-15 12:05 ` Richard Zidlicky
2010-11-15 12:35 ` Andy Walls [this message]
2010-11-15 15:09 ` Richard Zidlicky
2010-11-15 21:59 ` Andy Walls
2010-11-15 22:57 ` Richard Zidlicky
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=1289824506.2057.9.camel@morgan.silverblock.net \
--to=awalls@md.metrocast.net \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.org \
--cc=rz@linux-m68k.org \
--cc=stefano.pompa@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox