[vdr] May it be possible to use a fullfeature cards as output device only ?

2011-08-26 Thread Dieter Bloms
Hi,

the tuner part of my fullfeatured card ist broken, so I want to buy a
nova card and use this fullfeatured card as output device only.
At the moment vdr tries to use this card also as receiver.
So may it be possible to tell vdr it should use this card only for
output ?


-- 
Best regards

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ERROR: video data stream broken

2011-09-19 Thread Dieter Bloms
Hi,

On Mon, Sep 19, Dominic Evans wrote:

> Rather than having VDR emergency exit on this error, is it possible to
> have it just continue?

yes, if you set "EmergencyExit = 0" in the setup.conf file (or via osd
menu).


-- 
best regards

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] get a segmentation fault when starting vdr (backtrace included)

2012-11-29 Thread Dieter Bloms
Hello,

I've compiled vdr on alpinelinux 2.5.0 and get a segfault during
start of vdr.
Even without plugins I get this segfault (I didn't apply any patch to
vdr sources).
Vdr was started with the command:

/usr/local/bin/vdr --config=/etc/vdr --epgfile=/tmp/epg.data --grab=/dev/shm 
--log=3.1 --mute --no-kbd --user=root --video=/remote/vdr/

I've made a backtrace with gdb:

--snip--
vdrservernew:/tmp# gdb --core core /usr/local/bin/vdr
GNU gdb (GDB) 7.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/local/bin/vdr...done.
[New LWP 26493]
[New LWP 26492]
[New LWP 26494]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/local/bin/vdr --config=/etc/vdr 
--epgfile=/tmp/epg.data --grab=/dev/shm --'.
Program terminated with signal 11, Segmentation fault.
#0  skipspace (s=0x4080 ) at tools.h:196
196   if ((uchar)*s > ' ') // most strings don't have any leading space, so 
handle this case as fast as possible
(gdb) bt
#0  skipspace (s=0x4080 ) at tools.h:196
#1  isempty (s=0x4080 ) at tools.c:249
#2  0x004a1eb9 in FromString (s=0x2e531d2 "1 01 deu 4:3", 
this=0x2e4aba0) at epg.c:36
#3  cComponents::SetComponent (this=, Index=0, 
s=s@entry=0x2e531d2 "1 01 deu 4:3") at epg.c:81
#4  0x004a40f3 in cEvent::Parse (this=0x2e43360, s=) at 
epg.c:495
#5  0x004e9ea6 in cRecordingInfo::Read (this=0x2e2d110, 
f=f@entry=0x2e2c330) at recording.c:468
#6  0x004eb4e3 in cRecording::cRecording (this=0x2e2c650, 
FileName=0x2e4c15c "Sex_and_the_City_2/2012-11-19.20.10.27-0.rec") at 
recording.c:723
#7  0x004eceb1 in cRecordings::ScanVideoDir (this=0x7fe7c0 
, DirName=0x2e412b0 "/remote/vdr/Sex_and_the_City_2", 
Foreground=false, LinkLevel=0) at recording.c:1165
#8  0x004ed32c in cRecordings::ScanVideoDir (this=0x7fe7c0 
, DirName=0x2e25ff0 "/remote/vdr", Foreground=false, LinkLevel=0) 
at recording.c:1180
#9  0x0052694e in cThread::StartThread (Thread=0x7fe7e0 
) at thread.c:262
#10 0x6e6b7ce69406 in start_thread () from /lib/libpthread.so.0.9.32
#11 0x6e6b7ce61885 in clone () from /lib/libpthread.so.0.9.32
#12 0x in ?? ()
--snip--

does anybody see what is wrong here ?


-- 
Regards

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] get a segmentation fault when starting vdr (backtrace included)

2012-11-29 Thread Dieter Bloms
Hi,

On Thu, Nov 29, Dominic Evans wrote:

> On 29 November 2012 15:17, Dieter Bloms  wrote:
> > does anybody see what is wrong here ?
> 
> Your choice of recording? ;)
> 
> > #6  0x004eb4e3 in cRecording::cRecording (this=0x2e2c650, 
> > FileName=0x2e4c15c "Sex_and_the_City_2/2012-11-19.20.10.27-0.rec") at 
> > recording.c:723

my wife did it.
I've already moved this video outside from vdr directory, but then it
segfaults at the next video.
A second system based on opensuse runs fine, but I want to use alpine,
because it is a lightweight distribution based on uClibc.


-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] get a segmentation fault when starting vdr (backtrace included)

2012-11-30 Thread Dieter Bloms
Hi Lars,

thank you for the help!

On Fri, Nov 30, Lars Hanisch wrote:

> 32: bool tComponent::FromString(const char *s)
> 33: {
> 34:   unsigned int Stream, Type;
> 35:   int n = sscanf(s, "%X %02X %7s %a[^\n]", &Stream, &Type, language, 
> &description); // 7 = MAXLANGCODE2 - 1
> 36:   if (n != 4 || isempty(description)) {
> 37:  free(description);
> 38:  description = NULL;
> 39:  }
> 40:   stream = Stream;
> 41:   type = Type;
> 42:   return n >= 3;
> 43: }
> 
>  What I would do:
> - set description to NULL before the sscanf
> - log all values returned by sscanf and compare it with the given string

I changed it this way:

--snip--
  32 bool tComponent::FromString(const char *s)
  33 {
  34   unsigned int Stream, Type;
  35   description = NULL;
  36   int n = sscanf(s, "%X %02X %7s %a[^\n]", &Stream, &Type, language, 
&description); // 7 = MAXLANGCODE2 - 1
  37   esyslog("dbloms: \"%X\" \"%02X\" \"%7s\" \"%a\"", Stream, Type, 
language, description);
  38 
  39   if (n != 4 || isempty(description)) {
  40  free(description);
  41  description = NULL;
  42  }
  43   stream = Stream;
  44   type = Type;
  45   return n >= 3;
  46 }
--snip--

but during compile I saw this message:

--snip--
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -c 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
-DVDR_USER=\"root\" -DLIRC_DEVICE=\"/var/run/lirc/lircd\" -D_GNU_SOURCE 
-DVIDEODIR=\"/remote/vdr/video\" -DCONFDIR=\"/etc/vdr/config\" -DCACHEDIR=\"\" 
-DRESDIR=\"\" -DPLUGINDIR=\"/usr/src/vdr-1.7.32/PLUGINS/lib\" 
-DLOCDIR=\"/usr/share/vdr/locale\" -I/usr/include/freetype2   
-I/usr/src/v4l-dvb/linux/include epg.c
epg.c: In member function 'bool tComponent::FromString(const char*)':
epg.c:37:3: warning: format '%a' expects argument of type 'double', but 
argument 6 has type 'char*' [-Wformat]
--snip--

And after start in the logfile

--snip--
Nov 30 09:48:05 vdrservernew local1.err vdr: [4094] dbloms: "1" "01" "deu" 
"0x8.799b08p-1052"
--snip--

I think %a in my esyslog call isn't correct, but it is used this way
with the sscanf call and when I changed it with %s I don't see any log
entry.

So how should the esyslog call look like ?


-- 
Regards

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] get a segmentation fault when starting vdr (backtrace included)

2012-11-30 Thread Dieter Bloms
Hi,

On Fri, Nov 30, sundararaj reel wrote:

> %a to print a char* is not right. char* is interpreted as double (see the
> compiler warning) . If you want to print the pointer 'description', then
> use %p.

with "esyslog("dbloms: \"%X\" \"%02X\" \"%7s\" \"%p\"", Stream, Type, language, 
description);"
I get the following log entry:

--snip--
Nov 30 10:27:24 vdrservernew local1.err vdr: [7118] dbloms: "1" "01" "deu" 
"0x4080"
--snip--

