Skip to contentSkip to conversation

ir-kbd-i2c: support Hauppauge HVR-1600 R/C port

PATCH In review Mark Lord 2 participants 2 messages Feb 3, 2009

Subsystems (2)
lore
Share & tools
lore

Mark Lord

author
#0 lore raw

PATCH 1/1 ir-kbd-i2c: support Hauppauge HVR-1600 R/C port

Update the ir-kbd-i2c driver to recognize the remote-control port on the Hauppauge HV-1600 hybrid tuner card.

drivers/media/video/ir-kbd-i2c.c +0 -0
@@ -354,6 +354,11 @@
			} else {
				ir_codes    = ir_codes_rc5_tv;
			}

+ } else if (adap->id == I2C_HW_B_CX2341X) {
+ name = "Hauppauge";
+ ir_type = IR_TYPE_RC5;
+ ir->get_key = get_key_haup_xvr;

+			ir_codes    = ir_codes_hauppauge_new;
		} else {
			/* Handled by saa7134-input */
			name        = "SAA713x remote";
@@ -449,7 +454,7 @@
	   That's why we probe 0x1a (~0x34) first. CB
	*/

- static const int probe_bttv[] = { 0x1a, 0x18, 0x4b, 0x64, 0x30, -1};

+	static const int probe_bttv[] = { 0x1a, 0x18, 0x4b, 0x64, 0x30, 0x71, -1};
	static const int probe_saa7134[] = { 0x7a, 0x47, 0x71, 0x2d, -1 };
	static const int probe_em28XX[] = { 0x30, 0x47, -1 };
	static const int probe_cx88[] = { 0x18, 0x6b, 0x71, -1 };
#1 lore raw

Hi Mark,

Quoted 4 lines · Mark Lord

Update the ir-kbd-i2c driver to recognize the remote-control port on the Hauppauge HV-1600 hybrid tuner card.

Neither the linux-i2c nor the linux-kernel mailing lists are
appropriate for this patch. Please post to linux-media and/or [email protected] as listed in file MAINTAINERS.

Thanks,

Signature · 1 line
Jean Delvare