RE: Bug In V4L2? How to I access video of a second PV148 Card in Linux?

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



Hi, 

I don't know what is a vanilla kernel.org kernel ... so I went to their
web page (http://www.kernel.org/) and I suppose that what you where
refering to the kernel version.

In that case the kernel that I'm using is the one that came with the Red
Hat Enigma 7.2 with out modifications. The version is 2.4.7-10. The only
modifications that I made were to the driver version 0.7.90 of bttv2.

In the file bttv-cards.c
I copied to the default card values the values of the "Pinnacle PCTV
Studio/Rave" 
and changed the video_inputs to 4, and the muxsel to { 2, 3, 1, 0}
(according the bt878a chipset specifications). Finally I also changed
the tuner_type to 4 (that means the the card has no Tunner).

The following code are my values in the file bttv-cards.c

/*
-----------------------------------------------------------------------
*/
/* array with description for bt848 / bt878 tv/grabber cards
*/

struct tvcard bttv_tvcards[] = {
{
/* ---- card 0x00 ---------------------------------- */
	name:		"Default: Placa de 4Entradas (Hacked!!)",
	video_inputs:	4,
	audio_inputs:	1,
	tuner:		0,
	svhs:		-1,
        gpiomask:       0x03000F,
	muxsel:		{ 2, 3, 1, 0},
        audiomux:       { 2,0,0,0,1 },
	pll:            PLL_28,
	tuner_type:	0,
},{
	name:		"MIRO PCTV",
	video_inputs:	4,
	audio_inputs:	1,
	tuner:		0,
	svhs:		2,
	gpiomask:	15,
	muxsel:		{ 2, 3, 1, 1},
	audiomux:	{ 2, 0, 0, 0, 10},
	needs_tvaudio:	1,
	tuner_type:	-1,
},{
 ......

I have also changed (thanks to you :) ) in the file bttvp.h
the 
#define BTTV_MAX 4
...
#define MAX_OPENS 4
#define MAX_VBI_OPENS 4

to 
#define BTTV_MAX 8

#define MAX_OPENS 8
#define MAX_VBI_OPENS 8

and created
/var/video4
/var/video5
/var/video6
/var/video7


and that's all I have changed.
Do you have any idea?


Tks
Jorge Rodrigues


-----Mensagem original-----
De: video4linux-list-admin@xxxxxxxxxx
[mailto:video4linux-list-admin@xxxxxxxxxx]Em nome de Gerd Knorr
Enviada: segunda-feira, 9 de Dezembro de 2002 17:27
Para: video4linux-list@xxxxxxxxxx
Assunto: Re: Bug In V4L2? How to I access video of a second PV148 Card
in Linux?


>  V4L2: Registered "BT878(Default: Placa 4Entrada)" as char device 81,
0
>  V4L2: Registered "Bttv2 VBI device 0" as char device 81, 224

>  V4L2: Registered "BT878(Default: Placa 4Entrada)" as char device 81,
1
>  V4L2: Registered "Bttv2 VBI device 1" as char device 81, 225

>  V4L2: Registered "BT878(Default: Placa 4Entrada)" as char device 81,
2
>  V4L2: Registered "Bttv2 VBI device 2" as char device 81, 226

>  V4L2: Registered "BT878(Default: Placa 4Entrada)" as char device 81,
3
>  V4L2: Registered "Bttv2 VBI device 3" as char device 81, 227

>  V4L2: BT878(Default: Placa 4Entrada) and BT878(Default: Placa
4Entrada)
>  have both been assigned minor 0
>  V4L2: BT878(Default: Placa 4Entrada) and Bttv2 VBI device 4 have both
>  been assigned minor 0

That looks suspious, especially the last two lines.

Where does the v4l2 messages come from?  That isn't a vanilla kernel.org
kernel ...

  Gerd

-- 
Weil die späten Diskussionen nicht mal mehr den Rotwein lohnen.
				-- Wacholder in "Melanie"







[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux