Re: Alte Soundkarte mit Kernel 2.6, ALSA
Also sprach Bertram Scharpf <lists@bertram-scharpf.de> (Fri, 16 Dec
2005 22:39:22 +0100):
> Hallo Gebhard,
>
> tut mir leid, ich krieg's immer noch nicht hin.
>
> Am Freitag, 16. Dez 2005, 11:56:48 +0100 schrieb Gebhard Dettmar:
> > On Wednesday 14 December 2005 23:46, Richard Mittendorfer wrote:
> > > Also sprach Bertram Scharpf <lists@bertram-scharpf.de> (Wed, 14 Dec
> > >
> > > 2005 23:16:24 +0100):
> > > > Alles was irgendwie ISA oder PNP heißt habe ich
> > > > fest einkompiliert.
> > > >
> > Das darfst du laut Ganten/Alex nicht. Du musst sie (wenn sie über isapnp
> > konfiguriert werden sollen) als Modul kompilieren, da die Hardware sonst
> > gesucht wird, bevor sie mit isapnp initialisiert worden ist.
>
> Soweit ich sehe, kann ich da garkein "M" einstellen???
>
> > gebhard@debby:~$ cat ../../boot/config-`uname -r` |grep -i isapnp
> > CONFIG_ISAPNP=y
>
> Ja, hier auch.
>
> >
> > > enthalten. Damit konnte man die Einstellung der ISA-Karten manchmal
> > > finden.
> > >
> > Das geht mit apt-get install isapnptools. Dann
> > pnpdump -c > isapnp.conf
> > Die hat man jetzt im Arbeitsverzeichnis und kann testen:
> > isapnp isapnp.conf
> > Kriegt man damit eine vernünftige Ausgabe a la
> > Board 1 has Identitity e5 bla bla
> > sind die Geräte erfolgreich initialisiert und man kann die Treiber mit
> > modprobe unter Zuhilfenahme der obigen Ausgabe laden, also z.B.
> > modprobe sb.o irq=5 dma=1 dma16=5 io=0x220 usw.
>
> myhost:~# isapnp /media/hdaX/root/isapnp.conf
> Board 1 has Identity 52 14 f2 e1 90 9e 00 8c 0e: CTL009e Serial No 351461776 [checksum 52]
> CTL009e/351461776[0]{Audio }: Ports 0x240 0x300; IRQ7 DMA0 DMA6 --- Enabled OK
> CTL009e/351461776[1]{Game }: Port 0x200; --- Enabled OK
> CTL009e/351461776[2]{WaveTable }: Port 0x640; --- Enabled OK
> myhost:~# modinfo snd-sbawe
> ...
> parm: seq_ports:Number of sequencer ports for WaveTable synth.
> parm: dma16:16-bit DMA # for SB16 driver.
> parm: dma8:8-bit DMA # for SB16 driver.
> parm: irq:IRQ # for SB16 driver.
> parm: awe_port:AWE port # for SB16 PnP driver.
> parm: fm_port:FM port # for SB16 PnP driver.
> parm: mpu_port:MPU-401 port # for SB16 driver.
> parm: port:Port # for SB16 driver.
> ...
> myhost:~# modprobe snd-sbawe seq-ports=0x640 dma16=6 dma=0 irq=7 port=0x240
> FATAL: Error inserting snd_sbawe (/lib/modules/2.6.8-xxx/kernel/sound/isa/sb/snd-sbawe.ko): No such device
> myhost:~#
>
> Was soll denn jetzt noch fehlen?
/usr/src/<kernel>/Documentation/sound/alsa/ALSA-Configuration.txt
------------8<-------------
Module snd-sb16 and snd-sbawe
-----------------------------
Module for 16-bit SoundBlaster cards: SoundBlaster 16 (PnP),
SoundBlaster AWE 32 (PnP),
SoundBlaster AWE 64 PnP
port - port # for SB DSP 4.x chip (0x220,0x240,0x260)
mpu_port - port # for MPU-401 UART (0x300,0x330), -1 = disable
awe_port - base port # for EMU8000 synthesizer(0x620,0x640,0x660) (snd-sbawe module only)
irq - IRQ # for SB DSP 4.x chip (5,7,9,10)
dma8 - 8-bit DMA # for SB DSP 4.x chip (0,1,3)
dma16 - 16-bit DMA # for SB DSP 4.x chip (5,6,7)
mic_agc - Mic Auto-Gain-Control - 0 = disable, 1 = enable(default)
csp - ASP/CSP chip support - 0 = disable(default), 1 = enable
isapnp - ISA PnP detection - 0 = disable,1 = enable (default)
Module supports up to 8 cards, autoprobe and ISA PnP.
Note: To use Vibra16X cards in 16-bit half duplex mode, you must
disable 16bit DMA with dma16 = -1 module parameter.
Also, all Sound Blaster 16 type cards can operate in 16-bit
half duplex mode through 8-bit DMA channel by disabling their
16-bit DMA channel.
-----------8<-----------
modprobe snd_sbawe irq=7 dma8=0 dma16=6 port=0x240
awe_port=0x640 mpu_port=0x300
..ob die anderen parameter noetig sind, kann ich nicht sagen. Probieren.
sl ritch
Reply to: