| … | |
… | |
| 12 | <author title="Author"><mail link="agenkin@gentoo.org"> |
12 | <author title="Author"><mail link="agenkin@gentoo.org"> |
| 13 | Arcady Genkin</mail> |
13 | Arcady Genkin</mail> |
| 14 | </author> |
14 | </author> |
| 15 | <author title="Editor"><mail link="zhen@gentoo.org"> |
15 | <author title="Editor"><mail link="zhen@gentoo.org"> |
| 16 | John P. Davis</mail> |
16 | John P. Davis</mail> |
|
|
17 | </author> |
|
|
18 | <author title="Editor"><mail link="swift@gentoo.org"> |
|
|
19 | Sven Vermeulen</mail> |
| 17 | </author> |
20 | </author> |
| 18 | |
21 | |
| 19 | <license/> |
22 | <license/> |
| 20 | |
23 | |
| 21 | <abstract> |
24 | <abstract> |
| … | |
… | |
| 195 | <body> |
198 | <body> |
| 196 | <p> |
199 | <p> |
| 197 | Let's start configuring now to get ALSA working properly. |
200 | Let's start configuring now to get ALSA working properly. |
| 198 | We'll need to edit some files, to let our system know about the freshly installed ALSA modules. |
201 | We'll need to edit some files, to let our system know about the freshly installed ALSA modules. |
| 199 | </p> |
202 | </p> |
|
|
203 | |
|
|
204 | <p> |
|
|
205 | First, install <c>alsa-utils</c> on your system: |
| 200 | <p> |
206 | </p> |
|
|
207 | |
|
|
208 | <pre caption = "Emerging alsa-utils"> |
|
|
209 | # <i>emerge alsa-utils</i> |
|
|
210 | </pre> |
|
|
211 | |
|
|
212 | <p> |
| 201 | First file to edit is <path>/etc/modules.d/alsa</path>. |
213 | Hereafter, we need to edit <path>/etc/modules.d/alsa</path>. |
| 202 | </p> |
214 | </p> |
| 203 | <warn> |
215 | <warn> |
| 204 | There is no need to edit <path>/etc/modules.conf</path>. Instead, always edit files in <path>/etc/modules.d</path>. |
216 | There is no need to edit <path>/etc/modules.conf</path>. Instead, always edit files in <path>/etc/modules.d</path>. |
| 205 | </warn> |
217 | </warn> |
| 206 | <p> |
218 | <p> |
| … | |
… | |
| 300 | <pre> |
312 | <pre> |
| 301 | # <c>/etc/init.d/alsasound start</c> |
313 | # <c>/etc/init.d/alsasound start</c> |
| 302 | </pre> |
314 | </pre> |
| 303 | <p> |
315 | <p> |
| 304 | ALSA is running now. If everything is ok, you should be able to see the ALSA modules loaded when running <c>lsmod</c>. |
316 | ALSA is running now. If everything is ok, you should be able to see the ALSA modules loaded when running <c>lsmod</c>. |
| 305 | However, sound won't work yet, because the channels are still muted. We need <c>alsa-utils</c> for this. |
317 | However, sound won't work yet, because the channels are still muted. We need <c>amixer</c> for this. |
| 306 | </p> |
318 | </p> |
| 307 | <pre> |
319 | <pre caption = "Running amixer"> |
| 308 | # <c>emerge alsa-utils</c> |
|
|
| 309 | # <c>amixer</c> |
320 | # <i>amixer</i> |
| 310 | </pre> |
321 | </pre> |
| 311 | <p> |
322 | <p> |
| 312 | <warn> |
323 | <warn> |
| 313 | You shouldn't get this, but <e>if</e> you get an error about "amixer: Mixer attach default error: No such file or directory", you should manually insmod |
324 | You shouldn't get this, but <e>if</e> you get an error about "amixer: Mixer attach default error: No such file or directory", you should manually insmod |
| 314 | <c>snd-mixer-oss</c> and <c>snd-pcm-oss</c> once. After that run amixer again. |
325 | <c>snd-mixer-oss</c> and <c>snd-pcm-oss</c> once. After that run amixer again. |