Re: Multiple sound cards?

2000-10-23 Thread Tony Robinson

> From [EMAIL PROTECTED]  Mon Oct 23 17:18:13 2000
>
> > > > where can I look to find what hardware to look for/avoid? 
> > > 
> > > The es1371's are especially rock solid stable. If you have PCI and its 
> > > supported, you are ok I think... 
> > 
> > I have two es1371's and 2.2.16 (from RedHat 7.0) finds them fine:
> > 
> > es1371: version v0.22 time 16:53:18 Aug 22 2000
> > es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
> > es1371: found es1371 rev 2 at io 0xd400 irq 10
> > es1371: features: joystick 0x0
> > es1371: codec vendor   v (0x838476) revision 9 (0x09)
> > es1371: codec features 18bit DAC 18bit ADC
> > es1371: stereo enhancement: SigmaTel SS3D
> > es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x08
> > es1371: found es1371 rev 8 at io 0xd000 irq 9
> > es1371: features: joystick 0x0
> > es1371: codec vendor   v (0x838476) revision 9 (0x09)
> > es1371: codec features 18bit DAC 18bit ADC
> > es1371: stereo enhancement: SigmaTel SS3D
> > 
> > Documentation/sound/Introduction even has a section "Multiple Sound
> > Cards", but a simple copy of the driver and adding 
> > 
> > alias sound-slot-1 es1371-2nd
>
> Don't do this.
>
> I have an es1370 (1 card)
> # es1370 card
> alias sound-slot-0 es1370
> alias sound-slot-1 es1370

Quite correct, as Juan Magallon also pointed out.

> sound-slot-1 is used by /dev/dsp1 (the card, like yours, has 2 dsps)
>
> What you should do is add sound-slot-2 and 3 in there with the same module
...
> Just remember,
> /dev/dsp  and /dev/dsp1 are the dsps of your first found card, 
> /dev/dsp2 and /dev/dsp3 are the dsps of your second found card.

Now this I wouldn't have guessed from everything else I've read.

# mknod /dev/dsp2 c 14 35
# mknod /dev/dsp3 c 14 51
# dd if=/dev/dsp2 | od -i

works as expected.

Very many thanks.



Tony Robinson

-- 
http://www.softsound.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Multiple sound cards?

2000-10-23 Thread J . A . Magallon


On Mon, 23 Oct 2000 14:08:05 Tony Robinson wrote:
> I have two es1371's and 2.2.16 (from RedHat 7.0) finds them fine:
> 
> es1371: version v0.22 time 16:53:18 Aug 22 2000
> es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
> es1371: found es1371 rev 2 at io 0xd400 irq 10
..
> es1371: found es1371 rev 8 at io 0xd000 irq 9
> 

It seems like one only instance of es1371.o can drive both cards.
In fact, looking at the kernel sources, there is a #define
of a max of 5 cards. So you can drive 5 cards with one instance
of the driver.
Don't try to load another copy, and see if your cards work
(/proc/sndstat and similar).


