View previous topic :: View next topic |
Author |
Message |
kaven n00b
Joined: 10 May 2004 Posts: 9
|
Posted: Tue May 11, 2004 4:45 am Post subject: I have let my sound blaster 16 PnP work with alsa |
|
|
Sound blaster 16 PnP is a devil under linux thought it sound is nice. I spent 3 days to let it work.
At first U should flow http://www.gentoo.org/doc/en/alsa-guide.xml
I suggest use kernel-dev-sources(2.6).
select 'Sound Card Support' alsa sound building it as a module (M). also select sound blaster 16 building it as a module (M).
build your kernel.
then
dont need emerge alsa-driver. Because you have build it as a module (M).
Code: |
emerge isapnptools
pumpdump -c >> /etc/isapnp.conf
isapnp /etc/isapnp.conf
nano -w /etc/modules.d/alsa
|
modify /etc/modules.d/alsa
Code: |
...
alias snd-card-0 snd-sb16
....
options snd-sb16 index=0 id="SB-16" port=0x220 irq=5 dma8=1 dma16=5 isapnp=0
|
the port irq dma will list after isapnp /etc/isapnp.conf
after u Code: | modules-update && /etc/init.d/alsasound restart |
congratulate if u card work
dont forget
Code: |
rc-update add alsasound boot
rc-update add isapnp boot
|
But these questions puzzle me,
1. I have build isapnp in kernel. why still need merge ispnp?
2. why set isapnp=0? |
|
Back to top |
|
|
JonnyRo Tux's lil' helper
Joined: 07 Apr 2003 Posts: 120
|
Posted: Tue May 11, 2004 3:25 pm Post subject: |
|
|
Usually even with kernel based facilities like alsa, you still need to use utilities to configure these features. This is also true of pcmcia devices.
I am very excited to hear you got the sb16 working under linux. I have a 100% Soundblaster Compatible card that I am going to try to get working using your instructions. I have had no problems using the oss driver (sb), but it would be interesting to be able to unify everything under alsa.
Thanks for posting your attempt _________________ Jonathan S. Romero
Gentoo Fanatic
http://jonnyro.com |
|
Back to top |
|
|
erikbjohn n00b
Joined: 01 Mar 2004 Posts: 18 Location: Boulder, CO
|
Posted: Mon May 17, 2004 8:09 pm Post subject: isapnp |
|
|
I believe that line
Code: | pumpdump -c >> /etc/isapnp.conf |
should read
Code: | pnpdump -c >> /etc/isapnp.conf |
Thanks for the nice help file. |
|
Back to top |
|
|
Demiourgoz n00b
Joined: 12 Jun 2004 Posts: 5
|
Posted: Mon Jun 14, 2004 11:14 am Post subject: |
|
|
Hmmm i spent the last three days trying to enable sound without any luck.
And I know it should work because it works under Knoppix.
(Or does Knoppix uses OSS?)
Code: | bash-2.05b# modules-update && /etc/init.d/alsasound restart
* WARNING: you are stopping a boot service.
* Unloading ALSA...
* Storing ALSA Mixer Levels
/usr/sbin/alsactl: save_state:1061: No soundcards found...
* Unloading modules [ ok ]
* Loading ALSA drivers...
* Using ALSA OSS emulation
* Loading: snd-seq-oss
* Loading: snd-mixer-oss
* Loading: snd-pcm-oss
* Loading: snd-sb16
FATAL: Error inserting snd_sb16 (/lib/modules/2.6.5-gentoo-r1/kernel/sound/isa/sb/snd-sb16.ko): No such device
* Running card-dependent scripts
* Restoring Mixer Levels
* No mixer config in /etc/asound.state, you have to unmute your card! |
|
|
Back to top |
|
|
Demiourgoz n00b
Joined: 12 Jun 2004 Posts: 5
|
Posted: Mon Jun 14, 2004 2:24 pm Post subject: |
|
|
Found the problem:
Code: |
# pnpdump -c >> /etc/isapnp.conf
# isapnp /etc/isapnp.conf
Board 1 has Identity 6d ff ff ff ff f0 00 8c 0e: CTL00f0 Serial No -1 [checksum 6d]
CTL00f0/-1[0]{Audio }: Ports 0x220 0x330 0x388; IRQ5 DMA1 DMA3 --- Enabled OK
CTL00f0/-1[1]{Game }: Port 0x201; --- Enabled OK
|
Here I noticed that the output I recieved resembles the options line I set in /etc/modules.d/alsa:
Code: | options snd-sb16 index=0 id="SB-16" port=0x220 irq=5 dma8=1 dma16=5 isapnp=0 |
Only the "dma16=5" had to be changed to "dma16=3" for my card:
Code: | options snd-sb16 index=0 id="SB-16" port=0x220 irq=5 dma8=1 dma16=3 isapnp=0 |
I see now what you ment by : "the port irq dma will list after isapnp /etc/isapnp.conf"
Thanks! |
|
Back to top |
|
|
|