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.
diff -rc v4l-dvb-41d2c77ae71f/linux/drivers/media/common/ir-keymaps.c /usr/src/v4l-dvb/linux/drivers/media/common/ir-keymaps.c *** v4l-dvb-41d2c77ae71f/linux/drivers/media/common/ir-keymaps.c Sun May 24 05:46:01 2009 --- /usr/src/v4l-dvb/linux/drivers/media/common/ir-keymaps.c Sun May 24 15:31:23 2009 *************** *** 1761,1766 **** --- 1761,1819 ---- 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, diff -rc v4l-dvb-41d2c77ae71f/linux/drivers/media/dvb/ttpci/budget-ci.c /usr/src/v4l-dvb/linux/drivers/media/dvb/ttpci/budget-ci.c *** v4l-dvb-41d2c77ae71f/linux/drivers/media/dvb/ttpci/budget-ci.c Sun May 24 05:46:01 2009 --- /usr/src/v4l-dvb/linux/drivers/media/dvb/ttpci/budget-ci.c Sun May 24 15:34:16 2009 *************** *** 252,257 **** --- 252,267 ---- 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, diff -rc v4l-dvb-41d2c77ae71f/linux/include/media/ir-common.h /usr/src/v4l-dvb/linux/include/media/ir-common.h *** v4l-dvb-41d2c77ae71f/linux/include/media/ir-common.h Sun May 24 05:46:01 2009 --- /usr/src/v4l-dvb/linux/include/media/ir-common.h Sun May 24 14:06:54 2009 *************** *** 148,153 **** --- 148,154 ---- 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];
_______________________________________________ vdr mailing list vdr@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr