Gentoo Archives: gentoo-user

From: Robert Morris <robertm@××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] yet more ALSA trouble
Date: Tue, 15 Nov 2005 02:23:51
Message-Id: 1132021150.20204.8.camel@apollo.twilightsedge.com
In Reply to: [gentoo-user] yet more ALSA trouble by Phil Thomson
1 On Sun, 2005-11-13 at 23:13 -0800, Phil Thomson wrote:
2 > Hi,
3 >
4 > Reading the archives, I noticed there's been a looooooooong thread on
5 > ALSA trouble, so I hesitate to post a similar problem, but following
6 > the relevant steps outlined in that thread so far hasn't seemed to
7 > help my own problem with ALSA.
8 >
9 > I've been trying to get ALSA working with my Nvidia nForce2 AC97
10 > onboard sound card, but without much luck.
11
12 > GentooBoxGuy ~ # lspci | grep audio
13 > 0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce2
14 > AC97 Audio Controler (MCP) (rev a1)
15 >
16 > for which the ALSA soundcard matrix says intel8x0 is the appropriate driver.
17 >
18 > Here's lsmod | grep snd:
19 >
20 > snd_seq 34192 0
21 > snd_seq_device 4876 1 snd_seq
22 > snd_pcm_oss 37184 0
23 > snd_mixer_oss 12992 1 snd_pcm_oss
24 > snd_intel8x0 21664 0
25 > snd_ac97_codec 52440 1 snd_intel8x0
26 > snd_pcm 53572 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
27 > snd_timer 15972 2 snd_seq,snd_pcm
28 > snd 32004 8
29 > snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
30 > snd_page_alloc 5604 2 snd_intel8x0,snd_pcm
31 >
32 > GentooBoxGuy ~ # cat /etc/modules.d/alsa
33 > # Alsa 0.9.X kernel modules' configuration file.
34 > # $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v
35 > 1.4 2004/11/16 01:31:22 eradicator Exp $
36 >
37 > # ALSA portion
38 > # OSS/Free portion
39 >
40 > ##
41 > ## IMPORTANT:
42 > ## You need to customise this section for your specific sound card(s)
43 > ## and then run `update-modules' command.
44 > ## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
45 > ##
46 > ## ALSA portion
47 > ## alias snd-card-1 snd-ens1371
48 > ## OSS/Free portion
49 > ## alias sound-slot-0 snd-card-0
50 > ## alias sound-slot-1 snd-card-1
51 > ##
52 >
53 > # OSS/Free portion - card #1
54 > ## OSS/Free portion - card #2
55 > ## alias sound-service-1-0 snd-mixer-oss
56 > ## alias sound-service-1-3 snd-pcm-oss
57 > ## alias sound-service-1-12 snd-pcm-oss
58 >
59 > alias /dev/mixer snd-mixer-oss
60 > alias /dev/dsp snd-pcm-oss
61 > alias /dev/midi snd-seq-oss
62 >
63 > # Set this to the correct number of cards.
64 >
65 > # --- BEGIN: Generated by ALSACONF, do not edit. ---
66 > # --- ALSACONF version 1.0.9a ---
67 > alias snd-card-0 snd-intel8x0
68 > alias sound-slot-0 snd-intel8x0
69 > # --- END: Generated by ALSACONF, do not edit. ---
70 >
71 > /proc/asound/cards has nothing in it.
72
73 I have a nForce2 board as well, here is what I have.
74
75 robert@apollo ~ $ lsmod | grep snd
76 snd_intel8x0 29696 1
77 snd_ac97_codec 82428 1 snd_intel8x0
78
79 robert@apollo ~ $ cat /etc/modules.d/alsa
80 # Alsa 0.9.X kernel modules' configuration file.
81 #
82 $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 $
83
84 # ALSA portion
85 alias char-major-116 snd
86 # OSS/Free portion
87 alias char-major-14 soundcore
88
89 ##
90 ## IMPORTANT:
91 ## You need to customise this section for your specific sound card(s)
92 ## and then run `update-modules' command.
93 ## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
94 ##
95 ## ALSA portion
96 ## alias snd-card-0 snd-interwave
97 ## alias snd-card-1 snd-ens1371
98 alias snd-card-0 snd-intel8x0
99 ## OSS/Free portion
100 alias sound-slot-0 snd-card-0
101 ## alias sound-slot-1 snd-card-1
102 ##
103
104 # OSS/Free portion - card #1
105 alias sound-service-0-0 snd-mixer-oss
106 alias sound-service-0-1 snd-seq-oss
107 alias sound-service-0-3 snd-pcm-oss
108 alias sound-service-0-8 snd-seq-oss
109 alias sound-service-0-12 snd-pcm-oss
110 ## OSS/Free portion - card #2
111 ## alias sound-service-1-0 snd-mixer-oss
112 ## alias sound-service-1-3 snd-pcm-oss
113 ## alias sound-service-1-12 snd-pcm-oss
114
115 alias /dev/mixer snd-mixer-oss
116 alias /dev/dsp snd-pcm-oss
117 alias /dev/midi snd-seq-oss
118
119 # Set this to the correct number of cards.
120 options snd cards_limit=1
121
122 robert@apollo ~ $ cat /proc/asound/cards
123 0 [nForce2 ]: NFORCE - NVidia nForce2
124 NVidia nForce2 with ALC650F at 0xe5080000, irq 19
125
126 Not sure that helps or not, but it looks like there are a few things
127 missing from your config. Specifically this section:
128 # ALSA portion
129 alias char-major-116 snd
130 # OSS/Free portion
131 alias char-major-14 soundcore
132
133 Hope that helps,
134 Robert
135
136
137 --
138 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] yet more ALSA trouble Dale <dalek@××××××××××.net>