I'm actually at this state now, too (kernel 4.4.6 r7), but I haven't looked 
into making sure the ALSA (asound) config is correct yet.

> On Apr 5, 2016, at 01:40 , [email protected] wrote:
> 
> Hey, did you manage to make it work? 
> I have beaglebone ubuntu 4.1.18-ti-r56. 
> 
> if I put BB-BONE-AUDI-00A0-02.dts from 
> https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-BONE-AUDI-02-00A0.dts
> my cape is not detected but if i put this device tree:
> 
> http://elinux.org/BBB_Audio_Cape_RevB_Getting_Started
> 
> it is detected: 
> 
> **** List of PLAYBACK Hardware Devices ****
> card 0: EVM [DA830 EVM], device 0: AIC3X tlv320aic3x-hifi-0 []
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 
> but cannot play: 
> 
> ubuntu ~/microphone $ aplay bonjour.wav 
> Playing WAVE 'bonjour.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Mono
> aplay: set_params:1145: Unable to install hw params:
> ACCESS:  RW_INTERLEAVED
> FORMAT:  S16_LE
> SUBFORMAT:  STD
> SAMPLE_BITS: 16
> FRAME_BITS: 16
> CHANNELS: 1
> RATE: 16000
> PERIOD_TIME: 125000
> PERIOD_SIZE: 2000
> PERIOD_BYTES: 4000
> PERIODS: 4
> BUFFER_TIME: 500000
> BUFFER_SIZE: 8000
> BUFFER_BYTES: 16000
> TICK_TIME: 0
> 
> 
> please help. 
> thanks
> 
> Le lundi 3 août 2015 23:04:37 UTC+8, Alex a écrit :
> Ok, 
> 
> some news :
> 
> I find out where it's blocked :
> 
> I've compiled the alsa-lib, and I've put a lot of printf.
> 
> In the file pcm.c, in the function : snd_pcm_wait_nocheck
> 
> This line : err_poll = poll(pfd, npfds, timeout);
> 
> is called, but I never go out .... 
> 
> my trace show : 
> 
> struct pollfd *pfd: 0xbed64780, npfds: 1, timeout: -1
> 
> I don't know if it's ok ?
> 
> Micka,
> 
> 
> 
> Le lun. 3 août 2015 à 09:41, Micka <[email protected]> a écrit :
> From what I see, it looks like that the alsa lib is calling multiple time 
> SNDRV_PCM_IOCTL_SYNC_PTR
> 
> And it's not calling SNDRV_PCM_IOCTL_WRITEN_FRAMES  .... 
> 
> Robert, I'm having issue to find out the version of alsa lib, do you have any 
> idea ?
> 
> Maybe I'm going to compile it 
> 
> Le lun. 3 août 2015 à 08:58, Micka <[email protected]> a écrit :
> Hi,
> 
> Thx to this site :
> http://www.programdevelop.com/4763397/
> 
> I understand better the flow of ALSA :)
> 
> this is my new log :
> 
> [   84.688930] snd_soc_dai_digital_mute 0 0
> [   84.689000] snd_pcm_playback_ioctl
> [   84.689032] snd_pcm_playback_ioctl1 3229892899
> [   84.689057] call snd_pcm_common_ioctl1
> [   84.689084] snd_pcm_common_ioctl1 3229892899
> [   84.689109] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.689624] snd_pcm_playback_ioctl
> [   84.689664] snd_pcm_playback_ioctl1 3228057875
> [   84.689689] call snd_pcm_common_ioctl1
> [   84.689715] snd_pcm_common_ioctl1 3228057875
> [   84.695219] snd_pcm_playback_ioctl
> [   84.695269] snd_pcm_playback_ioctl1 3229892899
> [   84.695296] call snd_pcm_common_ioctl1
> [   84.695322] snd_pcm_common_ioctl1 3229892899
> [   84.695347] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.695400] snd_pcm_playback_ioctl
> [   84.695427] snd_pcm_playback_ioctl1 3229892899
> [   84.695451] call snd_pcm_common_ioctl1
> [   84.695476] snd_pcm_common_ioctl1 3229892899
> [   84.695499] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.696332] snd_pcm_playback_ioctl
> [   84.696364] snd_pcm_playback_ioctl1 3229892899
> [   84.696389] call snd_pcm_common_ioctl1
> [   84.696414] snd_pcm_common_ioctl1 3229892899
> [   84.696438] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.696474] snd_pcm_playback_ioctl
> [   84.696501] snd_pcm_playback_ioctl1 3229892899
> [   84.696524] call snd_pcm_common_ioctl1
> [   84.696548] snd_pcm_common_ioctl1 3229892899
> [   84.696572] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.729249] snd_pcm_playback_ioctl
> [   84.729289] snd_pcm_playback_ioctl1 3229892899
> [   84.729303] call snd_pcm_common_ioctl1
> [   84.729317] snd_pcm_common_ioctl1 3229892899
> [   84.729329] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.729355] snd_pcm_playback_ioctl
> [   84.729368] snd_pcm_playback_ioctl1 3229892899
> [   84.729378] call snd_pcm_common_ioctl1
> [   84.729390] snd_pcm_common_ioctl1 3229892899
> [   84.729401] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.729787] snd_pcm_playback_ioctl
> [   84.729801] snd_pcm_playback_ioctl1 3229892899
> [   84.729812] call snd_pcm_common_ioctl1
> [   84.729824] snd_pcm_common_ioctl1 3229892899
> [   84.729835] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.729852] snd_pcm_playback_ioctl
> [   84.729865] snd_pcm_playback_ioctl1 3229892899
> [   84.729875] call snd_pcm_common_ioctl1
> [   84.729887] snd_pcm_common_ioctl1 3229892899
> [   84.729898] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.731902] snd_pcm_playback_ioctl
> [   84.731914] snd_pcm_playback_ioctl1 3229892899
> [   84.731925] call snd_pcm_common_ioctl1
> [   84.731937] snd_pcm_common_ioctl1 3229892899
> [   84.731947] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.731962] snd_pcm_playback_ioctl
> [   84.731974] snd_pcm_playback_ioctl1 3229892899
> [   84.731984] call snd_pcm_common_ioctl1
> [   84.731996] snd_pcm_common_ioctl1 3229892899
> [   84.732007] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.732314] snd_pcm_playback_ioctl
> [   84.732328] snd_pcm_playback_ioctl1 3229892899
> [   84.732338] call snd_pcm_common_ioctl1
> [   84.732350] snd_pcm_common_ioctl1 3229892899
> [   84.732361] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.732375] snd_pcm_playback_ioctl
> [   84.732387] snd_pcm_playback_ioctl1 3229892899
> [   84.732398] call snd_pcm_common_ioctl1
> [   84.732410] snd_pcm_common_ioctl1 3229892899
> [   84.732421] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.734421] snd_pcm_playback_ioctl
> [   84.734434] snd_pcm_playback_ioctl1 3229892899
> [   84.734444] call snd_pcm_common_ioctl1
> [   84.734456] snd_pcm_common_ioctl1 3229892899
> [   84.734467] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.734481] snd_pcm_playback_ioctl
> [   84.734493] snd_pcm_playback_ioctl1 3229892899
> [   84.734503] call snd_pcm_common_ioctl1
> [   84.734515] snd_pcm_common_ioctl1 3229892899
> [   84.734526] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.734826] snd_pcm_playback_ioctl
> [   84.734839] snd_pcm_playback_ioctl1 3229892899
> [   84.734850] call snd_pcm_common_ioctl1
> [   84.734862] snd_pcm_common_ioctl1 3229892899
> [   84.734872] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.734887] snd_pcm_playback_ioctl
> [   84.734899] snd_pcm_playback_ioctl1 3229892899
> [   84.734909] call snd_pcm_common_ioctl1
> [   84.734921] snd_pcm_common_ioctl1 3229892899
> [   84.734932] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.734974] snd_pcm_playback_ioctl
> [   84.734987] snd_pcm_playback_ioctl1 3229892899
> [   84.734998] call snd_pcm_common_ioctl1
> [   84.735010] snd_pcm_common_ioctl1 3229892899
> [   84.735020] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.735034] snd_pcm_playback_ioctl
> [   84.735046] snd_pcm_playback_ioctl1 16706
> [   84.735057] call snd_pcm_common_ioctl1
> [   84.735068] snd_pcm_common_ioctl1 16706
> [   84.735080] --SNDRV_PCM_IOCTL_START:
> [   84.735096] snd_pcm_do_start
> [   84.735108] soc_pcm_trigger
> [   84.737206] snd_pcm_playback_ioctl
> [   84.737221] snd_pcm_playback_ioctl1 3229892899
> [   84.737232] call snd_pcm_common_ioctl1
> [   84.737244] snd_pcm_common_ioctl1 3229892899
> [   84.737254] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.737280] snd_pcm_playback_ioctl
> [   84.737293] snd_pcm_playback_ioctl1 3229892899
> [   84.737303] call snd_pcm_common_ioctl1
> [   84.737315] snd_pcm_common_ioctl1 3229892899
> [   84.737326] SNDRV_PCM_IOCTL_SYNC_PTR:
> [   84.747620] snd_pcm_playback_ioctl
> [   84.747647] snd_pcm_playback_ioctl1 3229892899
> [   84.747660] call snd_pcm_common_ioctl1
> [   84.747673] snd_pcm_common_ioctl1 3229892899
> [   84.747685] SNDRV_PCM_IOCTL_SYNC_PTR:
> 
> Le ven. 31 juil. 2015 à 14:27, <[email protected]> a écrit :
> Hi Micka
> 
> > looks like that my config is good ..... But I can't figure out, where i'm 
> > blocked ....
> 
> I am having the same problem with 4.1.0
> 
> > Do you know who call the function soc_pcm_prepare ?
> 
> http://lxr.free-electrons.com/source/sound/soc/soc-pcm.c#L698
> 
> I will try and repeat the same exercise but it will be early next week.
> 
> 
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.


-- 
Rick Mann
[email protected]


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to