RE: SAA7134 multiple cards - options

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



> -----Original Message-----
> From: video4linux-list-admin@xxxxxxxxxx 
> [mailto:video4linux-list-admin@xxxxxxxxxx] On Behalf Of Bill Eldridge
> Sent: Monday, 21 July 2003 5:05 PM
> To: video4linux-list@xxxxxxxxxx
> Subject: Re: SAA7134 multiple cards - options
> 
> 
> Christian Hack wrote:
> 
> -----Original Message-----
> From: video4linux-list-admin@xxxxxxxxxx 
> [mailto:video4linux-list-admin@xxxxxxxxxx] On Behalf Of Christian Hack
> Sent: Saturday, 19 July 2003 11:06 AM
> To: video4linux-list@xxxxxxxxxx
> Subject: SAA7134 multiple cards - options
> 
> 
> I'm trying to set up to SAA7134 cards and can't seem to set 
> multiple options
> to force the devices to particular /dev/video devices etc.
> 
> If I have simply this:
> 
> options saa7134 oss=1 oss_debug=1 audio_debug=1 \
>                 ts_debug=1 core_debug=1 audio_debug=1 vbi_debug=1
> i2c_debug=1 core_debug=1
> 
> It works and I get /dev/video0 and /dev/video1 etc. All 
> devices are 0 and 1.
> 
> However I want them to be 1 and 2 so as not to conflict with 
> the sound card
> in particular. So I try:
> 
> options saa7134 oss=1 oss_debug=1 audio_debug=1 \
>                 ts_debug=1 core_debug=1 audio_debug=1 vbi_debug=1
> i2c_debug=1 core_debug=1 \
>                 vbi_nr=1,2 mixer_nr=1,2 radio_nr=1,2 
> dsp_nr=1,2 ts_nr=1,2
> video_nr=1,2
> 
> And I get an error about not having multiple values for vbi_nr etc.
> 
> If I have
> 
> options saa7134 oss=1 oss_debug=1 audio_debug=1 \
>                 ts_debug=1 core_debug=1 audio_debug=1 vbi_debug=1
> i2c_debug=1 core_debug=1 \
>                 vbi_nr=1 mixer_nr=1 radio_nr=1 dsp_nr=1 
> ts_nr=1 video_nr=1
> 
> the driver tries to make both cards /dev/video1 etc and fails 
> on the second
> card.
> 
> How can I do this?
> 
>     
> 
> Can anyone help me here? Gerd?
> 
> So far even with my alsa driver running as /dev/dsp, unless I actually
> have /dev/dsp open, the SAA7134 module takes it. 
> 
> CH
> 
>   
> 
> For giggles, try having 2 entries as below and
> see if that works (don't have a Linux box handy
> to try myself):
> 
> # Card 0
> alias char-major-81-0   saa7134
> options saa7134 oss=1 oss_debug=1 audio_debug=1 \
>  ts_debug=1 core_debug=1 audio_debug=1 vbi_debug=1\
> i2c_debug=1 core_debug=1 \
> vbi_nr=1 mixer_nr=1 radio_nr=1\
> dsp_nr=1 ts_nr=1 video_nr=1
> 
> # Card 1
> alias char-major-81-1   saa7134
> options saa7134 oss=1 oss_debug=1 audio_debug=1 \
> ts_debug=1 core_debug=1 audio_debug=1 vbi_debug=1\
> i2c_debug=1 core_debug=1 \
> vbi_nr=2 mixer_nr=2 radio_nr=2\
> dsp_nr=2 ts_nr=2 video_nr=2
> 

Thanks for replying Bill. I don't have the box in front of me either
right now. I am quite certain I tried this exact setup and it didn't
work. It simply used the first cards options all the time. I will try
again tonight though to make sure.

BTW: I have removed the obvious duplications in the options now for
anyone who noticed. I think they appeared as a result of me trying many
different combinations of options.

CH




[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