YaVDR 0.4 + Hauppauge remote

  • Hi,

    1st, sorry for writing in English.

    I've YaVDR 0.4 (updated) running and configured my remote via the web frontend.I choosed the Hauppauge DVBs option.

    It works fine, except 2 very important keys: OK and Power.

    IRW reports all button correctly.

    With YaVDR 0.3, I was able to use my remote.conf and it worked just fine.

    Now, with 0.4, it doesn't work.

    Any idea how to get it working?

    Thx in advance.

  • Hi,
    what TV-card do you use? In yaVDR 0.4 there were many changes regarding remote control. Please deactivate lirc-support via the web-frontend and post the output of these commands:

    Code
    cat /proc/bus/input/devices
    sudo ir-keytable
    # if there was an output by the previous command do:
    sudo ir-keytable -r
    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • thx for the quick reply.

    tv card: hauppauge WinTV-NOVA-HD-S2

    devices:


    ir-keytable

    Edited once, last by ultravox (March 14, 2012 at 10:36 PM).

  • the name of the remote-keys have to be changed in your ir-keytable.

    your KEY_POWER must be renamed to KEY_POWER2
    But I don't know whats the problem with your KEY_OK.

    Maybe you can do the following:

    Code
    sudo stop eventlircd
    sudo ir-keytable -t


    now press the ok-button on your remote (and to get sure press also your power-key).
    and check if the correct events KEY_OK and KEY_POWER2 are shown

    MyVDR: yaVDR-Ansible (Ubuntu 20) - softhddevice-openglosd (ffmpeg 2.8) - epgd/epg2vdr - skindesigner estuary4vdr (adaptiert) - 1920x1080@50 Hz | kodi 21 - xstream
    Aerocube M40 | 300W | ASRock H61M-GE | Intel G530 | Asus ENGT520 | 2 x TT-budget S2-3200 | ASRock Smart Remote (CIR) | 4 GB RAM | 120 GB SSD | 3 TB HDD

  • additionally please post the output of a simple "sudo ir-keytable" so I do know whicht keytable has to be changed.

    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • as requested:

    Code
    Found /sys/class/rc/rc0/ (/dev/input/event5) with:
            Driver cx88xx, table rc-rc5-hauppauge-new
            Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC 
            Enabled protocols: NEC RC-5 RC-6 JVC SONY LIRC 
            Repeat delay = 500 ms, repeat period = 33 ms
    Code
    1331761155.826550: event MSC: scancode = 1e25
    1331761156.068122: event key up: KEY_ENTER (0x001c)
    1331761156.068147: event sync
    1331761162.594758: event MSC: scancode = 1e3d
    1331761162.594783: event key down: KEY_POWER (0x0074)
    1331761162.594785: event sync

    cheers

    Edited once, last by ultravox (March 14, 2012 at 10:43 PM).

  • Hi, try the script I posted here: Hilfsskript für rc-core Empfänger
    After running it in set mode:

    Code
    sudo ./list-rc-core.sh set


    Edit the newly created /etc/rc_keymaps/rc-rc5-hauppauge-new so it uses RC-5 only

    Code
    # table rc-rc5-hauppauge-new, type: RC-5

    and rename the non-functional keys:

    Code
    0x1e25 = KEY_ENTER


    to

    Code
    0x1e25 = KEY_OK


    and

    Code
    0x1e3d = KEY_POWER


    to

    Code
    0x1e3d = KEY_POWER2


    Then reboot or activate the new keytable by

    Code
    sudo ir-keytable -w  /etc/rc_keymaps/rc-rc5-hauppauge-new
    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • The problem must be due to the fact that KEY_OK and KEY_POWER have to entries on the keytable.


    The problem is caused by our special key namespace. I will try to include the necessary changes to our keymaps - are there any other keys that don't work as exspected?

    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • The top keys are not assigned: TV, Video, Music and Pictures.

    For 0.3 I had those keys assgned to some other functions. Not a big issue.

    I'm moving my setup to a Nox media with LCD and Imon. A new chanlange waits me :p

  • You could use an entry in /etc/lirc/lircrc like this - KEY_DVD has to be replaced by the keyname that is delivered when pressing the TV Button:

    Code
    begin
        prog = irexec
        button = KEY_DVD
        config = /usr/share/vdr/menuorg-appswitcher standalone=yes app=xbmc
    end

    After restarting irexec (or after a reboot) the assigned key should start XBMC.

    Meine VDRs

    VDR 1: Point of View Ion-330-1, 2x Sundtek MediaTV Pro (DVB-C), Atric IR-Einschalter Rev.5, Ubuntu 18.04 (yavdr-ansible)
    VDR 2: Acer Revo 3610, Pinnacle PCTV SAT 452e, Medion X10, yaVDR 0.6
    VDR 3: Intel DH67BL, Celeron 540, 4 GB Ram, POV Geforce GT 1030, Ubuntu 18.04 (yavdr-ansible), VDR 2.4.1, CIR-Empfänger
    Client 1: Raspberry Pi 2, Arch Linux ARM, VDR 2.3.8
    vdr-epg-daemon auf Cubietruck mit 32 GB SSD, Arch Linux ARM

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!