>> Hi group. >> >> I have a Hauppauge WinTV NovaT card with the wired IR recevier and remote >> control. >> >> I can only get some of the remote keys to work, specifically the number >> keys. >> >> when I've modprobed cx88-dvb, I "tail -f /dev/input/event0" and hit some >> keys - I only get a response on the number keys. >> >> Similarly if I run VDR with the -P'remote -i /dev/input/event0' plugin it >> can only recognise number keys, not anything else. >> >> >> Am I doing something wrong? Can anyone shed any light on this? >> >> >> Thanks >> >> Simon >> > > Posted some days ago by Mika Kesniken, but I've not yet tried it. > http://weeti.usr.fi/beef/ir-common.c.new_hauppauge_remote.diff > > Someone also posted this other patch a while ago that I tried and got the > same results you are having.... <<snip>> I've made 2 more keys work! Below are the bits out of my ir-common-c file and below below that are the codes I get when I 'tail -f /dev/input/event0' IR_KEYTAB_TYPE ir_codes_hauppauge_new[IR_KEYTAB_SIZE] = { [ 0x00 ] = KEY_KP0, // 0 [ 0x01 ] = KEY_KP1, // 1 [ 0x02 ] = KEY_KP2, // 2 [ 0x03 ] = KEY_KP3, // 3 [ 0x04 ] = KEY_KP4, // 4 [ 0x05 ] = KEY_KP5, // 5 [ 0x06 ] = KEY_KP6, // 6 [ 0x07 ] = KEY_KP7, // 7 [ 0x08 ] = KEY_KP8, // 8 [ 0x09 ] = KEY_KP9, // 9 [ 0x0a ] = KEY_KPASTERISK, // * [ 0x0e ] = KEY_KPDOT, // # [ 0x0b ] = KEY_RED, // red button [ 0x0c ] = KEY_OPTION, // black key without text [ 0x0d ] = KEY_MENU, // menu [ 0x0e ] = KEY_KPDOT, // # [ 0x0f ] = KEY_MUTE, // mute [ 0x18 ] = KEY_VIDEO, // Videos [ 0x19 ] = KEY_AUDIO, // Music [ 0x10 ] = KEY_VOLUMEUP, // volume + [ 0x11 ] = KEY_VOLUMEDOWN, // volume - [ 0x12 ] = KEY_CHANNEL, // Prev. Channel [ 0x14 ] = KEY_UP, // UP Arrow [ 0x15 ] = KEY_DOWN, // DOWN Arrow [ 0x16 ] = KEY_LEFT, // LEFT Arrow [ 0x17 ] = KEY_RIGHT, // RIGHT Arrow [ 0x1a ] = KEY_DIRECTORY, // Pictures [ 0x1b ] = KEY_EPG, // Guide [ 0x1c ] = KEY_TUNER, // TV [ 0x1e ] = KEY_NEXT, // skip >| [ 0x1f ] = KEY_EXIT, // back/exit [ 0x20 ] = KEY_CHANNELUP, // channel / program + [ 0x21 ] = KEY_CHANNELDOWN, // channel / program - [ 0x22 ] = KEY_CHANNEL, // source (old black remote) [ 0x24 ] = KEY_PREVIOUS, // replay |< [ 0x25 ] = KEY_ENTER, // OK [ 0x26 ] = KEY_SLEEP, // minimize (old black remote) [ 0x29 ] = KEY_BLUE, // blue key [ 0x2e ] = KEY_GREEN, // green button [ 0x30 ] = KEY_PAUSE, // pause [ 0x32 ] = KEY_REWIND, // backward << [ 0x34 ] = KEY_FASTFORWARD, // forward >> [ 0x35 ] = KEY_PLAY, // play [ 0x36 ] = KEY_STOP, // stop [ 0x37 ] = KEY_RECORD, // recording [ 0x38 ] = KEY_YELLOW, // yellow key [ 0x3b ] = KEY_SELECT, // top right button [ 0x3c ] = KEY_ZOOM, // full [ 0x3d ] = KEY_POWER, // system power (green button) }; EXPORT_SYMBOL(ir_codes_hauppauge_new); and the recorded key stroke responses : Back/Exit, Menu, REW, PLAY, FF, REC, STOP = all equal "^@" 1 = ^[[4~ 2 = ^[[B 3 = ^[[6~ 4 = ^[[D 5 = ^[[G 6 = ^[[C 7 = ^[[1~ 8 = ^[[A 9 = ^[[5~ 0 = ^[[2~ LEFT = ^[[26~ RIGHT = (nothing) UP = (nothing) DOWN = (nothing) RED = (nothing) GREEN = (nothing) YELLOW = (nothing) BLUE = (nothing) MUTE = ^[[25~ (blank) = (nothing) Full = (nothing) Replay = (nothing) Skip = (nothing) Go = (nothing) Power (green) = (nothing) How do I see what the remote is being registered as? I see in ir-common.c there are mappings for IR_KEYTAB_TYPE ir_codes_hauppauge_new[IR_KEYTAB_SIZE] = { IR_KEYTAB_TYPE ir_codes_rc5_tv[IR_KEYTAB_SIZE] = { IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTAB_SIZE] = { dmesg just says cx88[0]: registered IR remote control what will select the keymap?? Simon