RE: SAA7134 multiple cards - options

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




you could always try copying the saa7134.o file to another name say saa7134_b.o
then use the duplicate options below.


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_b
options saa7134_b 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
>



"Christian Hack" <christianh@xxxxxxxxxxxxxxx>
Sent by: video4linux-list-admin@xxxxxxxxxx

21/07/2003 05:11 PM
Please respond to video4linux-list

       
        To:        <video4linux-list@xxxxxxxxxx>
        cc:        
        Subject:        RE: SAA7134 multiple cards - options





> -----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


--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list




**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
mail.administrator@xxxxxxxxxxxxxxx

**********************************************************************

[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