Beiträge von Edster

    I am having a play with a Nova DVB-T card to see what it does.


    I have installed it and tested it. I know my drivers (for the card) are right as I have done a scan and it works.
    I then went a stage further and did :


    /usr/local/src/DVB/apps/szap/tzap BBC ONE
    /usr/local/src/DVB/dvbstream/dvbstream -o -ps -qam 16 -cr 3_4 600 601 | mplayer -


    This works fine (a little slow and jerky but I get the picture).


    I setup VDR 1.26 (and 1.3.12 just to try it with that).
    I used softdevice 0.0.7pre2 (installed to use frame buffer)


    Frame buffer is working on the machine (the box boots up in 1024x768 framebuffer console).


    When I run vdr it reads all the files and starts fine. The frame comes up on the screen. The log file says switching to channel 1 and then it crashes with a segmentaion fault error for the VDR program.


    If I remove '-Psoftdevice' it works fine and carries on running (or I assume it does as I can not see it on the screen).


    What am I doing wrong ?


    [edit] I forgot to add the tty8 screen where the messages come up from the vdr process has this :


    Warning, allocating 0 bytes
    Warning, allocating 0 bytes
    Warning, allocating 0 bytes
    Warning, allocating 0 bytes
    Warning, allocating 0 bytes
    Warning, allocating 0 bytes
    Bad picture start code
    header damaged


    [edit 2] If I unload the DVB drivers and run vdr without them the softdevice works fine. I can cycle through the menus. This all seems to happen when it tunes to a channels and tries to pipe that through the softdevice.

    Hello Daveangel (I've seen you elsewhere ;D)


    The plugin installs very easily and has all the files. If it is reporting missing files on compile then it needs other packages installed in the system.
    What is it asking for ? What sort of setup are you using (eg is it a pc or an activy box) ?

    People pick e-builds and rpms and emerges and all the other metods because they are quick and easy.


    The reasons NOT to use ebuilds -
    1. You do not learn how the software works and clips together
    2. It is setup the way someone else likes it. You can not do much cusomisation on it.
    3. You do not get all the options. Most easy install build of vdr do not include most of the plugins.


    If you are starting off on the vdr path then use Ronnys script. It is *great*
    :]

    Sorry I have to reply in English my German is pretty bad (I understand quite a bit but my replies are bad ;D


    I thought this would be a nice middle ground between doing nothing at all and messing with everything. If you want to add more channels but not mess with the good ones you have I guess you could make a copy of your channels.conf file and run it on 'add new channels' for 10 minutes.
    Then copy the old file back and add on the extra ones that you found.
    Maybe I'll do that as my next patch.


    Ed.

    Newer Versions of VDR come with auto PID scanning.
    The menu allows you to select how you want to do this. The options are


    [0] = ("no");
    [1] = ("names only");
    [2] = ("names and PIDs");
    [3] = ("add new channels");
    [4] = ("add new transponders");


    The option I wanted was missing. I was after an update that kept the PIDs up to date but did not change the names.... so I added it in.


    The menu now contains :


    [0] = ("no");
    [1] = ("names only");
    [2] = ("PIDs only");
    [3] = ("names and PIDs");
    [4] = ("add new channels");
    [5] = ("add new transponders");


    And the update code works with these numbers.


    The patch file is available to download if anyone else would like this add on.

    Thank you Ronny


    I have changed the wget line to point to the script off the real server so it should stay up to date now.


    What is the bit about the 'kernel stuff'.
    This seems to be a script to compile the kernel ?
    I do not have this file. Where is it on your pc ?

    I do it using the install script as you can tweak the options that way. You can do it using the ebuilds too


    and this was added on by Christian :


    There are also ebuilds for gentoo.
    Add this line at /etc/make.conf


    SYNC="rsync://rsync16.de.gentoo.org/gentoo-merged"


    Now make an emerge rsync.
    At this point you have the official gentoo ebuilds and the ebuilds from gentoo.de


    ACCEPT_KEYWORDS="~x86" emerge -p vdr
    ACCEPT_KEYWORDS="~x86" emerge vdr

    LOL - I guess your english is better than mine if you can sum it up that quick.


    The idea was to give people a follow through guide where it lists all the bits you need for VDR - but I guess your version takes up less disk space
    :D

    Here is a basic guide to get linux up and running and ready for VDR (which is installed at the end using a menu install script)


    Boot up off Gentoo disk 1


    If needed run net-setup eth0


    passwd to set the root password
    /etc/init.d/sshd - If you wish to do this from another pc


    run fdisk /dev/hda (Follow the instructions in Gentoo section 6)
    For me this was -
    n / p / 1 / ENTER / +50M
    n / p / 2 / ENTER / +500M
    t / 2 / 82
    n / p / 3 / ENTER / ENTER
    a / 1
    p
    w


    Now format the partitions
    mke2fs -j /dev/hda1
    mkswap /dev/hda2
    mke2fs -j /dev/hda3


    and mount them
    swapon /dev/hda2
    mount -t ext3 /dev/hda3 /mnt/gentoo
    mkdir /mnt/gentoo/boot
    mount -t ext3 /dev/hda1 /mnt/gentoo/boot


    Start installing:
    cd /mnt/gentoo
    tar -xvjpf /mnt/cdrom/stages/stage2-*.tar.bz2
    mount -o bind /proc /mnt/gentoo/proc
    cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf


    Climb into your new system:
    chroot /mnt/gentoo /bin/bash
    env-update
    source /etc/profile


    Get everything up to date:
    emerge sync
    export CONFIG_PROTECT="-*"
    export USE="-* bootstrap build"
    emerge portage
    etc-update
    unset USE


    edit /etc/make.conf and set the USE line to :
    USE="alsa dvd perl usb tiff gif avi jpeg mpeg -X -kde -gnome"


    And now start bringing down all the system files you need :
    emerge -p system
    emerge system
    - This line will take a *long* time


    Make sure it is up to date:
    emerge sync
    emerge -up world
    emerge -u world


    Set the timezone to your local time (for me this was)
    ln -sf /usr/share/zoneinfo/GB /etc/localtime


    Get the 2.4 Kernel source code and then compile it
    emerge sys-kernel/vanilla-sources


    cd /usr/src/linux
    source /etc/profile
    make clean
    make menuconfig

    (Code maturity level options / Prompt for development drivers = "*")
    (add in a module for your network card as 'M')
    (add in Multimedia / video for Linux as 'M')
    (add in Filesystems / Ext3 + dos / MSDos + Vfat and '/dev' and 'mount at Boot' all as 'M')


    make dep && make bzImage
    make modules && make modules_install
    cp /usr/src/linux/arch/i386/boot/bzImage /boot/kernel-2.4.26
    (change name to fit version number)


    Now install GRUB - the boot loader and configure it
    emerge grub
    grub
    root (hd0,0)
    setup (hd0)
    quit


    cd /boot/grub
    nano -w grub.conf


    Fill the file with -

    Code
    default 0 
    timeout 15 
    splashimage=(hd0,0)/boot/grub/splash.xpm.gz 
    
    
    title=Gentoo Linux 
    root (hd0,0) 
    kernel (hd0,0)/boot/kernel-2.4.26 root=/dev/had3


    Install a system logger
    emerge app-admin/metalog
    rc-update add metalog default


    Install Cron (runs commands at set times)
    emerge sys-apps/fcron
    rc-update add fcron default


    Edit the FSTAB file
    nano -w /etc/fstab
    Change the lines to show where your drives are eg
    /dev/BOOT becomes /dev/hda1
    /dev/SWAP becomes /dev/hda2
    /dev/ROOT becomes /dev/hda3


    set root passwd
    passwd


    set machine hostname
    echo pvr-pc > /etc/hostname


    Setup the network
    nano -w /etc/conf.d/net - this is where you put DHCP or your ip addresses
    rc-update add net.eth0 default
    rc-update add sshd default


    basic setup
    nano -w /etc/rc.conf - setup things like keyboard type


    The system is now ready to boot and test.
    etc-update
    update-modules
    exit
    reboot


    Log back in (if you have problems booting then boot off disk 1 again and go back to the 'mount' step)


    Emerge useful packages
    emerge lynx
    emerge vim


    Install ALSA from http://www.gentoo.org/doc/en/alsa-guide.xml
    grep audio /proc/pci - look for the model name of the card
    env ACCEPT_KEYWORDS="~x86" ALSA_CARDS='intel8x0' emerge alsa-driver - replace intel8x0 with your card


    to support future recompiles add the following line to your /etc/make.conf file
    ALSA_CARDS='intel8x0'


    env ACCEPT_KEYWORDS="~x86" ALSA_CARDS='intel8x0' emerge alsa-oss


    nano -w /etc/modules.d/alsa [b] Fill it with :

    Code
    ## ALSA portion alias snd-card-0 snd-intel8x0 update-modules


    [b]env ACCEPT_KEYWORDS="~x86" emerge alsa-utils


    rc-update add alsasound boot
    /etc/init.d/alsasound start


    amixer set Master 100 unmute
    amixer set PCM 100 unmute



    Emerge packages needed for the VDR install
    emerge dialog


    Now get the VDR install script
    cd /root
    wget ftp://ftp.cadsoft.de/vdr/Tools/vdr-install-script-0.5.8.run

    and run it
    sh *.run
    Download the parts you would like and the script does the rest.

    People have been playing with these for a while now. I know they have altered the boot roms so it come up in Linux and they get control (I guess they have compiled a basic Linux OS to work the machine).
    As far as I know they have not got to the stage where it will run apps yet - probably due to the drivers for the graphics / network etc. But it is being worked on.


    This is better (size wise) than the same project that took over the Microsoft X-Boxes a while ago and booted them into Linux. You can get a few different things to run on an Xbox now (including VDR of course)


    [Edit] I've just had another look round and there are two different projects working on this.
    This version turns your main vdr pc into a server and the MVP box connects to it and shows the pictures that way.
    There is another project called mvpdevice which compiles vdr to work under a mini cut down linux version and puts that on the box so you have a full system (I guess you still need another pc for the storage / DVB card etc)

    Zitat

    Original von randy
    thats my opinion, too. the ml is supposed to be a "developer mailinglist", not a platform for "beginners" and "advanced" users...


    Randy - I agree....


    It is not helpful to have a mailing list which is used by the developers (who work in both German and English) flooded with posts about "How do I get sound ?" or "How do I turn on the lights ?".
    These sort of posts work better in a forum.


    Maybe the answer is -
    Keep the mailing list 'as it is'
    Keep the forum 'as it is' for news / releases
    but also add on an English 'help me' forum
    (and before I get whacked for suggesting that forums are good - you do not need to use them if you do not want to. Stay on the ML if that is good for you)