Posts by ruebenbauer

    Hallo,

    ich habe hier ein kleines Problem mit der Mystique DVB-C budget Karte und meinem Mainboard Asus A6V600-X. Und zwar hab ich üble Empfangsprobleme mit dieser Karte. Mit Femon sieht es so aus, als ob ich dauernd den Lock verliere. Die TT DVB-C 2.1 läuft gut.

    Gleiche Karte an selben Antennenkabel im Mediaportal geht ohne Probleme. SW ist auch gleich. Gen2vdr 2.0. Mit SuSE11.1 selbes Verhalten.

    Laut der FAQ von KNC soll ich "den Einsatz von Motherboards mit Chipsätzen von VIA bzw. mit OnBoard Grafikkarten" vermeiden.

    Besagtes Mainboard hat eine VIA KT600-Chipsatz.

    Hat jemand von Euch das auch schon bemerkt bzw. gibt es da ein Lösung?

    Vielen Dank
    ruebenbauer

    Hallo C-3PO

    vielen danke für Deine Antwort


    #***************************************************************************
    # Group VDR/GraphTFT
    # File Makefile
    # Date 31.10.06
    # This code is distributed under the terms and conditions of the
    # GNU GENERAL PUBLIC LICENSE. See the file COPYING for details.
    # (c) 2006-2008 Jörg Wendel
    #***************************************************************************

    # ----------------------------------------------------------------------------
    # User defined Makefile options for the graphtft plugin
    # Change the parameters as necessary.
    # ----------------------------------------------------------------------------

    # ----------------------------------------------------------------------------
    # like to support a touch screen ?

    #WITH_TOUCH = 1

    # ----------------------------------------------------------------------------
    # You will need ffmpeg (libavcodec) for dvb/fb-devices and for softmpeg,
    # so install it ;)

    ifeq (exists, $(shell pkg-config libavcodec && echo exists))
    HAVE_AVCODEC = 1
    else
    $(warning ******************************************************************)
    $(warning 'libavcodec' not detected! 'HAVE_AVCODEC = 1' woll not compiles in)
    $(warning -> dvb-devices, fb-devices and the X frontend not supported)
    $(warning ******************************************************************)
    endif

    # ----------------------------------------------------------------------------
    # imlib2 needed to enable support for dvb- and fb-devices.
    # imlib2 also needed for graphtft-fe (WITH_X_COMM)

    ifeq (exists, $(shell pkg-config imlib2 && echo exists))
    HAVE_IMLIB = 1
    # WITH_X_COMM = 1
    else
    $(warning ************************************************************************************)
    $(warning 'imlib2' not detected! 'HAVE_IMLIB = 1 + WITH_X_COMM = 1' will not be compiled in...)
    $(warning -> dvb-devices, fb-devices and the X frontend not supported)
    $(warning ************************************************************************************)
    endif

    # ----------------------------------------------------------------------------
    # ImageMagick.

    ifeq (exists, $(shell pkg-config ImageMagick++ && echo exists))
    HAVE_IMAGE_MAGICK = 1
    INCLUDES += $(shell pkg-config --cflags ImageMagick++)
    else
    $(warning *********************************************************************************)
    $(warning 'ImageMagick{,++}' not detected! 'HAVE_IMAGE_MAGICK = 1' will not be compiled...)
    $(warning -> communication wit the x frontend work at a slow rate)
    $(warning *********************************************************************************)
    endif

    # ----------------------------------------------------------------------------
    # Use ffmpeg swscale API instead of deprecated functions.
    # Needed for newer ffmpeg versions wich don't supports img_convert any more.

    ifeq (exists, $(shell pkg-config libswscale && echo exists))
    HAVE_SWSCALE = 1
    else
    $(warning *********************************************************************************)
    $(warning 'libswscale' not found)
    $(warning -> trying to compile with (depricated) scale method of libavcodec)
    $(warning *********************************************************************************)
    endif

    # ----------------------------------------------------------------------------
    # For direct framebuffer directfb lib is needed

    ifeq (exists, $(shell pkg-config directfb && echo exists))
    HAVE_DFB = 1
    else
    $(warning *********************************************************************************)
    $(warning 'directfb' not detected! 'HAVE_DFB = 1' will not be compiled...)
    $(warning -> directfb output not supported)
    $(warning *********************************************************************************)
    endif

    # ----------------------------------------------------------------------------
    # For System Information Sysinfo you need libgtop2

    ifeq (exists, $(shell pkg-config libgtop-2.0 && echo exists))
    HAVE_GTOP = 1
    else
    $(warning *********************************************************************************)
    $(warning 'libgtop-2.0' not detected! 'HAVE_GTOP = 1' will not be compiled...)
    $(warning -> most parts of sysinfo not supported)
    $(warning *********************************************************************************)
    endif

    # ----------------------------------------------------------------------------
    # Use fastmemcpy with cpuaccel.
    #HAVE_FAST_MEMCPY = 1

    # ----------------------------------------------------------------------------
    # Fix for using pvr350 framebuffer device.
    #HAVE_PVRFB = 1

    # ----------------------------------------------------------------------------
    # libsoftmpeg needed only for Pbp (not running in the moment!).
    #HAVE_SOFTMPEG = 1

    # ----------------------------------------------------------------------------
    # END of user defined part
    # ----------------------------------------------------------------------------

    # ----------------------------------------------------------------------------
    # The name of the plugin.
    # This name will be used in the '-P...' option of VDR to load the plugin.
    # By default the main source file also carries this name.

    PLUGIN = graphtft

    ### The version number of this plugin (taken from the main source file):

    VERSION = $(shell grep 'static const char\* VERSION *=' $(PLUGIN).h | awk '{ print $$6 }' | sed -e 's/[";]//g')

    ## compiler options:

    #CXXFLAGS += -Wextra -pedantic


    ### The directory environment:

    DVBDIR = ../../../../DVB
    VDRDIR = ../../..
    LIBDIR = ../../lib
    TMPDIR = /tmp

    ### Allow user defined options to overwrite defaults:

    -include $(VDRDIR)/Make.config
    -include Make.config

    ### The version number of VDR (taken from VDR's "config.h"):

    APIVERSION = $(shell grep 'define APIVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')

    ### The name of the distribution archive:

    ARCHIVE = $(PLUGIN)-$(VERSION)
    PACKAGE = vdr-$(ARCHIVE)

    ### Includes and Defines (add further entries here):

    INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include -I. -I./imlibrenderer \
    -I./imlibrenderer/fbrenderer -I./imlibrenderer/dvbrenderer \
    -I./dfbrenderer -I./imlibrenderer/dmyrenderer $(GTOP_INC)

    DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'

    ifdef HAVE_IMLIB
    LIBS += `imlib2-config --libs`

    ifdef HAVE_IMAGE_MAGICK
    LIBS += `Magick++-config --libs`
    DEFINES += -DHAVE_IMAGE_MAGICK
    endif

    DEFINES += -DHAVE_IMLIB
    HAVE_AVCODEC = 1
    endif

    ifdef HAVE_GTOP
    GTOP_INC = `pkg-config libgtop-2.0 --cflags`
    GTOP_LIB = `pkg-config libgtop-2.0 --libs`

    DEFINES += -DWITH_SYSINFO
    LIBS += $(GTOP_LIB)
    endif

    ifdef WITH_X_COMM
    DEFINES += -DWITH_TCP_COM
    endif

    ifdef WITH_TOUCH
    DEFINES += -DWITH_TOUCH
    endif

    ifdef HAVE_DFB
    INCLUDES += `directfb-config --cflags`
    LIBS += `directfb-config --libs`
    DEFINES += -DHAVE_DFB
    endif

    ifdef HAVE_SOFTMPEG
    DEFINES += -DHAVE_SOFTMPEG
    LIBS += -lsoftmpeg
    HAVE_AVCODEC = 1
    endif

    ifdef HAVE_AVCODEC
    AVCODEC_INC = `pkg-config libavcodec --cflags`

    ifeq (plain, $(shell pkg-config libavcodec --cflags | grep -q "ffmpeg" && echo plain))
    DEFINES += -DPLAN_FFMPEG_INC
    endif

    ifeq (plain, $(shell pkg-config libavcodec --cflags | grep -q "libavutil" && echo plain))
    DEFINES += -DPLAN_FFMPEG_INC
    endif

    INCLUDES += $(AVCODEC_INC)
    LIBS += `pkg-config libavcodec --libs`
    DEFINES += -DHAVE_FFMPEG

    ifdef HAVE_SWSCALE
    DEFINES += -DHAVE_SWSCALE
    LIBS += `pkg-config libswscale --libs`
    endif

    endif

    ifdef HAVE_PVRFB
    DEFINES += -DPVRFB
    endif

    CXXFLAGS += -g -ggdb -O0

    ### The object files (add further files here):

    COMMONOBJS = $(PLUGIN).o dspitems.o transfer.o display.o \
    i18n.o setup.o osd.o scan.o theme.o common.o sysinfo.o \
    touchthread.o

    ifdef HAVE_FAST_MEMCPY
    COMMONOBJS += memcpy.o cpu_accel.o
    DEFINES += -DHAVE_FAST_MEMCPY
    endif

    ifdef HAVE_IMLIB
    IMLIBOBJS = imlibrenderer/imlibrenderer.o \
    imlibrenderer/fbrenderer/fbrenderer.o \
    tcpchannel.o \
    imlibrenderer/dvbrenderer/player.o \
    imlibrenderer/dvbrenderer/dvbrenderer.o \
    imlibrenderer/dvbrenderer/mpeg2encoder.o \
    imlibrenderer/dvbrenderer/quantize.o \
    comthread.o renderer.o
    endif

    ifdef HAVE_SOFTMPEG
    IMLIBOBJS += imlibrenderer/fbrenderer/mpeg2decoder.o
    endif


    ifdef HAVE_DFB
    DFBOBJS = dfbrenderer/dfbrenderer.o dfbrenderer/cache.o
    endif

    ### Implicit rules:

    %.o: %.c
    $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $<

    # Dependencies:

    MAKEDEP = g++ -MM -MG
    DEPFILE = .dependencies
    $(DEPFILE): Makefile
    @$(MAKEDEP) $(DEFINES) $(INCLUDES) $(COMMONOBJS:%.o=%.c) $(IMLIBOBJS:%.o=%.c) $(DFBOBJS:%.o=%.c) > $@

    -include $(DEPFILE)

    ### Internationalization (I18N):

    PODIR = po
    LOCALEDIR = $(VDRDIR)/locale
    I18Npo = $(wildcard $(PODIR)/*.po)
    I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file))))
    I18Ndirs = $(notdir $(foreach file, $(I18Npo), $(basename $(file))))
    I18Npot = $(PODIR)/$(PLUGIN).pot

    %.mo: %.po
    msgfmt -c -o $@ $<

    $(I18Npot): $(wildcard *.c)
    xgettext -C -cTRANSLATORS --no-wrap -F -k -ktr -ktrNOOP --msgid-bugs-address='<vdr@jwendel.de>' -o $@ $(wildcard *.c)

    $(I18Npo): $(I18Npot)
    msgmerge -U --no-wrap -F --backup=none -q $@ $<

    i18n: $(I18Nmo)
    @mkdir -p $(LOCALEDIR)
    for i in $(I18Ndirs); do\
    mkdir -p $(LOCALEDIR)/$$i/LC_MESSAGES;\
    cp $(PODIR)/$$i.mo $(LOCALEDIR)/$$i/LC_MESSAGES/vdr-$(PLUGIN).mo;\
    done

    ### Targets:

    all: libvdr-$(PLUGIN).so i18n
    @cp libvdr-$(PLUGIN).so $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION)

    alli: libvdr-$(PLUGIN).so i18n

    libvdr-$(PLUGIN).so: $(COMMONOBJS) $(IMLIBOBJS) $(DFBOBJS)
    $(CXX) $(CXXFLAGS) -shared $^ $(LIBS) -o $@

    dist: clean
    @-rm -rf $(TMPDIR)/$(ARCHIVE)
    @mkdir $(TMPDIR)/$(ARCHIVE)
    @cp -a * $(TMPDIR)/$(ARCHIVE)
    @tar cjf $(PACKAGE).tar.bz2 -C $(TMPDIR) $(ARCHIVE)
    @-rm -rf $(TMPDIR)/$(ARCHIVE)
    @echo Distribution package created as $(PACKAGE).tar.bz2

    clean:
    @-rm -f $(PODIR)/*.mo $(PODIR)/*.pot
    @-rm -f $(COMMONOBJS) $(IMLIBOBJS) $(DFBOBJS) $(DEPFILE) *.so *.tar.bz2 core* *~
    @rm -rf .libs
    (cd graphtft-fe; make -s clean)

    TDEF += -DLOCDIR=\"$(LOCDIR)\"
    test: test.c scan.c scan.h imlibrenderer/imlibrenderer.c common.c renderer.c
    g++ $(INCLUDES) $(CXXFLAGS) $(TDEF) $(LIBS) imlibrenderer/imlibrenderer.c \
    renderer.c common.c scan.c test.c \
    ~/vdr/tools.c \
    ~/vdr/i18n.c \
    ~/vdr/thread.c \
    -lrt -o $@

    libtoptest: cpuload-test.c sysinfo.c sysinfo.h common.h
    g++ cpuload-test.c sysinfo.c -I. `pkg-config libgtop-2.0 --cflags` `pkg-config libgtop-2.0 --libs` -DWITH_SYSINFO -DWITHOUT_VDR -o $@

    Hallo,

    kriege die themes einfach nicht zum laufen... logfile sagt, dass

    Jan 5 21:04:45 linux vdr: [graphTFT] The image '/etc/vdr/plugins/graphTFT/themes/avp/backgrounds/bg-tv-avp.png' could not be loaded
    Jan 5 21:04:45 linux vdr: [graphTFT] The image '/etc/vdr/plugins/graphTFT/themes/avp/backgrounds/bg-tv-avp.png' could not be loaded
    Jan 5 21:04:45 linux vdr: [graphTFT] The image '/etc/vdr/plugins/graphTFT/themes/avp/backgrounds/bg-tv-avp.png' could not be loaded
    Jan 5 21:04:45 linux vdr: [graphTFT] The image '/etc/vdr/plugins/graphTFT/themes/avp/backgrounds/bg-tv-avp.png' could not be loaded
    Jan 5 21:04:45 linux vdr: [graphTFT] The image '/etc/vdr/plugins/graphTFT/themes/avp/backgrounds/bg-tv-avp.png' could not be loaded
    Jan 5 21:04:45 linux vdr: [graphTFT] The image '/etc/vdr/plugins/graphTFT/themes/avp/backgrounds/bg-tv-avp.png' could not be loaded
    Jan 5 21:04:45 linux vdr: [graphTFT] The image '/etc/vdr/plugins/graphTFT/themes/avp/backgrounds/bg-tv-avp.png' could not be loaded
    Jan 5 21:04:45 linux vdr: [graphTFT] The image '/etc/vdr/plugins/graphTFT/themes/avp/backgrounds/bg-tv-avp.png' could not be loaded
    Jan 5 21:04:45 linux vdr: [graphTFT] The image '/etc/vdr/plugins/graphTFT/themes/avp/backgrounds/bg-tv-avp.png' could not be loaded
    Jan 5 21:04:45 linux vdr: [graphTFT] The image '/etc/vdr/plugins/graphTFT/themes/avp/backgrounds/bg-tv-avp.png' could not be loaded

    aber, die png(s) sind da, wo sie erwartet werden:

    linux:/etc/vdr/plugins/graphTFT/themes/avp # dir /etc/vdr/plugins/graphTFT/themes/avp/backgrounds
    total 3228
    -rw-rw-r-- 1 root root 256031 Aug 2 09:34 alien.png
    -rw-rw-r-- 1 root root 514789 Sep 25 21:59 bg-clock-avp.png
    -rw-rw-r-- 1 root root 143828 Sep 7 15:18 bg-menu-avp.png
    -rw-rw-r-- 1 root root 460 Aug 4 20:08 bg-message.png
    -rw-rw-r-- 1 root root 73213 Sep 7 17:04 bg-music-morone_800x600.png
    -rw-rw-r-- 1 root root 157737 Sep 7 15:10 bg-replay-avp.png
    -rw-rw-r-- 1 root root 263948 Sep 7 16:58 bg-sysinfo-avp.png
    -rw-rw-r-- 1 root root 259878 Sep 6 21:32 bg-tv-avp.png
    -rw-rw-r-- 1 root root 565685 Nov 18 16:17 calibrate-avp.png
    -rw-rw-r-- 1 root root 272615 Sep 7 17:02 ende_avp.png
    -rw-rw-r-- 1 root root 4568 Sep 7 14:44 filmspule.png
    -rw-rw-r-- 1 root root 16626 Dec 10 19:20 filmspule_tr.png
    -rw-rw-r-- 1 root root 324157 Nov 1 13:16 message_avp.png
    -rw-rw-r-- 1 root root 11908 Aug 7 09:24 note.png
    -rw-rw-r-- 1 root root 6695 Nov 4 2006 spectrum.png
    -rw-rw-r-- 1 root root 6844 Aug 6 12:13 spectrum_avp.png
    -rw-rw-r-- 1 root root 276119 Sep 7 17:02 start_avp.png
    -rw-rw-r-- 1 root root 5169 May 28 2007 volume.png
    -rw-rw-r-- 1 root root 50167 Oct 27 21:50 volume_avp.png

    Mußte schon vorher in der mpeg2encoder2.c den absoluten pfad der hwscale.h einfügen, damit es durchgeht...obwohl alles da ist, wo es sein sollte (/usr/include/ffmpeg bzw. /usr/include/libswscale).

    Danke für Hilfe!!!

    Hallo,

    Du musst erstmal die DVB-Karte im Debug-Modus bringen:

    dvb-ttpci mit der Option debug=16 laden

    Obs geklappt hat, steht zumindest bei mir /(SuSE10) in der Datei

    sys/module/dvb_ttpci/paramteters/debug

    Dann mußt du eine rc5-Keymap laden.

    z.B.:

    ./av7110_loadkeys medion81302.rc5 > /proc/av7110_ir

    Dann siehst du im Logfile, wenn Du eine Taste auf der FB drückst der Code:

    Fällt Dir sicher gleich auf z.B. 0x01

    Mit dem Code kannst Du deine rc5-Datei befüllen. Sieht dann z.B. so aus:
    0x01 KEY_RED

    Die Bezeichnungen sind aber nicht frei wählbar. Stehen, wenn ich mich recht entsinne in einer Datei, die input_fake.h. Müßte bei dem DVB-Packet dabei sein.

    Hoffe ich konnte Dir helfen.

    Grüße

    Danke für Ideen/Hinweise.

    Stehe da vor nem Rätsel, wer da der Übeltäter ist. Es hat bei beiden Grakas mit ner Biosmedlung angefangen, dass die CPU nicht richtig eingebaut ist. Dann nach Reboot war Bildschirm schwarz und Graka hinüber. Hab sie jeweils in drei anderen PCs getestet. Nachdem die erste tot war hab ich neues Netzteil eingebaut und lief auch zwei Wochen fast komplett 24/7 und dann gestern morgen. Angschalten und CPU-Fehler..reboot..schwarzer Bildschirm...


    Überhitzung denke ich mal nicht: GPU-Lüfter dreht sich brav und ein großer Gehäuse-Lüfter ist noch da.

    Wenn was mit der Verschraubung/verkableung nicht stimmen würde, dann hät der PC doch net so lange noch funktioniert? Er geht ja wieder, wenn ich eine neue einstecke. Bewegt wurde er auch nicht und steht fest auf dem Boden.

    Bin dankbar für weiter Hinweise/Ideen.

    Servus,

    hab mir ein neues Gehäuse angeschaft. Thermaltake Mabmo. Umzug der Komponten brachte mir den Massentod. 2 x Grakas (ATI Radeon x800 + x800XT) abgeraucht und ne HD. Hab des Netzteil schon vor der zweiten Graka ausgetauscht. (Chieftek gegen Targan...jeweils genügend Watt vorhanden). Denke nu mal, dass des Mainboard (Asus A8V Delux) hinüber is. Wollt aber hier mal nachfragen, ob an so was auch des Gehäuse schuld sein kann - ka wie aber mei...2 Graka lief jetzt auch 2 Wochen ohne Probs...dann start..CPU-Fehler und weg. Dritte eingebaut und getestet...ging wieder, aber will nix riskieren.

    Danke für Hinweise

    Hi,

    weiss nicht, ob du dein Problem schon behoben hast.

    Miit "cat /proc/bus/input/devices" den event rausfinden: "DVB on-card IR receiver" oder so.

    Schau mal in yast->system->Editor für /etc/sysconfig-Dateien->Hardware->DVB->DVB_AV7110_LOADKEYS...solltest du da eine haben, dann einfach eintragen dvbtreiber neu laden->remoteplugin richtigen event übergeben.

    Wenn du eine andere hast, mußt du ne eigene Keymap erstellen und im runvdr laden lassen. Is aber auch nicht weiter wild.

    Grüße