-- 
Juan Antonio Magallon Lacarta  mailto:[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Multiple sound cards?

2000-10-23 Thread Tony Robinson

Jeff Garzik wrote:

> David Lang wrote: 
> > 
> > -BEGIN PGP SIGNED MESSAGE- 
> > 
> > where can I look to find what hardware to look for/avoid? 
> 
> The es1371's are especially rock solid stable. If you have PCI and its 
> supported, you are ok I think... 

I have two es1371's and 2.2.16 (from RedHat 7.0) finds them fine:

es1371: version v0.22 time 16:53:18 Aug 22 2000
es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
es1371: found es1371 rev 2 at io 0xd400 irq 10
es1371: features: joystick 0x0
es1371: codec vendor   v (0x838476) revision 9 (0x09)
es1371: codec features 18bit DAC 18bit ADC
es1371: stereo enhancement: SigmaTel SS3D
es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x08
es1371: found es1371 rev 8 at io 0xd000 irq 9
es1371: features: joystick 0x0
es1371: codec vendor   v (0x838476) revision 9 (0x09)
es1371: codec features 18bit DAC 18bit ADC
es1371: stereo enhancement: SigmaTel SS3D

Documentation/sound/Introduction even has a section "Multiple Sound
Cards", but a simple copy of the driver and adding 

alias sound-slot-1 es1371-2nd

as suggested or a insmod es1371-2nd fails with:

Using /lib/modules/2.2.16-22/misc/es1371-2nd.o
/lib/modules/2.2.16-22/misc/es1371-2nd.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO 
or IRQ parameters

Anyone know the magic "IO or IRQ parameters", or know any sites that
fully document a system with mupliple sound cards?  I'd like to put as
many as possible in one machine and am quite prepared to buy whatever
cards will work.



Tony Robinson

-- 
http://www.softsound.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Multiple sound cards?

2000-10-23 Thread Tony Robinson

Jeff Garzik wrote:

 David Lang wrote: 
  
  -BEGIN PGP SIGNED MESSAGE- 
  
  where can I look to find what hardware to look for/avoid? 
 
 The es1371's are especially rock solid stable. If you have PCI and its 
 supported, you are ok I think... 

I have two es1371's and 2.2.16 (from RedHat 7.0) finds them fine:

es1371: version v0.22 time 16:53:18 Aug 22 2000
es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
es1371: found es1371 rev 2 at io 0xd400 irq 10
es1371: features: joystick 0x0
es1371: codec vendor   v (0x838476) revision 9 (0x09)
es1371: codec features 18bit DAC 18bit ADC
es1371: stereo enhancement: SigmaTel SS3D
es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x08
es1371: found es1371 rev 8 at io 0xd000 irq 9
es1371: features: joystick 0x0
es1371: codec vendor   v (0x838476) revision 9 (0x09)
es1371: codec features 18bit DAC 18bit ADC
es1371: stereo enhancement: SigmaTel SS3D

Documentation/sound/Introduction even has a section "Multiple Sound
Cards", but a simple copy of the driver and adding 

alias sound-slot-1 es1371-2nd

as suggested or a insmod es1371-2nd fails with:

Using /lib/modules/2.2.16-22/misc/es1371-2nd.o
/lib/modules/2.2.16-22/misc/es1371-2nd.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO 
or IRQ parameters

Anyone know the magic "IO or IRQ parameters", or know any sites that
fully document a system with mupliple sound cards?  I'd like to put as
many as possible in one machine and am quite prepared to buy whatever
cards will work.



Tony Robinson

-- 
http://www.softsound.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Multiple sound cards?

2000-10-23 Thread Tony Robinson

 From [EMAIL PROTECTED]  Mon Oct 23 17:18:13 2000

where can I look to find what hardware to look for/avoid? 
   
   The es1371's are especially rock solid stable. If you have PCI and its 
   supported, you are ok I think... 
  
  I have two es1371's and 2.2.16 (from RedHat 7.0) finds them fine:
  
  es1371: version v0.22 time 16:53:18 Aug 22 2000
  es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
  es1371: found es1371 rev 2 at io 0xd400 irq 10
  es1371: features: joystick 0x0
  es1371: codec vendor   v (0x838476) revision 9 (0x09)
  es1371: codec features 18bit DAC 18bit ADC
  es1371: stereo enhancement: SigmaTel SS3D
  es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x08
  es1371: found es1371 rev 8 at io 0xd000 irq 9
  es1371: features: joystick 0x0
  es1371: codec vendor   v (0x838476) revision 9 (0x09)
  es1371: codec features 18bit DAC 18bit ADC
  es1371: stereo enhancement: SigmaTel SS3D
  
  Documentation/sound/Introduction even has a section "Multiple Sound
  Cards", but a simple copy of the driver and adding 
  
  alias sound-slot-1 es1371-2nd

 Don't do this.

 I have an es1370 (1 card)
 # es1370 card
 alias sound-slot-0 es1370
 alias sound-slot-1 es1370

Quite correct, as Juan Magallon also pointed out.

 sound-slot-1 is used by /dev/dsp1 (the card, like yours, has 2 dsps)

 What you should do is add sound-slot-2 and 3 in there with the same module
...
 Just remember,
 /dev/dsp  and /dev/dsp1 are the dsps of your first found card, 
 /dev/dsp2 and /dev/dsp3 are the dsps of your second found card.

Now this I wouldn't have guessed from everything else I've read.

# mknod /dev/dsp2 c 14 35
# mknod /dev/dsp3 c 14 51
# dd if=/dev/dsp2 | od -i

works as expected.

Very many thanks.



Tony Robinson

-- 
http://www.softsound.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Multiple sound cards?

2000-10-16 Thread Jeff Garzik

David Lang wrote:
> 
> -BEGIN PGP SIGNED MESSAGE-
> 
> where can I look to find what hardware to look for/avoid?

The es1371's are especially rock solid stable.  If you have PCI and its
supported, you are ok I think...

Jeff




-- 
Jeff Garzik| The difference between laziness and
Building 1024  | prioritization is the end result.
MandrakeSoft   |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Multiple sound cards?

2000-10-16 Thread David Lang

-BEGIN PGP SIGNED MESSAGE-

where can I look to find what hardware to look for/avoid?

David Lang

On Mon, 16 Oct 2000, Jeff Garzik wrote:

> David Lang wrote:
> > Does the kernel support multiple sound cards in one machine?
> 
> It depends on the driver and hardware, but in general yes.  PCI cards
> are your best bet, you can pretty much stick as many of those in your
> machine as you would like, without having to worry about IRQ/DMA/ioport
> conflicts.
> 
> 
> > if so what are the devices they use (i.e. /dev/audio0, /dev/audio1, etc or
> > what?)
> 
> yep.  /dev/dspX, /dev/audioX, etc.
> 
> -- 
> Jeff Garzik| The difference between laziness and
> Building 1024  | prioritization is the end result.
> MandrakeSoft   |
> 

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.2

iQEVAwUBOetOhD7msCGEppcbAQE6Nwf+JTLZL0mjvq76Xlf+x2IipeEG/nfqX8w/
Sf3aRimvhERWRsgBAZ8q7p8jpZt8mQlObwJiYmV5kZSMhIsxMfUVV0Kb2C0Y7qyN
9mKPJHP5uT/Rf3+a48vczDMVnZA8PKYoqI0ji+LcUJE24F7sXEgECWKuNTOCqdwW
CxP/g2Yq+Db4xfXRwSV48TMXZb6uChFQya8tgNNbMqlLevnV4FgdGY3aZatmr77P
tmTjhFzT763pCNqrW01LncxnVh7itY0l3wyBSKSdqNv9EWlFN8sUSUtpinnwIFTa
SvUTFfXAGG+ysRhwx00cOJwJGz95I99UAa49sTRXoclgG5ZamrIqzg==
=KFjY
-END PGP SIGNATURE-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Multiple sound cards?

2000-10-16 Thread Jeff Garzik

David Lang wrote:
> Does the kernel support multiple sound cards in one machine?

It depends on the driver and hardware, but in general yes.  PCI cards
are your best bet, you can pretty much stick as many of those in your
machine as you would like, without having to worry about IRQ/DMA/ioport
conflicts.


> if so what are the devices they use (i.e. /dev/audio0, /dev/audio1, etc or
> what?)

yep.  /dev/dspX, /dev/audioX, etc.

-- 
Jeff Garzik| The difference between laziness and
Building 1024  | prioritization is the end result.
MandrakeSoft   |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Multiple sound cards?

2000-10-16 Thread Jeff Garzik

David Lang wrote:
 Does the kernel support multiple sound cards in one machine?

It depends on the driver and hardware, but in general yes.  PCI cards
are your best bet, you can pretty much stick as many of those in your
machine as you would like, without having to worry about IRQ/DMA/ioport
conflicts.


 if so what are the devices they use (i.e. /dev/audio0, /dev/audio1, etc or
 what?)

yep.  /dev/dspX, /dev/audioX, etc.

-- 
Jeff Garzik| The difference between laziness and
Building 1024  | prioritization is the end result.
MandrakeSoft   |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Multiple sound cards?

2000-10-16 Thread Jeff Garzik

David Lang wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 
 where can I look to find what hardware to look for/avoid?

The es1371's are especially rock solid stable.  If you have PCI and its
supported, you are ok I think...

Jeff




-- 
Jeff Garzik| The difference between laziness and
Building 1024  | prioritization is the end result.
MandrakeSoft   |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/