News:

Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Fourty2

#1
VOMP General / MVP / Re: Vomp media player
December 03, 2007, 20:10:35
Hi,

maybe you should use a "standard colour-test" picture, as the "DQ-Tool" Image

42
#2
VOMP General / MVP / Re: Can't compile latest CVS
November 24, 2007, 10:23:41
Quote from: rdoac on November 24, 2007, 08:35:02
Is there a CVS command to pull in upto a certain date?  If so, what would be that date to have pretty much everything working?

For example "cvs update -D2007-11-18"

Fourty2
#3
VOMP General / MVP / Re: Can't compile latest CVS
November 18, 2007, 18:46:59
Hello Chris,

hmm, still doesn't build...


eventdispatcher.cc: In member function `bool EventDispatcher::edFindAndCall(void*)':
eventdispatcher.cc:43: warning: 'edr' might be used uninitialized in this function
make: *** [eventdispatcher.o] Fehler 1
vivian:/usr/local/src/VoMP/client#


Hope, I didn't miss a patch in there...

Fourty2
#4
Quote from: GTRDRIVER on May 30, 2007, 20:59:55
I thinks there runs something wrong:
[..]
Don't run all.sh or crosstool.sh as root, it's dangerous

can you tell me what´s wrong here ?

You are working als root... :-)

This needs some editing of scripts and running cross-compiler build "by hand".
Afterwards you must comment-out the cross-compiler-build in makedevenv-script an run it again.

Maybe it is much better to do a simple adduser...

Fourty2


#5
Hello,

many of my recordings contain a "S" element in the file info.vdr, which shows info like "<genre> / <country> <year>",
subtitle or something like that.

Sample [info.vdr]:
C S19.2E-...
E 36313 111...
T Deep Blue
S Dokumentation Großbritannien / Deutschland 2003
D "Deep Blue", ein brilliant...
X 1 03 deu 16:9
X 2 03 deu stereo


If I go to "3. Recordings" -> (select one) -> Press Ok -> Select "Info" and this "S" element is present in info.vdr,
only "S" is displayed, whereas the "D" element never shows up.

In recordings without "S" element everything works as expected...

Any hints?
Fourty2

(MVP H3, CVS-Version of 2007-03-04, working fine.  ;D )
#6
Quote from: hondansx on February 20, 2007, 18:21:47
is there any posibility to add the MAC Adress hardcoded.
If I turn off the TV, the MVP gets powerless.

That won't help. If you unplug the MVP, it looses the dongle with the WOL code...
(Dongle is stored in RAM)

Fourty2
#7
Hello,

Crosstool build aborts because of a "if user is root" check in all.sh.
After a small change everything runs as expected..  ;D

Fourty2
#8
Quote from: Chris on February 13, 2007, 02:59:23
It is done and posted on the website. Could you report if it works on your system, and what your system is?

Debian 3.1 (Sarge), Kernel 2.6.20 and some package "upgrades" useful for vdr-plugins.

Sorry, not running... (User: root)

Last words:

crosstool-0.43/x86_64-static.dat
++ pwd
+ TARBALLS_DIR=/usr/local/src/VoMP/crosstool/downloads
++ pwd
+ RESULT_TOP=/usr/local/src/VoMP/crosstool
+ export TARBALLS_DIR RESULT_TOP
+ GCC_LANGUAGES=c,c++
+ export GCC_LANGUAGES
+ cd crosstool-0.43
++ cat powerpc-405.dat gcc-3.4.5-glibc-2.2.5.dat
+ eval TARGET=powerpc-405-linux-gnu 'TARGET_CFLAGS="-O' '-mcpu=405"' 'GCC_EXTRA_CONFIG="--with-cpu=405' '--enable-cxx-flags=-mcpu=405"' 'GLIBC_EXTRA_CONFIG="$GLIBC_EXTRA_CONFIG' '--without-fp"' BINUTILS_DIR=binutils-2.15 GCC_DIR=gcc-3.4.5 GLIBC_DIR=glibc-2.2.5 LINUX_DIR=linux-2.6.8 GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.2.5 'EXTRA_TARGET_CFLAGS="-fno-unit-at-a-time"' sh all.sh --notest
++ TARGET=powerpc-405-linux-gnu
++ TARGET_CFLAGS=-O -mcpu=405
++ GCC_EXTRA_CONFIG=--with-cpu=405 --enable-cxx-flags=-mcpu=405
++ GLIBC_EXTRA_CONFIG= --without-fp
++ BINUTILS_DIR=binutils-2.15
++ GCC_DIR=gcc-3.4.5
++ GLIBC_DIR=glibc-2.2.5
++ LINUX_DIR=linux-2.6.8
++ GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.2.5
++ EXTRA_TARGET_CFLAGS=-fno-unit-at-a-time
++ sh all.sh --notest
DEJAGNU not set, so not running any regression tests
GLIBC_ADDON_OPTIONS not set, so building all glibc add-on's
KERNELCONFIG not set, so not configuring linux kernel
+ TOOLCOMBO=gcc-3.4.5-glibc-2.2.5
++ pwd
+ BUILD_DIR=/usr/local/src/VoMP/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5
++ pwd
+ TOP_DIR=/usr/local/src/VoMP/crosstool/crosstool-0.43
+ test -z ''
+ SRC_DIR=/usr/local/src/VoMP/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5
+ echo 'SRC_DIR not set, so source tarballs will be unpacked in the build directory'
SRC_DIR not set, so source tarballs will be unpacked in the build directory
+ abort 'Don'\''t run all.sh or crosstool.sh as root, it'\''s dangerous'
+ echo 'Don'\''t' run all.sh or crosstool.sh as root, 'it'\''s' dangerous
Don't run all.sh or crosstool.sh as root, it's dangerous
+ exec false


Fourty2
#9
Hello Chris,

can you please inform us, which changes are necessary to compile Rev. 2.6 dongles...
(based on Devscript-3)

Thanks in advance,
42.
#10
Quote from: petric on November 27, 2006, 10:53:21
For others who want to test it i attach a patch file.

Can't download the patch... 404 not found. Any hints?

Fourty2
#11
VOMP General / MVP / Re: Patches to make an H3 boot
October 13, 2006, 20:12:06
One single question (looking into my server-logs...):

Into which difficulty do you run by just clicking a single link to a dongle-file?
::)

Fourty2
#12
VOMP General / MVP / Re: Patches to make an H3 boot
October 13, 2006, 09:32:38
Quote from: meando on October 13, 2006, 09:15:48
any chance that you could make your dongle.bin available for the people that are less gifted in the use of compilers?
I also have a H3 that doesn't boot the current VOMP.

Could you maybe post it here or put it somewhere to download?

Get it here (CVS-Version with Wake-On-LAN - needs CVS-Vompserver):
http://www.hachmann-it.de/VDR/Dongle-CVS-WOL.ZIP


Anyone with a downloadable VompClient.exe out there?
;D

Fourty2
#13
VOMP General / MVP / Re: Patches to make an H3 boot
October 09, 2006, 12:36:58
Quote from: MartenR on October 09, 2006, 07:34:46
Well, the recordings menu problem can be connected with the issue, that Chris is working on the protocoll for the recordings information (in cvs is writen that this is not finished) and you have at least to update also your server code, but

This definitly is the reason. With my "old" vompclient checkout (End of August) everything works fine with the patches
above (except the time-stuff patche(s)).

However, excessive jumping in record-playback-mode sometimes causes crashes...

Fourty2
#14
VOMP General / MVP / Re: Patches to make an H3 boot
October 07, 2006, 10:04:50
Quote from: sirwio on October 07, 2006, 01:30:30
Instead of using the newer hauppauge dongles I downloaded an old one and have no problems with the rest of the build. Would be nice though if someone could actually come out with a way to extract the kernel modules from a newer kernel!

So, here we go:
1. You need to build a new kernel (maybe not, if unsquashfs supports squashfs 2.x by now)
    - Get SquashFS-Kernel-Patch from
      http://prdownloads.sourceforge.net/squashfs/squashfs3.1-r2.tar.gz?download
    - Patch your kernel, build, install

2. There is a tool, called "find-squashfs", that can extract the squashfs-ram-disk. As far as I know,
    the only source is the german http://www.ip-phone-forum.de, so I append source
    and makefile.

3. Build find-squashfs and run it on a new dongle.bin to extract the squashfs ram-disk.

4. Mount this extracted squashfs-ramdisk with loop-device.

That was easy, wasn't it... ;-)

Fourty2

(find-squashfs.c)

#include <stdio.h>
#include <stdint.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <endian.h>
#include <stdlib.h>

#include <errno.h>

#ifndef BYTE_ORDER
#error "byte order not defined"
#endif

static void usage(name)
char name[];
{
        fprintf(stderr,"Usage: %s kernel.image\n",name);
        exit(1);
}

int main(argc,argv)
int argc;
char **argv;
{
        FILE *fd;
        long size, count;
        uint32_t *start,*point;

        /* start signature of squashfs */
#if BYTE_ORDER != LITTLE_ENDIAN
        uint32_t search = 0x73717368;
#else
        uint32_t search = 0x68737173;
#endif

        if ( argc != 2 )
                usage(argv[0]);
        fd = fopen(argv[1],"r");
        if ( fd == NULL )
        {
                fprintf(stderr,"Unable to open <%s> errno: %d\n",argv[1],errno);
                usage(argv[0]);
        }
        /* get size */
        size=fseek(fd, 0L, SEEK_END);
        size=ftell(fd);
        fprintf(stderr,"The size of <%s> is %ld\n",argv[1],size);
        fseek(fd, 0L, SEEK_SET);

        start=(uint32_t *)malloc(size);

        fread(start,size,1,fd);
        fclose(fd);

        for ( count=0,point=start; count < size; count+=sizeof(uint32_t),++point)
        {
                if ( *point == search )
                {
                        fprintf(stderr,"Squashfs signature found at %ld\n",count);
                        break;
                }
        }
        if ( count < size )
        {
                fd=fopen("kernel.raw","w");
                if ( fd == NULL )
                {
                        fprintf(stderr,"Create kernel.raw: errno %d\n",errno);
                        exit(99);
                }
                fwrite(start,1,count,fd);
                fclose(fd);
                fprintf(stderr,"kernel.raw created\n");
                fd=fopen("kernelsquashfs.raw","w");
                if ( fd == NULL )
                {
                        fprintf(stderr,"Create kernelsquashfs.raw: errno %d\n",errno);
                        exit(99);
                }
                fwrite(point,1,size-count,fd);
                fclose(fd);
                fprintf(stderr,"kernelsquashfs.raw created\n");
        }
        else
        {
                fprintf(stderr,"Strange, no squashfs signature found...\n");
                exit(99);
        }

        free(start);
        exit(0);
}


(Makefile)

CC = gcc
LD = ld
CFLAGS = -W -Wall -O2
PROGS = find-squashfs
OBJS += find-squashfs.o

all: $(OBJS)
        $(CC) -o find-squashfs $(OBJS)

clean:
        rm -f $(PROGS) $(OBJS)


.PHONY: all clean




#15
Hello,

hmm, seems to be a bit of a monolog, but...

the main problem seems to be then script dongle_split.pl in the vomp dongle-builder,
which is unable to split a Hauppauge Rev 3.x dongle. The "ramdisk" unfortunately isn't
there anymore and was replaced by something starting with a "sqsh...x..wx..wp" pattern.

Identified as...

Major/Minor mismatch, filesystem on sqsh.fs is (2:1)
I only support Squashfs 3.0 filesystems!  Later releases will support older Squashfs filesystems


..arrgh...

Fourty2