> Message: 5
> Date: Thu, 30 Mar 2006 18:58:10 +0200
> From: Hans Verkuil <[EMAIL PROTECTED]>
> > Unloading ir-kbd-i2c fails as it is required by ivtv, and
> > blacklisting makes no difference as ivtv loads it
> >
> > Is there any way around this as I'd rather not remap all the keys?
>
> I made a change in ir-kbd-i2c that probably broke it. I'll revert it
> tonight.
>
> Hans
I recognized your change from Fri Mar 31 00:57:28 2006 , but it doesn`t help
me to use lirc_i2c as I did this with ivtv-driver 0.4.4.
ivtv still automatically loads ir-kbd-i2c and I cant unload it. Could it be
that the following patch also must be changed?
What about the different hauppauge parms for grey/black remotes? As I
already said, ivtv automatically loads ir-kbd-i2c. If the default parm is 0
for the black remote control - how can I get ivtv to load ir-kbd-i2c with
module parameter=1 for my grey remote?
Greets,
Martin
author Ricardo Cerqueira
Tue Jan 17 16:43:41 2006 +0000 (2 months ago)
changeset 46d375b3000f
tree 163a232330e2
parent bb04e00dde36
child bf2830fed0c1
Hauppauge Grey Remote support
From: J.O. Aho <[EMAIL PROTECTED]>
For the Hauppauge PVR cards there are at least two different remotes, one
completly black and one that is Grey and black, they keys differ in values
eg Black remotes 'mute' has the same value as Grey remotes 'menu'.
This enables the user to select which keymapping to use by using the
hauppauge parm. Unlike to the black remote keys, all keys are
mapped for the grey remote and the ATi usb remote mappings has been
followed.
Signed-off-by: Ricardo Cerqueira <[EMAIL PROTECTED]>
linux/drivers/media/video/ir-kbd-i2c.c file | revisions
v4l/ChangeLog file | revisions
--- a/linux/drivers/media/video/ir-kbd-i2c.c Tue Jan 17 16:31:19 2006 +0000
+++ b/linux/drivers/media/video/ir-kbd-i2c.c Tue Jan 17 16:43:41 2006 +0000
@@ -1,5 +1,5 @@
/*
- * $Id: ir-kbd-i2c.c,v 1.33 2006/01/17 16:18:41 rmcc Exp $
+ * $Id: ir-kbd-i2c.c,v 1.34 2006/01/17 16:43:41 rmcc Exp $
*
* keyboard input driver for i2c IR remote controls
*
@@ -52,6 +52,11 @@
static int debug;
module_param(debug, int, 0644); /* debug level (0,1,2) */
+
+static int hauppauge = 0;
+module_param(hauppauge, int, 0644); /* Choose Hauppauge remote */
+MODULE_PARM_DESC(hauppauge, "Specify Hauppauge remote: 0=black, 1=grey
(defaults to 0)");
+
#define DEVNAME "ir-kbd-i2c"
#define dprintk(level, fmt, arg...) if (debug >= level) \
@@ -308,7 +313,11 @@ static int ir_attach(struct i2c_adapter
name = "Hauppauge";
ir->get_key = get_key_haup;
ir_type = IR_TYPE_RC5;
- ir_codes = ir_codes_rc5_tv;
+ if (hauppauge == 1) {
+ ir_codes = ir_codes_rc5_tv_grey;
+ } else {
+ ir_codes = ir_codes_rc5_tv;
+ }
break;
case 0x30:
name = "KNC One";
--- a/v4l/ChangeLog Tue Jan 17 16:31:19 2006 +0000
+++ b/v4l/ChangeLog Tue Jan 17 16:43:41 2006 +0000
@@ -1,3 +1,13 @@ 2006-01-17 16:26 rmcc
+2006-01-17 16:40 rmcc
+
+ * linux/drivers/media/video/ir-kbd-i2c.c: (ir_attach):
+
+ - Added support for the newer (Grey) Hauppauge remote to
+ ir-kbd-i2c
+
+ Signed-off-by: J.O. Aho <[EMAIL PROTECTED]>
+ Signed-off-by: Ricardo Cerqueira <[EMAIL PROTECTED]>
+
2006-01-17 16:26 rmcc
* linux/include/media/ir-keymaps.h:
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel