-
Notifications
You must be signed in to change notification settings - Fork 289
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
Issue while playing audio on kernel 5.4 #65
Comments
Hi, Please try building Buildroot exactly as explained here: Audio was working with this config. Maybe the kernel was more up to date in our external layer though. Regards, |
Hi Gary, Same error with this version. # aplay /ring_sound.wav Trying to play a video (in the tuto): no sound Note: I am using an headset + micro (I don't have HP to connect directly to the board). Thanks |
Hi, |
Hi, Same with this version: Linux version 5.4.72 (adgra@adgra-XPS-15-9570) aplay /ring_sound.wav |
Hi,
Have you tried the prebuilt Buildroot images from the blog post? |
Could you please send me the wav file you are using (maybe my file is corrupted / special)? I will try the prebuilt image. Thanks, |
Same with the jenkins version and your file :( (Linux version 5.4.60 (jenkins@ae899e375adb)) #aplay /song.wav |
I have a nitrogen8m_mini board "rev30 06-28-2019" |
I have an older version of the board (rev20). Please copy/paste your bootlog into pastebin. |
Complete dmesg: I think I will take some time to investigate this (after mainlining my patches on kernel). Thanks, |
I've seen people havin issues with SDMA with newer kernel and old U-Boot/ATF. Please make sure you have the latest. |
Same issue with latest u-boot (U-Boot SPL 2018.07-01626-g338e38fa4e (Nov 25 2020 - 17:17:56 +0100). Thanks, |
Sorry to post to an old issue, but I am seeing the same problem with the Boundary imx8m plus EVK. When I run with a recent "Boundary XWayland 3.2 (gatesgarth)" yocto release the song.wav plays fine over my headphones. But with the recent Boundary 2021.05 release I get no audio and this error:
The 5.4.110 kernels between my yocto and buildroot were almost identical. But, just to eliminate the kernel I copied the Here are the versions I am testing with:
|
Hello,
With BuildRoot mainline (nitrogen8mm_defconfig + alsa + tinyalsa, kernel 5.4 boundary devices, boundary_defconfig), I tried to play audio on my nitrogen8m-mini board with aplay (alsa) and tinyplay (tinyalsa) and I am facing an error.
The audio device seems to be listed by the kernel (ALSA device list: #0: wm8960-audio), but with aplay and tinyplay are exiting on error after about 10s (and no audio played).
# aplay /ring_sound.wav
Playing WAVE '/ring_sound.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: pcm_write:2058: write error: Input/output error
# tinyplay /ring_sound.wav
playing '/ring_sound.wav': 2 ch, 48000 hz, 16 bit
error playing sample
With the same board (but different kernel version) I am able to play sound with Android (with UI, not tested with aplay nor tinyplay).
I think I am missing something on BR,
Could you please help me? (I need to play audio to verify that my driver integration is OK on mainline)
Thanks,
The text was updated successfully, but these errors were encountered: