Re: [Debian] Alsa-Probs
Hallo Thomas,
> Hallo! Ich habe die alsa-Pakete von Potato installiert und
> alsaconf gestartet, um meine SB16 (ISA) zum Laufen zu
> bekommen. In den Kernel habe ich nur den generellen Soundsupport
> kompiliert.
Ich denke, es ist nicht notwendig den generellen Soundsupport in den
Kernel zu kompilieren, wenn Du Alsa verwenden moechtest.
> Alsaconf meldet mir, dass eine Karte definiert wurde
> und das wars. Wenn ich amixer starte, erscheint die Meldung,
> dass kein alsamodul geladen wurde. Was muss ich noch tun? Wie
> kann ich prüfen, ob Module und Treiber richtig geladen wurden
> bzw. vorhanden sind?
Ich habe gerade nicht viel Zeit und haenge deswegen nur meine
Cfengine-Konfiguration an diese Nachricht. Nach dem Erstellen von
/etc/modutils/alsa musst Du noch das Programm update-modules aufrufen.
Ich verwende inzwischen wieder die OSS-Module, da Alsa noch im
Beta-Stadium ist und ich damit keine besonders guten Erfahrungen
gemacht habe. Die letzte Alsa-Version, die ich getestet habe, war
allerdings die Version 0.5.7.
groups:
oss = ( columbus magellan )
editfiles:
columbus::
{ /etc/alsa-source.conf
BeginGroupIfNoSuchLine "ALSA_CARDS=sb16"
ReplaceAll "ALSA_CARDS=.*" With "ALSA_CARDS=sb16"
EndGroup
}
columbus.alsa::
{ /etc/modutils/alsa
AutoCreate
BeginGroupIfNoSuchLine "alias snd-card-0 snd-card-sb16"
EmptyEntireFilePlease
Append "alias char-major-116 snd"
Append "options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660 snd_device_gid=29 snd_device_uid=0"
Append "alias snd-card-0 snd-card-sb16"
Append "options snd-card-sb16 snd_fm_port=0x388"
Append "alias char-major-14 soundcore"
Append "alias sound-slot-0 snd-card-0"
Append "alias sound-service-0-0 snd-mixer-oss"
Append "alias sound-service-0-1 snd-seq-oss"
Append "alias sound-service-0-3 snd-pcm-oss"
Append "alias sound-service-0-8 snd-seq-oss"
Append "alias sound-service-0-12 snd-pcm-oss"
EndGroup
}
columbus.oss::
{ /etc/modutils/oss
AutoCreate
AppendIfNoSuchLine "alias char-major-14 sb"
AppendIfNoSuchLine "post-install sb modprobe $(dblquote)-k$(dblquote) $(dblquote)opl3$(dblquote)"
AppendIfNoSuchLine "options sb io=0x220 irq=5 dma=1 dma16=5"
AppendIfNoSuchLine "options opl3 io=0x388"
}
magellan::
{ /etc/alsa-source.conf
BeginGroupIfNoSuchLine "ALSA_NOPNP=y"
ReplaceAll "ALSA_NOPNP=.*" With "ALSA_NOPNP=y"
EndGroup
BeginGroupIfNoSuchLine "ALSA_CARDS=opl3sa2"
ReplaceAll "ALSA_CARDS=.*" With "ALSA_CARDS=opl3sa2"
EndGroup
}
magellan.alsa::
{ /etc/modutils/alsa
AutoCreate
BeginGroupIfNoSuchLine "alias snd-card-0 snd-card-opl3sa2"
EmptyEntireFilePlease
Append "alias char-major-116 snd"
Append "options snd snd_major=116 snd_cards_limit=1 snd_device_mode=0660 snd_device_gid=29 snd_device_uid=0"
Append "alias snd-card-0 snd-card-opl3sa2"
Append "options snd-card-opl3sa2 snd_port=0x370 snd_wss_port=0x530 snd_midi_port=0x330 snd_fm_port=0x388 snd_irq=5 snd_dma1=1 snd_dma2=0"
Append "alias char-major-14 soundcore"
Append "alias sound-slot-0 snd-card-0"
Append "alias sound-service-0-0 snd-mixer-oss"
Append "alias sound-service-0-1 snd-seq-oss"
Append "alias sound-service-0-3 snd-pcm-oss"
Append "alias sound-service-0-8 snd-seq-oss"
Append "alias sound-service-0-12 snd-pcm-oss"
EndGroup
}
magellan.oss::
{ /etc/modutils/oss
AutoCreate
AppendIfNoSuchLine "alias char-major-14 opl3sa2"
AppendIfNoSuchLine "pre-install opl3sa2 modprobe $(dblquote)-k$(dblquote) $(dblquote)ad1848$(dblquote)"
AppendIfNoSuchLine "post-install opl3sa2 modprobe $(dblquote)-k$(dblquote) $(dblquote)opl3$(dblquote)"
AppendIfNoSuchLine "options sound dmabuf=1"
AppendIfNoSuchLine "options opl3sa2 io=0x370 mss_io=0x530 mpu_io=0x330 irq=5 dma=1 dma2=0"
AppendIfNoSuchLine "options opl3 io=0x388"
}
shellcommands:
debian.alsa::
"/bin/rm -f /etc/modutils/oss"
debian.oss::
"/bin/rm -f /etc/modutils/alsa"
# Local Variables:
# mode:Cfengine
# End:
Reply to: