[HOW-TO] Einrichtung Zotac Remote (ID82, AD10 etc.)

  • Ich hab schon einige Zeit gesucht wie ich alle Tasten meiner Zotac Fernbedienung nutzen kann.
    [Blockierte Grafik: http://techreport.com/r.x/zotac-zbox-nano/remote.jpg]
    Die Ferni wird wie folgt erkannt:

    Code
    xbmc@ubuntu:/$ lsusb
    Bus 003 Device 002: ID 0471:20cc Philips (or NXP)


    Das Problem läst sich mit einer gepatchten LIRC Version lösen: (getestet mit Ubuntu 12.10. / 12.04. Kernel 3.5 & 3.17.4 / XBMC Frodo / Gotham)


    *** Wichtig für yaVDR > 0.5 ***
    für yaVDR ist dieser Thread hier zu beachten:


    Ist wenig verwunderlich - das ist ein dummes HID-Gerät...
    Es gibt einen Würgaround über lirc:
    PHILIPS MCE USB IR Receiver- Spinel plus: Nicht alle Tasten funktionieren



    Major references:
    http://ben.periton.co.uk/2012/…otac-zbox-remote-control/
    Note: I had some frustrating issues with the Howto above, so i'll provide the same version with some important mentions and corrections
    http://forum.xbmc.org/showthread.php?tid=133071&page=2


    Follow carefully theses steps:
    Plug the external USB IR receiver
    If "LIRC" is already installed

    Code
    sudo dpkg -l | grep lirc


    , uninstall it:

    Code
    sudo apt-get autoremove --purge lirc


    Nachtrag: Bei installierten LIRC bsp.: von yaVDR muss der Befehl 2x abgesetzt werden

    Code
    sudo apt-get autoremove --purge lirc / bzw.: sudo apt-get autoremove


    IMPORTANT TO AVOID ISSUES: Ensure the original LIRC init script does not exist:

    Code
    sudo rm /etc/init.d/lirc


    Install some requirements:

    Code
    sudo apt-get install automake dialog libtool


    Nachtrag: im FernetMenta GIT gibt es eine neuere Version die noch sudo apt-get install make help2man pkg-config erfordert



    IMPORTANT TO AVOID ISSUES: Avoid the kernel from loading the module "ite_cir" that manages the internal IR
    Note: On some systems (i had the case under Xubuntu 12.04) if you don't do that you may go in great troubles with latency and crazy repeating keys when using the remote.


    Edit "/etc/modprobe.d/blacklist.conf" and add the following line at the end of the file:

    Code
    blacklist ite_cir


    Download and extract Fermenta's LIRC:

    Code
    wget https://github.com/FernetMenta/lirc/tarball/master -O lirc.tar.gz
    tar -xvf lirc.tar.gz
    cd <EXTRACTED DIR>


    Configure and install, when running setup.sh, select driver zotac under usb, save & configure:

    Code
    ./autogen.sh
    ./setup.sh
    make
    sudo make install


    Nachtrag: Ich bekomme das neue LIRC leider nicht gebaut. make install wird bei mir nicht erfolgreich ausgeführt.
    Es werden zwar die neuen Dateien kopiert, LIRC aber nicht installiert.
    Das ist aber soweit kein Problem da die neuen Dateien lircrcd, lircd und lircmd trotzdem erzeugt werden und funktionieren.
    Hier zum Querlesen eine andere herangehensweise für yaVDR: http://www.vdr-portal.de/board…2-plus-mit-fernbedienung/


    Create links in /usr/sbin:

    Code
    cd /usr/sbin
    sudo ln -s ../local/sbin/lircd lircd
    sudo ln -s ../local/sbin/lircmd lircmd


    Set LIRC to launch at system startup (with good options) :
    Create "/etc/udev/rules.d/85-xbmc.rules":

    Code
    #Remote Control
    SUBSYSTEM=="usb" , ATTRS{idVendor}=="0471", ATTRS{idProduct}=="20cc", SYMLINK+="remote", ACTION=="add", RUN+="/sbin/initctl --quiet emit --no-wait ir-ready"


    Nachtrag: bei neueren Kernel >3.5.x muss SUBSYSTEM=="usbmisc" eingesetzt werden (bei mir geht es nur so unter Kernel 3.17.4)


    Create "/etc/init/lirc.conf":



    Stop X11 from registering the device as a keyboard:


    *** IMPORTANT REMARK ***
    Xorg upgrades will break this!
    In case you later upgrade your system, you really should ensure the file "/usr/share/X11/xorg.conf.d/10-evdev.conf" hasn't been overwritten.
    If it has been overwritten, simply re-do the step bellow. (if you don't you will go in troubles)


    Edit "/usr/share/X11/xorg.conf.d/10-evdev.conf" and add the following section at the beginning of the file:

    Code
    Section "InputClass"
      Identifier "PHILIPS MCE USB IR Receiver- Spinel plus"
      MatchProduct "PHILIPS MCE USB IR Receiver- Spinel plus"
      MatchIsKeyboard "true"
      Option "Ignore" "true"
    EndSection


    Configure several files as follow:


    Replace "/etc/lirc/hardware.conf":


    Replace "/etc/lirc/lircd.conf":


    Create "~/.xbmc/userdata/Lircmap.xml" as your XBMC user:


    REBOOT
    And finally test your remote control, everything should be working like a charm!


    Quelle: http://youresuchageek.blogspot…nfig-howto-for-linux.html
    Und hier der Thread dazu: http://forum.xbmc.org/showthread.php?tid=133071

    VDR1: Antec New Solution NSK2480 mit Asrock K10N78M Pro | 2GB Ram | GeForce 8200 |AMD Athlon x2 250 | Ferni: Harmony 200 + IRF Media W-01RN | Display: Futaba mdm166a | Terratec Cinergy 1200 & Skystar 2 DVB-S | yaVDR 0.6.1 Kernel 3.19
    VDR2: ESPRIMO E5625 | 4GB Ram | GeForce 8200 | AMD Sempron LE-1250 2,2GHz | Ferni: 0471:20cc | yaVDR 0.6.1 Kernel 3.13

    VDR3: ESPRIMO E720 | 8GB Ram | GeForce GT730 2GB | INTEL PENTIUM Core G3220 CPU 2x 3,0GHz | Ferni: 0471:20cc | Sundtek DVB-C | yaVDR 0.6.1 Kernel 4.4 / LibreELEC 8.1.2 Dualboot

    5 Mal editiert, zuletzt von atgis ()

Jetzt mitmachen!

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