Gentoo Archives: gentoo-user

From: Roger Mason <rmason@×××.ca>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't hear anything. :-(
Date: Wed, 17 Feb 2010 11:47:49
Message-Id: y65ocjodqy3.fsf@perthite.esd.mun.ca
In Reply to: Re: [gentoo-user] Can't hear anything. :-( by Alan Mackenzie
1 Hello Alan,
2
3 Alan Mackenzie <acm@×××.de> writes:
4
5 >> Did you get this worked out yet?
6 >
7 > Not yet, no.
8 >
9 >> VERY strange that you don't see pcm as a mixer control...
10 >
11 > I've got alsamixer 1.0.21. Could it be that it choses its controls
12 > according to the capabilities of the sound card?
13 >
14 >> It's a bit hard to say much with so little info but I'll offer a
15 >> couple of things:
16 >
17 >> 1) IMO Alsa has never run so well when drivers are compiled into the
18 >> kernel. I do a lot of audio in Linux and have always had the best
19 >> results using modules. I would strongly suggest you give it a try...
20 >
21 > Oh deity! I was hoping not to have to do this. I've never used modules
22 > before, since they are (or were) an unnecessary complication, and might
23 > introduce security risks. Maybe I'll have to read up on this.
24 >
25 >> 2) Under /proc/asound/card0 (or whatever card you are using if you
26 >> have more than 1) do you see any pcm directories?
27 >
28 > # ls /proc/asound/card0
29 > codec#0 id oss_mixer pcm0c pcm0p pcm1p pcm2c
30 >
31 > , so yes, I can see some pcm directories.
32 >
33 >> 3) Post back a little more info?
34 >
35 >> cat /proc/asound/cards
36 >
37 > 0 [SB ]: HDA-Intel - HDA ATI SB
38 > HDA ATI SB at 0xfbcf8000 irq 16
39 > 1 [HDMI ]: HDA-Intel - HDA ATI HDMI
40 > HDA ATI HDMI at 0xfbffc000 irq 19
41 >
42 >
43 >> aplay -l
44 >
45 > **** List of PLAYBACK Hardware Devices ****
46 > card 0: SB [HDA ATI SB], device 0: ALC1200 Analog [ALC1200 Analog]
47 > Subdevices: 1/1
48 > Subdevice #0: subdevice #0
49 > card 0: SB [HDA ATI SB], device 1: ALC1200 Digital [ALC1200 Digital]
50 > Subdevices: 1/1
51 > Subdevice #0: subdevice #0
52 > card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
53 > Subdevices: 1/1
54 > Subdevice #0: subdevice #0
55 >
56 >> aplay -L
57 >
58 > default:CARD=SB
59 > HDA ATI SB, ALC1200 Analog
60 > Default Audio Device
61 > front:CARD=SB,DEV=0
62 > HDA ATI SB, ALC1200 Analog
63 > Front speakers
64 > surround40:CARD=SB,DEV=0
65 > HDA ATI SB, ALC1200 Analog
66 > 4.0 Surround output to Front and Rear speakers
67 > surround41:CARD=SB,DEV=0
68 > HDA ATI SB, ALC1200 Analog
69 > 4.1 Surround output to Front, Rear and Subwoofer speakers
70 > surround50:CARD=SB,DEV=0
71 > HDA ATI SB, ALC1200 Analog
72 > 5.0 Surround output to Front, Center and Rear speakers
73 > surround51:CARD=SB,DEV=0
74 > HDA ATI SB, ALC1200 Analog
75 > 5.1 Surround output to Front, Center, Rear and Subwoofer speakers
76 > surround71:CARD=SB,DEV=0
77 > HDA ATI SB, ALC1200 Analog
78 > 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
79 > iec958:CARD=SB,DEV=0
80 > HDA ATI SB, ALC1200 Digital
81 > IEC958 (S/PDIF) Digital Audio Output
82 > null
83 > Discard all samples (playback) or generate zero samples (capture)
84 > hdmi:CARD=HDMI
85 > HDA ATI HDMI, ATI HDMI
86 > HDMI Audio Output
87 >
88 >
89 >> lsmod
90 >
91 > Opening /proc/modules: No such file or directory
92 >
93
94 I have Intel HDA and load the necessary drivers as modules. I had to
95 add some "stuff" to the module configuration to get sound from my card,
96 which is:
97
98 pyrope ~ $ aplay -l
99 **** List of PLAYBACK Hardware Devices ****
100 card 0: Headset [Logitech USB Headset], device 0: USB Audio [USB Audio]
101 Subdevices: 1/1
102 Subdevice #0: subdevice #0
103 card 1: Intel [HDA Intel], device 0: ALC885 Analog [ALC885 Analog]
104 Subdevices: 1/1
105 Subdevice #0: subdevice #0
106 card 1: Intel [HDA Intel], device 1: ALC885 Digital [ALC885 Digital]
107 Subdevices: 1/1
108 Subdevice #0: subdevice #0
109
110 It was the ALC885 that was troublesome to get going. Have a look in
111 /usr/src/linux/Documentation/sound/alsa/ at the HD*.txt for information.
112
113 Good luck,
114 Roger