<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 25, 2017 at 2:30 AM, <span dir="ltr"><<a href="mailto:crazyiop@gmail.com" target="_blank">crazyiop@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Anish,<br>
<br>
thanks for giving me some thougt.<br>
Here is what I found:<br>
<span class="gmail-"><br>
On Sun, Jan 22, 2017 at 03:47:54PM -0800, anish singh wrote:<br>
> On Sun, Jan 22, 2017 at 1:38 PM, jo <<a href="mailto:crazyiop@gmail.com">crazyiop@gmail.com</a>> wrote:<br>
><br>
</span><div><div class="gmail-h5">> > root@beaglebone:~# aplay -v Pom\ Pom.wav<br>
> > Playing WAVE 'Pom Pom.wav' : Signed 32 bit Little Endian, Rate 44100 Hz,<br>
> > Stereo<br>
> > ALSA <-> PulseAudio PCM I/O Plugin<br>
> > Its setup is:<br>
> > stream : PLAYBACK<br>
> > access : RW_INTERLEAVED<br>
> > format : S32_LE<br>
> > subformat : STD<br>
> > channels : 2<br>
> > rate : 44100<br>
> > exact rate : 44100 (44100/1)<br>
> > msbits : 32<br>
> > buffer_size : 22050<br>
> > period_size : 5512<br>
> > period_time : 125000<br>
> > tstamp_mode : NONE<br>
> > period_step : 1<br>
> > avail_min : 5512<br>
> > period_event : 0<br>
> > start_threshold : 22050<br>
> > stop_threshold : 22050<br>
> > silence_threshold: 0<br>
> > silence_size : 0<br>
> > boundary : 1445068800<br>
> ><br>
> > #nothing play and the above stay displayed -as is- until I ctrl-c<br>
> ><br>
><br>
> Possible that you have not turned on the mixer controls i.e.<br>
> enabling the volume?<br>
><br>
> Check sw_ptr and hw_ptr and see if those are increasing or not?<br>
><br>
> Probe the I2S lines and see if there is any data?<br>
><br>
><br>
<br>
</div></div>So first, the above command in fact do finish after the length of the file (I<br>
thought I took a much smaller test sample..)<br>
<br>
The mixer control were all on and volume to the max.<br>
I don't have a scope, but you made me realize that I'm clueless in front<br>
of my problem without one... So I finnaly found an access to one. The measure<br>
show that the input clock of the pll (mclk) is just non-existant.<br>
I now know what to look for.<br>
<br>
I tried to find a reference to those sw_ptr and hw_ptr somewhere,<br>
without success, what are they and where can I find/probe them ?<br></blockquote><div><br><br># cat /proc/asound/card0/pcm0p/sub0/status <br>state: RUNNING<br>owner_pid : 1440<br>trigger_time: 16024.849105290<br>tstamp : 16175.605386326<br>delay : 768<br>avail : 1280<br>avail_max : 2048<br>-----<br>hw_ptr : 7236608<br>appl_ptr : 7237376<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thanks!!<br>
Jonathan.<br>
</blockquote></div><br></div></div>