From: "Rick Woodring" Subject: Document update for ALS4000 Date: Thu, 11 Jan 2007 14:55:02 -0500 Message-ID: <8F1C2B75DFED1F4FA3ECEDF0B3553E3DFF331C@novaexch1.nssengineering.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0956198145==" Return-path: Content-class: urn:content-classes:message List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org This is a multi-part message in MIME format. --===============0956198145== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C735BA.625ADC35" This is a multi-part message in MIME format. ------_=_NextPart_001_01C735BA.625ADC35 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I tried to add a note to the ALS400 page at http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=3DAvanc= e +Logic&card=3DALS4000.&chip=3Dals4000&module=3Dals4000 but whenever I try= to submit my comment, and error message is displayed. Because I do not know if the comment is being sent to anyone or not, I have included it in this message. If my comment has not been received, could someone please post it so that others may be spared the trouble I took in digging up updated install documentation. Thanks -rick Rick Woodring RWoodring_@_mail_._com In order to get ALSA v1.0.13 working on a 2.6.16 kernel with a udev file system, do NOT run the ./snddevices script. The correct entries will be placed in /dev automatically when the kernel modules are loaded and the hardware is detected. Also, I had to create a udev rules file for alsa (/etc/udev/rules.d/15-alsa.rules) as described here (code copied below): http://www.linuxfromscratch.org/blfs/view/svn/multimedia/alsa-utils.html cat > /etc/udev/rules.d/15-alsa.rules << "EOF" # Give the audio group ownership of sound devices SUBSYSTEM=3D=3D"sound", GROUP=3D"audio" SUBSYSTEM=3D=3D"snd", GROUP=3D"audio" # ALSA Devices # When a sound device is detected, restore the volume settings KERNEL=3D=3D"controlC[0-9]*", ACTION=3D=3D"add", RUN+=3D"/usr/sbin/a= lsactl restore %n" KERNEL=3D"hw[CD0-9]*", NAME=3D"snd/%k" KERNEL=3D"pcm[CD0-9cp]*", NAME=3D"snd/%k" KERNEL=3D"midiC[D0-9]*", NAME=3D"snd/%k" KERNEL=3D"timer", NAME=3D"snd/%k" KERNEL=3D"seq", NAME=3D"snd/%k" EOF chmod 644 /etc/udev/rules.d/15-alsa.rules And lastly, instead of using the ~/.asoudrc file described in this document, I had to copy the alsa.conf file from alsa-lib-XXXXX/src/conf/alsa.conf to my /usr/share/alsa/ folder. Without the /usr/share/alsa/alsa.conf file in place, I received the following errors when trying to use alsamixer or alsactl ALSA lib control.c:910:(snd_ctl_open_noupdate) Invalid CTL default alsamixer: function snd_ctl_open failed for default: No such file or directory ALSA lib control.c:910:(snd_ctl_open_noupdate) Invalid CTL hw:0 alsactl: set_controls:1179: snd_ctl_open error: No such file or directory "This email contains proprietary and/or privileged material. This email = and any files transmitted with it are proprietary and intended solely for t= he person or entity to whom they are addressed. Any review, retransmission= , dissemination or other use of, or taking of any action in reliance upon t= his information by persons or entities other than the intended recipient is= prohibited. If you have received this email in error, please contact the = sender and delete the material from any computer." ------_=_NextPart_001_01C735BA.625ADC35 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I tried to add a note to the ALS400 page at http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=3DAvanc= e+Logic&card=3DALS4000.&chip=3Dals4000&module=3Dals4000 but whenever I try to submit my comment, and error message is displayed.&= nbsp; Because I do not know if the comment is being sent to anyone or not, I ha= ve included it in this message.  If my comment has not been received, c= ould someone please post it so that others may be spared the trouble I took in digging up updated install documentation.

 

Thanks

-rick

 

Rick Woodring= =

RWoodring_@_mail_._com

 

 

In order to get ALSA v1.0.13 working on a 2.6.16 kernel with=
 a udev file system, 
do NOT run the ./snddevices script.  The correct entries will be p=
laced in /dev 
automatically when the kernel modules are loaded and the hardware is de=
tected.  
Also, I had to create a udev rules file for alsa (/etc/udev/rules.d/15-=
alsa.rules)
as described here (code copied below): 
<= pre>http://www.linuxfromscratch.org/blfs/view/svn/multimedia/alsa-util= s.html
 
     cat > /etc/udev/rules.d/15-alsa.rules <&=
lt; "EOF"
     # Give the audio group ownership of sound devi=
ces
     SUBSYSTEM=3D=3D"sound",  &=
nbsp;    GROUP=3D"audio"<=
/pre>
     SUBSYSTEM=3D=3D"snd",  &nb=
sp;      GROUP=3D"audio"
 
     # ALSA Devices
<= pre>     # When a sound device is detected, restore the= volume settings
     KERNEL=3D=3D"controlC[0-9]*", ACTION=
=3D=3D"add", RUN+=3D"/usr/sbin/alsactl restore %n"=
     KERNEL=3D"hw[CD0-9]*",  &n=
bsp;   NAME=3D"snd/%k"
     KERNEL=3D"pcm[CD0-9cp]*",  = ; NAME=3D"snd/%k"
     KERNEL=3D"midiC[D0-9]*",  =
  NAME=3D"snd/%k"
     KERNEL=3D"timer",   &=
nbsp;       NAME=3D"snd/%k"
     KERNEL=3D"seq",   &nb=
sp;         NAME=3D"snd/%k&quo=
t;
     EOF
 
     chmod 644 /etc/udev/rules.d/15-alsa.rules=
 
And lastly, instead of using the ~/.asoudrc file described in this docu=
ment, I had to copy 
the alsa.conf file from alsa-lib-XXXXX/src/conf/alsa.conf to my /usr/sh=
are/alsa/ folder.
Without the /usr/share/alsa/alsa.conf file in place, I received the fol=
lowing errors when 
trying to use alsamixer or alsactl
<=
font
size=3D2 color=3Dblack face=3D"Courier New"> 
     ALSA lib control.c:910:(snd_ctl_open_noupdate)=
 Invalid CTL default
     alsamixer: function snd_ctl_open failed for de=
fault: No such file or directory
 
     ALSA lib control.c:910:(snd_ctl_open_noupdate)=
 Invalid CTL hw:0
     alsactl: set_controls:1179: snd_ctl_open error=
: No such file or directory

 


"This em= ail contains proprietary and/or privileged material.  This email an= d any files transmitted with it are proprietary and intended solely for th= e person or entity to whom they are addressed.  Any review, retransmis= sion, dissemination or other use of, or taking of any action in reliance upon t= his information by persons or entities other than the intended recipient is prohibited.  If you have received this email in error, please contac= t the sender and delete the material from any computer." ------_=_NextPart_001_01C735BA.625ADC35-- --===============0956198145== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV --===============0956198145== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Alsa-devel mailing list Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel --===============0956198145==--