From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DsQGg-0001X3-DB for garchives@archives.gentoo.org; Tue, 12 Jul 2005 19:18:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6CJH2hB032119; Tue, 12 Jul 2005 19:17:02 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6CJH19a021805 for ; Tue, 12 Jul 2005 19:17:02 GMT Message-Id: <200507121917.j6CJH19a021805@robin.gentoo.org> Received: from lark.gentoo.osuosl.org ([140.211.166.177] helo=lark.gentoo.org) by smtp.gentoo.org with smtp (Exim 4.43) id 1DsQGP-0006Ep-Uv for gentoo-doc-cvs@lists.gentoo.org; Tue, 12 Jul 2005 19:17:54 +0000 Received: by lark.gentoo.org (sSMTP sendmail emulation); Tue, 12 Jul 2005 19:17:38 +0000 From: "Shyam Mani" Date: Tue, 12 Jul 2005 19:17:38 +0000 To: gentoo-doc-cvs@lists.gentoo.org Subject: [gentoo-doc-cvs] cvs commit: alsa-guide.xml Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc-cvs@gentoo.org Reply-to: docs-team@lists.gentoo.org X-Archives-Salt: d0abea5d-1817-48c8-8a33-7c9ee19726cf X-Archives-Hash: 54202b58ebcc0e1ae334ee1327570bce fox2mike 05/07/12 19:17:38 Modified: xml/htdocs/doc/en alsa-guide.xml Log: #95574, #98429 - Updates + Fixes to the guide. Added sections on the Audio Group and more info regarding USB + ISA sound cards. #92711 went to RESO FIXED, so genkernel information was updated to reflect the corresponding changes. Thanks to Daniel Drake(dsd), Arun Raghavan (for ISA input), Miles Lubin, Jason Bucata, Deathwing00, alin, rane, LinuxBlues on IRC for helping with proofing and corrections. Revision Changes Path 1.54 +136 -38 xml/htdocs/doc/en/alsa-guide.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/alsa-guide.xml?rev=1.54&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/alsa-guide.xml?rev=1.54&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/alsa-guide.xml.diff?r1=1.53&r2=1.54&cvsroot=gentoo Index: alsa-guide.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/alsa-guide.xml,v retrieving revision 1.53 retrieving revision 1.54 diff -u -r1.53 -r1.54 --- alsa-guide.xml 8 Jun 2005 19:54:07 -0000 1.53 +++ alsa-guide.xml 12 Jul 2005 19:17:38 -0000 1.54 @@ -1,5 +1,5 @@ - + @@ -15,11 +15,11 @@ - + -2.2 -2005-06-09 +2.3 +2005-07-12 Introduction @@ -71,13 +71,6 @@ in your kernel and use media-sound/alsa-driver. It will fail. - -genkernel users have their config built such a way that the ALSA -sub-system in the kernel is active. Therefore genkernel users can -proceed to the ALSA Utilities section -directly. - -

The two options are :

@@ -164,10 +157,37 @@

Whichever method of install you choose, you need to know what drivers your -sound card uses. lspci will help you in digging out the required -information. Please emerge sys-apps/pciutils to get lspci, if -you don't have it installed already. We now proceed to find out details about -the sound card. +sound card uses. In most cases, sound cards (onboard and otherwise) are PCI +based and lspci will help you in digging out the required information. +Please emerge sys-apps/pciutils to get lspci, if you don't have it +installed already. In case you have a USB sound card, lsusb from +sys-apps/usbutils might be of help. For ISA cards, try using +sys-apps/isapnptools. Also, the following pages may help users +with ISA based sound cards. +

+ +
    +
  • + The ISAPNPTOOLS + Page +
  • +
  • + LinuxJournal PnP + Article +
  • +
  • + TLDP Sound + HowTo +
  • +
+ + +For ease of use/explanation, we assume the user has a PCI based sound card for +the remainder of this guide. + + +

+We now proceed to find out details about the sound card.

@@ -208,6 +228,11 @@
 Let us now configure the kernel to enable ALSA.
 

+ +genkernel users should now run genkernel --menuconfig and then follow +the instructions in Kernel Options for ALSA. + +
 # cd /usr/src/linux
 # make menuconfig
@@ -223,13 +248,14 @@
 kernel to ensure proper ALSA support for our sound card.
 

- -Please note that for the sake of ease, all examples show a modular kernel. It -is advisable to follow the same. Please do not skip the -Configuration section of this document. If -you still like to have options built-in, ensure that you make changes to your -config accordingly. - +

+Please note that for the sake of ease, all examples show ALSA built as modules. +It is advisable to follow the same as it then allows the use of alsaconf +which is a boon when you want to configure your card. Please do not skip the Configuration section of this document. If you still +like to have options built-in, ensure that you make changes to your config +accordingly. +

 Device Drivers  --->
@@ -318,6 +344,12 @@
 fail. The next code listing gives you one way of performing the checks.
 

+ +genkernel users can proceed with Installing +alsa-driver as their configuration is in sync with the one shown below by +default. + +
  1. CONFIG_SOUND is set. (Basic Sound support enabled) @@ -347,7 +379,7 @@

-Now all you have to do is type the magic words...and no, its not abracadabra. +Now all you have to do is type the magic words... and no, it's not abracadabra.

@@ -412,10 +444,9 @@
 your devices and try to find out your sound card. You will be asked to pick 
 your sound card from a list. Once that's done, it will ask you permission to 
 automatically make required changes to /etc/modules.d/alsa. 
-It will then adjust your volume settings to optimum levels and run 
-modules-update and starts the /etc/init.d/alsasound 
-service. Once alsaconf exits, you can proceed with setting up the ALSA
-initscript. 
+It will then adjust your volume settings to optimum levels, run
+modules-update and start the /etc/init.d/alsasound service.
+Once alsaconf exits, you can proceed with setting up the ALSA initscript. 
 

@@ -432,8 +463,8 @@

-# rc-update add alsasound default
- * alsasound added to runlevel default
+# rc-update add alsasound boot
+ * alsasound added to runlevel boot
  * rc-update complete.
 
@@ -446,6 +477,29 @@
+Audio Group + + +

+Before we move on to testing, there's one last important thing that needs +to be setup. Rule of thumb in a *nix OS : Do not run as root unless needed. +This applies here as well ;) How? Well, most of the times you should be logged +in as a user and would like to listen to music or access your soundcard. For +that to happen, you need to be in the "audio" group. At this point, we'll add +users to the audio group, so that they won't have any issues when they want to +access sound devices. We'll use gpasswd here and you need to be logged in +as root for this to work. +

+ +
+(Substitute <username> with your user)
+# gpasswd -a <username> audio 
+Adding user <username> to group audio
+
+ + +
+
Volume Check! @@ -456,7 +510,7 @@

-- gentoo-doc-cvs@gentoo.org mailing list