> The following code crashes on my box too. I dont know why.

did you do it on uClibc system or a glibc one ?


-- 
Regards

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] get a segmentation fault when starting vdr (backtrace included)

2012-11-30 Thread Dieter Bloms
Hi Werner,

On Fri, Nov 30, Dr. Werner Fink wrote:

> On Fri, Nov 30, 2012 at 11:00:52AM +0100, Dieter Bloms wrote:
> > 
> > I changed it this way:
> > 
> > --snip--
> >   32 bool tComponent::FromString(const char *s)
> >   33 {
> >   34   unsigned int Stream, Type;
> >   35   description = NULL;
> >   36   int n = sscanf(s, "%X %02X %7s %a[^\n]", &Stream, &Type, language, 
> > &description); // 7 = MAXLANGCODE2 - 1
> >   37   esyslog("dbloms: \"%X\" \"%02X\" \"%7s\" \"%a\"", Stream, Type, 
> > language, description);
> >   38 
> >   39   if (n != 4 || isempty(description)) {
> >   40  free(description);
> >   41  description = NULL;
> >   42  }
> >   43   stream = Stream;
> >   44   type = Type;
> >   45   return n >= 3;
> >   46 }
> > --snip--
> 
> IMHO the %a should become %s in esyslog() whereas in sscanf() the %a should 
> become %as
> for the GNU extension of dynamically allocating string conversions.

Now I've the following code:

--snip--
  25 cString tComponent::ToString(void)
  26 {
  27   char buffer[256];
  28   snprintf(buffer, sizeof(buffer), "%X %02X %s %s", stream, type, 
language, description ? description : "");
  29   return buffer;
  30 }
  31 
  32 bool tComponent::FromString(const char *s)
  33 {
  34   unsigned int Stream, Type;
  35   description = NULL;
  36   int n = sscanf(s, "%X %02X %7s %as[^\n]", &Stream, &Type, language, 
&description); // 7 = MAXLANGCODE2 - 1
  37   esyslog("dbloms: \"%X\" \"%02X\" \"%7s\" \"%s\"", Stream, Type, 
language, description);
  38 
  39   if (n != 4 || isempty(description)) {
  40  free(description);
  41  description = NULL;
  42  }
  43   stream = Stream;
  44   type = Type;
  45   return n >= 3;
  46 }
--snip--


and get a core dump with this:

--snip--
vdrservernew:/tmp# gdb --core /tmp/core /usr/local/bin/vdr
GNU gdb (GDB) 7.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/vdr...done.
[New LWP 8986]
[New LWP 8985]
[New LWP 8987]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/local/bin/vdr --config=/etc/vdr 
--epgfile=/tmp/epg.data --grab=/dev/shm --'.
Program terminated with signal 11, Segmentation fault.
#0  0x6b2476b263b3 in strnlen () from /lib/libc.so.0.9.32
(gdb) bt
#0  0x6b2476b263b3 in strnlen () from /lib/libc.so.0.9.32
#1  0x6b2476b1ff56 in ?? () from /lib/libc.so.0.9.32
#2  0x6b2476b1d5dc in vsnprintf () from /lib/libc.so.0.9.32
#3  0x6b2476b14c29 in vsyslog () from /lib/libc.so.0.9.32
#4  0x0052e510 in syslog_with_tid (priority=3, format=0x551ab8 "dbloms: 
\"%X\" \"%02X\" \"%7s\" \"%s\"") at tools.c:40
#5  0x004a1e4e in FromString (s=, this=0x3dabc20) at 
epg.c:37
#6  cComponents::SetComponent (this=, Index=, 
s=s@entry=0x3d2 "1 01 deu 4:3") at epg.c:84
#7  0x004a4163 in cEvent::Parse (this=0x3d9f4d0, s=) at 
epg.c:498
#8  0x004e9f16 in cRecordingInfo::Read (this=0x3da8640, 
f=f@entry=0x3d9f840) at recording.c:468
#9  0x004eb553 in cRecording::cRecording (this=0x3da05c0, 
FileName=0x3d8aa7c "Sex_and_the_City_2/2012-11-19.20.10.27-0.rec") at 
recording.c:723
#10 0x004ecf21 in cRecordings::ScanVideoDir (this=0x7fe880 
, DirName=0x3d9d4c0 "/remote/vdr/Sex_and_the_City_2", 
Foreground=false, LinkLevel=0) at recording.c:1165
#11 0x004ed39c in cRecordings::ScanVideoDir (this=0x7fe880 
, DirName=0x3d83a20 "/remote/vdr", Foreground=false, LinkLevel=0) 
at recording.c:1180
#12 0x005269be in cThread::StartThread (Thread=0x7fe8a0 
) at thread.c:262
#13 0x6b247844a406 in start_thread () from /lib/libpthread.so.0.9.32
#14 0x6b2478442885 in clone () from /lib/libpthread.so.0.9.32
#15 0x in ?? ()
(gdb) 
--snip--


-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] get a segmentation fault when starting vdr (backtrace included)

2012-11-30 Thread Dieter Bloms
Hi,

On Fri, Nov 30, Dr. Werner Fink wrote:

> Maybe some more checks are required as if n != 4 this could be that one of the
> variables are not used and therefore not initialized.
> 
> Before sscanf() this could be a `memset(language, 0, sizeof(language));' or 
> more
> simple a `*language = 0;' depending on the type of language.  Also the code
> 
>if (n != 4 || isempty(description)) {
>   free(description);
>   description = NULL;
>}
> 
> could become
> 
>if (n != 4 || isempty(description)) {
>   if (description)
>  free(description);
>   description = NULL;
>}
> 
> as well as the line
> 
>esyslog("dbloms: \"%X\" \"%02X\" \"%7s\" \"%s\"", Stream, Type, language, 
> description);   
> 
> may look like
> 
>esyslog("dbloms: \"%X\" \"%02X\" \"%7s\" \"%s\"", Stream, Type, language, 
> description ? description : "");

may code looks like:

--snip--
bool tComponent::FromString(const char *s)
{
  unsigned int Stream, Type;
  description = NULL;
  int n = sscanf(s, "%X %02X %7s %as[^\n]", &Stream, &Type, language, 
&description); // 7 = MAXLANGCODE2 - 1
  esyslog("dbloms: \"%X\" \"%02X\" \"%7s\" \"%s\"", Stream, Type, language, 
description  ? description : "");

  if (n != 4 || isempty(description)) {
 if (description)
free(description);
 description = NULL;
 }
  stream = Stream;
  type = Type;
  return n >= 3;
}
--snip--

and I get a core dump like:

