Beiträge von DrBoon

    Ok, jetzt bin ich am verzweifeln,


    Ich hab das runvdr-script testweise erweitert, damit alle USB-Geräte auf gar keinen Fall in Standby gehen dürfen:

    Code
    for i in `find /sys/module/usbcore/drivers/usb\:usb/ -name "?-?"` ; do echo -n on > $i/power/level ; done
            for i in `find /sys/module/usbcore/drivers/usb\:usb/ -name "?-?"` ; do echo -n -1 > $i/power/autosuspend ; done
            for i in `find /sys/module/usbcore/drivers/usb\:usb/ -name "usb?"` ; do echo -n on > $i/power/level ; done
            for i in `find /sys/module/usbcore/drivers/usb\:usb/ -name "usb?"` ; do echo -n -1 > $i/power/autosuspend ; done


    Status der Geräte ist auch dementsprechend gesetzt:
    for i in `find /sys/module/usbcore/drivers/usb\:usb/ -name "?-?"` ; do echo $i ; cat $i/power/autosuspend ; cat $i/power/level ; done


    for i in `find /sys/module/usbcore/drivers/usb\:usb/ -name "usb?"` ; do echo $i ; cat $i/power/autosuspend ; cat $i/power/level ; done


    und trotzdem:

    Code
    usb 3-1: USB disconnect, address 2
    cx24116_firmware_ondemand: Waiting for firmware upload (dvb-fe-cx24116.fw)...
    firmware: requesting dvb-fe-cx24116.fw
    cx24116_firmware_ondemand: Waiting for firmware upload(2)...
    cx24116_cmd_execute() Firmware not responding
    cx24116_firmware_ondemand: Writing firmware to device failed
    cx24116_firmware_ondemand: Firmware upload failed
    cx24116_cmd_execute(): Unable initialise the firmware
    dvb-usb: could not submit URB no. 0 - get them all back


    bzw in den Logs:


    Hat hier wirklich keiner ne Idee, was ich noch probieren könnte?

    is there a way to implement it like:


    Code
    AddCat1 = Home Automation {
    CatType = Fhem
    AddButton1 = Garage; /path/to/statusfile ; img/off.gif ; img/on.gif ; togglescript
    AddButton2 = Light ; /path/to/statusfile2 ; img/off.gif; img/on.gif ; togglescript2 
    }


    And build it in "home" with
    if /path/to/statusfile: img/on.gif else: img/off.gif ... on click togglescript


    ^^ CatType opened the way to serious Plugins
    * calling simple http-sides
    * Remote-controlls
    * different button types ( like scrollbars ).
    , and the script-actions not your problem. ?

    Sounds great.


    Is not a big thing, it should principally simply call a commandline-script when clicked. In second it should show a diffrent picture when a file exist. Not a great thing.


    "Open Garage,http://127.0.0.1:7072?action=parameter" does not work. it needs the Commandline call: "printf \"/usr/src/fhem-4.8/fhem.pl 127.0.0.1:7072 \\\"set swz011 off\\\"\" |at now" and the showing state!


    Best thing ( i think ) simply to call a "user defined" - php-include


    ... my problem is, that i don't understand the building of the "home" - page ... and that is needed for the different images.


    eg:
    Category = Home Automation
    Button 1 = Garage ( image when statusfile exist - or - otherimage when statusfile not exist ) + ( call userdefinedbutton1.sh when clicked )



    edit

    Code
    AddCat1 = Home Automation {
    CatType = Fhem
    AddButton1 = Garage; /path/to/statusfile ; img/off ; img/on ; togglescript
    AddButton2 = Light ; /path/to/statusfile2 ; img/off; img/on ; togglescript2 
    }


    ...


    ^^ seems that it must be a patch.


    The Status ( on/off - open/close ) is equally important to the Toggle-Function.


    The naming for calls, and how it calls is your thing.



    Hmm, Tricky.



    Thank you. ( and sorry for my ugly english ).

    now i have the following packages installed, and it works:


    Code
    # rpm -qa |grep php5
    php5-zlib-5.2.12-0.1.1
    php5-5.2.12-0.1.1
    php5-json-5.2.12-0.1.1
    apache2-mod_php5-5.2.12-0.1.1


    php5-json and php5-zlib seems to be needed.


    SuSE:

    Code
    # yast -i php5-json php5-zlib ; rcapache2 restart

    or if you use smart

    Code
    # smart install php5-json php5-zlib ; rcapache2 restart



    mentox: Can you validate this?

    Yeah,


    I intall some php5-extensions, and IT WORKS!


    Code
    php5-zlib php5-zip php5-xmlwriter php5-xmlrpc php5-xmlreader php5-wddx php5-tokenizer php5-tidy php5-sysvshm php5-sysvmsg php5-suhosin php5-sqlite php5-soap php5-shmop php5-readline php5-pspell php5-posix php5-mcrypt php5-pear php5-json php5-iconv php5-gettext  php5-fastcgi php5-devel php5-exif php5-ctype php5-bz2


    ^^ Which one is needed?

    Hi Folks,


    Ich habe 2 TeVii S650 per USB (ohne Hub) an den VDR angeschlossen, jetzt hab ich das Problem, das immer mal eine von beiden Offline geht, und nicht mehr hoch kommt.


    Ich weis, das zu diesem Thema schon diverse Threats existieren, leider konnte ich keine (funktionierende) Lösung finden.



    laden klappt:


    irgendwann dann:

    Code
    usb 3-1: USB disconnect, address 2
    cx24116_firmware_ondemand: Waiting for firmware upload (dvb-fe-cx24116.fw)...
    firmware: requesting dvb-fe-cx24116.fw
    cx24116_firmware_ondemand: Waiting for firmware upload(2)...
    cx24116_cmd_execute() Firmware not responding
    cx24116_firmware_ondemand: Writing firmware to device failed
    cx24116_firmware_ondemand: Firmware upload failed
    cx24116_cmd_execute(): Unable initialise the firmware
    dvb-usb: could not submit URB no. 0 - get them all back
    dvb-usb: could not submit URB no. 0 - get them all back


    in den vdr-logs:

    Code
    Mar 30 09:16:42 vdr vdr: [4163] ERROR: frontend 0/0: Kein passendes Gerät gefunden


    Ich habe versucht das Autosuspend abzuschalten ( soll ja zumindest bei der S660 helfen, also hab ich in die /etc/modprobe.conf eingetragen:


    Code
    options usbcore autosuspend=-1


    Wenn ich jetzt nach nem Systemneustart nachsehe, wie die Parameter gesetzt sind scheint alles zu passen:


    Code
    # cat /sys/module/usbcore/drivers/usb\:usb/3-1/power/autosuspend
    -1


    An den Verbindungskabeln kanns nicht liegen.


    Hat jemand noch nen Tip für mich übrig?

    hmm,


    I try a new git installation ...


    Code
    # rm istreamdev -R
    # git clone git://projects.vdr-developer.org/istreamdev.git
    # chwon wwwrun:www istreamdev -R


    Code
    [Tue Mar 30 08:22:13 2010] [error] [client 88.79.85.86] PHP Notice:  Undefined variable: min_symlinks in /srv/www/vhosts/fhem/www/istreamdev/min/index.php on line 32, referer: http://mimmiomi.mine.nu/istreamdev/index.php
    [Tue Mar 30 08:22:15 2010] [error] [client 88.79.85.86] PHP Warning:  Call-time pass-by-reference has been deprecated in /srv/www/vhosts/fhem/www/istreamdev/bin/svdrp.php on line 32, referer: http://mimmiomi.mine.nu/istreamdev/index.php
    [Tue Mar 30 08:22:15 2010] [error] [client 88.79.85.86] PHP Warning:  Call-time pass-by-reference has been deprecated in /srv/www/vhosts/fhem/www/istreamdev/bin/svdrp.php on line 32, referer: http://mimmiomi.mine.nu/istreamdev/index.php
    [Tue Mar 30 08:22:16 2010] [error] [client 88.79.85.86] PHP Warning:  Call-time pass-by-reference has been deprecated in /srv/www/vhosts/fhem/www/istreamdev/bin/svdrp.php on line 32, referer: http://mimmiomi.mine.nu/istreamdev/index.php
    [Tue Mar 30 08:22:16 2010] [error] [client 88.79.85.86] PHP Warning:  Call-time pass-by-reference has been deprecated in /srv/www/vhosts/fhem/www/istreamdev/bin/svdrp.php on line 32, referer: http://mimmiomi.mine.nu/istreamdev/index.php


    The Error ( in Apache2-log ) is away, but nothing happened.


    See attachment



    ----


    Edit: Updating PHP5 to 5.2.12 -> the same storry.


    Code
    # php5 --version
    PHP 5.2.12 with Suhosin-Patch 0.9.7 (cli) (built: Feb 12 2010 15:10:01)
    Copyright (c) 1997-2009 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
    # rpm -qa |grep php5
    php5-5.2.12-0.1.1
    apache2-mod_php5-5.2.12-0.1.1
    php5-gd-5.2.12-0.1.1



    ---



    It seems that the whole webside is in browser-cache, but would not be shown on Safari.


    eg. Show Source on Firefox:

    oO. Seems something going wrong with 1.0 ....


    I can see "Sessions" and "Checking running sessions", but nothing else ..



    /tmp/istreamdev.log:

    Code
    [2010/03/29 23:02:12]  Executing action [getGlobals]
    [2010/03/29 23:02:12]  Executing action [getRunningSessions]
    [2010/03/29 23:02:12]  Listing sessions


    apache2_error.log:

    Code
    [Mon Mar 29 23:00:33 2010] [error] [client 192.168.178.26] File does not exist: /srv/www/vhosts/fhem/www/istreamdev/istreamdev.manifest
    [Mon Mar 29 23:00:33 2010] [error] [client 192.168.178.26] PHP Notice:  Undefined variable: min_symlinks in /srv/www/vhosts/fhem/www/istreamdev/min/index.php on line 32, referer: http://192.168.178.27/istreamdev/index.php
    [Mon Mar 29 23:00:33 2010] [error] [client 192.168.178.26] PHP Notice:  Undefined variable: min_symlinks in /srv/www/vhosts/fhem/www/istreamdev/min/index.php on line 32, referer: http://192.168.178.27/istreamdev/index.php
    [Mon Mar 29 23:00:33 2010] [error] [client 192.168.178.26] PHP Warning:  Call-time pass-by-reference has been deprecated in /srv/www/vhosts/fhem/www/istreamdev/bin/svdrp.php on line 32, referer: http://192.168.178.27/istreamdev/index.php
    [Mon Mar 29 23:00:33 2010] [error] [client 192.168.178.26] PHP Warning:  Call-time pass-by-reference has been deprecated in /srv/www/vhosts/fhem/www/istreamdev/bin/svdrp.php on line 32, referer: http://192.168.178.27/istreamdev/index.php
    [Mon Mar 29 23:00:33 2010] [error] [client 192.168.178.26] PHP Fatal error:  Call to undefined function json_encode() in /srv/www/vhosts/fhem/www/istreamdev/bin/jsonapi.php on line 24, referer: http://192.168.178.27/istreamdev/index.php
    [Mon Mar 29 23:00:33 2010] [error] [client 192.168.178.26] PHP Warning:  Call-time pass-by-reference has been deprecated in /srv/www/vhosts/fhem/www/istreamdev/bin/svdrp.php on line 32, referer: http://192.168.178.27/istreamdev/index.php
    [Mon Mar 29 23:00:33 2010] [error] [client 192.168.178.26] PHP Warning:  Call-time pass-by-reference has been deprecated in /srv/www/vhosts/fhem/www/istreamdev/bin/svdrp.php on line 32, referer: http://192.168.178.27/istreamdev/index.php
    [Mon Mar 29 23:00:33 2010] [error] [client 192.168.178.26] PHP Fatal error:  Call to undefined function json_encode() in /srv/www/vhosts/fhem/www/istreamdev/bin/jsonapi.php on line 169, referer: http://192.168.178.27/istreamdev/index.php
    [Mon Mar 29 23:00:33 2010] [error] [client 192.168.178.26] File does not exist: /srv/www/vhosts/fhem/www/favicon.ico, referer: http://192.168.178.27/istreamdev/index.php


    config:




    Where is my Fault?

    NemoN :


    Jetzt nochmal mit DF-Patch gebaut und X11-Überlagern eingestellt.


    Hab gerade mal mit dem Snapshot-Plugin ein Foto des OSD gemacht ( leider bin ich bis heute abend nicht in der Nähe des VDR ).


    Auf 480x576 Sendern scheints jetzt richtig dargestellt zu werden.


    Was mich wundert: Das skinenigma wirkt jetzt (seitlich) zusammengedrückt. (nicht nur die Schrift, auch die Symbole ) hab ich noch was falsch?


    [Blockierte Grafik: http://wow.acaliebe.de/vdr/SciFi_osd.jpg]
    [Blockierte Grafik: http://wow.acaliebe.de/vdr/arteHD_osd.jpg]


    /etc/vdr/setup.conf:


    Wie die Videoqualität ist, kann ich leider im Moment auch nicht beurteilen, ....



    Was hab ich denn jetzt wieder überlesen?

    Zitat

    Original von NemoN


    Probier mal den OSD (xine) settings auf "X11 Überlagern" zu stellen


    :) Lol, die einzige Einstellung, die ich nicht probiert hatte *g*, werds heut nachmittag gleich probieren.


    Nur noch die Frage, wodurch die Verschlimmbesserung der Bildqualität auf diesen Qualitativ besxxx Sendern zu stande kommt, und ob man das evtl bei 480x576 abschalten kann.

    Ich muss jetzt mal echt blöd fragen...


    Ich wollte gestern auch mal vdpau um den df-patch erweitern


    folgendermaßen bin ich vorgegangen:


    • hg clone von xine-lib-1.2
    • df-patch von Seite 30 in diesem Threat drauf
    • xine-lib compiliert
    • xineliboutput gepatcht ( <- verwende ich nicht, stand aber irgendwo, das man für das postplugin braucht )
    • xine-UI neu compiliert
    • xine-plugin-0.9.3 entpackt
    • xine-plugin-Grab-Patch installiert
    • vdr + /-plugins compiliert
    • vdr gestartet ( wobei xine-ui mit dem autocrop post gestartet wird, wie hier beschrieben )


    Lief auch alles ganz toll ... OSD im Live-Plugin usw ... nice


    NUR, als meine Frau dann gestern Abend auf SCIFI geschalten hat, sank der WAF schlagartig....


    * SciFi sendet in 480x576Pixeln, das OSD wurde darauf angepasst angezeigt ... ( Größe relativ zum LCD passte, aber Buchstaben waren kaum mehr erkennbar verschmiert oder zusammengedrückt, und insgesammt halt verschmiert unscharf )


    * auch: Sah das Bild von SciFi anders aus (auch in den Aufnahmen ). Irgendwie schärfer unv voller, dafür aber mit richtig derben "konturzacken".


    .... und 4:3-Filme auf HD wurden immernoch mit breiten schwarzen Rändern dargestellt :(


    PS: Ich benutze nur den denoiser, keinen sharpener, da dann das bild auf meinem hdready lcd nicht mehr so toll aussieht. kann es sein, das schon hier der Fehler liegt?


    Wo liegt mein Fehler?

    Hi Ihrs,


    Ab und an hab ich mit dem Image-Plugin mal nen Absturz, mir kommt es so vor, als würde dies jedes mal passieren, wenn eine neue Bilddatei gezeigt werden soll.


    Hat jemand ne Idee, oder hab ich sogar den Passenden Beitrag übersehen?


    Image-Plugin aus dem SVN vom 25.03.10 ( image (0.3.0) - A Image Viewer plugin )


    Code
    Mar 25 14:27:45 vdr kernel: vdr[10787]: segfault at 1298b700 ip 00007f6bafd42a61 sp 00007fffb9907e60 error 4 in libc-2.9.so[7f6bafd0e000+14f000]


    Ok, Center läßt sich doch abschalten.... War nur zu blöd.


    So, hattest recht, 5.1 hört sich 4.1 um meilen besser an ( dachte bisher nicht, das der Unterschied zu nem Oberklasse-Soundequip wirklich so ungemein gravierend ist ). Nur Stereo-Content ( ist bisher von der Anlage auf 5.1 hochskaliert worden ) hört sich jetzt nicht mehr so toll an. Naja, man kann nicht alles haben.


    Trotzdem würde ich gerne noch wissen, wie ich Optical + SPDif zum laufen bekomm. ( Nen Versuch isses ja noch wert ).