yavdr 4.0; grey hauppauge remote on nova-t 500

  • I have been running a yavdr 0.4 installation for about a week with the grey (snowboard shaped) hauppauge remote working ok on the nova-t 500's remote sensor working ok. Today I updated with apt-get dist-upgrade, and now the remote doesn't work.


    I can see some keys being seen, when running irw. Eg. Ch+/- works. Some other keys seems to work but give totally wrong symbols; eg. arrow right results in KEY_ENTER, Vol +/- results in KEY_LEFT / KEY_RIGHT.


    Am thinking somehow that the codes are being interpreted as from a totally different remote? What's the correct way to debug this and to possibly manually create the correct code to key mapping file?

  • Hello,
    please post the output after running these commands:

    Code
    sudo ir-keytable
    sudo ir-keytable -r

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Sorry, it looks like the editor removes newlines in my code blocks.


    Code
    root@htpc:~# ir-keytableFound /sys/class/rc/rc0/ (/dev/input/event5) with:        Driver (null), table rc-dib0700-rc5	        Supported protocols: NEC RC-5 RC-6        Enabled protocols: RC-5        Repeat delay = 500 ms, repeat period = 33 msFound /sys/class/rc/rc1/ (/dev/input/event6) with:	        Driver (null), table rc-dib0700-rc5	        Supported protocols: NEC RC-5 RC-6         Enabled protocols: RC-5         Repeat delay = 500 ms, repeat period = 33 msroot@htpc:~#



    Code
    root@htpc:~# ir-keytable -rscancode 0x0042 = KEY_POWER (0x74)scancode 0x007d = KEY_CHANNELDOWN (0x193)scancode 0x0172 = KEY_SHUFFLE (0x19a)scancode 0x017d = KEY_VOLUMEDOWN (0x72)scancode 0x0242 = KEY_CHANNELUP (0x192)scancode 0x0342 = KEY_MUTE (0x71)scancode 0x037d = KEY_VOLUMEUP (0x73)scancode 0x0443 = KEY_2 (0x03)scancode 0x047c = KEY_CHANNEL (0x16b)scancode 0x057c = KEY_8 (0x09)scancode 0x0643 = KEY_5 (0x06)scancode 0x0700 = KEY_MUTE (0x71)scancode 0x0701 = KEY_MENU (0x8b)scancode 0x0703 = KEY_VOLUMEUP (0x73)scancode 0x0706 = KEY_CHANNELUP (0x192)scancode 0x0709 = KEY_VOLUMEDOWN (0x72)scancode 0x070c = KEY_CHANNELDOWN (0x193)scancode 0x070f = KEY_1 (0x02)scancode 0x0710 = KEY_3 (0x04)scancode 0x0711 = KEY_7 (0x08)scancode 0x0712 = KEY_9 (0x0a)scancode 0x0715 = KEY_2 (0x03)scancode 0x0718 = KEY_4 (0x05)scancode 0x071b = KEY_5 (0x06)scancode 0x071e = KEY_6 (0x07)scancode 0x0721 = KEY_8 (0x09)scancode 0x0724 = KEY_SCREEN (0x177)scancode 0x0727 = KEY_0 (0x0b)scancode 0x072a = KEY_TEXT (0x184)scancode 0x072d = KEY_REWIND (0xa8)scancode 0x0730 = KEY_PLAY (0xcf)scancode 0x0733 = KEY_FASTFORWARD (0xd0)scancode 0x0736 = KEY_RECORD (0xa7)scancode 0x0739 = KEY_POWER (0x74)scancode 0x073c = KEY_STOP (0x80)scancode 0x073f = KEY_CANCEL (0xdf)scancode 0x0743 = KEY_0 (0x0b)scancode 0x077c = KEY_TUNER (0x182)scancode 0x0840 = KEY_SCREEN (0x177)scancode 0x097f = KEY_6 (0x07)scancode 0x0a40 = KEY_9 (0x0a)scancode 0x0b70 = KEY_RECORD (0xa7)scancode 0x0b7f = KEY_3 (0x04)scancode 0x0c41 = KEY_1 (0x02)scancode 0x0c4e = KEY_PLAYPAUSE (0xa4)scancode 0x0d7e = KEY_7 (0x08)scancode 0x0e41 = KEY_4 (0x05)scancode 0x0e4e = KEY_CLEAR (0x163)scancode 0x0f41 = KEY_LAST (0x195)scancode 0x0f4e = KEY_PRINT (0xd2)scancode 0x0f71 = KEY_DOT (0x34)scancode 0x1d00 = KEY_0 (0x0b)scancode 0x1d01 = KEY_1 (0x02)scancode 0x1d02 = KEY_2 (0x03)scancode 0x1d03 = KEY_3 (0x04)scancode 0x1d04 = KEY_4 (0x05)scancode 0x1d05 = KEY_5 (0x06)scancode 0x1d06 = KEY_6 (0x07)scancode 0x1d07 = KEY_7 (0x08)scancode 0x1d08 = KEY_8 (0x09)scancode 0x1d09 = KEY_9 (0x0a)scancode 0x1d0a = KEY_TEXT (0x184)scancode 0x1d0d = KEY_MENU (0x8b)scancode 0x1d0f = KEY_MUTE (0x71)scancode 0x1d10 = KEY_VOLUMEUP (0x73)scancode 0x1d11 = KEY_VOLUMEDOWN (0x72)scancode 0x1d12 = KEY_CHANNEL (0x16b)scancode 0x1d14 = KEY_UP (0x67)scancode 0x1d15 = KEY_DOWN (0x6c)scancode 0x1d16 = KEY_LEFT (0x69)scancode 0x1d17 = KEY_RIGHT (0x6a)scancode 0x1d1c = KEY_TV (0x179)scancode 0x1d1e = KEY_NEXT (0x197)scancode 0x1d1f = KEY_BACK (0x9e)scancode 0x1d20 = KEY_CHANNELUP (0x192)scancode 0x1d21 = KEY_CHANNELDOWN (0x193)scancode 0x1d24 = KEY_LAST (0x195)scancode 0x1d25 = KEY_OK (0x160)scancode 0x1d30 = KEY_PAUSE (0x77)scancode 0x1d32 = KEY_REWIND (0xa8)scancode 0x1d34 = KEY_FASTFORWARD (0xd0)scancode 0x1d35 = KEY_PLAY (0xcf)scancode 0x1d36 = KEY_STOP (0x80)scancode 0x1d37 = KEY_RECORD (0xa7)scancode 0x1d3b = KEY_GOTO (0x162)scancode 0x1d3d = KEY_POWER (0x74)scancode 0x1e00 = KEY_0 (0x0b)scancode 0x1e01 = KEY_1 (0x02)scancode 0x1e02 = KEY_2 (0x03)scancode 0x1e03 = KEY_3 (0x04)scancode 0x1e04 = KEY_4 (0x05)scancode 0x1e05 = KEY_5 (0x06)scancode 0x1e06 = KEY_6 (0x07)scancode 0x1e07 = KEY_7 (0x08)scancode 0x1e08 = KEY_8 (0x09)scancode 0x1e09 = KEY_9 (0x0a)scancode 0x1e0a = KEY_KPASTERISK (0x37)scancode 0x1e0b = KEY_RED (0x18e)scancode 0x1e0c = KEY_RADIO (0x181)scancode 0x1e0d = KEY_MENU (0x8b)scancode 0x1e0e = KEY_GRAVE (0x29)scancode 0x1e0f = KEY_MUTE (0x71)scancode 0x1e10 = KEY_VOLUMEUP (0x73)scancode 0x1e11 = KEY_VOLUMEDOWN (0x72)scancode 0x1e12 = KEY_CHANNEL (0x16b)scancode 0x1e14 = KEY_UP (0x67)scancode 0x1e15 = KEY_DOWN (0x6c)scancode 0x1e16 = KEY_LEFT (0x69)scancode 0x1e17 = KEY_RIGHT (0x6a)scancode 0x1e18 = KEY_VIDEO (0x189)scancode 0x1e19 = KEY_AUDIO (0x188)scancode 0x1e1a = KEY_MEDIA (0xe2)scancode 0x1e1b = KEY_EPG (0x16d)scancode 0x1e1c = KEY_TV (0x179)scancode 0x1e1e = KEY_NEXT (0x197)scancode 0x1e1f = KEY_BACK (0x9e)scancode 0x1e20 = KEY_CHANNELUP (0x192)scancode 0x1e21 = KEY_CHANNELDOWN (0x193)scancode 0x1e24 = KEY_LAST (0x195)scancode 0x1e25 = KEY_OK (0x160)scancode 0x1e29 = KEY_BLUE (0x191)scancode 0x1e2e = KEY_GREEN (0x18f)scancode 0x1e30 = KEY_PAUSE (0x77)scancode 0x1e32 = KEY_REWIND (0xa8)scancode 0x1e34 = KEY_FASTFORWARD (0xd0)scancode 0x1e35 = KEY_PLAY (0xcf)scancode 0x1e36 = KEY_STOP (0x80)scancode 0x1e37 = KEY_RECORD (0xa7)scancode 0x1e38 = KEY_YELLOW (0x190)scancode 0x1e3b = KEY_GOTO (0x162)scancode 0x1e3d = KEY_POWER (0x74)scancode 0xeb01 = KEY_POWER (0x74)scancode 0xeb02 = KEY_1 (0x02)scancode 0xeb03 = KEY_2 (0x03)scancode 0xeb04 = KEY_3 (0x04)scancode 0xeb05 = KEY_4 (0x05)scancode 0xeb06 = KEY_5 (0x06)scancode 0xeb07 = KEY_6 (0x07)scancode 0xeb08 = KEY_7 (0x08)scancode 0xeb09 = KEY_8 (0x09)scancode 0xeb0a = KEY_9 (0x0a)scancode 0xeb0b = KEY_VIDEO (0x189)scancode 0xeb0c = KEY_0 (0x0b)scancode 0xeb0d = KEY_REFRESH (0xad)scancode 0xeb0f = KEY_EPG (0x16d)scancode 0xeb10 = KEY_UP (0x67)scancode 0xeb11 = KEY_LEFT (0x69)scancode 0xeb12 = KEY_OK (0x160)scancode 0xeb13 = KEY_RIGHT (0x6a)scancode 0xeb14 = KEY_DOWN (0x6c)scancode 0xeb16 = KEY_INFO (0x166)scancode 0xeb17 = KEY_RED (0x18e)scancode 0xeb18 = KEY_GREEN (0x18f)scancode 0xeb19 = KEY_YELLOW (0x190)scancode 0xeb1a = KEY_BLUE (0x191)scancode 0xeb1b = KEY_CHANNELUP (0x192)scancode 0xeb1c = KEY_VOLUMEUP (0x73)scancode 0xeb1d = KEY_MUTE (0x71)scancode 0xeb1e = KEY_VOLUMEDOWN (0x72)scancode 0xeb1f = KEY_CHANNELDOWN (0x193)scancode 0xeb40 = KEY_PAUSE (0x77)scancode 0xeb41 = KEY_HOME (0x66)scancode 0xeb42 = KEY_MENU (0x8b)scancode 0xeb43 = KEY_SUBTITLE (0x172)scancode 0xeb44 = KEY_TEXT (0x184)scancode 0xeb45 = KEY_DELETE (0x6f)scancode 0xeb46 = KEY_TV (0x179)scancode 0xeb47 = KEY_DVD (0x185)scancode 0xeb48 = KEY_STOP (0x80)scancode 0xeb49 = KEY_VIDEO (0x189)scancode 0xeb4a = KEY_AUDIO (0x188)scancode 0xeb4b = KEY_SCREEN (0x177)scancode 0xeb4c = KEY_PLAY (0xcf)scancode 0xeb4d = KEY_BACK (0x9e)scancode 0xeb4e = KEY_REWIND (0xa8)scancode 0xeb4f = KEY_FASTFORWARD (0xd0)scancode 0xeb54 = KEY_PREVIOUS (0x19c)scancode 0xeb58 = KEY_RECORD (0xa7)scancode 0xeb5c = KEY_NEXT (0x197)Enabled protocols: RC-5
  • Please stop eventlircd, press the wrong mapped buttons and post the results (please add which key should have been pressed):

    Code
    sudo stop eventlircd
    sudo ir-keytable -t
    # press buttons

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • I don't get any output with ir-keytable -r, that's the weird thing. Even the ch+/- keys that works doesn't give any output. Could it be that VDR gets those keys through the normal keyboard input system?


    Lirc is disabled in the web based interface.


    I just had a look at /etc/rc_maps.cfg. Could there be a missing mapping in that file?

  • Do you have two nova-t 500 in your system?
    Does this show keypresses?

    Code
    sudo stop eventlircd
    sudo ir-keytable -t -d /dev/input/event6

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • and /dev/input/event5 does also give no output?

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Please copy the attached file to /lib/udev/rc_keymaps/nova-t and try to load it: nova-t.txt

    Code
    sudo ir-keytable -w /lib/udev/rc_keymaps/nova-t


    Does this lead to recognized key presses after

    Code
    sudo stop eventlird
    sudo start eventlircd
    sudo irw

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Correct. No output on either. I'm thinking maybe that the apt-get dist-upgrade I did somehow might have disabled rc polling on the dvb_usb kernel module.


    Is the /etc/rc_maps.cfg file not relevant at all for this problem?

  • it seems that rc_core is not able to specify an appropriate driver for your cards.
    /etc/rc_maps.cfg allows you to load custom keymaps based on the recognized driver.
    Does the keymap I posted work for you?
    Which modules were loaded for your cards (lsmod)?

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • No that keymap didn't change anything.


    Code
    root@htpc:~# lsmod  | grep dvbdvb_usb_dib0700        87922  27 dib7000p               28386  1 dvb_usb_dib0700dib0090                23738  1 dvb_usb_dib0700dib7000m               27555  1 dvb_usb_dib0700dib0070                18422  1 dvb_usb_dib0700dvb_usb                24290  1 dvb_usb_dib0700dib8000                37910  1 dvb_usb_dib0700dvb_core              110487  3 dib7000p,dvb_usb,dib8000dib3000mc              23362  5 dvb_usb_dib0700rc_core                26918  11 rc_dib0700_rc5,ir_lirc_codec,dvb_usb_dib0700,ir_sony_decoder,ir_jvc_decoder,dvb_usb,ir_rc6_decoder,ir_rc5_decoder,ir_nec_decoder
  • What ist the output of evtest (has to be installed by "sudo apt-get install evtest") after stopping eventlircd:

    Code
    sudo stop eventlircd
    sudo evtest /dev/input/event<X> # insert proper event device for <X> - e.g. 5 or 6


    Are key presses recognized?

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Since the update that changed this probably was a yavdr-x package, is there a place I can find a dated list of updates of those packages somewhere?


    I'm coming from an rpm background, so my knowledge of apt-get and dpkg is somewhat limited.

  • rc-core is either provided by your kernel (maybe a newer kernel version was installed when updating yaVDR) or by v4l-dvb-dkms (if installed).
    If "dpkg -s v4l-dvb-dkms" does not show an installed version you might give it a try because it's newer than the version of rc-core provided by the kernel.

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Looks like the nova-t 500 requires a hard boot every time in order to have functioning rc5 remote control input.


    This is with the v4l-dvb-dkms package installed. Even reloading using ir-keytable -c/-w doesn't work either, so I assume it's a kernel module issue.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!