--snip--
vdrservernew:/usr/src/vdr-1.7.32# gdb --core /tmp/core /usr/local/bin/vdr
GNU gdb (GDB) 7.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/local/bin/vdr...done.
[New LWP 2829]
[New LWP 2830]
[New LWP 2828]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/local/bin/vdr --config=/etc/vdr 
--epgfile=/tmp/epg.data --grab=/dev/shm --'.
Program terminated with signal 11, Segmentation fault.
#0  0x799a5fbbe3b3 in strnlen () from /lib/libc.so.0.9.32
(gdb) bt
#0  0x799a5fbbe3b3 in strnlen () from /lib/libc.so.0.9.32
#1  0x799a5fbb7f56 in ?? () from /lib/libc.so.0.9.32
#2  0x799a5fbb55dc in vsnprintf () from /lib/libc.so.0.9.32
#3  0x799a5fbacc29 in vsyslog () from /lib/libc.so.0.9.32
#4  0x0052e570 in syslog_with_tid (priority=3, format=0x551b18 "dbloms: 
\"%X\" \"%02X\" \"%7s\" \"%s\"") at tools.c:40
#5  0x004a1bbd in tComponent::FromString (this=0x22a24b0, s=) at epg.c:37
#6  0x004a4197 in SetComponent (s=, Index=0, 
this=0x22ad550) at epg.c:85
#7  cEvent::Parse (this=, s=) at epg.c:499
#8  0x004e9f76 in cRecordingInfo::Read (this=0x22a50e0, 
f=f@entry=0x22a1f00) at recording.c:468
#9  0x004eb5b3 in cRecording::cRecording (this=0x22a2210, 
FileName=0x22a0fdc "Sex_and_the_City_2/2012-11-19.20.10.27-0.rec") at 
recording.c:723
#10 0x004ecf81 in cRecordings::ScanVideoDir (this=0x7fe900 
, DirName=0x229aca0 "/remote/vdr/Sex_and_the_City_2", 
Foreground=false, LinkLevel=0) at recording.c:1165
#11 0x004ed3fc in cRecordings::ScanVideoDir (this=0x7fe900 
, DirName=0x2285390 "/remote/vdr", Foreground=false, LinkLevel=0) 
at recording.c:1180
#12 0x00526a1e in cThread::StartThread (Thread=0x7fe920 
) at thread.c:262
#13 0x799a614e2406 in start_thread () from /lib/libpthread.so.0.9.32
#14 0x799a614da885 in clone () from /lib/libpthread.so.0.9.32
#15 0x in ?? ()
(gdb) 
--snip--

-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] can't compile vdr-2.0.2 on alpinelinux distribution

2013-05-21 Thread Dieter Bloms
Hi,

I use alpinelinux (2.6.0) 64bit.
When I try to compile vdr I get the following error message:

