Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The program hang with no error after running for 3 hours in linux OS. #873

Open
Charxil opened this issue Jan 11, 2024 · 5 comments
Open
Labels
src-alsa ALSA Host API /src/hostapi/alsa

Comments

@Charxil
Copy link

Charxil commented Jan 11, 2024

Hello,

I am using focusrite audio interface to record the audio data with the portaudio library to record the sound 24/7 in odroidN2+. OdoridN2+ use aarch64 architecture. It can run the program for 3 hours and then hang with no error showing.

Therefore when I debug using sudo dmesg -l emerg,alert,crit,err, it gives the below messages

[ 1.988107] panfrost ffe40000.gpu: dev_pm_opp_set_regulators: no regulator (mali) found: -19
[ 2701.661817] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 2701.661892] fe.dai-link-0: ASoC: dpcm_fe_dai_prepare() failed (-22)
[ 3883.610982] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 3883.611041] fe.dai-link-0: ASoC: dpcm_fe_dai_prepare() failed (-22)
[ 4007.504566] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 4007.504628] fe.dai-link-0: ASoC: dpcm_fe_dai_prepare() failed (-22)
[ 4029.492083] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[ 4029.492145] fe.dai-link-0: ASoC: dpcm_fe_dai_prepare() failed (-22)
[17876.360485] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[17876.360544] fe.dai-link-0: ASoC: dpcm_fe_dai_prepare() failed (-22)
[17878.092086] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[17878.092162] fe.dai-link-0: ASoC: dpcm_fe_dai_prepare() failed (-22)
[17879.024128] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[17879.024187] fe.dai-link-0: ASoC: dpcm_fe_dai_prepare() failed (-22)
[17879.818072] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[17879.818149] fe.dai-link-0: ASoC: dpcm_fe_dai_prepare() failed (-22)
[17917.160369] fe.dai-link-0: ASoC: no backend DAIs enabled for fe.dai-link-0
[17917.160441] fe.dai-link-0: ASoC: dpcm_fe_dai_prepare() failed (-22)

May I know is there any issue with my ALSA? If I want to check whether my ALSA is working correctly or not, may I know how can I check it?

Thank you.
Yours sincerely,
Susan

@RossBencina
Copy link
Collaborator

Use arecord to do the recording and see if you get the same results.

@RossBencina RossBencina added the src-alsa ALSA Host API /src/hostapi/alsa label Jan 12, 2024
@philburk
Copy link
Collaborator

@philburk
Copy link
Collaborator

@philburk
Copy link
Collaborator

@Charxil - Were you able to resolve the problem?

@Charxil
Copy link
Author

Charxil commented Jun 4, 2024

The recording hang issue still exists but I no longer see the above error when the script is hanged. @philburk. I posted the new error in the #916 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
src-alsa ALSA Host API /src/hostapi/alsa
Projects
None yet
Development

No branches or pull requests

3 participants