Gentoo Archives: gentoo-user

From: Phil Thomson <hellomynameisphil@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] yet more ALSA trouble
Date: Mon, 14 Nov 2005 07:19:52
Message-Id: c3e4d47f0511132313m1f2b5833l699e2ac0cd78b9cd@mail.gmail.com
1 Hi,
2
3 Reading the archives, I noticed there's been a looooooooong thread on
4 ALSA trouble, so I hesitate to post a similar problem, but following
5 the relevant steps outlined in that thread so far hasn't seemed to
6 help my own problem with ALSA.
7
8 I've been trying to get ALSA working with my Nvidia nForce2 AC97
9 onboard sound card, but without much luck. I've been following the
10 guide at http://www.gentoo.org/doc/en/alsa-guide.xml and I think I've
11 got all the steps done, but when I run alsaconf it goes through all
12 the steps till it gets to the "ALSA configurator". When I press OK
13 here, I get:
14
15 Running modules-update...
16 Loading driver...
17 * Loading ALSA modules ...
18 * Loading: snd-card-0 ... [ ok ]
19 * Loading: snd-pcm-oss ... [ ok ]
20 * Loading: snd-seq ... [ ok ]
21 * ERROR: Failed to load necessary drivers [ ok ]
22 * Restoring Mixer Levels ...
23 * No mixer config in /etc/asound.state, you have to unmute your card! [ ok ]
24 Setting default volumes...
25 Saving the mixer setup used for this in /etc/asound.state.
26 /usr/sbin/alsactl: save_state:1163: No soundcards found...
27
28 and then:
29
30 Now ALSA is ready to use.
31 For adjustment of volumes, use your favorite mixer.
32
33 Have a lot of fun!
34
35 and then no sound. If I open, for example, xmms and try to get it to
36 use alsa output, I get an error message. It's not that the sound is
37 muted; it says "Failed to open audio output: ALSA 1.2.10 output
38 plugin".
39
40 Here's some info about my system:
41
42 GentooBoxGuy ~ # uname -a
43 Linux GentooBoxGuy 2.6.12.5 #1 SMP Sat Nov 5 07:25:03 UTC 2005 i686
44 AMD Duron(tm) processor AuthenticAMD GNU/Linux
45
46 GentooBoxGuy ~ # ls -al /usr/src
47 total 12
48 drwxr-xr-x 3 root root 4096 Nov 5 07:02 .
49 drwxr-xr-x 16 root root 4096 Nov 8 17:14 ..
50 -rw-r--r-- 1 root root 0 Nov 5 02:50 .keep
51 lrwxrwxrwx 1 root root 14 Nov 5 07:02 linux -> linux-2.6.12.5
52 drwxr-xr-x 19 root root 4096 Nov 13 22:01 linux-2.6.12.5
53
54 GentooBoxGuy ~ # lspci | grep audio
55 0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce2
56 AC97 Audio Controler (MCP) (rev a1)
57
58 for which the ALSA soundcard matrix says intel8x0 is the appropriate driver.
59
60 Here's lsmod | grep snd:
61
62 snd_seq 34192 0
63 snd_seq_device 4876 1 snd_seq
64 snd_pcm_oss 37184 0
65 snd_mixer_oss 12992 1 snd_pcm_oss
66 snd_intel8x0 21664 0
67 snd_ac97_codec 52440 1 snd_intel8x0
68 snd_pcm 53572 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
69 snd_timer 15972 2 snd_seq,snd_pcm
70 snd 32004 8
71 snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
72 snd_page_alloc 5604 2 snd_intel8x0,snd_pcm
73
74 GentooBoxGuy ~ # cat /etc/modules.d/alsa
75 # Alsa 0.9.X kernel modules' configuration file.
76 # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v
77 1.4 2004/11/16 01:31:22 eradicator Exp $
78
79 # ALSA portion
80 # OSS/Free portion
81
82 ##
83 ## IMPORTANT:
84 ## You need to customise this section for your specific sound card(s)
85 ## and then run `update-modules' command.
86 ## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
87 ##
88 ## ALSA portion
89 ## alias snd-card-1 snd-ens1371
90 ## OSS/Free portion
91 ## alias sound-slot-0 snd-card-0
92 ## alias sound-slot-1 snd-card-1
93 ##
94
95 # OSS/Free portion - card #1
96 ## OSS/Free portion - card #2
97 ## alias sound-service-1-0 snd-mixer-oss
98 ## alias sound-service-1-3 snd-pcm-oss
99 ## alias sound-service-1-12 snd-pcm-oss
100
101 alias /dev/mixer snd-mixer-oss
102 alias /dev/dsp snd-pcm-oss
103 alias /dev/midi snd-seq-oss
104
105 # Set this to the correct number of cards.
106
107 # --- BEGIN: Generated by ALSACONF, do not edit. ---
108 # --- ALSACONF version 1.0.9a ---
109 alias snd-card-0 snd-intel8x0
110 alias sound-slot-0 snd-intel8x0
111 # --- END: Generated by ALSACONF, do not edit. ---
112
113 /proc/asound/cards has nothing in it.
114
115 I've tried my best to resolve this on my own, including Googling,
116 posting on the Gentoo forums, and reading the long thread about ALSA
117 which recently closed, but I'm still a bit of a newbie to Linux, so I
118 may be missing something obvious. Thanks in advance for any help or
119 advice.
120
121 PT
122
123
124
125 --
126 Phil Thomson, BFA, MFA
127 010100000110100001101001011011000010000001010100011010000110111101101101011100110110111101101110
128 hellomynameisphil@×××××.com
129 http://www.sfu.ca/~pthomson/
130
131 --
132 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] yet more ALSA trouble Christoph Eckert <ce@×××××××××.de>
Re: [gentoo-user] yet more ALSA trouble Robert Morris <robertm@××××××.com>