Hi, I have difficulties getting core-image-base and QEMU x86-64 sound output working. I do not even get to the point of having a visible ALSA sound device.
What part of the puzzle am I missing? Alternatively, can someone point me to a (simple) YP image where sound works with QEMU x86 or x86-64? I built a core-image-base image from latest YP Poky [dunfell,langdale] with the following additions in a default local.conf: MACHINE = "qemux86-64" # Load kernel modules matching QEMU audio support KERNEL_MODULE_AUTOLOAD += "snd-ens1370" # Check ALSA cards available IMAGE_INSTALL:append = " alsa-utils" EXTRA_IMAGE_FEATURES += "debug-tweaks" Then I start the core-image-base with "runqemu core-image-base kvm serial slirp audio nographic". In the running system I can see that the kernel modules are loaded. root@qemux86-64:~# uname -a Linux qemux86-64 5.19.17-yocto-standard #1 SMP PREEMPT_DYNAMIC Fri Nov 18 21:13:18 UTC 2022 x86_64 GNU/Linux root@qemux86-64:~# lsmod Module Size Used by bnep 20480 2 snd_ens1370 28672 0 snd_pcm 102400 1 snd_ens1370 snd_timer 32768 1 snd_pcm snd_rawmidi 28672 1 snd_ens1370 snd_seq_device 16384 1 snd_rawmidi snd 73728 5 snd_seq_device,snd_timer,snd_ens1370,snd_pcm,snd_rawmidi soundcore 16384 1 snd But the /proc/asound/cards is empty and aplay does not find soundcards as well. root@qemux86-64:~# cat /proc/asound/cards --- no soundcards --- root@qemux86-64:~# aplay -l aplay: device_list:275: no soundcards found... For easy reproduction of the problem I created a KAS yaml file. You can find it at https://gitlab.com/toertel/meta-qemusound Thanks in advance, Mark
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#175318): https://lists.openembedded.org/g/openembedded-core/message/175318 Mute This Topic: https://lists.openembedded.org/mt/96009159/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
