| 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.21 2003/11/23 16:30:50 swift Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.22 2003/12/20 18:39:29 aaby Exp $ --> |
| 3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
3 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 4 | |
4 | |
| 5 | <guide link = "/doc/en/alsa-guide.xml"> |
5 | <guide link = "/doc/en/alsa-guide.xml"> |
| 6 | <title>Gentoo Linux ALSA Guide</title> |
6 | <title>Gentoo Linux ALSA Guide</title> |
| 7 | <author title="Author"> |
7 | <author title="Author"> |
| … | |
… | |
| 96 | link="http://www.tldp.org/HOWTO/Sound-HOWTO/index.html">Linux Sound HOWTO</uri>. |
96 | link="http://www.tldp.org/HOWTO/Sound-HOWTO/index.html">Linux Sound HOWTO</uri>. |
| 97 | </p> |
97 | </p> |
| 98 | |
98 | |
| 99 | <p> |
99 | <p> |
| 100 | However, those OSS/4Front drivers have some limitations -- being commercial is |
100 | However, those OSS/4Front drivers have some limitations -- being commercial is |
| 101 | one. ALSA is an attempt to go beyond these limitations and to do so in an open |
101 | one. ALSA is an attempt to go beyond these limitations and to do so in an open-source fashion. ALSA is a fully GPL and LGPL'ed sound driver system, that |
| 102 | source fashion. ALSA is a fully GPL and LGPL'ed sound driver system, that |
|
|
| 103 | provides a professional quality system for recording, playback, and MIDI |
102 | provides a professional quality system for recording, playback, and MIDI |
| 104 | sequencing. |
103 | sequencing. |
| 105 | </p> |
104 | </p> |
| 106 | |
105 | |
| 107 | </body> |
106 | </body> |
| … | |
… | |
| 395 | |
394 | |
| 396 | <p> |
395 | <p> |
| 397 | First thing to do now, is to make ALSA startup at boottime. Like this: |
396 | First thing to do now, is to make ALSA startup at boottime. Like this: |
| 398 | </p> |
397 | </p> |
| 399 | |
398 | |
| 400 | <pre caption="Add ALSA to the default runlevel"> |
399 | <pre caption="Add ALSA to the boot runlevel"> |
| 401 | # <i>rc-update add alsasound boot</i> |
400 | # <i>rc-update add alsasound boot</i> |
| 402 | </pre> |
401 | </pre> |
| 403 | |
402 | |
| 404 | <warn> |
403 | <warn> |
| 405 | Note that the alsasound script should be added to the "boot" runlevel, not the |
404 | Note that the alsasound script should be added to the "boot" runlevel, not the |
| … | |
… | |
| 422 | </pre> |
421 | </pre> |
| 423 | |
422 | |
| 424 | <p> |
423 | <p> |
| 425 | ALSA is running now. If everything is ok, you should be able to see the ALSA |
424 | ALSA is running now. If everything is ok, you should be able to see the ALSA |
| 426 | modules loaded when running <c>lsmod</c>. However, sound won't work yet, |
425 | modules loaded when running <c>lsmod</c>. However, sound won't work yet, |
| 427 | because the channels are still muted. We need <c>amixer</c> for this. |
426 | because the channels are still muted. We need <c>amixer</c> to fix this. |
| 428 | </p> |
427 | </p> |
| 429 | |
428 | |
| 430 | <pre caption = "Running amixer"> |
429 | <pre caption = "Running amixer"> |
| 431 | # <i>amixer</i> |
430 | # <i>amixer</i> |
| 432 | </pre> |
431 | </pre> |
| … | |
… | |
| 470 | You may want to emerge <c>alsa-xmms</c> as that will provide ALSA support for |
469 | You may want to emerge <c>alsa-xmms</c> as that will provide ALSA support for |
| 471 | XMMS. |
470 | XMMS. |
| 472 | </p> |
471 | </p> |
| 473 | |
472 | |
| 474 | <p> |
473 | <p> |
| 475 | When you reboot your system, the <c>alsasound</c> init script will properly saveand restore your volume settings. |
474 | When you reboot your system, the <c>alsasound</c> init script will |
|
|
475 | properly save and restore your volume settings. |
| 476 | </p> |
476 | </p> |
| 477 | |
477 | |
| 478 | </body> |
478 | </body> |
| 479 | </section> |
479 | </section> |
| 480 | </chapter> |
480 | </chapter> |
| 481 | |
481 | |
| 482 | <chapter> |
482 | <chapter> |
| 483 | <title>Final Notes</title> |
483 | <title>Final Notes</title> |
| 484 | <section> |
484 | <section> |
| 485 | <title>After kernel-upgrades..</title> |
485 | <title>After kernel-upgrades...</title> |
| 486 | <body> |
486 | <body> |
| 487 | |
487 | |
| 488 | <p> |
488 | <p> |
| 489 | When you ever rebuild your kernel, or upgrade to another kernel, you'll have to |
489 | When you ever rebuild your kernel, or upgrade to another kernel, you'll have to |
| 490 | rebuild the ALSA modules. |
490 | rebuild the ALSA modules. |
| … | |
… | |
| 494 | Although you might have installed <c>alsa-driver</c>, <c>alsa-libs</c> and |
494 | Although you might have installed <c>alsa-driver</c>, <c>alsa-libs</c> and |
| 495 | <c>alsa-utils</c>, only the first will have to be installed again, since it will |
495 | <c>alsa-utils</c>, only the first will have to be installed again, since it will |
| 496 | put the alsa modules in <path>/lib/modules/*/kernel/sound/pci/</path>. |
496 | put the alsa modules in <path>/lib/modules/*/kernel/sound/pci/</path>. |
| 497 | </p> |
497 | </p> |
| 498 | |
498 | |
| 499 | <pre caption="needed after each kernel compile"> |
499 | <pre caption="Needed after each kernel compile"> |
| 500 | # <i>emerge alsa-driver</i> |
500 | # <i>emerge alsa-driver</i> |
| 501 | </pre> |
501 | </pre> |
| 502 | |
502 | |
| 503 | </body> |
503 | </body> |
| 504 | </section> |
504 | </section> |
| … | |
… | |
| 577 | </pre> |
577 | </pre> |
| 578 | |
578 | |
| 579 | </body> |
579 | </body> |
| 580 | </section> |
580 | </section> |
| 581 | <section> |
581 | <section> |
| 582 | <title>More links..</title> |
582 | <title>More links...</title> |
| 583 | <body> |
583 | <body> |
| 584 | |
584 | |
| 585 | <p> |
585 | <p> |
| 586 | You could check these for additional info: |
586 | You could check these for additional info: |
| 587 | </p> |
587 | </p> |