<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>Re: [PlanetCCRMA] Failure starting ALSA with an MAudio Delta 66</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi,<BR>
<BR>
I was getting the same problem, and I did some experimenting and found out the cause.&nbsp; Something takes a few seconds to load, so the command 'action &quot;Restoring sound driver settings&quot; $alsactl -f $asoundcfg restore' in /etc/init.d/alsasound fails because it happens right in the script, whereas the same command &quot;alsactl restore&quot; works because I type it in a few seconds later.<BR>
<BR>
There's a horrible hacky way to work around this: I added the line &quot;sleep 5&quot; (which makes the script wait for 5 seconds) to /etc/init.d/alsasound right before the line 'action &quot;Restoring sound driver settings&quot; $alsactl -f $asoundcfg restore'.&nbsp; It works now, but it takes an extra five seconds to load.<BR>
<BR>
Perhaps I should notify the alsa mailing list as well?<BR>
<BR>
--Mike George<BR>
<BR>
&gt;<BR>
&gt; I think I get the same behaviour with my Tascam USB<BR>
&gt; module. I could do store and restore and card 1 , but the<BR>
&gt; script failed. (the tascam only has hardware mixers so<BR>
&gt; store doesn't really do anything anyway). I just thought<BR>
&gt; the error wasn't a real problem - just looks untidy<BR>
&gt;<BR>
&gt; On Apr 1, 2005 4:25 AM, Brad Fuller &lt;brad@sonaural.com&gt;<BR>
&gt; &gt;&nbsp; wrote: Fernando Lopez-Lezcano wrote:<BR>
&gt; &gt;&nbsp; On Thu, 2005-03-31 at 07:13, Brad Fuller wrote:<BR>
&gt; &gt;&nbsp;<BR>
&gt; &gt;&nbsp;<BR>
&gt; &gt;&nbsp; Fernando Lopez-Lezcano wrote:<BR>
&gt; &gt;&nbsp;<BR>
&gt; &gt;&nbsp;<BR>
&gt; &gt;&nbsp; On Mon, 2005-01-17 at 19:09, Brent Durbin wrote:<BR>
&gt; &gt;&nbsp;<BR>
&gt; &gt;&nbsp;<BR>
&gt; &gt;&nbsp;<BR>
&gt; &gt;&nbsp; Hi All,<BR>
&gt; &gt; I'm new to the whole Linux Audio thing and was hoping<BR>
&gt; &gt; you could help me out. I installed FC3 on my system that<BR>
&gt; &gt;&nbsp; has a MAudio Delta 66 card. I installed the PlanetCCRMA<BR>
&gt; &gt; stuff and updated to the Planet Edge so I could get ALSA<BR>
&gt; &gt; 1.0.8. When I do and alsasound restart I get: Shutting<BR>
&gt; &gt; down sound driver [ OK ] Starting sound driver<BR>
&gt; &gt; snd-ice1712 [ OK ] Starting sequencer [ OK ]<BR>
&gt; &gt; Restoring sound driver settings /usr/sbin/alsactl:<BR>
&gt; &gt; load_state:1267: No soundcards found...<BR>
&gt; &gt;&nbsp; [FAILED]<BR>
&gt; &gt;<BR>
&gt; &gt; Can anyone give me a clue as to what I should look at to<BR>
&gt; &gt; figure out what is wrong? Could it be a problem with<BR>
&gt; &gt; /etc/modprobe.conf? Here are the relevant lines:<BR>
&gt; &gt; alias snd-card-0 snd-ice1712<BR>
&gt; &gt; options snd-card-0 index=0<BR>
&gt; &gt; install snd-ice1712 /sbin/modprobe --ignore-install<BR>
&gt; &gt; snd-ice1712 &amp;&amp; /usr/sbin/alsactl restore &gt;/dev/null 2&gt;&amp;1<BR>
&gt; &gt; || : remove snd-ice1712 { /usr/sbin/alsactl store<BR>
&gt; &gt; &gt;/dev/null 2&gt;&amp;1 || : ; }; /sbin/modprobe -r<BR>
&gt; &gt; --ignore-remove snd-ice1712<BR>
&gt; &gt; Also, envy24control starts, so I am pretty sure that I'm<BR>
&gt; &gt; using the correct kernel.<BR>
&gt; &gt;&nbsp;<BR>
&gt; &gt;&nbsp;<BR>
&gt; &gt;&nbsp; Meaning that the kernel module for the card is loaded<BR>
&gt; &gt; and the card is seen by envy24control? If so, you just<BR>
&gt; &gt; probably need to store the state of the mixer (some<BR>
&gt; &gt; settings and/or controls may have changed in the new<BR>
&gt; &gt;&nbsp; alsa). Do: /usr/sbin/alsactl store<BR>
&gt; &gt; And then:<BR>
&gt; &gt;&nbsp; /usr/sbin/alsactl restore<BR>
&gt; &gt; It should not complain anymore...<BR>
&gt; &gt;&nbsp;<BR>
&gt; &gt;&nbsp;<BR>
&gt; &gt;&nbsp; Just want to add that I also have a Delta66 and have<BR>
&gt; &gt; the same problem. I've done the store/restore but still<BR>
&gt; &gt; it doesn't remember. I too receive the following error<BR>
&gt; &gt; when restarting alsa:<BR>
&gt; &gt; Restoring sound driver settings /usr/sbin/alsactl:<BR>
&gt; &gt; load_state:1272: No soundcards found... [FAILED]<BR>
&gt; &gt;<BR>
&gt; &gt; This seems to be a msg that should go to the ALSA dist<BR>
&gt; &gt;&nbsp; list.<BR>
&gt; &gt;&nbsp; Have you tried to redo the mixer state from scratch?<BR>
&gt; &gt; Delete or move away /etc/asound.state, then fire your<BR>
&gt; &gt; mixer, get the settings done and &quot;/usr/bin/alsactl<BR>
&gt; &gt; store&quot;.<BR>
&gt; &gt; -- Fernando<BR>
&gt; &gt;&nbsp;<BR>
&gt; &gt;&nbsp; just tried what you suggested. no change.<BR>
&gt; &gt;&nbsp;<BR>
&gt; &gt;&nbsp; /usr/sbin/alsactl store and restore work fine, though.<BR>
&gt; &gt;<BR>
&gt;<BR>
<BR>
Hi,<BR>
I at least found out what causes the trouble on my machine<BR>
even so I didn found a solution yet. A report:<BR>
I start the machine and the sounddriver is loaded fine<BR>
(alsasound status).<BR>
After starting the jack server and hydrogen for example i<BR>
have<BR>
got no sound comming out. When I open the alsamixer all the<BR>
settings are zero even so I stored them with<BR>
(/usr/sbin/alsactl store 0) the last time. So when I change<BR>
the dac of the alsamixer or do a (/usr/sbin/alsactl restore<BR>
0) I get sound out of the machine. When I stop alsasound and<BR>
start it again I get<BR>
the same errors than all the others.<BR>
[root@pygmalion erikos]# /etc/rc.d/init.d/alsasound start<BR>
Starting sound driver snd-ice1712&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&nbsp; OK&nbsp; ]<BR>
Starting sequencer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [<BR>
&nbsp;OK&nbsp; ]<BR>
Restoring sound driver settings /usr/sbin/alsactl:<BR>
load_state:1272: No soundcards found...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [FAILED]<BR>
<BR>
So I say that the /etc/asound.state can`t be loaded<BR>
properly. As far as I understand the script alsasound, it<BR>
does load as default (asound.state).<BR>
<BR>
Best Regards<BR>
Simon</FONT>
</P>

</BODY>
</HTML>