| 1 | <?xml version='1.0' encoding="UTF-8"?> |
1 | <?xml version='1.0' encoding="UTF-8"?> |
| 2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.75 2007/03/10 13:02:28 jkt Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.76 2007/04/16 05:39:54 nightmorph Exp $ --> |
| 3 | |
3 | |
| 4 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
4 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 5 | |
5 | |
| 6 | <guide link="/doc/en/alsa-guide.xml"> |
6 | <guide link="/doc/en/alsa-guide.xml"> |
| 7 | <title>Gentoo Linux ALSA Guide</title> |
7 | <title>Gentoo Linux ALSA Guide</title> |
| 8 | |
8 | |
| 9 | <author title="Author"> |
9 | <author title="Author"> |
| 10 | <mail link="fox2mike@gentoo.org">Shyam Mani</mail> |
10 | <mail link="fox2mike@gentoo.org">Shyam Mani</mail> |
| 11 | </author> |
11 | </author> |
| 12 | <author title="Author"> |
12 | <author title="Author"> |
| 13 | <mail link="nightmorph@gentoo.org">Joshua Saddler</mail> |
13 | <mail link="nightmorph@gentoo.org">Joshua Saddler</mail> |
| 14 | </author> |
14 | </author> |
| 15 | <author title="Contributor"> |
15 | <author title="Contributor"> |
| 16 | <mail link="flameeyes@gentoo.org">Diego Pettenò</mail> |
16 | <mail link="flameeyes@gentoo.org">Diego Pettenò</mail> |
| 17 | </author> |
17 | </author> |
| 18 | |
18 | |
| 19 | <abstract> |
19 | <abstract> |
| 20 | This document helps a user setup ALSA on Gentoo Linux. |
20 | This document helps a user setup ALSA on Gentoo Linux. |
| 21 | </abstract> |
21 | </abstract> |
| 22 | |
22 | |
| 23 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
23 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 24 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
24 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 25 | <license/> |
25 | <license/> |
| 26 | |
26 | |
| 27 | <version>2.18</version> |
27 | <version>2.19</version> |
| 28 | <date>2007-02-17</date> |
28 | <date>2007-04-15</date> |
| 29 | |
29 | |
| 30 | <chapter> |
30 | <chapter> |
| 31 | <title>Introduction</title> |
31 | <title>Introduction</title> |
| 32 | <section> |
32 | <section> |
| 33 | <title>What is ALSA?</title> |
33 | <title>What is ALSA?</title> |
| 34 | <body> |
34 | <body> |
| 35 | |
35 | |
| 36 | <p> |
36 | <p> |
| 37 | ALSA, which stands for <e>Advanced Linux Sound Architecture</e>, provides |
37 | ALSA, which stands for <e>Advanced Linux Sound Architecture</e>, provides |
| 38 | audio and MIDI (<e>Musical Instrument Digital Interface</e>) functionality to |
38 | audio and MIDI (<e>Musical Instrument Digital Interface</e>) functionality to |
| 39 | the Linux operating system. ALSA is the default sound subsystem in the 2.6 |
39 | the Linux operating system. ALSA is the default sound subsystem in the 2.6 |
| 40 | kernel thereby replacing OSS (<e>Open Sound System</e>), which was used in the |
40 | kernel thereby replacing OSS (<e>Open Sound System</e>), which was used in the |
| 41 | 2.4 kernels. |
41 | 2.4 kernels. |
| 42 | </p> |
42 | </p> |
| 43 | |
43 | |
| … | |
… | |
| 470 | <p> |
470 | <p> |
| 471 | Another way to configure your sound card is to run <c>alsaconf</c>. Just type |
471 | Another way to configure your sound card is to run <c>alsaconf</c>. Just type |
| 472 | <c>alsaconf</c> in a shell as root. |
472 | <c>alsaconf</c> in a shell as root. |
| 473 | </p> |
473 | </p> |
| 474 | |
474 | |
| 475 | <pre caption="Invoking alsaconf"> |
475 | <pre caption="Invoking alsaconf"> |
| 476 | # <i>alsaconf</i> |
476 | # <i>alsaconf</i> |
| 477 | </pre> |
477 | </pre> |
| 478 | |
478 | |
| 479 | <p> |
479 | <p> |
| 480 | You will now see a neat menu guided interface that will automatically probe |
480 | You will now see a neat menu guided interface that will automatically probe |
| 481 | your devices and try to find out your sound card. You will be asked to pick |
481 | your devices and try to find out your sound card. You will be asked to pick |
| 482 | your sound card from a list. Once that's done, it will ask you permission to |
482 | your sound card from a list. Once that's done, it will ask you permission to |
| 483 | automatically make required changes to <path>/etc/modules.d/alsa</path>. |
483 | automatically make required changes to <path>/etc/modules.d/alsa</path>. |
| 484 | It will then adjust your volume settings to optimum levels, run |
484 | It will then adjust your volume settings to optimum levels, run |
| 485 | <c>modules-update</c> and start the <path>/etc/init.d/alsasound</path> service. |
485 | <c>update-modules</c> and start the <path>/etc/init.d/alsasound</path> service. |
| 486 | Once <c>alsaconf</c> exits, you can proceed with setting up the ALSA |
486 | Once <c>alsaconf</c> exits, you can proceed with setting up the ALSA |
| 487 | initscript. |
487 | initscript. |
| 488 | </p> |
488 | </p> |
| 489 | |
489 | |
| 490 | </body> |
490 | </body> |
| 491 | </section> |
491 | </section> |
| 492 | <section id="initscript"> |
492 | <section id="initscript"> |
| 493 | <title>ALSA Initscript</title> |
493 | <title>ALSA Initscript</title> |
| 494 | <body> |
494 | <body> |
| 495 | |
495 | |
| 496 | <p> |
496 | <p> |
| 497 | We're now almost all setup. Whichever method you chose to install ALSA, you'll |
497 | We're now almost all setup. Whichever method you chose to install ALSA, you'll |
| 498 | need to have something load your modules or initialize ALSA and restore your |
498 | need to have something load your modules or initialize ALSA and restore your |
| 499 | volume settings when your system comes up. The ALSA Initscript handles all of |
499 | volume settings when your system comes up. The ALSA Initscript handles all of |
| 500 | this for you and is called <c>alsasound</c>. Add it to the boot runlevel. |
500 | this for you and is called <c>alsasound</c>. Add it to the boot runlevel. |