[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sound card problem
Here's a tough one for all the kernel hackers here:
I have a SoundBlaster 16 PnP I bought last year.
When I use pnpdump, I see that the first dma can only be set to one of
0,1,3, and the second dma can only be set one of 0,1,3 as well.
In windows `95, it also only allows me to configure these attributes to
these values.
In win95, I use 1 as the first, 0 as the second and it works okay in 16bit.
And now for the problem:
In the Documentation/sound subdir of the kernel source, in the Soundblaster
file, it says when describing the arguments:
dma 8-bit DMA channel for the Sound Blaster (0,1,3)
dma16 16-bit DMA channel for SB16 and equivalent cards (5,6,7)
(note that the only possible values for dma16 are 5,6,7, not even one of
0,1,3).
So here is what I tried:
I edited /etc/isapnp.conf (after pnpdumping there, of course), and told the
card to use the first dma as 1 and the second dma as 0.
I changed the appropriate line in /etc/conf.modules to contain the
appropriate parameters.
I rebooted, and it said while initializing the modules:
"Bad or missing 16 bit dma channel",
and it loaded the card as an 8 bit sb.
I tried like this every possible combination of 0,1,3 as the first dma and
0,1,3 as the second (each time changing isapnp.conf, conf.modules, and
rebooting) and got the same result every time.
Since it is a PnP card, there's no point in compiling the card into the
kernel since isapnp needs to be run by init before initializing the card.
That's all. Anyone have a clue as to what I should do next?
BTW, I checked the sources for 2.2.1 (didn't try using it, though), and
according to the Documentation subdir there, only the values 5,6,7 are
supported as second dma there too.
Regards,
Yannai.
----------------------------------------------------------------------
Yannai A. Gonczarowski _____..---======~~~~~=======---.._____
______________________ __,-='=====____ ================ _____=====`=
(._____________________I__) - _-=_/ `--------=+=-------'
/ /__...---===='---+---_' System Administrator
'------'---.___ - _ = _.-' yannaigo@leyada.jlm.k12.il
`--------' The Hebrew University High School
"Si vis pacem, para bellum" http://www.leyada.jlm.k12.il/~yannaigo/
----------------------------------------------------------------------