1 |
On Thu, Dec 24, 2009 at 09:53:43PM +0000, bn wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I am updating my Macbook Pro installation. While many programs I updated |
5 |
> often, the basics (Xorg, kernel, etc.) were taking dust since... well, a |
6 |
> lot. I only found time with these holidays. This is therefore probably |
7 |
> the first thread of a long series... |
8 |
> |
9 |
> To make it short: The machine is a late-2007 Macbook Pro which I updated |
10 |
> from vanilla-sources 2.6.24-rc6 to gentoo-sources-2.6.31.6. Everything |
11 |
> essential seems to work fine, apart from audio. Audio card is |
12 |
> recognized, the hardware (from lshw) is: |
13 |
> |
14 |
> description: Audio device |
15 |
> product: 82801H (ICH8 Family) HD Audio Controller |
16 |
> vendor: Intel Corporation |
17 |
> physical id: 1b |
18 |
> bus info: pci@0000:00:1b.0 |
19 |
> version: 03 |
20 |
> width: 64 bits |
21 |
> clock: 33MHz |
22 |
> capabilities: pm msi pciexpress bus_master cap_list |
23 |
> configuration: driver=HDA Intel latency=0 module=snd_hda_intel |
24 |
> |
25 |
> The situation is a classic: everything *seems* recognized, no program |
26 |
> compalins, *but* I hear only silence, no audio. |
27 |
> |
28 |
> alsamixer and kmix agree on everything being turned on. Where should I |
29 |
> try to look? |
30 |
|
31 |
I've never done this for a Mac (and it's kernel) ... however, let's try: |
32 |
|
33 |
First issue "cat /proc/asound/card0/codec#* | grep Codec" |
34 |
|
35 |
Which codec does your HDA Intel use? Then check if it's in your kernel: |
36 |
|
37 |
zgrep 'CONFIG_SND_HDA_CODEC' /proc/config.gz |
38 |
|
39 |
Your codec might not be easy to determine, such as mine: |
40 |
jeremiah ~ # cat /proc/asound/card0/codec#* | grep Codec |
41 |
Codec: Analog Devices AD1984 |
42 |
jeremiah ~ # zgrep 'CONFIG_SND_HDA_CODEC' /proc/config.gz |
43 |
# CONFIG_SND_HDA_CODEC_REALTEK is not set |
44 |
CONFIG_SND_HDA_CODEC_ANALOG=y |
45 |
# CONFIG_SND_HDA_CODEC_SIGMATEL is not set |
46 |
# CONFIG_SND_HDA_CODEC_VIA is not set |
47 |
# CONFIG_SND_HDA_CODEC_ATIHDMI is not set |
48 |
# CONFIG_SND_HDA_CODEC_NVHDMI is not set |
49 |
# CONFIG_SND_HDA_CODEC_INTELHDMI is not set |
50 |
# CONFIG_SND_HDA_CODEC_CIRRUS is not set |
51 |
# CONFIG_SND_HDA_CODEC_CONEXANT is not set |
52 |
# CONFIG_SND_HDA_CODEC_CA0110 is not set |
53 |
# CONFIG_SND_HDA_CODEC_CMEDIA is not set |
54 |
# CONFIG_SND_HDA_CODEC_SI3054 is not set |
55 |
|
56 |
However, in the Help for CONFIG_SND_HDA_CODEC_ANALOG we read: |
57 |
Say Y here to include Analog Device HD-audio codec support in |
58 |
snd-hda-intel driver, such as AD1986A. |
59 |
|
60 |
Research told me that the AD1984 and AD1986A use the same module, |
61 |
and I find AD1984 in this file: |
62 |
/lib/modules/2.6.32.2/kernel/sound/pci/hda/snd-hda-codec-analog.ko |
63 |
|
64 |
If you need more assistance, post the output of: |
65 |
"cat /proc/asound/card0/codec#* | grep Codec" and |
66 |
"zgrep 'CONFIG_SND_HDA_CODEC' /proc/config.gz" |
67 |
|
68 |
If those are correct, it's time to look at alsa settings. Run this: |
69 |
http://slackwarebox.dyndns.org:88/HOW-TOs/alsa-info.sh |
70 |
ALSA-Info script v 0.4.58 and give a link to the location of your |
71 |
output. |
72 |
-- |
73 |
"Experience is a hard teacher because she gives the test first, the |
74 |
lesson afterward. But properly learned, the lesson forever changes |
75 |
the man." |