Skip to contentSkip to conversation

Multiple sbs with module

DISCUSSION Jonathan Masters 2 participants 3 messages Aug 19, 1999 Sound

lore
Share & tools
lore
#0 lore raw

Hi,
I currently have an SB 64 AWE GOLD PNP set up using the "sb" module
(and it's friends....) with settings IRQ 5. DMA 1 and 5, standard stuff.

I have a lower spec'd SB 16 (vibra) PNP value card (which *does*
work with Linux as it used to be my main card). I have the two using resources correctly and have resolved all conflicts. The trouble is, I must use modules due to the pnp situation with the cards (bios is less than 6months old (AMI), but it still doesn't get it right if left to itself) so I have been running isapnp during boot and then adding the sb driver. However, I now wish to have *2* sb's with the same module. This would be trivially easy with the code in the kernel (simply setting SB2_BASE et al), but I must have it in the module. Can this be achieved? If not, can anyone suggest/provide a patch which will do this/tell me to upgrade kernel to 2.3.xx etc... I have 2.2.11. Thanx guys. I can't see this as being impossible it's just that the docs don't mention two cards with a module.

Jon.

--
Jonathan C. Masters ([email protected]) PGP: www.brookes.ac.uk/~95227860/KEY

"Upon this rock I will build my church
and the gates of hell shall not prevail against it". -- Matthew 16, 17-18

#1 lore raw
Quoted 3 lines · Jonathan Masters

I now wish to have *2* sb's with the same module. This
would be trivially easy with the code in the kernel (simply setting SB2_BASE et al), but I must have it in the module. Can this be achieved?

I don't have two sound cards, so I can't test it, but you should be able to do something like this (in conf.modules):

    options sb irq=5,6 io=0x100,0x200 dma=1,2

In other words, for each option, give a comma-delimited list of values. The first value in each list is for the first card, the second for the second, etc.

Signature · 3 lines
Dave Mielke           | 856 Grenon Avenue | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: [email protected] | Canada  K2B 6G3   | if you're concerned about Hell.
#2 lore raw
In reply to Jonathan Masters

Nope. It doesn't work. Apparantly "io=" can only take one value, so that isn't the solution. Someone else suggested ALSA, but I prefer to use the standard linux sound drivers. OK, I'm not aksing for a flame war here about which is better, so please don't start one on my account, however, I'd prefer it if someone had a oss solution for me.

Thanx all.

Jon.

Quoted 10 lines · Dave Mielke
Quoted 3 lines · Jonathan Masters

I now wish to have *2* sb's with the same module. This
would be trivially easy with the code in the kernel (simply setting SB2_BASE et al), but I must have it in the module. Can this be achieved?

I don't have two sound cards, so I can't test it, but you should be able to do something like this (in conf.modules):

    options sb irq=5,6 io=0x100,0x200 dma=1,2
Quoted 7 lines

In other words, for each option, give a comma-delimited list of values. The first value in each list is for the first card, the second for the second, etc.

--

Dave Mielke           | 856 Grenon Avenue | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: [email protected] | Canada  K2B 6G3   | if you're concerned about Hell.

--
Jonathan C. Masters ([email protected]) PGP: www.brookes.ac.uk/~95227860/KEY

"Upon this rock I will build my church
and the gates of hell shall not prevail against it". -- Matthew 16, 17-18