Re: Two soundcards for two independent sound programs?

2005-10-12 Thread Rob


--- Roshan [EMAIL PROTECTED] wrote:

 On 10/12/05, Rob [EMAIL PROTECTED] wrote:
 
  --- Roshan [EMAIL PROTECTED] wrote:
   On 10/10/05, Rob [EMAIL PROTECTED] wrote:
   
I wonder if this is possible:
   
With two soundcards in my system, can I
 configure
the system such that each soundcard plays
different
music? For example,my mp3 player sends its
 music
to soundcard one, while my realaudio radio
 station
is played over soundcard two.
   
It all doesn't sound too crazy to me, or is
 it?
Or do two soundcards in one system bite each
other?
  
   Indeed, It is possible. You just have to
 configure
   your media playing
   software to use your preferred sound device.
  
   e.g:
   # mpg123 -a /dev/a   song.mp3
  
   TO see what sound devices you have do:
   #cat  /dev/sndstat
  
   You can also set your preferred sound device in
 xmms
   or mplayer.
 
  Thanks, but...
  I have plugged two ISA sound cards into the
  motherboard, they need respectively snd_sb16 and
  snd_ess modules.
 
  When I play with the 'kldload/kldunload' to switch
  between the cards, or to have them both loaded,
  then my system spontaneously reboots.
 
  Any ideas what I'm doing wrong, or how to control
  this problem?
 
  Thanks,
  Rob.
  
 I would try to build them in the kernel and see what
 happens.
 Maybe this is a resource/IRQ  problem ?
 You can try to tweak the parameters of the cards and
 see.

Great, got it sort of working now.
Just for the record, this is what I got:

I have 4 soundcards here:
 two Creative Soundblasters, PCI and ISA,
 an ESS ISA and an ESS-1 Solo PCI

Many pairs of these did not work together.
What did work, was:
 1. Creative Soundblaster ISA (snd_sb16)
 2. ESS-1 solo PCI card (snd_solo)

In xmms/mplayer etc. I can control like this
for (1):
  /dev/dsp0.0
  /dev/mixer0
for (2):
  /dev/dsp1.0
  /dev/mixer1

# cat /dev/sndstat 
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: SB16 DSP 4.16 (ViBRA16X) at io 0x220 irq 7
   drq 0 bufsz 4096d kld snd_sb16 (1p/1r/0v channels
   duplex default)
pcm1: ESS Solo-1 (unknown vendor) at io 0xc800,
   0xcc00,0xd000 irq 11 kld snd_solo (1p/1r/0v
   channels duplex)

Only little problem, that irq 11 is also used by
uhci0, which controls the USB ports. Now, since
I'm not using USB on this PC, this is not a real
problem. However, for USB users

Thanks for your help.
Rob.





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Two soundcards for two independent sound programs?

2005-10-11 Thread Rob

--- Roshan [EMAIL PROTECTED] wrote:
 On 10/10/05, Rob [EMAIL PROTECTED] wrote:
 
  I wonder if this is possible:
 
  With two soundcards in my system, can I configure
  the system such that each soundcard plays
  different
  music? For example,my mp3 player sends its music
  to soundcard one, while my realaudio radio station
  is played over soundcard two.
 
  It all doesn't sound too crazy to me, or is it?
  Or do two soundcards in one system bite each
  other?
 
 Indeed, It is possible. You just have to configure
 your media playing
 software to use your preferred sound device.
 
 e.g:
 # mpg123 -a /dev/a   song.mp3
 
 TO see what sound devices you have do:
 #cat  /dev/sndstat
 
 You can also set your preferred sound device in xmms
 or mplayer.

Thanks, but...
I have plugged two ISA sound cards into the
motherboard, they need respectively snd_sb16 and
snd_ess modules.

When I play with the 'kldload/kldunload' to switch
between the cards, or to have them both loaded,
then my system spontaneously reboots.

Any ideas what I'm doing wrong, or how to control
this problem?

Thanks,
Rob.




__ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Two soundcards for two independent sound programs?

2005-10-10 Thread Andrea Venturoli

Rob wrote:

Hi,

I wonder if this is possible:

With two soundcards in my system, can I configure
the system such that each soundcard plays different
music? For example,my mp3 player sends its music
to soundcard one, while my realaudio radio station
is played over soundcard two.

It all doesn't sound too crazy to me, or is it?
Or do two soundcards in one system bite each other?


I've got two soundcards.
I let artsd manage one and leave the other for other programs.
In other words it kinda works: not every app lets you choose which card 
to output too.


I just wish artsd would manage both...

 bye
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]