Beiträge von scubidoo

    hi all



    try to make my new reelvdr and the problem appears


    for my remote control works i have to do this


    added this file on modprobe.d


    /etc/modprobe.d/usbhid



    and edit this file whit
    options usbhid quirks=0x15c2:0x0038:0x0004


    after this i have do to this
    sudo depmod -ae
    sudo update-initramfs -u


    but no way to the system dont charge usbhid for driver off my remote



    i test on old reelvdr and works


    on ubuntu 8.04 8.10 9.04 and 9.10 and works


    only on the new factory dvd i can acheive this


    any idea??

    what i have make to help and see




    on first try to patch i have patch whit the wrong patches



    after that i download the svn stable and patch it whit the patch yuris posted


    no errors on patching


    after that the problem was whit mysql


    apt-get install libmysqlXX-dev


    and i have compile vdr whit no errors


    copy vdr to vdr_upgrade


    after that copy vdr to /usr/sbin


    if i delete the vdr compiled by me and put vdr_upgraded to vdr i have the sd again but times to times i have a messages saying no netceiver found

    ok i already have patched the svn stable but now give me this error


    In file included from menu.c:40:
    vdrmysql.h:29:25: error: mysql/mysql.h: No such file or directory
    vdrmysql.h:60: error: âMYSQLâ has not been declared
    vdrmysql.h:61: error: âMYSQLâ has not been declared
    vdrmysql.h:77: error: âMYSQLâ has not been declared
    make: *** [menu.o] Error 1


    wen a make vdr

    i make svn up on my stable svn and try to patch it but give me error




    patching file vdr-1.4/channels.c
    Hunk #8 FAILED at 485.
    Hunk #9 succeeded at 530 (offset 8 lines).
    Hunk #10 succeeded at 628 (offset 8 lines).
    Hunk #11 succeeded at 639 (offset 8 lines).
    Hunk #12 succeeded at 649 (offset 8 lines).
    Hunk #13 succeeded at 667 (offset 8 lines).
    Hunk #14 succeeded at 696 (offset 8 lines).
    Hunk #15 succeeded at 753 (offset 8 lines).
    Hunk #16 succeeded at 817 (offset 8 lines).
    Hunk #17 succeeded at 1083 (offset 12 lines).
    1 out of 17 hunks FAILED -- saving rejects to file vdr-1.4/channels.c.rej
    patching file vdr-1.4/channels.h
    Hunk #4 FAILED at 147.
    Hunk #5 succeeded at 181 (offset 2 lines).
    Hunk #6 succeeded at 207 (offset 2 lines).
    Hunk #7 FAILED at 221.
    Hunk #8 succeeded at 276 (offset 3 lines).
    Hunk #9 succeeded at 296 (offset 3 lines).
    2 out of 9 hunks FAILED -- saving rejects to file vdr-1.4/channels.h.rej
    patching file vdr-1.4/ci.c
    patching file vdr-1.4/ci.h
    patching file vdr-1.4/device.c
    Hunk #1 succeeded at 517 (offset 1 line).
    Hunk #2 succeeded at 929 (offset 1 line).
    Hunk #3 succeeded at 949 (offset 1 line).
    Hunk #4 succeeded at 1813 (offset 1 line).
    Hunk #5 succeeded at 1848 (offset 1 line).
    patching file vdr-1.4/dvbdevice.c
    patching file vdr-1.4/dvbdevice.h
    patching file vdr-1.4/Makefile
    patching file vdr-1.4/menu.c
    Hunk #5 FAILED at 569.
    Hunk #8 succeeded at 6574 (offset 2 lines).
    Hunk #9 succeeded at 6804 (offset 34 lines).
    1 out of 9 hunks FAILED -- saving rejects to file vdr-1.4/menu.c.rej
    patching file vdr-1.4/menuitems.h
    patching file vdr-1.4/nit.c
    patching file vdr-1.4/pat.c
    patching file vdr-1.4/vdr.c
    Hunk #1 FAILED at 734.
    Hunk #2 FAILED at 1285.
    2 out of 2 hunks FAILED -- saving rejects to file vdr-1.4/vdr.c.rej

    hello all



    please tell me wy this error


    s2-liplianin/v4l/ir-keymaps.c:3045: error: 'KEY_VIDEO_NEXT' undeclared here (not in a function)
    make[3]: *** [/usr/local/src/teste/s2-liplianin/v4l/ir-keymaps.o] Error 1
    make[2]: *** [_module_/usr/local/src/teste/s2-liplianin/v4l] Error 2
    make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-15-generic'
    make[1]: *** [default] Error 2
    make[1]: Leaving directory `/usr/local/src/teste/s2-liplianin/v4l'
    make: *** [all] Error 2


    i cant compile last drivers



    help me please


    i use kubuntu 7.10

    ok problen solved



    thanks for you pacience Galaga


    let me explain how i make this runing


    i use the comand irexec


    put on my startup lirc script for running after the lirc starts


    # /etc/init.d/lircd
    #!/bin/bash
    ### BEGIN INIT INFO
    # Provides: lircd
    # Required-Start: $syslog
    # Required-Stop: $syslog
    # Should-Start: $local_fs
    # Should-Stop: $local_fs
    # Default-Start: 2 3 4 5
    # Default-Stop: 0 1 6
    # Short-Description: Starts LIRCD daemon.
    # Description: LIRCD is used to control different
    # infrared receivers and transceivers.
    ### END INIT INFO
    case "$1" in
    start)
    /usr/local/sbin/lircd --driver=default --device=/dev/lirc0 --pidfile=/var/run/lirc0.pid --listen=8765
    /usr/local/sbin/lircd --driver=default --device=/dev/lirc1 --pidfile=/var/run/lirc1.pid --output=/dev/lircd --connect=localhost:8765
    chmod a+rw /dev/lcd* /dev/lirc*
    export DISPLAY=:0
    /usr/bin/irexec -d /home/reel/.lircrc
    ;;
    stop)
    killall lircd
    killall -9 irexec
    ;;
    *)
    echo "Usage: /etc/init.d/lircd {start|stop}"
    exit 1
    ;;
    esac




    then i make a file called .lircrc on /home/reel


    and i put this config



    begin
    button = exit
    prog = irexec
    config = /etc/init.d/reelvdr restart
    end


    now wen i start the mediacenter the irexec runs on background and if i push the button exit he restart my reelvdr


    wen i choose stanby on menu the mediacenter go to stand by and restart wen i push this button


    cheers scubidoo

    Zitat

    Original von Galaga
    from Galaga


    There is also a switch in the setting menu, were you can choose if you want to have the standby/shutdown menu or if you want to go to standby directly.


    let me explain


    i have the power button configure on remote.conf


    if i press power on remote control the menu shows up and if i select poweroff the mediacenter shutdown


    if i choose stand by the mediacenter go to stand by


    wen the mediacenter is on standby if i press power button on remote control the mediacenter dont come up