Gentoo Archives: gentoo-user

From: Michael Schreckenbauer <grimlog@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] soundcards inconsistent
Date: Wed, 26 Apr 2006 18:33:35
Message-Id: 200604262027.50756.grimlog@gmx.de
In Reply to: Re: [gentoo-user] soundcards inconsistent by Michael Schreckenbauer
1 Am Samstag, 22. April 2006 01:24 schrieb Michael Schreckenbauer:
2 > Hi again,
3 > Am Mittwoch, 19. April 2006 21:12 schrieb Michael Schreckenbauer:
4 > > Dear gentoo-users,
5 > > yesterday I recognized a strange problem with my soundcards. I have two
6 > > soundcards in my system. A Soundblaster, ens1371 based, and a Terratec
7 > > DMX6Fire, which uses an ice1712 chip. The Soundblaster is used as the
8 > > primary soundcard, recording from tape or vinyl and stereo playback, the
9 > > ice1712 one is used for 5.1 playback of dvds.
10 > > So, the normal situation is as follows:
11 > > ~ $ cat /proc/asound/cards
12 > > 0 [AudioPCI ]: ENS1371 - Ensoniq AudioPCI
13 > > Ensoniq AudioPCI ENS1371 at 0xc000, irq 16
14 > > 1 [DMX6Fire ]: ICE1712 - TerraTec DMX6Fire
15 > > TerraTec DMX6Fire at 0xc400, irq 19
16 > >
17 > > Now, after boot, I _sometimes_ get this one:
18 > >
19 > > ~ $ cat /proc/asound/cards
20 > > 0 [DMX6Fire ]: ICE1712 - TerraTec DMX6Fire
21 > > TerraTec DMX6Fire at 0xc400, irq 19
22 > > 1 [AudioPCI ]: ENS1371 - Ensoniq AudioPCI
23 > > Ensoniq AudioPCI ENS1371 at 0xc000, irq 16
24 > >
25 > > which I don't want, because I always have to adjust my applications ;)
26 > > After executing /etc/init.d/alsasound restart, things are as expected.
27 > > Some more info:
28 > > ~ $ uname -a
29 > > Linux pc 2.6.15-gentoo-r3 #2 Mon Feb 27 22:36:46 CET 2006 i686 AMD
30 > > Athlon(tm) 64 Processor 3000+ GNU/Linux
31 > >
32 > > ~ $ cat /proc/asound/version
33 > > Advanced Linux Sound Architecture Driver Version 1.0.11rc5.
34 > > Compiled on Apr 12 2006 for kernel 2.6.15-gentoo-r3.
35 > >
36 > > ~ $ eix ^udev$
37 > > * sys-fs/udev
38 > > Available versions: 068-r1 069 070-r1 071 072 073 077 077-r1 077-r2
39 > > 077-r3 077-r4 077-r5 078 079 079-r1 081 081-r1 084 085 086 087 089 089-r1
40 > > 089-r2 090
41 > > Installed: 090
42 > > Homepage:
43 > > http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
44 > > Description: Linux dynamic and persistent device naming
45 > > support (aka userspace devfs)
46 > >
47 > > Found 1 matches
48 > >
49 > > ~ $ cat /etc/modules.d/alsa
50 > > # Alsa 0.9.X kernel modules' configuration file.
51 > > #
52 > > $Header:
53 > > /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-r
54 > >c, v 1.1 2003/08/05 21:07:55 johnm Exp $
55 > >
56 > > # ALSA portion
57 > > alias char-major-116 snd
58 > > # OSS/Free portion
59 > > alias char-major-14 soundcore
60 > >
61 > > ##
62 > > ## IMPORTANT:
63 > > ## You need to customise this section for your specific sound card(s)
64 > > ## and then run `update-modules' command.
65 > > ## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
66 > > ##
67 > > ## ALSA portion
68 > > alias snd-card-0 snd-ens1371
69 > > alias snd-card-1 snd-ice1712
70 > > ## OSS/Free portion
71 > > alias sound-slot-0 snd-card-0
72 > > alias sound-slot-1 snd-card-1
73 > > ##
74 > >
75 > > # OSS/Free portion - card #1
76 > > alias sound-service-0-0 snd-mixer-oss
77 > > alias sound-service-0-1 snd-seq-oss
78 > > alias sound-service-0-3 snd-pcm-oss
79 > > alias sound-service-0-8 snd-seq-oss
80 > > alias sound-service-0-12 snd-pcm-oss
81 > > ## OSS/Free portion - card #2
82 > > alias sound-service-1-0 snd-mixer-oss
83 > > alias sound-service-1-3 snd-pcm-oss
84 > > alias sound-service-1-12 snd-pcm-oss
85 > >
86 > > alias /dev/mixer snd-mixer-oss
87 > > alias /dev/dsp snd-pcm-oss
88 > > alias /dev/midi snd-seq-oss
89 > >
90 > > options snd-card-1 model=dmx6fire
91 > >
92 > > # Set this to the correct number of cards.
93 > >
94 > > options snd cards_limit=2
95 > >
96 > > I searched bugzilla for sound, alsa and udev, but found nothing useful.
97 > > Well http://bugs.gentoo.org/show_bug.cgi?id=128601 sounds similar, but
98 > > it's about cdroms and an older version of udev.
99 > > Any idea, what's the problem here?
100
101 no answer yet? Sad but true ;) Problem still exists. I now have
102 /etc/init.d/alsasound restart in /etc/conf.d/local.start and this "works".
103 I'd be glad, if someone could give me a better solution for this.
104
105 Regards,
106 Michael
107
108
109
110
111
112 --
113 gentoo-user@g.o mailing list