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?
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?