Re: Alsa configuration error

Michael Opdenacker

Hi Mihir

On 1/20/22 11:28 AM, mihirdave36@... wrote:
Hi Peter,

After entering "/*aplay -l*/" I got message "/*aplay: device_list:274
: no soundcards found...*/".

I am using virtual machine: /*VMware workstation with ubuntu 20.4.3 as
a Linux host machine.*/
Running Image: */core-image-minimal/* using */runqemu /**/qemux86-64

I could reproduce your issue. I believe I built the system in the same
way you did.
An issue is that the kernel is built with

CONFIG_SND=m other sound modules, but there are no such modules in the root
filesystem (under /lib/modules/`uname -r`/kernel/). Something else
probably needs to be tweaked.

Another issue is that passing "audio" to runqemu fails:

runqemu - ERROR - Failed to run qemu: qemu-system-x86_64: warning:
'-soundhw ac97' is deprecated, please use '-device AC97' instead
audio: warning: Using timer based audio emulation

I've just proposed a patch for this one:

Don't hesitate to use it!


Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering

Join to automatically receive all group messages.