/[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.67 Revision 1.68
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.67 2006/05/27 13:59:35 neysx Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v 1.68 2006/07/06 19:51:06 rane 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.13</version> 21<version>2.14</version>
22<date>2006-05-27</date> 22<date>2006-06-06</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
773<p> 773<p>
774The above issue is caused when you switch from <c>alsa-driver</c> to in-kernel 774The above issue is caused when you switch from <c>alsa-driver</c> to in-kernel
775ALSA because when you unmerge <c>alsa-driver</c> the module files are config 775ALSA because when you unmerge <c>alsa-driver</c> the module files are config
776protected and hence get left behind. So, when you switch to in-kernel 776protected and hence get left behind. So, when you switch to in-kernel
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>
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_mode</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_mode"> 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.67  
changed lines
  Added in v.1.68

  ViewVC Help
Powered by ViewVC 1.1.20