Difference between revisions of "ALSA troubleshooting grid"

[quality revision] [pending revision]
m
 
Under construction.png Coming soon

Some typical issues related to the ALSA framework are listed below. Solutions or debugging methods are proposed for these issues.

If your issue is not listed, try also looking in the articles in the ALSA or troubleshooting grids categories.


Symptom Resolution
aplay: pcm_write:2030:
write error: Input/output error

This error occurs on an audio playback, when audio samples are not output. A possible cause is a wrong configuration of the audio interface:

- DAI gpios not activated: missing in DT or in bad state
- DAI/codec not clocked: kernel/master clock not enabled

Refer to Soundcard configuration

Error -16 setting sai_ck parent clock.
Active stream rates conflict

The two SAI sub blocks which are connected to the audio codec, share their master clock on Disco and Evaluation boards. When running both capture and playback on the codec, the chosen sampling rates must be multiple of each other, because of this dependency. If sampling rates are not compatible, an error is issued.



<noinclude>

{{ArticleBasedOnModel | [[Contributors:Troubleshooting grid article model]]}}
{{ArticleMainWriter | OlivierM}}
{{ArticleApprovedVersion | Jean-ChristopheT | Nobody | No previous approved version | Automatic approval (article under construction) | 19Feb’19}}Some typical issues related to the [[ALSA_overview|ALSA]] framework are listed below. Solutions or debugging methods are proposed for these issues.

If your issue is not listed, try also looking in the articles in the [[:Category:ALSA|ALSA]] or [[:Category:Troubleshooting grids|troubleshooting grids]] categories.

{{:Troubleshooting grid table template}}<onlyinclude>
<includeonly>

! colspan="2" | ALSA
|-</includeonly>

| <pre>aplay: pcm_write:2030:
write error: Input/output error</pre>

||
This error occurs on an audio playback, when audio samples are not output. A possible cause is a wrong configuration of the audio interface:
:- DAI gpios not activated: missing in DT or in bad state
:- DAI/codec not clocked: kernel/master clock not enabled
Refer to [[Soundcard configuration]]
|- 
| <pre>Error -16 setting sai_ck parent clock.
Active stream rates conflict</pre>

||
The two SAI sub blocks which are connected to the audio codec, share their master clock on Disco and Evaluation boards. When running both capture and playback on the codec, the chosen sampling rates must be multiple of each other, because of this dependency. If sampling rates are not compatible, an error is issued.</onlyinclude>

|}
<noinclude>
[[Category:ALSA]]
[[Category:Troubleshooting grids]]</noinclude>

{{UnderConstruction}}{{ArticleBasedOnModel | Contributors:Troubleshooting grid article model}}
{{PublicationRequestId | Auto | 2019-09-26| NathalieS}}</noinclude>
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  +
Some typical issues related to the [[ALSA_overview|ALSA]] framework are listed below. Solutions or debugging methods are proposed for these issues.
  +
  +
If your issue is not listed, try also looking in the articles in the [[:Category:ALSA|ALSA]] or [[:Category:Troubleshooting grids|troubleshooting grids]] categories.
  +
  +
{{:Troubleshooting grid table template}}
  +
<onlyinclude>
  +
<includeonly>
  +
! colspan="2" | ALSA
  +
|-
  +
</includeonly>
  +
| <pre>aplay: pcm_write:2030:
  +
write error: Input/output error</pre>
  +
||
  +
This error occurs on an audio playback, when audio samples are not output. A possible cause is a wrong configuration of the audio interface:
  +
:- DAI gpios not activated: missing in DT or in bad state
  +
:- DAI/codec not clocked: kernel/master clock not enabled
  +
Refer to [[Soundcard configuration]]
  +
|-
  +
| <pre>Error -16 setting sai_ck parent clock.
  +
Active stream rates conflict</pre>
  +
||
  +
The two SAI sub blocks which are connected to the audio codec, share their master clock on Disco and Evaluation boards. When running both capture and playback on the codec, the chosen sampling rates must be multiple of each other, because of this dependency. If sampling rates are not compatible, an error is issued.
  +
</onlyinclude>
  +
|}
  +
 
<noinclude>
 
<noinclude>
{{ArticleBasedOnModel | [[Contributors:Troubleshooting grid article model]]}}
 
{{ArticleMainWriter | OlivierM}}
 
{{ArticleApprovedVersion | Jean-ChristopheT | Nobody | No previous approved version | Automatic approval (article under construction) | 19Feb’19}}
 
 
[[Category:ALSA]]
 
[[Category:ALSA]]
 
[[Category:Troubleshooting grids]]
 
[[Category:Troubleshooting grids]]
  +
{{ArticleBasedOnModel | Contributors:Troubleshooting grid article model}}
  +
{{PublicationRequestId | Auto | 2019-09-26| NathalieS}}
 
</noinclude>
 
</noinclude>
{{UnderConstruction}}
 

Attachments

Discussions