/[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.65 Revision 1.66
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.65 2006/03/25 06:59:01 fox2mike Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.66 2006/05/01 05:52:31 fox2mike 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 12
13<abstract> 13<abstract>
14This document helps a user setup ALSA on Gentoo Linux. 14This document helps a user setup ALSA on Gentoo Linux.
15</abstract> 15</abstract>
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.11</version> 21<version>2.12</version>
22<date>2006-03-25</date> 22<date>2006-05-01</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>
28<body> 28<body>
29 29
30<p> 30<p>
31ALSA, which stands for <e>Advanced Linux Sound Architecture</e>, provides 31ALSA, which stands for <e>Advanced Linux Sound Architecture</e>, provides
32audio and MIDI (<e>Musical Instrument Digital Interface</e>) functionality to 32audio and MIDI (<e>Musical Instrument Digital Interface</e>) functionality to
33the Linux operating system. ALSA is the default sound subsystem in the 2.6 33the Linux operating system. ALSA is the default sound subsystem in the 2.6
34kernel thereby replacing OSS (<e>Open Sound System</e>), which was used in the 34kernel thereby replacing OSS (<e>Open Sound System</e>), which was used in the
352.4 kernels. 352.4 kernels.
36</p> 36</p>
37 37
777drivers, running <c>modprobe</c> gives you a mix of <c>alsa-driver</c> and 777drivers, running <c>modprobe</c> gives you a mix of <c>alsa-driver</c> and
778in-kernel modules thus causing the above errors. 778in-kernel modules thus causing the above errors.
779</p> 779</p>
780 780
781<p> 781<p>
782The solution is quite easy. We just need to manually remove the problem causing 782The solution is quite easy. We just need to manually remove the problem causing
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> 788<comment>(Replace KERNELVER with your kernel version)</comment>
789# <i>rm -rf /lib/modules/KERNELVER/alsa-driver</i> 789# <i>rm -rf /lib/modules/KERNELVER/alsa-driver</i>
790</pre> 790</pre>
791 791
792<p>
793Another 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
795isn't required. Confirm that this is indeed the issue and find out which file
796is the culprit.
797</p>
798
799<pre caption="Confirming and searching for device_node">
800<comment>(Check dmesg to confirm)</comment>
801# <i>dmesg | grep device_mode</i>
802snd: Unknown parameter `device_mode'
803<comment>(Now, to get to the source of the issue)</comment>
804# <i>grep device_mode /etc/modules.d/*</i>
805</pre>
806
807<p>
808Usually it is a file called <path>alsa</path> with the line <c>options snd
809device_mode=0666</c>. Remove this line and restart the alsasound service and
810that should take care of this issue.
811</p>
812
792</body> 813</body>
793</section> 814</section>
794</chapter> 815</chapter>
795 816
796<chapter> 817<chapter>
797<title>Other things ALSA</title> 818<title>Other things ALSA</title>
798<section> 819<section>
799<title>Setting up MIDI support</title> 820<title>Setting up MIDI support</title>
800<body> 821<body>
801 822
802<p> 823<p>
803If your sound card is one of those that come with on-board MIDI synthesizers 824If your sound card is one of those that come with on-board MIDI synthesizers
804and you would like to listen to some .mid files, you have to install 825and you would like to listen to some .mid files, you have to install
805<c>awesfx</c> which is basically a set of utilities for controlling the AWE32 826<c>awesfx</c> which is basically a set of utilities for controlling the AWE32
806driver. We need to install it first. If you don't have a hardware synthesizer, 827driver. We need to install it first. If you don't have a hardware synthesizer,

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

  ViewVC Help
Powered by ViewVC 1.1.20