Mailing List archive

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

[linux-dvb] share /dev/dvb/adapter0/frontend0



This problem I had using drivers 1.0.0.
I solved this problem patching drivers in this way :
file ....../DVB/driver/av7110/av7110.c
function av7110_video_ioctl

about at line 3045

/* only channel 0 has a tuner */
if(!v->tuner)
      return -EINVAL;

I changed with
/* only channel 0 has a tuner */
if(v->tuner)
    return -EINVAL;

And mplayer started work fine


anyway


Drivers version 1.1.1 have the problem solved inside

Angelo





On Tue, 20 Apr 2004, tarass@club-internet.fr wrote:

> Le 04/20/2004 11:05 AM, tho68@ssisrl.com a joliment écrit :
> >
>
> > mplayer tv:// -tv input=0:device=/dev/video0:driver=v4l:width=640:height=480:outfmt=rgb16:noaudio
> > -vop flip,lavcdeint  -nosound -fps 25 -vo x11 -geometry +0+
> >
> >
> > In my case the DVB exported device is /dev/video0, for systems having
> > more than one video device ( webcam ..... ) the dvb exported device can be
> > checked looking at files /proc/video/dev/video* for the description of
> > your DVB board. In my system I look for the string "DVB" with drivers
> > 1.0.0 and for the string "av7110" with drivers 1.1.1. My system has a
> > Hauppauge nexus S DVB board.
> >
> > Otherwise you can try the new V4l2 interface with
> >
> >
> > mplayer tv:// -tv
> > input=0:device=/dev/video0:driver=v4l2:width=640:height=480:outfmt=rgb32:noaudio  -nosound -fps 25 -vo x11 -geometry +0+
> >
> > Which seem to perform automatically flipping and deinterlacing.
> >
> > In both case  I get audio directly from the DVB board connectors, width
> > and height can be different from the shown in the examples.
> >
> >
>
> Hello Angelo and thanks for your answer,
> but I have the following problem
>
> MPlayer dev-CVS-031130-11:22-3.2.2 (C) 2000-2003 MPlayer Team
>
> CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 1003 MHz
> (Family: 6, Stepping: 10)
> Detected cache-line size is 32 bytes
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
> Compiled for x86 CPU with extensions: MMX MMX2 SSE
>
> Reading config file /usr/local/etc/mplayer/mplayer.conf: Aucun fichier
> ou répertoire de ce type
> Reading config file /root/.mplayer/config
> Reading /root/.mplayer/codecs.conf: Can't open
> '/root/.mplayer/codecs.conf': Aucun fichier ou répertoire de ce type
> Reading /usr/local/etc/mplayer/codecs.conf: Can't open
> '/usr/local/etc/mplayer/codecs.conf': Aucun fichier ou répertoire de ce type
> Using built-in default codecs.conf.
> Font /root/.mplayer/font/font.desc loaded successfully! (206 chars)
> Using Linux hardware RTC timing (1024Hz).
> Can't open input config file /root/.mplayer/input.conf: Aucun fichier ou
> répertoire de ce type
> Can't open input config file /usr/local/etc/mplayer/input.conf: Aucun
> fichier ou répertoire de ce type
> Falling back on default (hardcoded) input config
>
> Playing tv://.
>   Cache fill:  0,00% (0 bytes)     Cache fill:  0,00% (0 bytes)    TV
> detected! ;-)
> Selected driver: v4l
>   name: Video 4 Linux input
>   author: Alex Beregszaszi
>   comment: under development
> Selected device: DVB Board
>   Capabilites: capture tuner overlay clipping frameram scales
>   Device type: 235
>   Supported sizes: 32x32 => 768x576
>   Inputs: 1
>    0: DVB: tuner audio tv camera  (tuner:1, norm:ntsc)
> Card reports an unknown audio mode !
> Trying two channel audio. Use forcechan to override.
> Card reports an unknown audio mode !
> Trying two channel audio. Use forcechan to override.
> Using input 'DVB'
> ioctl get tuner failed: Argument invalide
> Tuner isn't capable to set norm!
> Error: Cannot set norm!
>
>
> Exiting... (End of file)
>
>
> mplayer tv:// -tv input=0:device=/dev/video0:driver=v4l
>
> I have just a green square.
>
> I have the same DVB card as you and matrox G550 card with mga and dfbmga
> set on it.
>
> Nicolas.
>
>




-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index