Hi Gerd,

Attached is a 2.6.11-rc4 kernel patch that adds support for the Hauppauge 
PVR-350 remote (the grey remote, not the old black one). Several keys were 
missing and this patch completes the set for this remote.

The only possible problem might be the assignment of keycode 0x3b to KEY_GOTO 
as there is already a previous keycode (0x33) that is assigned to that key. 
This PVR-350 remote does not generate the 0x33 keycode. The label of the 
button on the remote that generates 0x3b is 'Go', so KEY_GOTO seemed the 
logical choice. However, feel free to choose another key if this is not 
acceptable.

Regards,

                Hans
--- linux/drivers/media/common/ir-common.c.org	2005-01-31 19:08:58.000000000 +0100
+++ linux/drivers/media/common/ir-common.c	2005-01-31 19:19:21.000000000 +0100
@@ -65,18 +65,25 @@
 	[ 0x12 ] = KEY_BRIGHTNESSUP,    // brightness +
 	[ 0x13 ] = KEY_BRIGHTNESSDOWN,  // brightness -
 	[ 0x1e ] = KEY_SEARCH,          // search +
+	[ 0x1f ] = KEY_PREVIOUS,        // back/exit
 	[ 0x20 ] = KEY_CHANNELUP,       // channel / program +
 	[ 0x21 ] = KEY_CHANNELDOWN,     // channel / program -
 	[ 0x22 ] = KEY_CHANNEL,         // alt / channel
 	[ 0x23 ] = KEY_LANGUAGE,        // 1st / 2nd language
+	[ 0x24 ] = KEY_RESTART,         // replay
+	[ 0x25 ] = KEY_OK,              // OK
 	[ 0x26 ] = KEY_SLEEP,           // sleeptimer
+	[ 0x29 ] = KEY_BLUE,            // blue
 	[ 0x2e ] = KEY_MENU,            // 2nd controls (USA: menu)
 	[ 0x30 ] = KEY_PAUSE,           // pause
 	[ 0x32 ] = KEY_REWIND,          // rewind
 	[ 0x33 ] = KEY_GOTO,            // go to
+	[ 0x34 ] = KEY_FASTFORWARD,     // fast forward
 	[ 0x35 ] = KEY_PLAY,            // play
 	[ 0x36 ] = KEY_STOP,            // stop
 	[ 0x37 ] = KEY_RECORD,          // recording
+	[ 0x38 ] = KEY_YELLOW,          // yellow
+	[ 0x3b ] = KEY_GOTO,            // go
 	[ 0x3c ] = KEY_TEXT,            // teletext submode (Japan: 12)
 	[ 0x3d ] = KEY_SUSPEND,         // system standby
 

Reply via email to