/[gentoo]/xml/htdocs/doc/en/alsa-guide.xml
Gentoo

Diff of /xml/htdocs/doc/en/alsa-guide.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.66 Revision 1.70
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.66 2006/05/01 05:52:31 fox2mike Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.70 2006/11/02 18:24:36 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>
16 16
17<!-- The content of this document is licensed under the CC-BY-SA license --> 17<!-- The content of this document is licensed under the CC-BY-SA license -->
18<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 18<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
19<license/> 19<license/>
20 20
21<version>2.12</version> 21<version>2.15</version>
22<date>2006-05-01</date> 22<date>2006-11-02</date>
23 23
24<chapter> 24<chapter>
25<title>Introduction</title> 25<title>Introduction</title>
26<section> 26<section>
27<title>What is ALSA?</title> 27<title>What is ALSA?</title>
606 606
607<p> 607<p>
608Finally. Some music. If everything above is perfect, you should now be able to 608Finally. Some music. If everything above is perfect, you should now be able to
609listen to some good music. A quick way to test is to use a command line tool 609listen to some good music. A quick way to test is to use a command line tool
610like <c>media-sound/madplay</c>. You could also use something more well known 610like <c>media-sound/madplay</c>. You could also use something more well known
611like <c>mpg123</c> or <c>xmms</c>. If you are an ogg fan, you could use 611like <c>mpg123</c>. If you are an ogg fan, you could use <c>ogg123</c> provided
612<c>ogg123</c> provided by <c>media-sound/vorbis-tools</c>. Use any player you 612by <c>media-sound/vorbis-tools</c>. Use any player you are comfortable with. As
613are comfortable with. As always, <c>emerge</c> what you need. 613always, <c>emerge</c> what you need.
614</p> 614</p>
615 615
616<pre caption="Getting the software"> 616<pre caption="Getting the software">
617<comment>(Install the applications you want)</comment> 617<comment>(Install the applications you want)</comment>
618# <i>emerge madplay mpg123 xmms</i> 618# <i>emerge madplay mpg123</i>
619<comment>(To play .ogg files)</comment> 619<comment>(To play .ogg files)</comment>
620# <i>emerge vorbis-tools</i> 620# <i>emerge vorbis-tools</i>
621</pre> 621</pre>
622 622
623<p> 623<p>
783directory after you unmerge <c>alsa-driver</c>. Be sure to remove the correct 783directory after you unmerge <c>alsa-driver</c>. Be sure to remove the correct
784kernel version and not the current one! 784kernel version and not the current one!
785</p> 785</p>
786 786
787<pre caption="Removing the alsa-driver modules"> 787<pre caption="Removing the alsa-driver modules">
788<comment>(Replace KERNELVER with your kernel version)</comment>
789# <i>rm -rf /lib/modules/KERNELVER/alsa-driver</i> 788# <i>rm -rf /lib/modules/$(uname -r)/alsa-driver</i>
790</pre> 789</pre>
791 790
792<p> 791<p>
793Another reason for error messages similar to the ones above could be a file in 792Another reason for error messages similar to the ones above could be a file in
794<path>/etc/modules.d</path> supplying a <c>device_node</c> parameter when it 793<path>/etc/modules.d</path> supplying a <c>device_mode</c> parameter when it
795isn't required. Confirm that this is indeed the issue and find out which file 794isn't required. Confirm that this is indeed the issue and find out which file
796is the culprit. 795is the culprit.
797</p> 796</p>
798 797
799<pre caption="Confirming and searching for device_node"> 798<pre caption="Confirming and searching for device_mode">
800<comment>(Check dmesg to confirm)</comment> 799<comment>(Check dmesg to confirm)</comment>
801# <i>dmesg | grep device_mode</i> 800# <i>dmesg | grep device_mode</i>
802snd: Unknown parameter `device_mode' 801snd: Unknown parameter `device_mode'
803<comment>(Now, to get to the source of the issue)</comment> 802<comment>(Now, to get to the source of the issue)</comment>
804# <i>grep device_mode /etc/modules.d/*</i> 803# <i>grep device_mode /etc/modules.d/*</i>

Legend:
Removed from v.1.66  
changed lines
  Added in v.1.70

  ViewVC Help
Powered by ViewVC 1.1.20