By Date: <-- -->
By Thread: <-- -->

Two SAA7134 TV Cards and sound over PCI bus



Oops...

> > 
> > modprobe with the settings above always fails: dmseg says that the
> > settings "dsp_nr", "mixer_nr" aren't supported any more.
> > Modprobe without this settings will register the /dev/video0 and 1
> > devices but no audio devices.
> > Loading saa7134-alsa after saa7134 will register /dev/audio0 and
> > /dev/dsp0 but not one dsp for every TV card.
> 
> That's a bug, and I'll post a fix to the devel repository in a few
> minutes. In the meanwhile, the attached patch should solve your problem.
> Just apply it and you should get an audio device for each board from
> saa7134-alsa.
> 
And now, the missing patch...

diff -u -r1.34 saa7134-alsa.c
--- ./linux/drivers/media/video/saa7134/saa7134-alsa.c	26 Dec 2005 15:14:45 -0000	1.34
+++ ./linux/drivers/media/video/saa7134/saa7134-alsa.c	12 Feb 2006 03:34:57 -0000
 (at)  (at)  -57,15 +57,17  (at)  (at) 
 
 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX;	/* Index 0-MAX */
 static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR;	/* ID for this card */
-static int enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 0};
+static int enable[SNDRV_CARDS] = {1, [1 ... (SNDRV_CARDS - 1)] = 1};
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)
 static int dummy;
 module_param_array(index, int, dummy, 0444);
+module_param_array(enable, int, dummy, 0444);
 #else
-module_param_array(index, int, NULL, 0444);
+module_param_array(enable, int, NULL, 0444);
 #endif
 MODULE_PARM_DESC(index, "Index value for SAA7134 capture interface(s).");
+MODULE_PARM_DESC(enable, "Enable (or not) the SAA7134 capture interface(s).");
 
 #define dprintk(fmt, arg...)    if (debug) \
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list