Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: vdr-0.98:no video device found, giving up



Karlheinz Pischke wrote:
> 
> Error messages stays the same.
> 
> btw: I'm calling vdr:
> /usr/src/packages/SOURCES/VDR/vdr -v ~/videos -c ~/.vdr -E
> ~/.vdr/epg.data -l 3
> and I did NOT upgrade the files in  ~/.vdr:
>    setup.conf channels.conf timers.conf keys-pc.conf
> Are there changes in e.g. setup.conf ???

None that should matter here.

I'm afraid I'm out of options now.
It should work just fine (at least it does for me and many others).

As a final resort you could insert the line

  return true;

right after the line

  dsyslog(LOG_INFO, "probing %s", FileName);

thus turning off the actual probing mechanism. If this doesn't
work, then I don't know what else to do...

Klaus

> 
> Klaus Schmidinger schrieb:
> >
> > Karlheinz Pischke wrote:
> > >
> > > Yes,
> > >
> > > now there is another log entry
> > >
> > > following the "probing /dev/ost/frontend0" and
> > > before "ERROR: no video device found, giving up!"
> > > there is no: "ERROR: /dev/ost/frontend0: Das Argument ist ungültig"
> >
> > I'm pretty sure you should have gotten this error already after commenting
> > out the first line.
> Sorry, you are right if I would have changed to
> //     else if (errno != ENODEV && errno != EINVAL)
>      else
>         LOG_ERROR_STR(FileName);
> instead
> //     else if (errno != ENODEV && errno != EINVAL)
> //        LOG_ERROR_STR(FileName);
> it would have worked the first time.
> >
> > Anyway, this would indicate that the line
> >
> >   int f = open(FileName, O_RDONLY);
> >
> > isn't working as expected. Try changing it to
> >
> >   int f = open(FileName, O_RDWR);
> >
> > and see what happens.
> >
> > Klaus
> >
> > >
> > > Klaus Schmidinger schrieb:
> > > >
> > > > Karlheinz Pischke wrote:
> > > > >
> > > > > The change did not make any difference. I also tried a (make clean;
> > > > > make)
> > > > > without DVD support. no difference.
> > > >
> > > > Arghh... There's one more line you could comment out in that function:
> > > >
> > > >   else if (errno != ENOENT)
> > > >
> > > > Now it _should_ give an additional error message in the log file...
> > > >
> > > > Klaus
> > > >
> > > > >
> > > > > Klaus Schmidinger schrieb:
> > > > > >
> > > > > > Karlheinz Pischke wrote:
> > > > > > >
> > > > > > > Hi Klaus,
> > > > > > >
> > > > > > > as requested below all ost devices.
> > > > > > > All ost devices belonged to root,root before. I have chown'ed them
> > > > > > > for a test. No difference.
> > > > > > >
> > > > > > > # ls -l /dev/ost
> > > > > > > total 52
> > > > > > > drwxr-xr-x    2 kpischke users         786 Dec  8 10:57 .
> > > > > > > drwxr-xr-x   19 root     root        51509 Dec  8 12:17 ..
> > > > > > > lrwxrwxrwx    1 kpischke users           6 Dec  8 10:57 audio -> audio0
> > > > > > > crw-rw-rw-    1 kpischke users    250,   1 Dec  8 10:57 audio0
> > > > > > > crw-rw-rw-    1 kpischke users    250,  65 Dec  8 10:57 audio1
> > > > > > > crw-rw-rw-    1 kpischke users    250, 129 Dec  8 10:57 audio2
> > > > > > > lrwxrwxrwx    1 kpischke users           3 Dec  8 10:57 ca -> ca0
> > > > > > > crw-rw-rw-    1 kpischke users    250,   6 Dec  8 10:57 ca0
> > > > > > > crw-rw-rw-    1 kpischke users    250,  70 Dec  8 10:57 ca1
> > > > > > > crw-rw-rw-    1 kpischke users    250, 134 Dec  8 10:57 ca2
> > > > > > > lrwxrwxrwx    1 kpischke users           6 Dec  8 10:57 demux -> demux0
> > > > > > > crw-rw-rw-    1 kpischke users    250,   4 Dec  8 10:57 demux0
> > > > > > > crw-rw-rw-    1 kpischke users    250,  68 Dec  8 10:57 demux1
> > > > > > > crw-rw-rw-    1 kpischke users    250, 132 Dec  8 10:57 demux2
> > > > > > > lrwxrwxrwx    1 kpischke users           4 Dec  8 10:57 dvr -> dvr0
> > > > > > > crw-rw-rw-    1 kpischke users    250,   5 Dec  8 10:57 dvr0
> > > > > > > crw-rw-rw-    1 kpischke users    250,  69 Dec  8 10:57 dvr1
> > > > > > > crw-rw-rw-    1 kpischke users    250, 133 Dec  8 10:57 dvr2
> > > > > > > lrwxrwxrwx    1 kpischke users           9 Dec  8 10:57 frontend -> frontend0
> > > > > > > crw-rw-rw-    1 kpischke users    250,   3 Dec  8 10:57 frontend0
> > > > > > > crw-rw-rw-    1 kpischke users    250,  67 Dec  8 10:57 frontend1
> > > > > > > crw-rw-rw-    1 kpischke users    250, 131 Dec  8 10:57 frontend2
> > > > > > > lrwxrwxrwx    1 kpischke users           4 Dec  8 10:57 net -> net0
> > > > > > > crw-rw-rw-    1 kpischke users    250,   7 Dec  8 10:57 net0
> > > > > > > crw-rw-rw-    1 kpischke users    250,  71 Dec  8 10:57 net1
> > > > > > > crw-rw-rw-    1 kpischke users    250, 135 Dec  8 10:57 net2
> > > > > > > lrwxrwxrwx    1 kpischke users           4 Dec  8 10:57 osd -> osd0
> > > > > > > crw-rw-rw-    1 kpischke users    250,   8 Dec  8 10:57 osd0
> > > > > > > crw-rw-rw-    1 kpischke users    250,  72 Dec  8 10:57 osd1
> > > > > > > crw-rw-rw-    1 kpischke users    250, 136 Dec  8 10:57 osd2
> > > > > > > lrwxrwxrwx    1 kpischke users           4 Dec  8 10:57 sec -> sec0
> > > > > > > crw-rw-rw-    1 kpischke users    250,   2 Dec  8 10:57 sec0
> > > > > > > crw-rw-rw-    1 kpischke users    250,  66 Dec  8 10:57 sec1
> > > > > > > crw-rw-rw-    1 kpischke users    250, 130 Dec  8 10:57 sec2
> > > > > > > lrwxrwxrwx    1 kpischke users           6 Dec  8 10:57 video -> video0
> > > > > > > crw-rw-rw-    1 kpischke users    250,   0 Dec  8 10:57 video0
> > > > > > > crw-rw-rw-    1 kpischke users    250,  64 Dec  8 10:57 video1
> > > > > > > crw-rw-rw-    1 kpischke users    250, 128 Dec  8 10:57 video2
> > > > > >
> > > > > > Looks good to me...
> > > > > >
> > > > > > Apparently the error ENODEV or EINVAL is returned while probing the
> > > > > > device. Try commenting out the line
> > > > > >
> > > > > >     else if (errno != ENODEV && errno != EINVAL)
> > > > > >
> > > > > > in dvbapi.c, function cDvbApi::Probe() and post the resulting error
> > > > > > message from the log file (should appear after the line "probing /dev/ost/frontend0").
> > > > > >
> > > > > > Klaus

-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________



Home | Main Index | Thread Index