Dear gentoo-users,
yesterday I recognized a strange problem with my soundcards. I have two 
soundcards in my system. A Soundblaster, ens1371 based, and a Terratec 
DMX6Fire, which uses an ice1712 chip. The Soundblaster is used as the primary 
soundcard, recording from tape or vinyl and stereo playback, the ice1712 one 
is used for 5.1 playback of dvds.
So, the normal situation is as follows:
~ $ cat /proc/asound/cards
 0 [AudioPCI       ]: ENS1371 - Ensoniq AudioPCI
                      Ensoniq AudioPCI ENS1371 at 0xc000, irq 16
 1 [DMX6Fire       ]: ICE1712 - TerraTec DMX6Fire
                      TerraTec DMX6Fire at 0xc400, irq 19

Now, after boot, I _sometimes_ get this one:

~ $ cat /proc/asound/cards
 0 [DMX6Fire       ]: ICE1712 - TerraTec DMX6Fire
                      TerraTec DMX6Fire at 0xc400, irq 19
 1 [AudioPCI       ]: ENS1371 - Ensoniq AudioPCI
                      Ensoniq AudioPCI ENS1371 at 0xc000, irq 16

which I don't want, because I always have to adjust my applications ;)
After executing /etc/init.d/alsasound restart, things are as expected.
Some more info:
~ $ uname -a
Linux pc 2.6.15-gentoo-r3 #2 Mon Feb 27 22:36:46 CET 2006 i686 AMD Athlon(tm) 
64 Processor 3000+ GNU/Linux

 ~ $ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.11rc5.
Compiled on Apr 12 2006 for kernel 2.6.15-gentoo-r3.

~ $ eix ^udev$
* sys-fs/udev
     Available versions:  068-r1 069 070-r1 071 072 073 077 077-r1 077-r2 
077-r3 077-r4 077-r5 078 079 079-r1 081 081-r1 084 085 086 087 089 089-r1 
089-r2 090
     Installed:           090
     Homepage:            
http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
     Description:         Linux dynamic and persistent device naming support 
(aka userspace devfs)

Found 1 matches

~ $ cat /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
# 
$Header: 
/home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 
1.1 2003/08/05 21:07:55 johnm Exp $

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

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
alias snd-card-0 snd-ens1371
alias snd-card-1 snd-ice1712
##  OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
##

# 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-3 snd-pcm-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

options snd-card-1 model=dmx6fire

# Set this to the correct number of cards.

options snd cards_limit=2

I searched bugzilla for sound, alsa and udev, but found nothing useful. Well 
http://bugs.gentoo.org/show_bug.cgi?id=128601 sounds similar, but it's about 
cdroms and an older version of udev.
Any idea, what's the problem here?

Thanks in advance,
Michael
-- 
gentoo-user@gentoo.org mailing list

Reply via email to