PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Zwei emu10k1-Karten mit ALSA, nur eine geht



Pixelbrei
13.08.06, 14:33
Ich hab bei mir eine SB Audigy2 und eine SBLive! 5.1 Player eingebaut.
Beide brauchen das emu10k1 Modul, und funktionieren auch, wenn sie alleine eingebaut sind.

Meine /etc/modules.d/alsa sieht so aus:


# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

## ALSA portion
alias snd-card-0 snd-emu10k1
alias snd-card-1 snd-emu10k1
## alias snd-card-1 snd-ens1371
## OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
##
alias snd-slot-0 snd-emu10k1
alias snd-slot-1 snd-emu10k1

# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=2
options snd-card-0 index=0
options snd-card-1 index=1


nach einem modules-update und /etc/init.d/alsasound restart kommt folgendes:


* Storing ALSA Mixer Levels ... [ ok ]
* Unloading ALSA ... [ ok ]
* Unloading ALSA modules ... [ ok ]
* Loading ALSA modules ...
* Loading: snd-card-0 ... [ ok ]
* Loading: snd-card-1 ... [ ok ]
* Loading: snd-seq-oss ... [ ok ]
* Loading: snd-pcm-oss ... [ ok ]
* Loading: snd-emu10k1-synth ... [ ok ]
* Loading: snd-seq-midi ... [ ok ]
* Restoring Mixer Levels ...
/usr/sbin/alsactl: load_state:1250: Cannot find soundcard '1'...
* Errors while restoring defaults, ignoring [ ok ]


Obwohl laut /proc/asound/cards beide da sind:


0 [Audigy2 ]: Audigy2 - Audigy 2 Platinum [SB0240P]
Audigy 2 Platinum [SB0240P] (rev.4, serial:0x10021102) at 0xc000, irq 21
1 [Live ]: EMU10K1 - SBLive 5.1 [SB0060]
SBLive 5.1 [SB0060] (rev.7, serial:0x80611102) at 0xc800, irq 22


Wenn ich irgendwelchen Programmen sage, sie sollen eine andere Soundkarte als #0 verwenden (z.b. alsamixer -c 1), kommt eine Meldung, diese Soundkarte würde nicht existieren.

Wie krieg ich hin, dass beide gehen?

Wuppi109
14.08.06, 20:46
Moin,

kannst Du mal Deine Distri angeben?

Habe exakt beide Karten ab SuSe 10.0 am laufen.

Gruß Wuppi

Wuppi109
14.08.06, 21:53
..hab gerade gesehen..gentoo-fan.. ;)

gibts bei Dir sowas wie /etc/modeprobe.d/sound ?

Da mußte ich folgendes eintragen ->

options snd-emu10k1 enable=1,1 index=0,1
# SB Audigy
alias snd-card-0 snd-emu10k1
# SBLive! 5.1 Digital Model SB0220
alias snd-card-1 snd-emu10k1

Fehlte der Eintrag der snd-card-1 ging nur die erste Soundkarte (hier die Audigy2)

Hoffe Dir den helfenden Tip gegeben zu haben...

Gruß Wuppi

Pixelbrei
15.08.06, 05:01
Diese modprobe.d/sound heisst modules.d/alsa bei gentoo.
Die habe ich oben gepostet, die Einträge waren eigentlich alle vorhanden.

Das Problem ist jetzt gelöst, weil ich gentoo aus anderen Gründen neu aufgesetzt habe, und da ging das dann gleich problemlos.

Ich weiss also immer noch nicht, warum es nicht ging... Vielleicht starte ich das alte nochmal, nur um das rauszufinden :)

Danke trotzdem
Pixelbrei