On Fri, 2016-10-21 at 13:45 +0200, Piotr Lewicki wrote: > On 21.10.2016 13:26, Tanu Kaskinen wrote: > > It looks like the default alsa device is configured to use card 0, but > > card 0 doesn't exist. What do "cat /proc/asound/cards" and "ls -l > > /dev/snd" print? > > root@raspberrypi3:~# cat /proc/asound/cards > --- no soundcards --- > root@raspberrypi3:~# ls -al /dev/snd/ > drwxr-xr-x 2 root root 60 Oct 21 09:53 . > drwxr-xr-x 11 root root 13200 Oct 21 09:53 .. > crw-rw---- 1 root audio 116, 33 Oct 21 09:53 timer
Weird, is snd-bcm2835 actually loaded? I don't have oe on rpi myself, so if there's some extra step required to make alsa work, I don't know about it. I have raspbian on rpi2, and /boot/config.txt contains this, which seems relevant, so you could check if you have it: # Enable audio (loads snd_bcm2835) dtparam=audio=on But if you have snd-bcm2835 already loaded, then I don't think this can be the issue. > I wonder what is used by omxplayer that it works, but alsa does not. Yes, it seems to be some kind of witchcraft. -- Tanu -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto