Newbee questions about HDTV VDR system with TT-budget S2-3200.
Commit Message
On Sun, 2009-05-24 at 13:22 +0200, Ales Jurik wrote:
> you don't need lirc, try plugin remote (http://www.escape-
> edv.de/endriss/vdr/). It seems to be easier to setup and works without
> problems.
I got lirc to work first, then I read your message and
tried the remote plugin.
Very nice. No daemons to configure, etc.
I'll stick to the remote plugin.
I had to make the attached patch (inspired by a similar
patch I found using google) to make the remote control
work that came with my card.
Carsten.
***************
EXPORT_SYMBOL_GPL(ir_codes_hauppauge_new);
+ /* TT remotes. */
+
+ IR_KEYTAB_TYPE ir_codes_tt_3200[IR_KEYTAB_SIZE] = {
+ /* Keys 0 to 9 */
+ [ 0x0c ] = KEY_0,
+ [ 0x03 ] = KEY_1,
+ [ 0x04 ] = KEY_2,
+ [ 0x05 ] = KEY_3,
+ [ 0x06 ] = KEY_4,
+ [ 0x07 ] = KEY_5,
+ [ 0x08 ] = KEY_6,
+ [ 0x09 ] = KEY_7,
+ [ 0x0a ] = KEY_8,
+ [ 0x0b ] = KEY_9,
+
+ [ 0x18 ] = KEY_MUTE,
+ [ 0x01 ] = KEY_POWER, /* system power */
+
+ [ 0x02 ] = KEY_SHUFFLE, /* exchanging arrow circle */
+ [ 0x1a ] = KEY_TV, /* TV/Radio Music */
+
+ [ 0x26 ] = KEY_VOLUMEDOWN,
+ [ 0x19 ] = KEY_TEXT,
+ [ 0x25 ] = KEY_VOLUMEUP,
+
+ [ 0x0d ] = KEY_UP,
+ [ 0x11 ] = KEY_DOWN,
+ [ 0x0e ] = KEY_LEFT,
+ [ 0x10 ] = KEY_RIGHT,
+ [ 0x0f ] = KEY_ENTER, /* OK */
+
+ [ 0x24 ] = KEY_CHANNELDOWN, /* ch- */
+ [ 0x13 ] = KEY_EXIT,
+ [ 0x23 ] = KEY_CHANNELUP, /* ch+ */
+
+ [ 0x14 ] = KEY_RED,
+ [ 0x15 ] = KEY_GREEN,
+ [ 0x16 ] = KEY_YELLOW,
+ [ 0x17 ] = KEY_BLUE,
+
+ [ 0x3a ] = KEY_RECORD,
+ [ 0x3b ] = KEY_PLAY,
+ [ 0x3c ] = KEY_STOP,
+ [ 0x12 ] = KEY_INFO, /* i */
+
+ [ 0x3d ] = KEY_REWIND, /* << */
+ [ 0x3e ] = KEY_PAUSE, /* || */
+ [ 0x3f ] = KEY_FASTFORWARD, /* >> */
+ [ 0x22 ] = KEY_EPG,
+ };
+
+ EXPORT_SYMBOL_GPL(ir_codes_tt_3200);
+
IR_KEYTAB_TYPE ir_codes_npgtech[IR_KEYTAB_SIZE] = {
[ 0x1d ] = KEY_SWITCHVIDEOMODE, /* switch inputs */
[ 0x2a ] = KEY_FRONT,
***************
else
budget_ci->ir.rc5_device = rc5_device;
break;
+ case 0x1019:
+ /* For the TT 3200 bundled remote */
+ ir_input_init(input_dev, &budget_ci->ir.state,
+ IR_TYPE_RC5, ir_codes_tt_3200);
+
+ if (rc5_device < 0)
+ budget_ci->ir.rc5_device = IR_DEVICE_ANY;
+ else
+ budget_ci->ir.rc5_device = rc5_device;
+ break;
default:
/* unknown remote */
ir_input_init(input_dev, &budget_ci->ir.state,
***************
extern IR_KEYTAB_TYPE ir_codes_encore_enltv[IR_KEYTAB_SIZE];
extern IR_KEYTAB_TYPE ir_codes_encore_enltv2[IR_KEYTAB_SIZE];
extern IR_KEYTAB_TYPE ir_codes_tt_1500[IR_KEYTAB_SIZE];
+ extern IR_KEYTAB_TYPE ir_codes_tt_3200[IR_KEYTAB_SIZE];
extern IR_KEYTAB_TYPE ir_codes_fusionhdtv_mce[IR_KEYTAB_SIZE];
extern IR_KEYTAB_TYPE ir_codes_behold[IR_KEYTAB_SIZE];
extern IR_KEYTAB_TYPE ir_codes_behold_columbus[IR_KEYTAB_SIZE];