Gentoo Archives: gentoo-user

From: dhk <dhkuhl@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ALSA - No Sound
Date: Sun, 23 Jan 2011 13:04:42
Message-Id: 4D3C2528.4010804@optonline.net
In Reply to: Re: [gentoo-user] ALSA - No Sound by Dale
1 On 01/23/2011 07:44 AM, Dale wrote:
2 > dhk wrote:
3 >> On 01/23/2011 07:20 AM, Dale wrote:
4 >>
5 >>> dhk wrote:
6 >>>
7 >>>> On 01/23/2011 06:10 AM, Dale wrote:
8 >>>>
9 >>>>
10 >>>>> Hazen Valliant-Saunders wrote:
11 >>>>>
12 >>>>>
13 >>>>>> Alsaconf will probe the right module for you.
14 >>>>>>
15 >>>>>> have you run alsamixer? (Or gmixer or whichever mixer you like to
16 >>>>>> unumte the channels with?)
17 >>>>>>
18 >>>>>> You need to unmute the channells;
19 >>>>>>
20 >>>>>>
21 >>>>>>
22 >>>>> I will add this. It seems every time I do a install, I have to unmute
23 >>>>> the sound with both alsa and Kmix to get sound. I assume alsa
24 >>>>> controls
25 >>>>> the card itself and kmix is sort of like software. You may have hit
26 >>>>> something similar here. If even one thing is muted, no sound.
27 >>>>> Finding
28 >>>>> them all is fun tho.
29 >>>>>
30 >>>>> Dale
31 >>>>>
32 >>>>> :-) :-)
33 >>>>>
34 >>>>>
35 >>>>>
36 >>>>>
37 >>>> I had all the channels unmuted. I ran alsamixer and
38 >>>> gnome-volume-control to unmute and to verify, but still no sound. In
39 >>>> the /etc/make.conf I have ALSA_CARDS="AC97" set, but I don't think that
40 >>>> matters according to the documentation.
41 >>>>
42 >>>>
43 >>>>
44 >>> Does lspci -k show it is using some sort of driver? Mine for example
45 >>> shows this:
46 >>>
47 >>> 01:00.1 Audio device: nVidia Corporation Device 0be2 (rev a1)
48 >>> Subsystem: nVidia Corporation Device 069a
49 >>> Kernel driver in use: HDA Intel
50 >>>
51 >>> If yours doesn't show a kernel driver in use, then it is likely a driver
52 >>> problem. If it does show one, make sure it is the correct one. I
53 >>> usually use this as a guide:
54 >>>
55 >>> http://kmuto.jp/debian/hcl/
56 >>>
57 >>> Just run the lspci -n command and paste it in there. It works well. If
58 >>> it shows it is loading the correct driver, something is muted somewhere
59 >>> or maybe it is as simple as you have the speakers plugged into the wrong
60 >>> plug. I did that once on my first build. I had two green plugs. Sort
61 >>> of got the wrong one. ;-)
62 >>>
63 >>> I can't think of anything else at the moment.
64 >>>
65 >>> Dale
66 >>>
67 >>> :-) :-)
68 >>>
69 >>>
70 >>>
71 >> It looks like it's got a driver from the following:
72 >> 00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb
73 >> AC'97 Audio Controller (rev a1)
74 >> Subsystem: ASUSTeK Computer Inc. K8N-E
75 >> Kernel driver in use: Intel ICH
76 >> Kernel modules: snd-intel8x0
77 >>
78 >> The full output is below.
79 >>
80 >> # lspci -k
81 >> <<SNIP>>
82 >> 00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb
83 >> AC'97 Audio Controller (rev a1)
84 >> Subsystem: ASUSTeK Computer Inc. K8N-E
85 >> Kernel driver in use: Intel ICH
86 >> Kernel modules: snd-intel8x0
87 >>
88 >
89 > From that, I would think it is working driver and hardware wise, key
90 > word is think. The only things I can think of is something somewhere is
91 > muted or plugged up wrong. Do you have something like this:
92 >
93 > root@fireball / # ls -al /dev/snd/
94 > total 0
95 > drwxr-xr-x 3 root root 420 Jan 22 00:44 .
96 > drwxr-xr-x 14 root root 4380 Jan 22 00:45 ..
97 > drwxr-xr-x 2 root root 80 Jan 22 00:44 by-path
98 > crw-rw---- 1 root audio 116, 10 Jan 22 00:44 controlC0
99 > crw-rw---- 1 root audio 116, 19 Jan 22 00:44 controlC1
100 > crw-rw---- 1 root audio 116, 9 Jan 22 00:44 hwC0D0
101 > crw-rw---- 1 root audio 116, 18 Jan 22 00:44 hwC1D0
102 > crw-rw---- 1 root audio 116, 17 Jan 22 00:44 hwC1D1
103 > crw-rw---- 1 root audio 116, 16 Jan 22 00:44 hwC1D2
104 > crw-rw---- 1 root audio 116, 15 Jan 22 00:44 hwC1D3
105 > crw-rw---- 1 root audio 116, 8 Jan 22 00:44 pcmC0D0c
106 > crw-rw---- 1 root audio 116, 7 Jan 23 06:37 pcmC0D0p
107 > crw-rw---- 1 root audio 116, 6 Jan 22 00:44 pcmC0D1c
108 > crw-rw---- 1 root audio 116, 5 Jan 22 00:44 pcmC0D1p
109 > crw-rw---- 1 root audio 116, 4 Jan 22 00:44 pcmC0D2c
110 > crw-rw---- 1 root audio 116, 14 Jan 22 00:44 pcmC1D3p
111 > crw-rw---- 1 root audio 116, 13 Jan 22 00:44 pcmC1D7p
112 > crw-rw---- 1 root audio 116, 12 Jan 22 00:44 pcmC1D8p
113 > crw-rw---- 1 root audio 116, 11 Jan 22 00:44 pcmC1D9p
114 > crw-rw---- 1 root audio 116, 3 Jan 22 00:44 seq
115 > crw-rw---- 1 root audio 116, 2 Jan 22 00:44 timer
116 > root@fireball / #
117 >
118 > Yours may vary a bit so it is just something to compare too. I think we
119 > are using different cards but some should look the same. I list those
120 > because my sound works here.
121 >
122 > Can I also assume you have checked to make sure you are in the right
123 > groups for sound? I would think audio would be the only one needed but
124 > since we are grasping at straws, compare to this:
125 >
126 > root@fireball / # cat /etc/group | grep dale
127 > tty::5:nut,dale
128 > lp::7:lp,dale
129 > wheel::10:root,dale
130 > uucp::14:uucp,nut,dale
131 > audio::18:dale
132 > cdrom::19:haldaemon,dale
133 > dialout::20:root,dale
134 > video::27:root,dale
135 > usb::85:haldaemon,dale
136 > users::100:games,dale
137 > utmp:x:406:dale
138 > lpadmin:x:106:dale
139 > games:x:35:dale
140 > plugdev:x:999:haldaemon,dale
141 > dale:x:1000:
142 > nut:x:84:nut,dale
143 > wireshark:x:993:dale
144 > root@fireball / #
145 >
146 > Again, yours may vary but it may help. This may not help but at least
147 > you can be pretty sure of what it is not. When working on something
148 > like this, am I the only one that feels like Sherlock Holmes? lol
149 >
150 > Dale
151 >
152 > :-) :-)
153 >
154 >
155
156 By the way, that link is really good. It did confirm that I'm using the
157 correct driver. I checked the plugs and nothing. I think I might try
158 another sound card. The one I've been trying to get working is part of
159 the mother board. I'm sure I have a Sound Blaster around somewhere.
160 I'll let you know if that maks a difference.
161
162 . . . and yes I have the following.
163 # ls -al /dev/snd/
164 total 0
165 drwxr-xr-x 3 root root 240 Jan 21 12:49 .
166 drwxr-xr-x 15 root root 3880 Jan 21 12:50 ..
167 drwxr-xr-x 2 root root 60 Jan 21 12:49 by-path
168 crw-rw---- 1 root audio 116, 9 Jan 21 12:49 controlC0
169 crw-rw---- 1 root audio 116, 4 Jan 21 12:49 controlC1
170 crw-rw---- 1 root audio 116, 3 Jan 21 12:49 midiC1D0
171 crw-rw---- 1 root audio 116, 8 Jan 23 06:56 pcmC0D0c
172 crw-rw---- 1 root audio 116, 7 Jan 23 07:48 pcmC0D0p
173 crw-rw---- 1 root audio 116, 6 Jan 21 12:49 pcmC0D1c
174 crw-rw---- 1 root audio 116, 5 Jan 21 12:49 pcmC0D2p
175 crw-rw---- 1 root audio 116, 10 Jan 21 12:49 seq
176 crw-rw---- 1 root audio 116, 2 Jan 21 12:49 timer
177
178 Thanks.

Replies

Subject Author
Re: [gentoo-user] ALSA - No Sound dhk <dhkuhl@×××××××××.net>