Come back here to give some feedback :<br>1/ to restore one state file, you must specify the complete adress e.g.<br>alsactl -f /usr/share/openmoko/scenarios/gsmhandset.state restore<br><br>2/ I tried once to record via arecord and it worked (no sound because I have not done the 1/&nbsp; ). Then I killed it by CTRL+Z<br>
But now I cannot reuse it, the command <br>arecord -D hw -f cd&nbsp; -v -t wav ~/rec-$(date +%Y-%m-%d-%H-%M).wav<br>give the following error :<br>arecord: main:564: audio open error: Device or resource busy<br><br>How can I &quot;de-busy&quot; the audio device ?<br>
<br>Thanks in advance<br><br>Kimaidou<br><br><div class="gmail_quote">2009/2/19 kimaidou <span dir="ltr">&lt;<a href="mailto:kimaidou@gmail.com">kimaidou@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi both<br><br>Thanks for you replies. I dumly forgot to search for &quot;voice recording&quot; among the wiki :(<br><br>Before I try it, could you please tell if the following order and commands are ok (don&#39;t want to &quot;break&quot; my kernel<b style="font-weight: normal;"><span></span></b><br>

cd /usr/share/openmoko/scenarios/<br>wget <a href="http://wildsau.enemy.org/%7Emoko/voice-recording.state" target="_blank">http://wildsau.enemy.org/~moko/voice-recording.state</a><br>arecord -D hw -f cd&nbsp; -v -t wav ~/rec-$(date +%Y-%m-%d-%H-%M).wav<br>

alsactl -f voice-recording.state restore<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; **** HERE I TALK OR SING A SONG : La la laa laa laaaa, then ****<br>killall -TERM arecord<br>alsactl -f gsmhandset.state restore<br><br>Is this correct ?<br><font color="#888888"><br>
Kimaidou<br>
</font></blockquote></div><br>