Gentoo Archives: gentoo-user

From: "John H. Moe" <johnmoe@×××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] No sound with Intel HDA card in Gateway m6888u laptop (2.6.30-r4, amd64)
Date: Thu, 17 Sep 2009 12:25:17
Message-Id: 4AB22AA3.4000501@optushome.com.au
In Reply to: [gentoo-user] No sound with Intel HDA card in Gateway m6888u laptop (2.6.30-r4, amd64) by Jesse Taylor
1 Jesse Taylor wrote:
2 > Hello --
3 >
4 > I've been trying to get my sound working for nearly a month now with
5 > no luck.
6 >
7 > * I've followed the Gentoo ALSA Guide *several times*, and it's not
8 > working for me.
9 >
10 > * I've already unmuted my card in alsamixer and raised the volume to
11 > 100%
12 >
13 > * There is no sound that is coming from any of the following:
14 > -- mplayer (movies or mp3's)
15 > -- speaker-test
16 > -- flash movies in Firefox
17 > -- etc ... i.e. NOTHING gives me any sound
18 >
19 > * But when I try to play sound in any of the above mentioned programs,
20 > I get no errors (i.e. they seem to think that my sound *is* working.
21 >
22 > * I've checked to make sure that the volume isn't muted via the
23 > keyboard, and that the volume is at 100% there too.
24 >
25 > * There are no errors that are popping up in /var/log/messages or /var/
26 > log/dmesg when I do '/etc/init.d/alsasound restart' nor when I
27 > manually rmmod/modprobe the sound modules
28 >
29 > * The hardware is not damaged/broken -- it works fine from Windows
30 >
31 > * I've tried to disable ati-hdmi in the kernel and it doesn't make a
32 > difference (it's currently enabled, but unused according to lspci -k)
33 > and according to http://kmuto.jp/debian/hcl/ the ATI HDMI card should
34 > be using snd-hda-intel (as it currently is) anyway
35 >
36 > * I've tried telling alsaconf to use the Intel HDA card, and the ATI
37 > HDMI card -- neither of these work.
38 >
39 > * I started a thread on Gentoo Forums regarding this problem () and
40 > someone said: <QUOTE> HD Audio often needs a model option passed to it
41 > based on the codec see /usr/src/linux/Documentation/
42 > sound/alsa/HD-
43 > Audio-Models.txt to see what the model should be. </QUOTE> ... But
44 > looking through that file, I could not determine which option I should
45 > use (if this is even a solution, anyway) for my card. Google was no
46 > help here. (note that the Intel HDA card uses the SigmaTel ID 76a0
47 > codec)
48 >
49 > Is there any additional information I can provide (besides what I just
50 > mentioned, and the stuff below) to help diagnose this? Anything else I
51 > should try? Any help would be *very* much appreciated.
52 >
53 > Thanks,
54 > Jesse Taylor
55 >
56 > P.S.
57 >
58 > Here's some info on the current state of things:
59 >
60 > #####################
61 > # cat /proc/asound/cards
62 > #####################
63 > 0 [Intel ]: HDA-Intel - HDA Intel
64 > HDA Intel at 0xf3300000 irq 22
65 > 1 [HDMI ]: HDA-Intel - HDA ATI HDMI
66 > HDA ATI HDMI at 0xf3010000 irq 17
67 >
68 > ########
69 > #lspci -k
70 > ########
71 > 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
72 > Controller (rev 04)
73 > Kernel driver in use: HDA Intel
74 > Kernel modules: snd-hda-intel
75 > 01:00.1 Audio device: ATI Technologies Inc RV630/M76 audio device
76 > [Radeon HD 2600 Series]
77 > Kernel driver in use: HDA Intel
78 > Kernel modules: snd-hda-intel
79 >
80 > ######################
81 > # cat /proc/asound/devices
82 > ######################
83 > 0: [ 0] : control
84 > 1: : sequencer
85 > 16: [ 0- 0]: digital audio playback
86 > 24: [ 0- 0]: digital audio capture
87 > 32: [ 1] : control
88 > 33: : timer
89 >
90 > ########
91 > # codecs (note that there are two codecs for card0 (is this normal?))
92 > ########
93 >
94 > # the intel card
95 > localhost ~ # cat /proc/asound/card0/codec#0
96 > Codec: SigmaTel ID 76a0
97 > Address: 0
98 > Function Id: 0x1
99 > Vendor Id: 0x838476a0
100 > Subsystem Id: 0x107b0562
101 > Revision Id: 0x100204
102 >
103 > #the intel card again
104 > localhost ~ # cat /proc/asound/card0/codec#1
105 > Codec: Conexant ID 2c06
106 > Address: 1
107 > Function Id: 0x2
108 > Vendor Id: 0x14f12c06
109 > Subsystem Id: 0x14f10000
110 > Revision Id: 0x100000
111 > Modem Function Group: 0x2
112 >
113 > # the ATI HDMI card
114 > localhost ~ # cat /proc/asound/card1/codec#0
115 > Codec: ATI ID aa01
116 > Address: 0
117 > Function Id: 0x1
118 > Vendor Id: 0x1002aa01
119 > Subsystem Id: 0x00aa0100
120 > Revision Id: 0x100000
121 > No Modem Function Group found
122 >
123 >
124 > ########
125 > # lsmod
126 > ########
127 > snd_seq_oss 31392 0
128 > snd_seq_midi_event 7208 1 snd_seq_oss
129 > snd_seq 56672 4 snd_seq_oss,snd_seq_midi_event
130 > snd_seq_device 7164 2 snd_seq_oss,snd_seq
131 > snd_pcm_oss 41184 0
132 > snd_mixer_oss 16904 1 snd_pcm_oss
133 > snd_hrtimer 2840 0
134 > snd_hda_codec_atihdmi 3944 1
135 > snd_hda_intel 28296 0
136 > snd_hda_codec 66152 2 snd_hda_codec_atihdmi,snd_hda_intel
137 > snd_pcm 74640 3
138 > snd_pcm_oss,snd_hda_intel,snd_hda_codec
139 > snd_timer 22264 3 snd_seq,snd_hrtimer,snd_pcm
140 > snd 65256 9
141 > snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
142 > snd_page_alloc 9496 2 snd_hda_intel,snd_pcm
143 >
144 >
145 > #############
146 > # Kernel config
147 > #############
148 >
149 > CONFIG_SND=m
150 > CONFIG_SND_TIMER=m
151 > CONFIG_SND_PCM=m
152 > CONFIG_SND_JACK=y
153 > CONFIG_SND_SEQUENCER=m
154 > CONFIG_SND_OSSEMUL=y
155 > CONFIG_SND_MIXER_OSS=m
156 > CONFIG_SND_PCM_OSS=m
157 > CONFIG_SND_PCM_OSS_PLUGINS=y
158 > CONFIG_SND_SEQUENCER_OSS=y
159 > CONFIG_SND_HRTIMER=m
160 > CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
161 > CONFIG_SND_SUPPORT_OLD_API=y
162 > CONFIG_SND_VMASTER=y
163 > CONFIG_SND_PCI=y
164 > CONFIG_SND_HDA_INTEL=m
165 > # CONFIG_SND_HDA_HWDEP is not set
166 > CONFIG_SND_HDA_INPUT_BEEP=y
167 > CONFIG_SND_HDA_CODEC_ATIHDMI=y
168 > # CONFIG_SND_HDA_CODEC_INTELHDMI is not set
169 > CONFIG_SND_HDA_GENERIC=y
170 > # CONFIG_SND_HDA_POWER_SAVE is not set
171 >
172 > #########################
173 > # cat /etc/modprobe.d/alsa.conf
174 > #########################
175 >
176 > alias /dev/mixer snd-mixer-oss
177 > alias /dev/dsp snd-pcm-oss
178 > alias /dev/midi snd-seq-oss
179 > alias snd-card-0 snd-hda-intel
180 > alias sound-slot-0 snd-hda-intel
181 >
182 >
183 > Also, check out the output of the info script from the official ALSA
184 > site:
185 > http://www.alsa-project.org/db/?f=b741663fa1c69d5a5cfeabfa51086ba636c6aef5
186
187 From the above, it looks like your card, while using the Intel HD Audio
188 spec, is using the Conexant codec. But you don't have support for that
189 in your kernel, or at least, not in the options you quoted
190 (CONFIG_SND_HDA_CODEC_CONEXANT). Try adding that. If that doesn't
191 work, try adding support for all the codecs listed under the Device
192 Drivers -> Sound card support -> ALSA -> PCI Sound Devices -> Intel HD
193 Audio sub-menu and see if that fixes things up.
194
195 Also, at a guess, the two "codecs" are going to be the Conexant codec
196 for the sound card, and the SigmaTel for the modem. But for the ATI
197 HDMI, I'm used to seeing that referring to video cards and monitors; see
198 http://en.wikipedia.org/wiki/Hdmi.
199
200 HTH
201
202 John Moe