[GELÖST]Benötige Hilfe Patch: IMON LCD Display

  • Zitat

    Original von Dr. Seltsam


    Bleibt nachzutragen, dass nur die Version von Dirk bei mir eine LCDd erzeugte, die auch imon-support hatte. Mit den Originalsourcen (obwohl es eigentlich die gleichen sind, die auch Dirk verwendet hat) entstand immer ein etwas kleineres file ohne imon als "available driver".


    ich schwöre, ich hab an den Sourcen nix geändert!
    nur gelade und installiert :D

    Dirk


  • Hallo Blume,


    also ich habe alles so gemacht, die rcStart angepasst in dem ich zwischen den Zeilen 80.... "execute LCDd &" eingefügt habe.
    Dann LCDPROC aktiviert und ich bekommme " VDR respawning..."
    Wenn ich jedoch erst"modprobe imon_vfd" und dann "LCDd" manuell
    mache erhalte ich auf dem Display: LCDproc Server ....
    Also scheint eigentlich alles in Ordnung zu sein, nur automatisch klappt´s irgendwie nicht.


    Was muss ich genau in der rcStart eintragen??? (Habe auch den modprobe Befehl eingetragen, aber bekomme immer die Fehlermeldung VDR respawning.....)

    - Silverstone LC11M - Sempron 2,8 GHZ - NEXUS 2.3 - - LINVDR 0.7 + MT + BIGPATCH 1.3.34 -

    Einmal editiert, zuletzt von TF4 ()

  • So, hier jetzt noch wie versprochen meine lircd.conf
    Die Module sind leider zu groß (max 50k erlaubt) könnte ich aber per Mail schicken.

    Dateien

    HW: Gigabyte EP41-UD3L | Core2Duo 7400 | 2GB Kingston | MSI N220GT-MD1GZ (passiv) | L4M-Twin S2 ver 6.5 mit Flex S2 | Silverstone LC16M mit iMON VFD | Samsung LE46B750
    SW: Xubuntu 14.04 3.13.0-24 | NVIDIA 304.117 | vdr 2.1.6 | softhddevice | inputlirc | lcdproc


  • Bitte helft mir doch !!!

    - Silverstone LC11M - Sempron 2,8 GHZ - NEXUS 2.3 - - LINVDR 0.7 + MT + BIGPATCH 1.3.34 -

  • Zitat

    Original von TF4
    die rcStart angepasst in dem ich zwischen den Zeilen 80.... "execute LCDd &" eingefügt habe.


    wie/wo wird zuvor imon_vfd geladen?


    Zitat

    Dann LCDPROC aktiviert


    wie/wo machst Du das? meinst Du damit das Programm oder das gleichnamige Plugin?


    Zitat

    und ich bekommme " VDR respawning..."
    Wenn ich jedoch erst"modprobe imon_vfd" und dann "LCDd" manuell
    mache erhalte ich auf dem Display: LCDproc Server ....
    Also scheint eigentlich alles in Ordnung zu sein, nur automatisch klappt´s irgendwie nicht.


    Was muss ich genau in der rcStart eintragen??? (Habe auch den modprobe Befehl eingetragen, aber bekomme immer die Fehlermeldung VDR respawning.....)


    Poste doch bitte mal den Ausschnitt bzw. die Ausschnitte aus der rcStart, wo Du etwas eingetragen hast

    VDR1: ACT-620, Asus P8B75-M LX, Intel Core i3-3240, 4 GB DDR3 RAM 1600 MHz, passive Geforce GT1030 von MSI, Sandisk 2TB SSD, 2xWinTV DualHD, Atric-IR-Einschalter. SW: Xubuntu 20.04 auf 64GB Sandisk SSD.

    VDR2: Odroid N2+ mit CoreELEC und Ubuntu in chroot, WinTV DualHD

    VDR3: Tanix TX3 mit CoreELEC und Ubuntu in chroot, WinTV DualHD

  • Hallo,


    also in die rcStart in Zeile 80 habe ich hinzugefügt:


    execute imon_vfd
    execute LCDd &


    Jetzt funktioniert das Display.... nur steht dort:


    LCDproc SERVER
    0 CLIS, 0 Sers


    Vielen Dank an Dr. Seltsam für seine ARBEIT ! ! !
    immerhin bekomme ich schon etwas auf das Display

    - Silverstone LC11M - Sempron 2,8 GHZ - NEXUS 2.3 - - LINVDR 0.7 + MT + BIGPATCH 1.3.34 -

  • Hallo,


    Bei mir klappt es nicht !


    Es klappt nur so, alles in der Konsole nacheinander eingegeben.


    1. etc/init.d/runvdr stop (enter)
    2. LCDd (enter)
    3. setup (lcdproc plugin aktivieren)
    4. etc/init.d/runvdr start (enter)


    Nach einem reboot startet der VDR nicht mehr.
    Logfile: Bricht nach laden des lcd plugins ab !


    schnell in der konsole LCDd eingeben, etc/init.d/runvdr start und es klappt.


    Also es liegt an diesem LCDd !
    Wo muss ich das eintragen ? Alles was ich probiert habe klappt nicht


    Help


    Grüsse

  • Hallo, habe in
    rcStart in der Zeile 80hinzugefügt:


    execute imon_vfd
    execute LCDd &


    abspeichern, reboot


    und es läuft... was zeigt bei Dir das Display an, wenn Du es manuell startest???

    - Silverstone LC11M - Sempron 2,8 GHZ - NEXUS 2.3 - - LINVDR 0.7 + MT + BIGPATCH 1.3.34 -

  • Hallo,


    Wenn ich in der Konsole LCDd eingebe dann steht:
    LCDproc SERVER
    0 CLIS, 0 Sers
    Dann VDR stope, im setup das plugin aktiviere und VDR starte (von hand in der konsole) dann klappt es !


    Aber beim reboot nicht.


    Irgendwie wierd bei mir "LCDd" nicht geladen


    Ich habe die den imonpatch so wie beschrieben angewendet.
    Kannst du mir nicht alle configs die du verändert hast mal posten ?

  • Anbei die Daten


    #!/bin/sh


    #
    # by Thomas Koch <tom@linvdr.org>
    # 10.05.2003
    #


    PATH=/sbin:/bin:/usr/sbin:/usr/bin
    umask 022
    export PATH


    #
    stty onlcr
    hwclock -s


    progress() {
    i=0
    total=80
    line=7
    let t=$1*$total/100
    while [ $i -lt $t ]; do
    echo -n -e "\033[$line;${i}H"
    echo -n -e "\033[42;32m \033[0m"
    echo -n -e "\033[$(($line+1));0H"
    echo -n -e "\033[2K"
    echo -n $2
    let i=$i+1
    done
    }

    execute() {
    OLDIFS=$IFS
    IFS=""
    echo $* >/dev/tty13 2>/dev/tty13
    $* >/dev/tty13 2>/dev/tty13
    IFS=$OLDIFS
    }


    # correct the system time (settime wakeup method)
    execute /usr/bin/correcttime.sh


    # mount /proc
    progress 5 "mounting proc"
    execute mount -n /proc


    # enabling dma
    progress 10 "turn dma on"
    for drive in /proc/ide/hd?; do
    media=`cat $drive/media`
    device="/dev/`basename $drive`"
    if [ $media == "disk" ]; then
    execute hdparm -d 1 $device
    else
    if [ x$DMA_ONLY_FOR_DISKS != x"yes" ]; then
    if [ $media == "cdrom" ]; then
    execute hdparm -d 1 $device
    fi
    fi
    fi
    done


    # mount read-only
    progress 15 "mount read only"
    execute mount -n -o remount,ro /


    # fsck
    progress 20 "file system check"
    execute fsck -y /
    execute fsck -y -A -R

    # mount
    progress 30 "mounting file systems"
    execute mount -n -o remount,rw /
    echo -n > /etc/mtab
    # to re-create mtab, silly he?
    execute mount -f -o remount /
    execute mount -a


    #
    (cat /etc/modules; echo) | while read module args; do
    case "$module" in
    \#*|"") continue ;;
    esac
    execute modprobe $module $args
    done


    #
    if [ -e /etc/modules.setup ]; then
    (cat /etc/modules.setup; echo) | while read module args; do
    case "$module" in
    \#*|"") continue ;;
    esac
    execute modprobe $module $args
    done
    fi


    # create and mount swapfile
    SWAPFILE=/var/vm/swapfile
    if [ ! -e $SWAPFILE ]; then
    # check if we have enough space
    freespace=`df | grep "/$" | cut -b 41-52`
    if [ "$[$freespace/1024]" -gt "512" ]; then
    progress 40 "create swapfile"
    execute dd if=/dev/zero of=$SWAPFILE bs=1M count=256
    execute mkswap -c $SWAPFILE
    execute chmod 600 $SWAPFILE
    fi
    fi
    if [ -e $SWAPFILE ]; then
    execute swapon -a
    fi
    execute swapon -a


    execute /usr/bin/firstrun.sh


    # setup
    while [ ! -e /etc/sysconfig ]; do
    /usr/bin/SETUP
    clear
    done


    . /etc/sysconfig


    # load keymap
    if [ -r /etc/console/boottime.kmap.gz ]; then
    execute loadkeys /etc/console/boottime.kmap.gz
    fi


    # clean up
    execute rm -fr /tmp/*
    execute rm -fr /var/run/*
    execute rm -f /etc/vdr/toconvert_lock


    #
    if [ x$CDROM_DEVICE != x ]; then
    progress 45 "set optical drive speed"
    if [ $[$CDROM_SPEED+0] -gt 0 ]; then
    execute hdparm -E $CDROM_SPEED $CDROM_DEVICE
    fi
    fi


    # create ramdisk
    progress 50 "create and format ramdisk"
    # XXX better check
    if [ x$RAMDISK_SIZE != x ]; then
    if [ $[$RAMDISK_SIZE+0] -lt 4 ]; then
    RAMDISK_SIZE=4
    fi
    else
    RAMDISK_SIZE=4
    fi
    execute mount -t tmpfs -o size=${RAMDISK_SIZE}M /dev/shm /ramdisk


    execute cp -a /var/cache/ramdisk/* /ramdisk


    execute rm -f /var/run/*
    execute echo -n > /var/log/wtmp
    execute echo -n > /var/run/utmp
    execute echo -n > /var/log/lastlog


    # set hostname
    progress 60 "set hostname"
    execute hostname -F /etc/hostname


    # logging
    progress 70 "starting syslog"
    execute klogd -c 1
    if [ x$RINGBUFFER_SYSLOG == x"no" ]; then
    execute syslogd -O /var/log/messages
    else
    execute syslogd -C
    echo "HINT: LinVDR is using the busybox syslogd." > /var/log/messages
    echo "Type \"logread\" or \"logread -f\" to see syslog messages." >> /var/log/messages
    fi


    #
    progress 80 "starting vdr"
    #execute kill $STPID
    execute modprobe imon_vfd
    execute /usr/bin/LCDd &
    execute /etc/init.d/runvdr start &


    # network
    progress 90 "setting up network"
    execute ifconfig lo 127.0.0.1 up
    if [ x$NETWORKING_LAN == x"yes" ]; then
    if [ x$NETWORK_DRIVER_LAN != x ]; then
    execute modprobe $NETWORK_DRIVER_LAN
    else
    echo "... failed, correct settings in /etc/sysconfig"
    fi
    if [ x$USE_DHCP_LAN = x"yes" ]; then
    execute udhcpc -i eth0 -b -H `hostname`
    elif [ -n "$IP_LAN" ]; then
    ifconfig eth0 $IP_LAN up
    if [ -n "$GATEWAY_LAN" ]; then
    execute route add default gw $GATEWAY_LAN
    fi
    if [ -n "${DOMAIN_LAN}${NAMESERVER_LAN}" ]; then
    rm -f /etc/resolv.conf
    if [ -n "$DOMAIN_LAN" ]; then
    echo "search $DOMAIN_LAN" >> /etc/resolv.conf
    fi
    if [ -n "$NAMESERVER_LAN" ]; then
    echo "nameserver $NAMESERVER_LAN" >> /etc/resolv.conf
    fi
    fi
    else
    echo "... failed, correct settings in /etc/sysconfig"
    fi

    if [ x$START_SSHD != x"no" ]; then
    sshd
    fi
    portmap
    fi


    # acpi
    if [ -d /proc/acpi ]; then
    execute acpid -c /etc/acpi/events
    else
    execute modprobe apm
    fi


    #
    if [ -e /etc/init.d/boot.local ]; then
    progress 95 "running boot.local"
    . /etc/init.d/boot.local
    fi


    (sleep 30 && /etc/init.d/rcStart.delayed) &


    #
    progress 100 "done."
    echo

    - Silverstone LC11M - Sempron 2,8 GHZ - NEXUS 2.3 - - LINVDR 0.7 + MT + BIGPATCH 1.3.34 -

    2 Mal editiert, zuletzt von TF4 ()

  • Habe in die 2.te Zeile und ans Ende


    echo "" > /dev/lcd0


    eingetragen!


    Resultat: Rechner fährt nicht mehr runter!


    Kannst Du mir einen Ausschnitt Deiner "poweroff.pl" posten?

    - Silverstone LC11M - Sempron 2,8 GHZ - NEXUS 2.3 - - LINVDR 0.7 + MT + BIGPATCH 1.3.34 -

    Einmal editiert, zuletzt von TF4 ()

  • da es /etc/init.d/LCDd standardmäßigmeines Wissens nach in LinVDR nicht gibt: Poste doch mal die komplette Datei, und sag, wo Du sie lädst (Aufruf über /etc/init.d/rcStart ?)

    VDR1: ACT-620, Asus P8B75-M LX, Intel Core i3-3240, 4 GB DDR3 RAM 1600 MHz, passive Geforce GT1030 von MSI, Sandisk 2TB SSD, 2xWinTV DualHD, Atric-IR-Einschalter. SW: Xubuntu 20.04 auf 64GB Sandisk SSD.

    VDR2: Odroid N2+ mit CoreELEC und Ubuntu in chroot, WinTV DualHD

    VDR3: Tanix TX3 mit CoreELEC und Ubuntu in chroot, WinTV DualHD

  • Habe jetzt mal ein bisschen rumprobiert...
    der Schlüssel ist "rcShutdown"


    Ich habe in die letzt Zeile echo " " >/dev/lcd0
    eingetragen....


    Auf dem Display erscheint jetzt nur noch ein Kästchen.(nach beenden von LinVDR)


    Teste morgen noch ein wenig, habe für heute genug...
    Bis dann

    - Silverstone LC11M - Sempron 2,8 GHZ - NEXUS 2.3 - - LINVDR 0.7 + MT + BIGPATCH 1.3.34 -

  • Hallo,


    nach


    modprobe imon_vfd
    und starten von LCDd erscheint auf dem Display


    LCDproc SERVER
    0 CLIS, 0 Sers


    aber sonst gibt es keine weitere Anzeige
    Igendwie scheint die Kommuniktion zwischen VDR und VFD nicht zu funktionieren.
    Was könnte da noch fehlen um eine Anzeige zu bekommen ?


    sorry für die blöde Frage bin Anfänger


    Danke und Grüsse

Jetzt mitmachen!

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