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
nographic/* 

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_SOUND=m
CONFIG_SND=m

...plus 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:
https://lore.kernel.org/openembedded-core/20220120174222.1918081-1-michael.opdenacker@bootlin.com/T/#u

Don't hesitate to use it!

Cheers
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Join yocto@lists.yoctoproject.org to automatically receive all group messages.