linux-l: Kernel-Soundunterstützung

Gerhard Maierhoefer maierhoefer at zib.de
Fr Feb 11 07:16:13 CET 2000


Vorschlag für die Suche was durch eine rpm installiert wurde:
"rpm -qa|grep alsa"
liefert die genaue Bezeichnuf des alsa-Paketes, z.B. alsa-0.4.1d-14
dann mit:
"rpm -ql alsa-0.4.1d-14 | more"
ansehen, was wo durch dieses Paket installiert wurde. Bei SuSE 6.x
gibt es  /sbin/init.d/alsasound , das man auch von Hand starten kann:
"/sbin/init.d/alsasound  start" oder "/sbin/init.d/alsasound stop"

"start" bzw. "stop" sind die beiden Parameter dafür. alsasound führt
letztendlich
das Kommando  "modprobe snd-card-[[:digit:]]" aus.
Den Eintrag "snd-card-[[:digit:]]" sucht es ind er Datei
"/etc/conf.modules"
im neuesten SusE Linux inzwischen "/etc/modules.conf"

Diese Einträge sind der springende Hopser, den Du selbst bewältigen
mußt.
Hier Einträge, die ich für meine "Soundblaster AWE64 value" einsprechend
geändert habe (mache ich hier aus dem Gedächtnis) "<---" - Bemerkungen
beachten
und alles ab "<---" NICHT eintragen ;-) !!!!!

#*****************************************************************************
# Example config for  ALSA sound driver
# SEE /usr/doc/packages/alsa/INSTALL
# There you will also find examples for more complex configs with isapnp
...
#*****************************************************************************
# 
## Base config
alias char-major-116  snd-card-awe    <--- "snd-card-awe" ist MEIN Modul
ändern!!
options snd-card-awe  snd_major=116 snd_cards_limit=1   <--- hier auch
alias char-major-14  soundcore
## Cards 
alias snd-card-0  snd-card-awe                          <--- hier auch
## OSS/Lite compat
alias snd-slot-0  snd-card-0
## OSS services of ALSA
alias sound-service-0-0  snd-mixer-oss
alias sound-service-0-1  snd-seq-oss
alias sound-service-0-3  snd-pcm1-oss
alias sound-service-0-12 snd-pcm1-oss
## Set mixer to stored defaults (with alsactl store)
# post-install snd  alsactl restore
# 
#*****************************************************************************

in modules.conf (oder cond.modules) gibt es auch noch eine weitere
Stelle,
die für alsa beachtet werden muß:

#*****************************************************************************
# If you want to use the kernel sound drivers instead of OSS 3.8.1z (the 
# recommended solution) please put comment signs in front of the
following 
# entries. Then choose one of the sample configurations below. Uncomment
all
# lines starting with 'alias', 'options' or 'pre-/post-install' within
one 
# such configuration and modify the parameters according to your needs
(e.g. 
# the ressources chosen for this device in /etc/isapnp.conf). For a lot
of 
# ISA soundcards the Soundblaster driver is a good starting point.
#*****************************************************************************

#alias char-major-14 off
#alias sound off
#alias midi off                     


WICHTIG ist dabei die Kommentarisierung ("#" als erstes Zeichen) der 3
Befehle!!!!

Wenn es eine PnP-Karte ist, muß isapnp laufen.
Nach diesen Änderungen "/sbin/init.d/alsasound  start" versuchen.
Das Kommando  "lsmod" zeigt alle geladenen Module, wenn da nichts ist,
was nach sound
aussieht, war der Start nicht erfolgreich!!!

Viel Erfolg
Gerhard

> 
> Hallo Arnd,
> 
> > Liebe Liste,
> 
> > Ich habe mit YaST das Paket alsa.rpm installiert. Danach
> > habe ich erstmal das ganze /usr-Verzeichnis nach *alsa* absuchen
> > lassen und lediglich in /usr/sbin ein Script "alsaconf"
> > gefunden. Das tut gar nichts.
> > Ein Alsa-Verzeichnis habe ich überhaupt nicht gefunden!
> 

-- 
Konrad-Zuse-Zentrum fuer Informationstechnik Berlin (ZIB)
Abt. Internes Rechenzentrum (IRZ)
Takustr. 7                           Tel: +49 30 84 18 52 25
D-14195 Berlin                       Fax: +49 30 84 18 51 25
Germany                           e-mail: maierhoefer at zib.de



Mehr Informationen über die Mailingliste linux-l