graphlcd install Problem

  • Habe ein KS0108 Display mit vdr 1.4.6 und wollte nun vdr-graphlcd-0.1.5 dazu installieren. Bei make plugins kommt.


    Muss dazu sagen das ein showpic -c /etc/graphlcd.conf -d ks0108 /install/graphlcd-media/pics/vdr-logo_128x64.glcd funktioniert !!!




    EpiaVDR:~ # cd /usr/local/src/VDR
    EpiaVDR:/usr/local/src/VDR # make plugins
    Plugin graphlcd:
    make[1]: Entering directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/graphlcd'
    make[1]: Leaving directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/graphlcd'
    make[1]: Entering directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/graphlcd'
    g++ -g -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"graphlcd"' -D_GNU_SOURCE -I../../../include -I../../../../DVB/include -I/usr/local/include display.c
    display.c: In member function `void cGraphLCDDisplay::SetOsdTextItem(const
    char*, bool)':
    display.c:693: error: `WrapText' undeclared (first use this function)
    display.c:693: error: (Each undeclared identifier is reported only once for
    each function it appears in.)
    display.c: In member function `void
    cGraphLCDDisplay::DisplayReplay(tReplayState&)':
    display.c:1415: error: `WrapText' undeclared (first use this function)
    display.c: In member function `void cGraphLCDDisplay::DisplayMessage()':
    display.c:1680: error: `WrapText' undeclared (first use this function)
    make[1]: *** [display.o] Error 1
    make[1]: Leaving directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/graphlcd'
    Plugin hello:
    make[1]: Entering directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/hello'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/hello'
    Plugin osddemo:
    make[1]: Entering directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/osddemo'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/osddemo'
    Plugin servicedemo:
    make[1]: Entering directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/servicedemo'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/servicedemo'
    Plugin skincurses:
    make[1]: Entering directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/skincurses'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/skincurses'
    Plugin sky:
    make[1]: Entering directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/sky'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/sky'
    Plugin status:
    make[1]: Entering directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/status'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/status'
    Plugin svdrpdemo:
    make[1]: Entering directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/svdrpdemo'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/svdrpdemo'


    *** failed plugins: graphlcd





    Meine graphlcd.conf


    # graphlcd.conf.sample
    #
    # This file contains a sample configuration for the graphlcd driver
    # library.
    #
    # The format is ini-file-like. It is divided into sections that start
    # at markers that look like [section]. Comments are all line-based
    # comments, and are lines that start with '#'.
    #
    # The file starts with general settings, that are used by several
    # drivers, followed by the sections. Each section represents a single
    # display with a driver definition and specific settings which define
    # how the driver acts. Some of these parameters like device, port and
    # size are already parsed by the library but the drivers can also read
    # their own options from the config file. The library passes them to
    # the drivers.


    # WaitMethod
    # Select the method that is used for sleeping.
    # Possible values:
    # 0 - usleep
    # 1 - nanosleep
    # 2 - nanosleep (sched_rr) - This is recommended on kernel 2.4 systems
    # 3 - gettimeofday - This is recommended on kernel 2.6 systems
    # Defaukt value: 2
    WaitMethod=2


    # WaitPriority
    # Select the process priority that is used when sleeping.
    # Possible values: -20 <= x <= 19
    # Default value: 0
    WaitPriority=19


    # General driver settings
    # This section lists the display settings that are parsed and
    # recognized by the driver library.
    #
    # Driver
    # Sets the display's driver.
    # Currently available are: framebuffer, gu140x32f, gu256x64-372,
    # gu256x64C-3xx0, hd61830, image, ks0108,
    # sed1520, sed1330, simlcd, t6963c
    #
    # Device
    # Instead of using the direct output via port address (see Port), you
    # can use the parport device (/dev/parportX). The advantage over the
    # direct output via port address is that this works for non-root users
    # also. But it's a little bit slower. The modules ppdev.o, parport.o
    # and parport_pc.o must be loaded or compiled into the kernel.
    #
    # Port
    # Sets the port address of the parallel port. If this parameter is not
    # given, 0x378 is used. To use this direct output, the program that
    # uses the driver library has to be started with user 'root'.
    #
    # Width
    # Sets the horizontal size of the display. If this parameter is not
    # given, a default one specific to the driver is used.
    #
    # Height
    # Sets the vertical size of the display. If this parameter is not
    # given, a default one specific to the driver is used.
    #
    # UpsideDown
    # Rotates the display output by 180 degrees. This might be useful, if
    # the LCD is mounted upside-down.
    # Possible values: 'yes', 'no'
    # Default value: 'no'
    #
    # Invert
    # Inverts the display.
    # Possible values: 'yes', 'no'
    # Default value: 'no'
    #
    # Brightness
    # Sets the brightness of your display's backlight if supported by its
    # driver.
    # Supported by: gu140x32f, gu256x64-372, gu256x64-3900
    # Possible values: 0 <= x <= 100)
    # Default value: 100
    #
    # Contrast
    # Sets the contrast of your display if supported by its driver.
    # Supported by: serdisplib
    # Possible values: 0 <= x <= 10
    # Default value: 5
    #
    # Backlight
    # Switches the backlight of your display on and off if supported by
    # its driver.
    # Supported by: serdisplib
    # Possible values: 'yes', 'no'
    # Default value: 'yes'
    #
    # AdjustTiming
    # To get a timing that is as accurate as possible, the drivers measure
    # the time for port commands (see: benchmark in syslog). You might
    # decrease or increase the time to wait after port commands with this
    # parameter. Normally, there is no need to change this parameter.
    # (used by gu140x32f, gu256x64-372, gu256x64-3900, hd61830, ks0108,
    # sed1330, sed1520)
    # Possible values: -50 <= x <= 50
    # Default value: 0
    #
    # RefreshDisplay
    # Normally, most of the drivers do not update the whole display, but
    # only the areas that have changed since last update. So it might be,
    # that some faulty pixels would stay a longer time. To avoid this, the
    # plugin makes a complete refresh from time to time. This parameter
    # defines how often a complete refresh will be done.
    # e.g.: A value of 5 means, that the plugin will make a complete
    # refresh on every 5th update.
    # A value of 0 completely disables complete refreshs.
    # Possible values: 0 <= x <= 50
    # Default value: 5


    ########################################################################


    ########################################################################


    [ks0108]
    # ks0108 driver
    # This is a driver module for the Samsung KS0108 LCD controller.
    # Default size: 128 x 64
    Driver=ks0108
    Port=0x378
    #Device=/dev/parport0
    Width=128
    Height=64
    UpsideDown=no
    Invert=no
    AdjustTiming=-15
    RefreshDisplay=1


    # Control
    # Select the variant of triggering the display's control lines.
    # Possible values: '0', '1'
    # Default value: '1'
    # Control=1


    ########################################################################

    Diseqc 9/8 Astra+Hotbird
    Asus P4C800-E Deluxe mit M740@1,2Ghz 1GB RAM 60GB + 500GB Video Teac DVD-ROM VDR1.4.7 Nexus2.2 + SS2 2.6C
    Rebach Gehäuse von 2004, Epia MII12000 Seagate 320GB TT1.5 SS2 2.6 Forton 145W OpenSuSe 10.2 Pioneer DVD-105 VDR1.4.7 OneForAll URC-8040 KS0108 Display

    2 Mal editiert, zuletzt von gogglio ()

  • So das Problem mit dem make plugins hat sich gelöst, es war noch eine alte graphlcd-base-0.1.3 drauf die ich gegen eine 0.1.5 getauscht haben.


    jetzt bringt mit das make install ein Problem


    EpiaVDR:/usr/local/src/VDR # make install
    Plugin graphlcd:
    make[1]: Entering directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/graphlcd'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/graphlcd'
    Plugin hello:
    make[1]: Entering directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/hello'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/hello'
    Plugin osddemo:
    make[1]: Entering directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/osddemo'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/osddemo'
    Plugin servicedemo:
    make[1]: Entering directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/servicedemo'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/servicedemo'
    Plugin skincurses:
    make[1]: Entering directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/skincurses'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/skincurses'
    Plugin sky:
    make[1]: Entering directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/sky'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/sky'
    Plugin status:
    make[1]: Entering directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/status'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/status'
    Plugin svdrpdemo:
    make[1]: Entering directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/svdrpdemo'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr-1.4.6/PLUGINS/src/svdrpdemo'
    cp: `./PLUGINS/lib/libvdr-graphlcd.so.1.4.5' and `./PLUGINS/lib/libvdr-graphlcd.so.1.4.5' are the same file
    cp: `./PLUGINS/lib/libvdr-hello.so.1.4.5' and `./PLUGINS/lib/libvdr-hello.so.1.4.5' are the same file
    cp: `./PLUGINS/lib/libvdr-osddemo.so.1.4.5' and `./PLUGINS/lib/libvdr-osddemo.so.1.4.5' are the same file
    cp: `./PLUGINS/lib/libvdr-skincurses.so.1.4.5' and `./PLUGINS/lib/libvdr-skincurses.so.1.4.5' are the same file
    cp: `./PLUGINS/lib/libvdr-sky.so.1.4.5' and `./PLUGINS/lib/libvdr-sky.so.1.4.5' are the same file
    cp: `./PLUGINS/lib/libvdr-status.so.1.4.5' and `./PLUGINS/lib/libvdr-status.so.1.4.5' are the same file
    cp: `./PLUGINS/lib/libvdr-svccli.so.1.4.5' and `./PLUGINS/lib/libvdr-svccli.so.1.4.5' are the same file
    cp: `./PLUGINS/lib/libvdr-svcsvr.so.1.4.5' and `./PLUGINS/lib/libvdr-svcsvr.so.1.4.5' are the same file
    cp: `./PLUGINS/lib/libvdr-svdrpdemo.so.1.4.5' and `./PLUGINS/lib/libvdr-svdrpdemo.so.1.4.5' are the same file
    make: *** [install-plugins] Error 1
    EpiaVDR:/usr/local/src/VDR #



    Ich finde einfach den Error nicht wo er mir da meldet :schiel


    Ach ja showpic geht erfreulicherweise noch.


    wenn ich den vdr über runvdr starte kommt


    vdr: ./PLUGINS/lib/libvdr-graphlcd.so.1.4.5: cannot open shared object file: Datei oder Verzeichnis nicht gefunden



    Die logo und Fonts ordner befinden sich bei mir im /video/plugins/

    Diseqc 9/8 Astra+Hotbird
    Asus P4C800-E Deluxe mit M740@1,2Ghz 1GB RAM 60GB + 500GB Video Teac DVD-ROM VDR1.4.7 Nexus2.2 + SS2 2.6C
    Rebach Gehäuse von 2004, Epia MII12000 Seagate 320GB TT1.5 SS2 2.6 Forton 145W OpenSuSe 10.2 Pioneer DVD-105 VDR1.4.7 OneForAll URC-8040 KS0108 Display

    2 Mal editiert, zuletzt von gogglio ()

  • make plugins ist durchgelaufen und ist jetzt auch im /plugins/lib Verzeichnis vorhanden.
    Gibt es sonst noch was zu beachten ?

    Diseqc 9/8 Astra+Hotbird
    Asus P4C800-E Deluxe mit M740@1,2Ghz 1GB RAM 60GB + 500GB Video Teac DVD-ROM VDR1.4.7 Nexus2.2 + SS2 2.6C
    Rebach Gehäuse von 2004, Epia MII12000 Seagate 320GB TT1.5 SS2 2.6 Forton 145W OpenSuSe 10.2 Pioneer DVD-105 VDR1.4.7 OneForAll URC-8040 KS0108 Display

  • Wollte graphlcd mal zum testen so starten


    EpiaVDR:/usr/local/bin # vdr -P 'graphlcd -c /etc/graphlcd.conf -d ks0108'
    vdr: ./PLUGINS/lib/libvdr-graphlcd.so.1.4.5: cannot open shared object file: No such file or directory


    Dann kam diese Fehlermeldung


    Mit
    vdr --lib=/usr/local/src/VDR/PLUGINS/lib/ -P 'graphlcd -c /etc/graphlcd.conf -d ks0108'


    kam


    segmentation fault


    23.04 aktueller Stand


    Habe die runvdr noch mal überarbeitet und auf


    #!/bin/sh


    # runvdr: Loads the DVB driver and runs VDR
    #
    # If VDR exits abnormally, the driver will be reloaded
    # and VDR restarted.
    #
    # In order to actually use this script you need to implement
    # the functions DriverLoaded(), LoadDriver() and UnloadDriver()
    # and maybe adjust the VDRPRG and VDRCMD to your particular
    # requirements.
    #
    # Since this script loads the DVB driver, it must be started
    # as user 'root'. Add the option "-u username" to run VDR
    # under the given user name.
    #
    # Any command line parameters will be passed on to the
    # actual 'vdr' program.
    #
    # See the main source file 'vdr.c' for copyright information and
    # how to reach the author.
    #
    # $Id: runvdr 1.19 2006/05/14 16:02:05 kls Exp $


    export LANG=de_DE.iso8859-1
    export LC_CTYPE=de_DE.iso8859-1
    # PATH=$PATH:/usr/local/bin



    VDRPRG="/usr/local/bin/vdr"
    VDRCMD="$VDRPRG -w 60 \
    --lirc \
    --vfat \
    -L /usr/local/src/VDR/PLUGINS/lib/
    -t /dev/tty8 \
    -s /usr/local/bin/vdrpoweroff.sh \
    -P 'graphlcd -c /etc/graphlcd.conf -d ks0108' $*"


    KILL="/usr/bin/killall -q -TERM"


    # Detect whether the DVB driver is already loaded
    # and return 0 if it *is* loaded, 1 if not:
    function DriverLoaded()
    {
    return 1
    }


    # Load all DVB driver modules needed for your hardware:
    function LoadDriver()
    {
    cd /usr/local/src/DVB/build-2.4
    ./insmod.sh load
    }


    # Unload all DVB driver modules loaded in LoadDriver():
    function UnloadDriver()
    {
    cd /usr/local/src/DVB/build-2.4
    ./insmod.sh unload
    }


    # Load driver if it hasn't been loaded already:
    if ! DriverLoaded; then
    LoadDriver
    fi


    while (true) do
    eval "$VDRCMD"
    if test $? -eq 0 -o $? -eq 2; then exit; fi
    echo "`date` reloading DVB driver"
    $KILL $VDRPRG
    sleep 10
    UnloadDriver
    LoadDriver
    echo "`date` restarting VDR"
    done





    Jetzt kommt keine Fehler meldung mehr :wow aber dafür tut sich auch nicht auf dem Display. in der Konsole kommt auch keine Fehlermeldung, und in der log Datei ist auch nichts zu sehen :schiel
    Wenn der VDR läuft kommt auch kein Plugin Auswahl wo ich graphlcd aktivieren könnte. Hat da jemand noch eine idee ???


    Es ei noch dazu zu sagen das der VDR unter root läuft.

    Diseqc 9/8 Astra+Hotbird
    Asus P4C800-E Deluxe mit M740@1,2Ghz 1GB RAM 60GB + 500GB Video Teac DVD-ROM VDR1.4.7 Nexus2.2 + SS2 2.6C
    Rebach Gehäuse von 2004, Epia MII12000 Seagate 320GB TT1.5 SS2 2.6 Forton 145W OpenSuSe 10.2 Pioneer DVD-105 VDR1.4.7 OneForAll URC-8040 KS0108 Display

    3 Mal editiert, zuletzt von gogglio ()

  • so graphlcd läuft. Das rebach display macht nur mist, noch nicht mal das VDR Logo. Das andere Display zeigt alles noch etwas durcheinander an. Vielleicht kann mir wer verraten was ich tun kann.


    rebach
    [Blockierte Grafik: http://www.admin4all.com/epics/P5080041.JPG]


    TRULY
    [Blockierte Grafik: http://www.admin4all.com/epics/P5080039.JPG]

    Diseqc 9/8 Astra+Hotbird
    Asus P4C800-E Deluxe mit M740@1,2Ghz 1GB RAM 60GB + 500GB Video Teac DVD-ROM VDR1.4.7 Nexus2.2 + SS2 2.6C
    Rebach Gehäuse von 2004, Epia MII12000 Seagate 320GB TT1.5 SS2 2.6 Forton 145W OpenSuSe 10.2 Pioneer DVD-105 VDR1.4.7 OneForAll URC-8040 KS0108 Display

  • So binb jetzt wieder etwas schlauer. Also wenn ich nur
    Kanal=ja
    Logo=mittel
    Symbole=komprimiert
    Lautstärke=ja
    eingestellt habe und der rest nein sieht es auf dem Display ganz gut aus.
    Allerdings sobald ich Programm=ja mache sieht es so aus wie auf dem unteren Bild und er überschreibt mir da einiges, wie Kanal usw.


    Meine Frage ist nun kann man da nicht einen kleineren Font angeben und die Position einstellen???
    Oder geht das nur mit einem 240x128 Display ?

    Diseqc 9/8 Astra+Hotbird
    Asus P4C800-E Deluxe mit M740@1,2Ghz 1GB RAM 60GB + 500GB Video Teac DVD-ROM VDR1.4.7 Nexus2.2 + SS2 2.6C
    Rebach Gehäuse von 2004, Epia MII12000 Seagate 320GB TT1.5 SS2 2.6 Forton 145W OpenSuSe 10.2 Pioneer DVD-105 VDR1.4.7 OneForAll URC-8040 KS0108 Display

    Einmal editiert, zuletzt von gogglio ()

  • Zitat

    Original von gogglio
    Meine Frage ist nun kann man da nicht einen kleineren Font angeben und die Position einstellen???
    Oder geht das nur mit einem 240x128 Display ?


    Hi,


    die Fontgröße lässt sich einstellen.
    Schau mal unter /etc/vdr/plugins/graphlcd da gibt es ne fonts.conf. Da lässt sich das einstellen. (Zumindest ist das bei mir unter Gentoo dort zu finden)


    Ich habe nämlich auch ein Rebach Gehäuse mit dem 128x64 Display und das funktioniert soweit ganz hervorragend und sieht auch von der Anzeige gut aus. Lediglich ganz unten links bleiben ein paar Pixel immer dunkel, aber was solls.

  • Das wars, eien andere Fonte Datei und läuft.
    Danke

    Diseqc 9/8 Astra+Hotbird
    Asus P4C800-E Deluxe mit M740@1,2Ghz 1GB RAM 60GB + 500GB Video Teac DVD-ROM VDR1.4.7 Nexus2.2 + SS2 2.6C
    Rebach Gehäuse von 2004, Epia MII12000 Seagate 320GB TT1.5 SS2 2.6 Forton 145W OpenSuSe 10.2 Pioneer DVD-105 VDR1.4.7 OneForAll URC-8040 KS0108 Display

Jetzt mitmachen!

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