--snip--
g++ -g -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -rdynamic  
audio.o channels.o ci.o config.o cutter.o device.o diseqc.o dvbdevice.o dvbci.o 
dvbplayer.o dvbspu.o dvbsubtitle.o eit.o eitscan.o epg.o filter.o font.o i18n.o 
interface.o keys.o lirc.o menu.o menuitems.o nit.o osdbase.o osd.o pat.o 
player.o plugin.o receiver.o recorder.o recording.o remote.o remux.o 
ringbuffer.o sdt.o sections.o shutdown.o skinclassic.o skinlcars.o skins.o 
skinsttng.o sourceparams.o sources.o spu.o status.o svdrp.o themes.o thread.o 
timers.o tools.o transfer.o vdr.o videodir.o -ljpeg -lpthread -ldl -lcap -lrt 
-lfreetype -lfontconfig   /usr/src/vdr-2.0.2/libsi/libsi.a -o vdr
i18n.o: In function `I18nInitialize(char const*)':
/usr/src/vdr-2.0.2/i18n.c:109: undefined reference to `libintl_textdomain'
/usr/src/vdr-2.0.2/i18n.c:110: undefined reference to `libintl_bindtextdomain'
i18n.o: In function `SetEnvLanguage':
/usr/src/vdr-2.0.2/i18n.c:100: undefined reference to `_nl_msg_cat_cntr'
i18n.o: In function `I18nInitialize(char const*)':
/usr/src/vdr-2.0.2/i18n.c:119: undefined reference to `libintl_gettext'
/usr/src/vdr-2.0.2/i18n.c:126: undefined reference to `libintl_gettext'
i18n.o: In function `SetEnvLanguage':
/usr/src/vdr-2.0.2/i18n.c:100: undefined reference to `_nl_msg_cat_cntr'
i18n.o: In function `I18nRegister(char const*)':
/usr/src/vdr-2.0.2/i18n.c:167: undefined reference to `libintl_bindtextdomain'
i18n.o: In function `SetEnvLanguage':
/usr/src/vdr-2.0.2/i18n.c:100: undefined reference to `_nl_msg_cat_cntr'
i18n.o: In function `I18nTranslate(char const*, char const*)':
/usr/src/vdr-2.0.2/i18n.c:211: undefined reference to `libintl_dgettext'
/usr/src/vdr-2.0.2/i18n.c:211: undefined reference to `libintl_gettext'
tools.o: In function `cCharSetConv::cCharSetConv(char const*, char const*)':
/usr/src/vdr-2.0.2/tools.c:871: undefined reference to `libiconv_open'
tools.o: In function `cCharSetConv::Convert(char const*, char*, unsigned long)':
/usr/src/vdr-2.0.2/tools.c:930: undefined reference to `libiconv'
tools.o: In function `cCharSetConv::~cCharSetConv()':
/usr/src/vdr-2.0.2/tools.c:880: undefined reference to `libiconv_close'
/usr/src/vdr-2.0.2/libsi/libsi.a(si.o): In function 
`SI::convertCharacterTable(char const*, unsigned long, char*, unsigned long, 
char const*)':
/usr/src/vdr-2.0.2/libsi/si.c:384: undefined reference to `libiconv_open'
/usr/src/vdr-2.0.2/libsi/si.c:388: undefined reference to `libiconv'
/usr/src/vdr-2.0.2/libsi/si.c:401: undefined reference to `libiconv_close'
collect2: error: ld returned 1 exit status
make: *** [vdr] Error 1
--snip--

when I add '-liconv -lintl' to the g++ command, I get the vdr binary
linked together without an error.

--snip--
template:/usr/src/vdr-2.0.2# g++ -g -O3 -Wall -Werror=overloaded-virtual 
-Wno-parentheses -fPIC -rdynamic  audio.o channels.o ci.o config.o cutter.o 
device.o diseqc.o dvbdevice.o dvbci.o dvbplayer.o dvbspu.o dvbsubtitle.o eit.o 
eitscan.o epg.o filter.o font.o i18n.o interface.o keys.o lirc.o menu.o 
menuitems.o nit.o osdbase.o osd.o pat.o player.o plugin.o receiver.o recorder.o 
recording.o remote.o remux.o ringbuffer.o sdt.o sections.o shutdown.o 
skinclassic.o skinlcars.o skins.o skinsttng.o sourceparams.o sources.o spu.o 
status.o svdrp.o themes.o thread.o timers.o tools.o transfer.o vdr.o videodir.o 
-ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig  
/usr/src/vdr-2.0.1/libsi/libsi.a -liconv -lintl -o vdr
template:/usr/src/vdr-2.0.2# ls -l vdr
-rwxr-xr-x 1 root root 7495892 May 21 20:06 vdr
--snip--

do other people have to add this two libraries, too ?
Does anybody know how to add these two libraries permanent, or is this a
bug somewhere ?


-- 
Best regards

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] powersaving with satip pluging

2018-07-25 Thread Dieter Bloms
Hello,

I've a vdrserver running with vdr 2.3.8 and satip plugin 2.3.1-GIT-e008ee0.
It works great with a minisatip server 0.7.15.
But it keeps the connection to the minisatip server open all the time,
so the dvb adapter and lnb consumes power every time. 

I added the parameter "--detach" to the satip plugin.
And now the connection to the minisatip will be closed when the satip
plugin goes in idle mode as expected.
But now, if a recording should started, nothing happens.
The satip plugin doesn't open a connection to my minisatipserver and I miss
the recordings.

My config looks like this:

--snip--
[vdr]
  --config=/etc/vdr
  --epgfile=/tmp/epg.data
  --grab=/dev/shm
  --log=2.1
  --mute
  --no-kbd
  --user=root
  --video=/remote/vdr
  -D-

[satip]
  --devices=1
  --detach
--snip--

and the setup.conf part of satip:

--snip--
satip.CICAM = 0 0
satip.DisabledFilters =
satip.DisabledSources =
satip.EnableCIExtension = 0
satip.EnableEITScan = 1
satip.OperatingMode = 3
satip.TransportMode = 0
--snip--

Can anybody see where I do the mistake ?

-- 
Regards

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.

___
vdr mailing list
vdr@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] Re: [ANNOUNCE] VDR version 2.6.8 released

2024-07-08 Thread Dieter Bloms
Hello Klaus,

thank you for this release.

On Mon, Jul 08, Klaus Schmidinger wrote:

> - Unused devices can now be put into a power save mode (suggested by Markus
>   Ehrnsperger). Device plugins need to implement the new function
>   cDevice::SetPowerSaveMode() to make this work.
> - Implemented power save mode for cDvbDevice (based on a patch from Markus
>   Ehrnsperger).
> - Added 'lnbPowerTurnedOn = false' to cDvbTuner::ProvidesFrontend() 
> (suggested by
>   Markus Ehrnsperger).

with this the last patch (from dynamite plugin) is gone.
Thank you for implementing this in core vdr!

-- 
Regards

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.


Re: [vdr] (solved !) ERROR: video data stream broken on second dvb card, but szap work

2007-02-27 Thread Dieter Bloms
Hello Reinhard,

On Sun, Feb 18, Reinhard Nissl wrote:

> I've had a further look into szap's source how it detects the status
> FE_LOCKED. Attached is an updated tuner patch which now also reports
> details for FE_READ_STATUS.
> 
> One difference between VDR and szap regarding FE_READ_STATUS is, that
> VDR only honors the read status when ioctl() returns 0 while szap prints
> just an error when ioctl() returns -1.
> 
> Furthermore, VDR's handling of errno == EINTR seems to be wrong due to
> the do {} while (0); loop.
> 
> BTW: I still assume, that your logfile reports a tuning timeout. If this
> is no longer the case, then you may want to experiment with
> WAIT_FOR_TUNER_LOCK in device.c.

I've tried your patch and the new vdr-1.4.5-2 for some days now and
it works even when I disable diseqc !
So I have to say: greate work Reinhard and many many thanks to you !!!


-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.


pgpchsPE8uiwQ.pgp
Description: PGP signature
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] frontend 1 timed out while tuning to channel 0

2007-03-06 Thread Dieter Bloms
Hi,

I get a lot of these messages in my logfile.
What does channel 0 mean ?

--snip--
video:~ # grep "timed out while tuning" /var/log/vdr
Mar  6 19:47:54 video vdr: [19313] frontend 1 timed out while tuning to channel 
0, tp 212522
Mar  6 19:50:00 video vdr: [19313] frontend 1 timed out while tuning to channel 
0, tp 212699
Mar  6 19:50:22 video vdr: [19313] frontend 1 timed out while tuning to channel 
0, tp 212728
Mar  6 19:54:12 video vdr: [19313] frontend 1 timed out while tuning to channel 
0, tp 111914
Mar  6 19:59:49 video vdr: [19313] frontend 1 timed out while tuning to channel 
0, tp 112544
Mar  6 20:01:55 video vdr: [19313] frontend 1 timed out while tuning to channel 
0, tp 112721
Mar  6 20:11:01 video vdr: [19313] frontend 1 timed out while tuning to channel 
0, tp 212090
Mar  6 20:14:52 video vdr: [19313] frontend 1 timed out while tuning to channel 
0, tp 212522
Mar  6 20:16:58 video vdr: [19313] frontend 1 timed out while tuning to channel 
0, tp 212699
Mar  6 20:17:19 video vdr: [19313] frontend 1 timed out while tuning to channel 
0, tp 212728
Mar  6 20:21:10 video vdr: [19313] frontend 1 timed out while tuning to channel 
0, tp 111914
Mar  6 20:26:46 video vdr: [19313] frontend 1 timed out while tuning to channel 
0, tp 112544
--snip
 
the first lines of my channels.conf looks like:

--snip--
video:~ # head /etc/vdr/channels.conf
:Freie Sender
Das Erste;ARD:11836:hC34:S19.2E:27500:101:102=deu;106=deu:104:0:28106:1:1101:0
ZDF;ZDFvision:11953:hC34:S19.2E:27500:110:120=deu,121=2ch;125=dd:130:0:28006:1:1079:0
Bayerisches FS;ARD:11836:hC34:S19.2E:27500:201:202=deu:204:0:28107:1:1101:0
RTL Television,RTL;RTL 
World:12187:hC34:S19.2E:27500:163:104=deu;106=deu:105:0:12003:1:1089:0
SAT.1;ProSiebenSat.1:12480:vC34:S19.2E:27500:1791:1792=deu;1795=deu:34:0:46:133:33:0
RTL2;RTL World:12187:hC34:S19.2E:27500:166:128=deu:68:0:12020:1:1089:0
ProSieben;ProSiebenSat.1:12480:vC34:S19.2E:27500:255:256=deu;257=deu:32:0:898:133:33:0
Super RTL,S RTL;RTL 
World:12187:hC34:S19.2E:27500:165:120=deu:65:0:12040:1:1089:0
KABEL1;ProSiebenSat.1:12480:vC34:S19.2E:27500:511:512=deu:33:0:899:133:33:0
--snip--

I use vdr-1.4.5-2 and v4l-dvb from todays hg.


-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.


pgpMhfq0siaoA.pgp
Description: PGP signature
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] FF 2300-C card need audio via sound card

2007-12-22 Thread Dieter Bloms
Hi,

On Sun, Dec 23, Simon Baxter wrote:

> Hi.  I'm trying to get VDR to send DVB-C audio via the sound card rather 
> than via the FF (mono) port.

maybe you will give bitstreamout a try.
http://bitstreamout.sourceforge.net/

I don't know, whether it compiles against current vdr.


-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.


pgpD8B51abjnU.pgp
Description: PGP signature
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Technotrend FF DVB-S AC3 Passthrough

2007-12-26 Thread Dieter Bloms
Hi,

On Wed, Dec 26, Morfsta wrote:

> Apologies if this has been covered before but I have been searching
> for info on this, can anyone explain how this works with the TT FF AC3
> Passthrough firmware?

this works for all dvb cards with spdif output. You only have to use
current driver with current firmware.

> I can't seem to get any AC3 out of my motherboard soundcard when
> playing an AC3 channel with the firmware alone - are there any mods or
> dependencies that are required to get this working?

you can get the AC3 stuff from the dvb card, not another soundcard on
your board.

Most cards (but not all revisions) have a J2 block, where you can get
the spdif signal (with 5V). 

> I have tested the AC3 output with mplayer and xine and it is working
> properly with XVIDs with AC3 soundtrack. It also works with the
> bitstreamout plugin but the sync is not good.

bitstreamout has nothing to to with the dvb firmware and as far as I can
see, it will not be continued.


-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.


pgpGAh53lRpra.pgp
Description: PGP signature
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Problem with VDR 1.5.14 and FF card version 2.1 card and channels with high bitrate

2008-02-02 Thread Dieter Bloms
Hi,

On Fri, Feb 01, Magnus Andersson wrote:

> I have problems with channels that uses high bitrate on Thor 1W. A few
> channels uses between 10-11 Mbit/s mpeg2 and if I use tv-out from FF
> card vdr 1.5.14 the picture glitches and the remote response becomes
> really slow. It can take 10 seconds or more to change channel. There are
> no problems if I use xineliboutput and vdr 1.5.14 or channels with low
> bitrate. VDR 1.4.7 is ok with both xinliboutput plugin and tv-out from
> FF card so my question is how to log this? I start vdr with option -l 3
> but there is nothing in the log.
> 
> vdr 1.5.14
> patches:
> vdr-1.5.14-liemikuutio-1.17.diff
> vdr-1.5.14-ttxtsubs-0.0.5.diff
> vdr-1.5.14-dvb-api-emulate-0.1.diff
> 
> I have seen this in earlier versions of 1.5 so it is not related to
> 1.5.14 only.

I've the same problem with ARD, when I switch audio to dolby digital.
When I set audio to stereo, there are no problems.

Can you try to disable dolby digital ?

PS.: cpu is  "Mobile Genuine Intel(R) processor 900MHz" and ff card is a
01:0f.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)

-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.


pgpAZbkZX4CwY.pgp
Description: PGP signature
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] femon plugin doesn't work "ERROR (femonosd.c, 504): Function not implemented"

2009-09-14 Thread Dieter Bloms
Hello,

I use vdr-1.7.9, v4l-dvb from http://linuxtv.org/hg/v4l-dvb
and femon 1.7.4

When I start the plugin I don't get any output on my tv and see the
following messages in my logfile:

--snip--
Sep 15 08:37:36 video vdr: [17541] ERROR: cOsd::SetAreas returned 6
Sep 15 08:37:36 video vdr: [18523] femon receiver thread started (pid=17541, 
tid=18523)
Sep 15 08:37:36 video vdr: [18524] receiver on device 1 thread started 
(pid=17541, tid=18524)
Sep 15 08:37:36 video vdr: [18525] TS buffer on device 1 thread started 
(pid=17541, tid=18525)
Sep 15 08:37:36 video vdr: [18526] femon osd thread started (pid=17541, 
tid=18526)
Sep 15 08:37:36 video vdr: [18526] ERROR (femonosd.c,504): Function not 
implemented
Sep 15 08:37:36 video vdr: [18526] ERROR (femonosd.c,504): Function not 
implemented
Sep 15 08:37:37 video vdr: [18526] ERROR (femonosd.c,504): Function not 
implemented
Sep 15 08:37:37 video vdr: [18526] ERROR (femonosd.c,504): Function not 
implemented
Sep 15 08:37:38 video vdr: [18526] ERROR (femonosd.c,504): Function not 
implemented
Sep 15 08:37:38 video vdr: [18526] femon osd thread ended (pid=17541, tid=18526)
Sep 15 08:37:38 video vdr: [18523] femon receiver thread ended (pid=17541, 
tid=18523)
Sep 15 08:37:38 video vdr: [18525] TS buffer on device 1 thread ended 
(pid=17541, tid=18525)
Sep 15 08:37:38 video vdr: [18524] buffer stats: 114304 (5%) used
Sep 15 08:37:38 video vdr: [18524] receiver on device 1 thread ended 
(pid=17541, tid=18524)
--snip--

does anybody know what is wrong with my setup ?

PS.: via svdr I can get some infos:

--snip--
video:~ # svdrpsend.pl plug femon info
220 video SVDRP VideoDiskRecorder 1.7.9; Tue Sep 15 08:41:59 2009;
ANSI_X3.4-1968
900-CARD:0
900-TYPE:0
900-NAME:ST STV0299 DVB-S
900-STAT:1F
900-SGNL:E11E
900-SNRA:EC1F
900-BERA:
900-UNCB:
900 CHAN:Das
Erste;ARD:11836:hC34M2O0S0:S19.2E:27500:101=2:102=deu,103=2ch;106=dd:104:0:28106:1:1101:0
221 video closing connection
video:~ #
--snip--

-- 
Best regards

  Dieter Bloms

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] femon plugin doesn't work "ERROR (femonosd.c, 504): Function not implemented"

2009-09-15 Thread Dieter Bloms
Hi,

On Tue, Sep 15, Rolf Ahrenberg wrote:

>> Why is it not possible to show all femon OSD content with the vdr default OSD
>> size? I don't remember that I had to change the OSD size with earlier
>> vdr/plugin versions.
>
> There shouldn't be any problems with the "Duotone" theme, but on the other 
> hand I find it too ugly for a default one.

yes, with Duotone theme it works.
Thank you for this hint.


-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
>From field.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] Harman Kardon AVR 435 working with spdif of full featured cards ?

2006-10-18 Thread Dieter Bloms
Hi,

I plan to buy the harman kardon avr 435 receiver and want to connect the
pin4 from jumper 2 of my full featured card to it.
Does anybody know if this receiver works with the rev 1.3 card ?
I don't mean the voltage, but the non audio bit problem.

Thank you for an answer !


-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.


pgp3CEQpWEu1x.pgp
Description: PGP signature
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] ERROR: video data stream broken on second dvb card , but szap works (include recording)

2007-02-09 Thread Dieter Bloms
Hi,

I have two cards in my video server:

Technotrend/Hauppauge WinTV Nexus-S rev2.3)
Hauppauge Nova-S-Plus DVB-S [card=37]

lspci:

01:0c.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio 
Decoder (rev 05)
01:0c.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio 
Decoder [Audio Port] (rev 05)
01:0c.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio 
Decoder [MPEG Port] (rev 05)
01:0c.4 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio 
Decoder [IR Port] (rev 05)
01:0f.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)

when I use szap to change the channel, I can switch, record, switch,
record  (record with "cat /dev/dvb/adapter1/dvr0 >/tmp/tsvideo".

But when I try to record with vdr, I get the following errors and
nothing will be record:
(with plain vdr-1.5.0 and plain vdr-1.4.0 and v4l-dvb from yesterdays hg):

Feb  9 12:02:00 video vdr: [30529] connect from 127.0.0.1, port 60607 - accepted
Feb  9 12:02:00 video vdr: [30529] timer 10 (1 1200-1215 VPS 'Tagesschau um 
zwölf') added
Feb  9 12:02:00 video vdr: [30529] closing SVDRP connection
Feb  9 12:02:00 video vdr: [30529] switching device 2 to channel 1
Feb  9 12:02:00 video vdr: [30529] timer 10 (1 1200-1215 VPS 'Tagesschau um 
zwölf') start
Feb  9 12:02:00 video vdr: [30529] Title: 'Tagesschau um zwölf' Subtitle: ''
Feb  9 12:02:00 video vdr: [30529] record 
/data/nobackup/video/Tagesschau_um_zwölf/2007-02-09.12.00.50.50.rec
Feb  9 12:02:00 video vdr: [30529] creating directory 
/data/nobackup/video/Tagesschau_um_zwölf
Feb  9 12:02:01 video vdr: [30529] creating directory 
/data/nobackup/video/Tagesschau_um_zwölf/2007-02-09.12.00.50.50.rec
Feb  9 12:02:01 video vdr: [30529] recording to 
'/data/nobackup/video/Tagesschau_um_zwölf/2007-02-09.12.00.50.50.rec/001.vdr'
Feb  9 12:02:01 video vdr: [30529] connect from 127.0.0.1, port 60610 - accepted
Feb  9 12:02:01 video vdr: [30529] closing SVDRP connection
Feb  9 12:02:01 video vdr: [30603] file writer thread started (pid=30529, 
tid=30603)
Feb  9 12:02:01 video vdr: [30604] recording thread started (pid=30529, 
tid=30604)
Feb  9 12:02:01 video vdr: [30605] receiver on device 2 thread started 
(pid=30529, tid=30605)
Feb  9 12:02:01 video vdr: [30606] TS buffer on device 2 thread started 
(pid=30529, tid=30606)
Feb  9 12:02:03 video vdr: [30529] timer 10 (1 1200-1215 VPS 'Tagesschau um 
zwölf') set to event Fre 09.02.2007 12:00-12:15 (VPS: 09.02 12: 00) 'Tagesschau 
um zwölf'
Feb  9 12:02:09 video vdr: [30537] frontend 1 timed out while tuning to channel 
1, tp 111836
Feb  9 12:02:10 video vdr: [30529] connect from 127.0.0.1, port 60614 - accepted
Feb  9 12:02:10 video vdr: [30529] closing SVDRP connection
Feb  9 12:02:10 video vdr: [30529] connect from 127.0.0.1, port 60617 - accepted
Feb  9 12:02:10 video vdr: [30529] closing SVDRP connection
Feb  9 12:02:27 video vdr: [30529] connect from 127.0.0.1, port 60622 - accepted
Feb  9 12:02:27 video vdr: [30529] closing SVDRP connection
Feb  9 12:02:32 video vdr: [30603] ERROR: video data stream broken
Feb  9 12:02:32 video vdr: [30603] initiating emergency exit
Feb  9 12:02:32 video vdr: [30529] emergency exit requested - shutting down
Feb  9 12:02:32 video vdr: [30604] recording thread ended (pid=30529, tid=30604)
Feb  9 12:02:32 video vdr: [30603] file writer thread ended (pid=30529, 
tid=30603)
Feb  9 12:02:32 video vdr: [30529] buffer stats: 0 (0%) used
Feb  9 12:02:32 video vdr: [30529] timer 10 (1 1200-1215 VPS 'Tagesschau um 
zwölf') stop
Feb  9 12:02:32 video vdr: [30529] saved setup to /etc/vdr/setup.conf
Feb  9 12:02:32 video vdr: [30534] tuner on device 1 thread ended (pid=30529, 
tid=30534)
Feb  9 12:02:33 video vdr: [30606] TS buffer on device 2 thread ended 
(pid=30529, tid=30606)
Feb  9 12:02:33 video vdr: [30605] buffer stats: 0 (0%) used
Feb  9 12:02:33 video vdr: [30605] receiver on device 2 thread ended 
(pid=30529, tid=30605)
Feb  9 12:02:33 video vdr: [30533] CI adapter on device 0 thread ended 
(pid=30529, tid=30533)
Feb  9 12:02:33 video vdr: [30535] section handler thread ended (pid=30529, 
tid=30535)
Feb  9 12:02:34 video vdr: [30537] tuner on device 2 thread ended (pid=30529, 
tid=30537)
Feb  9 12:02:34 video vdr: [30538] section handler thread ended (pid=30529, 
tid=30538)
Feb  9 12:02:36 video vdr: [30529] =
Feb  9 12:02:36 video vdr: [30529] EPG bugfix statistics
Feb  9 12:02:36 video vdr: [30529] =
Feb  9 12:02:36 video vdr: [30529] IF SOMEBODY WHO IS IN CHARGE OF THE EPG DATA 
FOR ONE OF THE LISTED
Feb  9 12:02:36 video vdr: [30529] CHANNELS READS THIS: PLEASE TAKE A LOOK AT 
THE FUNCTION cEvent::FixEpgBugs()
Feb  9 12:02:36 video vdr: [30529] IN VDR/epg.c TO LEARN WHAT'S WRONG WITH YOUR 
DATA, AND FIX IT!
Feb  9 12:02:36 video vdr: [30529] =
Feb  9 12:02:36 video vdr: [30529] Fix  HitsChannels
Feb  9 12:02:36 video vdr: [30529] 315  Dok&Deb, hr-fernsehen, KiKa
Feb

Re: [vdr] ERROR: video data stream broken on second dvb card , but szap works (include recording)

2007-02-09 Thread Dieter Bloms
Hi,

with strace I can see, that vdr tries to open video0 and audio0, which
aren't there.
Do they have to exist for "nova" cards ?

video:/var/service/vdr # grep adapter1 /tmp/vdr-1.5.0.strace 
access("/dev/dvb/adapter1/frontend0", F_OK) = 0
open("/dev/dvb/adapter1/frontend0", O_RDONLY) = 10
open("/dev/dvb/adapter1/frontend0", O_RDWR|O_NONBLOCK) = 10
open("/dev/dvb/adapter1/osd0", O_RDWR)  = -1 ENOENT (No such file or directory)
open("/dev/dvb/adapter1/video0", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file 
or directory)
open("/dev/dvb/adapter1/audio0", O_RDWR|O_NONBLOCK) = -1 ENOENT (No such file 
or directory)
open("/dev/dvb/adapter1/demux0", O_RDWR) = 11
open("/dev/dvb/adapter1/ca0", O_RDWR)   = -1 ENOENT (No such file or directory)
open("/dev/dvb/adapter1/demux0", O_RDWR|O_NONBLOCK) = 26
open("/dev/dvb/adapter1/demux0", O_RDWR|O_NONBLOCK) = 27
open("/dev/dvb/adapter1/demux0", O_RDWR|O_NONBLOCK) = 28
video:/var/service/vdr # 

On Fri, Feb 09, Dieter Bloms wrote:

> Hi,
> 
> I have two cards in my video server:
> 
> Technotrend/Hauppauge WinTV Nexus-S rev2.3)
> Hauppauge Nova-S-Plus DVB-S [card=37]
> 
> lspci:
> 
> 01:0c.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and 
> Audio Decoder (rev 05)
> 01:0c.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio 
> Decoder [Audio Port] (rev 05)
> 01:0c.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio 
> Decoder [MPEG Port] (rev 05)
> 01:0c.4 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio 
> Decoder [IR Port] (rev 05)
> 01:0f.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
> 
> when I use szap to change the channel, I can switch, record, switch,
> record  (record with "cat /dev/dvb/adapter1/dvr0 >/tmp/tsvideo".
> 
> But when I try to record with vdr, I get the following errors and
> nothing will be record:
> (with plain vdr-1.5.0 and plain vdr-1.4.0 and v4l-dvb from yesterdays hg):
> 
> Feb  9 12:02:00 video vdr: [30529] connect from 127.0.0.1, port 60607 - 
> accepted
> Feb  9 12:02:00 video vdr: [30529] timer 10 (1 1200-1215 VPS 'Tagesschau um 
> zwölf') added
> Feb  9 12:02:00 video vdr: [30529] closing SVDRP connection
> Feb  9 12:02:00 video vdr: [30529] switching device 2 to channel 1
> Feb  9 12:02:00 video vdr: [30529] timer 10 (1 1200-1215 VPS 'Tagesschau um 
> zwölf') start
> Feb  9 12:02:00 video vdr: [30529] Title: 'Tagesschau um zwölf' Subtitle: ''
> Feb  9 12:02:00 video vdr: [30529] record 
> /data/nobackup/video/Tagesschau_um_zwölf/2007-02-09.12.00.50.50.rec
> Feb  9 12:02:00 video vdr: [30529] creating directory 
> /data/nobackup/video/Tagesschau_um_zwölf
> Feb  9 12:02:01 video vdr: [30529] creating directory 
> /data/nobackup/video/Tagesschau_um_zwölf/2007-02-09.12.00.50.50.rec
> Feb  9 12:02:01 video vdr: [30529] recording to 
> '/data/nobackup/video/Tagesschau_um_zwölf/2007-02-09.12.00.50.50.rec/001.vdr'
> Feb  9 12:02:01 video vdr: [30529] connect from 127.0.0.1, port 60610 - 
> accepted
> Feb  9 12:02:01 video vdr: [30529] closing SVDRP connection
> Feb  9 12:02:01 video vdr: [30603] file writer thread started (pid=30529, 
> tid=30603)
> Feb  9 12:02:01 video vdr: [30604] recording thread started (pid=30529, 
> tid=30604)
> Feb  9 12:02:01 video vdr: [30605] receiver on device 2 thread started 
> (pid=30529, tid=30605)
> Feb  9 12:02:01 video vdr: [30606] TS buffer on device 2 thread started 
> (pid=30529, tid=30606)
> Feb  9 12:02:03 video vdr: [30529] timer 10 (1 1200-1215 VPS 'Tagesschau um 
> zwölf') set to event Fre 09.02.2007 12:00-12:15 (VPS: 09.02 12: 00) 
> 'Tagesschau um zwölf'
> Feb  9 12:02:09 video vdr: [30537] frontend 1 timed out while tuning to 
> channel 1, tp 111836
> Feb  9 12:02:10 video vdr: [30529] connect from 127.0.0.1, port 60614 - 
> accepted
> Feb  9 12:02:10 video vdr: [30529] closing SVDRP connection
> Feb  9 12:02:10 video vdr: [30529] connect from 127.0.0.1, port 60617 - 
> accepted
> Feb  9 12:02:10 video vdr: [30529] closing SVDRP connection
> Feb  9 12:02:27 video vdr: [30529] connect from 127.0.0.1, port 60622 - 
> accepted
> Feb  9 12:02:27 video vdr: [30529] closing SVDRP connection
> Feb  9 12:02:32 video vdr: [30603] ERROR: video data stream broken
> Feb  9 12:02:32 video vdr: [30603] initiating emergency exit
> Feb  9 12:02:32 video vdr: [30529] emergency exit requested - shutting down
> Feb  9 12:02:32 video vdr: [30604] recording thread ended (pid=30529, 
> tid=30604)
> Feb  9 12:02:32 video vdr: [30603] file writer thread ended (pid=30529, 
> tid=30603)
> Feb  9 12:02:32 vi

Re: [vdr] ERROR: video data stream broken on second dvb card , but szap works (include recording)

2007-02-10 Thread Dieter Bloms
Hi,

On Sat, Feb 10, Reinhard Nissl wrote:

> > Feb  9 12:02:00 video vdr: [30529] switching device 2 to channel 1
> > Feb  9 12:02:09 video vdr: [30537] frontend 1 timed out while tuning to 
> > channel 1, tp 111836
> > Feb  9 12:02:32 video vdr: [30603] ERROR: video data stream broken
> > 
> > so why can I get ts streams from the second dvb card and vdr doesn't get
> > any bytes ?
> 
> As you can see from the above lines, tuning fails for device 2 (=
> frontend 1) as VDR reports a timeout about 10 seconds after switching to
> this channel. VDR retries tuning in that case, but further reports are
> suppressed for the next 60 seconds so you don't see a second timeout report.
> 
> Finally, after 30 seconds, the recording thread issues an emergency exit
> as it didn't see any data (=> video data stream broken) as the device
> was not able to tune to the channel.
> 
> Is your DiSEqC setup correct (in case you are using DiSEqC)?

I don't have a diseqc setup, I have a twin lnb and both dvb cards are
connected directly.

It worked in the past, ok many timeouts, but after reloading the driver
and restart of vdr it worked.

I was amazed that vdr can not tune to a channel and szap can do it
without reloading the driver !

Maybe they use differnt methods to switch the channels.


-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.


pgp7I20pYUiuX.pgp
Description: PGP signature
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ERROR: video data stream broken on second dvb card , but szap works (include recording)

2007-02-10 Thread Dieter Bloms
Hi,

On Sat, Feb 10, Reinhard Nissl wrote:

> szap always sends DiSEqC commands, so I'd suggest to use VDR's
> diseqc.conf. It's default section "Full DiSEqC sequence" is identical to
> the tuning sequence that szap uses.
> 
> You may want to try the attached szap and VDR patch. You'll then get
> some output while tuning.

doesn't my driver or card support diseqc ?

--snip
video:/tmp/szap # szap  -a 1 -p -i
reading channels from file '/root/.szap/channels.conf'

>>> RTL Television,RTL;RTL World
zapping to 5 'RTL Television,RTL;RTL World':
sat 0, frequency = 12187 MHz H, symbolrate 2750, vpid = 0x00a3, apid = 
0x0068 sid = 0x0069
using '/dev/dvb/adapter1/frontend0' and '/dev/dvb/adapter1/demux0'
FE_DISEQC_SEND_MASTER_CMD failed: Unknown error 524
FE_DISEQC_SEND_BURST failed: Operation not supported
couldn't find pmt-pid for sid 0069
status 1f | signal f700 | snr ffdc | ber  | unc  | FE_HAS_LOCK

>>> SAT.1;ProSiebenSat.1
zapping to 6 'SAT.1;ProSiebenSat.1':
sat 0, frequency = 12480 MHz V, symbolrate 2750, vpid = 0x06ff, apid = 
0x0700 sid = 0x0022
FE_DISEQC_SEND_MASTER_CMD failed: Unknown error 524
FE_DISEQC_SEND_BURST failed: Operation not supported
couldn't find pmt-pid for sid 0022
status 1f | signal fb00 | snr ffdc | ber  | unc  | FE_HAS_LOCK
--snip--


-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.


pgpEZmGSMt0Mq.pgp
Description: PGP signature
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ERROR: video data stream broken on second dvb card , but szap works (include recording)

2007-02-10 Thread Dieter Bloms
Hi,

On Sat, Feb 10, Reinhard Nissl wrote:

> Don't know. But have you tried DiSEqC with VDR (menu Settings - LNB)?

no, because I didn't install any diseqc switches.
I had also an empty diseqc.conf

> You might get similar messages but on the other hand, it might work ;-)

ok, now I have installed the default diseqc.conf and activate diseqc in
vdr setup menu.
After a shutdown (and turn off the computer for about 10 seconds) the
second card works, even with these two errors:

t: 1171143367,692, c: 0, r: 0, a: ==
t: 1171143387,098, c: 1, r: 0, a: --
t: 1171143387,099, c: 1, r: 0, a: ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_OFF)
t: 1171143387,100, c: 1, r: 0, a: ioctl(fd_frontend, FE_SET_VOLTAGE, 
SEC_VOLTAGE_13)
t: 1171143387,118, c: 1, r: -1, a: ioctl(fd_frontend, 
FE_DISEQC_SEND_MASTER_CMD, &cmd)
t: 1171143387,138, c: 1, r: -1, a: ioctl(fd_frontend, FE_DISEQC_SEND_BURST, 
SEC_MINI_A)
t: 1171143387,158, c: 1, r: 0, a: ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_ON)
t: 1171143387,160, c: 1, r: 0, a: ioctl(fd_frontend, FE_SET_FRONTEND, &Frontend)
t: 1171143387,288, c: 1, r: 0, a: ==

Either the power off has resolved the error or activating diseqc.
but now if I deactivate diseqc the cards work, too .

Very strange.

Thank you very much for your help, for the future I will activate
diseqc.


-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.


pgp9JwH9fvXrf.pgp
Description: PGP signature
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ERROR: video data stream broken on second dvb card , but szap works (include recording)

2007-02-11 Thread Dieter Bloms
Hi Reinhard,

On Sun, Feb 11, Reinhard Nissl wrote:

> I'd like you to do some further tests by modifying diseqc.conf:

I will do each setup for about 1 week and will see, if I miss some
recordings and let you about the results.

> A) let's remove FE_DISEQC_SEND_MASTER_CMD and FE_DISEQC_SEND_BURST
> 
> S19.2E  11700 V  9750  t v W15 W15 W15 t
> S19.2E  9 V 10600  t v W15 W15 W15 T
> S19.2E  11700 H  9750  t V W15 W15 W15 t
> S19.2E  9 H 10600  t V W15 W15 W15 T
> 
> B) let's reduce the time to wait
> 
> S19.2E  11700 V  9750  t v W15 t
> S19.2E  9 V 10600  t v W15 T
> S19.2E  11700 H  9750  t V W15 t
> S19.2E  9 H 10600  t V W15 T
> 
> C) omit the time to wait
> 
> S19.2E  11700 V  9750  t v t
> S19.2E  9 V 10600  t v T
> S19.2E  11700 H  9750  t V t
> S19.2E  9 H 10600  t V T
> 
> D) omit the initial FE_SET_TONE
> 
> S19.2E  11700 V  9750  v t
> S19.2E  9 V 10600  v T
> S19.2E  11700 H  9750  V t
> S19.2E  9 H 10600  V T
> 
> Test D) is identical to disabling DiSEqC in VDR's setup menu.
> 
> I assume that either B) or C) will be the shortest sequence that still
> works in your case.

I will begin with A  to get a stables setup first, because it is not
so depressing ;) 


-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.


pgpYsljylZJHq.pgp
Description: PGP signature
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ERROR: video data stream broken on second dvb card , but szap works (include recording)

2007-02-14 Thread Dieter Bloms
Hi,

On Sun, Feb 11, Dieter Bloms wrote:

> > I'd like you to do some further tests by modifying diseqc.conf:
> 
> I will do each setup for about 1 week and will see, if I miss some
> recordings and let you about the results.

no diseqc setup works stabel for me :(
Also the Full DiSEqC sequence from default diseqc.conf doesn't work
a few hours after reboot and sometime it doesn't work directly after
reboot.
But I can switch the channel with szap and get the TS stream from
/dev/dvb/adapter1/dvr0 every time, even vdr can't record I only stop vdr
and do not a reload of the driver.

I did some tests with szap:

o I can only get the TS stream with the default lnb type or -l UNIVERSAL
o if I use another lnb type like ENHANCED, I can switch, but don't get
  any data.
o The ioctls are the same if I use diseqc with vdr, but as I said
  before, I didn't get any data a few hours after reboot of the system,
  and sometime I didn't get any data directly after reboot.
o If I use szap, I can switch the channels and get the ts stream every
  time (via cat /dev/dvb/adapter1/dvr0 > /tmp/bla).
o the first status is 01 and it has no lock all others are 1f and it has
  a lock (as seen below).
o when I call szap the second time (with the same channel) the first
  status is 01 and then 1f, too.
o maybe vdr does have to wait a longer time ?

What lnb type vdr is using, when I enable diseqc in vdr menu ?
I can't configure any frequenz after activate diseqc.

Here the output from your patched szap:

video:/tmp/szap # ./szap -l UNIVERSAL -a 1 -r -c /etc/vdr/channels.conf -n 2
reading channels from file '/etc/vdr/channels.conf'
zapping to 2 'Das Erste;ARD':
sat 0, frequency = 11836 MHz H, symbolrate 2750, vpid = 0x0065, apid = 
0x0066 sid = 0x0068
using '/dev/dvb/adapter1/frontend0' and '/dev/dvb/adapter1/demux0'
t: 1171518269.386, c: 1, r: 0, a: --
t: 1171518269.386, c: 1, r: 0, a: ioctl(fd, FE_SET_TONE, SEC_TONE_OFF)
t: 1171518269.389, c: 1, r: 0, a: ioctl(fd, FE_SET_VOLTAGE, v) (v = 
SEC_VOLTAGE_18)
t: 1171518269.408, c: 1, r: 0, a: ioctl(fd, FE_DISEQC_SEND_MASTER_CMD, 
&cmd->cmd)
t: 1171518269.576, c: 1, r: 0, a: ioctl(fd, FE_DISEQC_SEND_BURST, b) (b = 
SEC_MINI_A)
t: 1171518269.700, c: 1, r: 0, a: ioctl(fd, FE_SET_TONE, t) (t = SEC_TONE_ON)
t: 1171518269.702, c: 1, r: 0, a: ioctl(fefd, FE_SET_FRONTEND, &tuneto)
status 01 | signal f700 | snr e330 | ber  | unc fffe |
status 1f | signal f700 | snr f866 | ber  | unc fffe | FE_HAS_LOCK
status 1f | signal f700 | snr f8ea | ber  | unc fffe | FE_HAS_LOCK
status 1f | signal f700 | snr f8cd | ber  | unc fffe | FE_HAS_LOCK
status 1f | signal f700 | snr f8aa | ber  | unc fffe | FE_HAS_LOCK
status 1f | signal f700 | snr f887 | ber  | unc fffe | FE_HAS_LOCK
status 1f | signal f700 | snr f8a4 | ber  | unc fffe | FE_HAS_LOCK
status 1f | signal f700 | snr f93c | ber  | unc fffe | FE_HAS_LOCK
status 1f | signal f700 | snr f8ad | ber  | unc fffe | FE_HAS_LOCK
status 1f | signal f700 | snr f8a9 | ber  | unc fffe | FE_HAS_LOCK
status 1f | signal f700 | snr f93f | ber  | unc fffe | FE_HAS_LOCK
status 1f | signal f700 | snr f88a | ber  | unc fffe | FE_HAS_LOCK
status 1f | signal f700 | snr f8e8 | ber  | unc fffe | FE_HAS_LOCK
status 1f | signal f700 | snr f81b | ber  | unc fffe | FE_HAS_LOCK
status 1f | signal f700 | snr f911 | ber  | unc fffe | FE_HAS_LOCK



-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.


pgp58ZhIdLiqt.pgp
Description: PGP signature
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ERROR: video data stream broken on second dvb card , but szap works (new findings!)

2007-02-16 Thread Dieter Bloms
Hi,

On Thu, Feb 15, Dieter Bloms wrote:

> no diseqc setup works stabel for me :(
> Also the Full DiSEqC sequence from default diseqc.conf doesn't work
> a few hours after reboot and sometime it doesn't work directly after
> reboot.
> But I can switch the channel with szap and get the TS stream from
> /dev/dvb/adapter1/dvr0 every time, even vdr can't record I only stop vdr
> and do not a reload of the driver.
> 
> I did some tests with szap:
> 
> o I can only get the TS stream with the default lnb type or -l UNIVERSAL
> o if I use another lnb type like ENHANCED, I can switch, but don't get
>   any data.
> o The ioctls are the same if I use diseqc with vdr, but as I said
>   before, I didn't get any data a few hours after reboot of the system,
>   and sometime I didn't get any data directly after reboot.
> o If I use szap, I can switch the channels and get the ts stream every
>   time (via cat /dev/dvb/adapter1/dvr0 > /tmp/bla).
> o the first status is 01 and it has no lock all others are 1f and it has
>   a lock (as seen below).
> o when I call szap the second time (with the same channel) the first
>   status is 01 and then 1f, too.
> o maybe vdr does have to wait a longer time ?

I can reproduce following:

vdr can record from senders on V polarisation like sat1, prosieben ...
even without reloading the driver.
vdr can not record from any sender on H polarisation like ard, zdf ...
even with reloading the driver it doesn't work.
This explains, that I got some recording and some not.

Does anybody know what can be the different between H and V polarisation ?


-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.


pgpZEcm5XmBkk.pgp
Description: PGP signature
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] ERROR: video data stream broken on second dvb card , but szap works (new findings!)

2007-02-17 Thread Dieter Bloms
Hi,

On Fri, Feb 16, bastlir wrote:

> > vdr can record from senders on V polarisation like sat1, prosieben ...
> > even without reloading the driver.
> > vdr can not record from any sender on H polarisation like ard, zdf ...
> > even with reloading the driver it doesn't work.
> > This explains, that I got some recording and some not.
> >
> > Does anybody know what can be the different between H and V polarisation ?
> Hi,
> 
> supply voltage at central wire of koax cable. It seems you have or DVB card 
> or 
> LNB damaged. Test these parts with another receiver or/and another LNB.

my primary dvb card works fine on both of my Twin-LNB connectors.
I can switch the second card via szap and get a video stream via
"cat /dev/dvb/adapter1/dvr0 > /tmp/bla" on H and V channels.
VDR doesn't get data any data from H channels, but gets data from V
channels.
I will try to strace vdr and szap to get any difference, maybe they do
it in a different way.


-- 
Gruß

  Dieter

--
I do not get viruses because I do not use MS software.
If you use Outlook then please do not put my email address in your
address-book so that WHEN you get a virus it won't use my address in the
From field.


pgpwaWFp9hStk.pgp
Description: PGP signature
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr