Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] soundcards inconsistent Michael Schreckenbauer <grimlog@×××.de>
Re: [gentoo-user] soundcards inconsistent wu chuanwen <wcw8410@×××××.com>