Hi there,
We’re having some issues with BalenaOS devices this morning erroring out with aplay: device_list:272: no soundcards found...
Changing the content or upgrading BalenaOS to the latest version doesn’t seem to help.
BalenaOS: balenaOS 2.58.6+rev1
Devices: Raspberry Pi 4
Number affected: 6
Application code: https://github.com/ACMILabs/media-player
Full error logs:
X.Org X Server 1.20.4
12.11.20 11:03:08 (+1030) mediaplayer X Protocol Version 11, Revision 0
12.11.20 11:03:08 (+1030) mediaplayer Build Operating System: Linux 4.15.0-99-generic armv8l Raspbian
12.11.20 11:03:08 (+1030) mediaplayer Current Operating System: Linux 9c73a8562368 5.4.58 #1 SMP PREEMPT Mon Oct 19 18:41:44 UTC 2020 aarch64
12.11.20 11:03:08 (+1030) mediaplayer Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:50:D4:0A vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=null rootfstype=ext4 rootwait vt.global_cursor_default=0 root=UUID=ba1eadef-f992-439b-8a88-7c8211ac1f77 rootwait
12.11.20 11:03:08 (+1030) mediaplayer Build Date: 27 August 2020 08:51:48AM
12.11.20 11:03:08 (+1030) mediaplayer xorg-server 2:1.20.4-1+rpt2+deb10u1 (https://www.debian.org/support)
12.11.20 11:03:08 (+1030) mediaplayer Current version of pixman: 0.36.0
12.11.20 11:03:08 (+1030) mediaplayer Before reporting problems, check http://wiki.x.org
12.11.20 11:03:08 (+1030) mediaplayer to make sure that you have the latest version.
12.11.20 11:03:08 (+1030) mediaplayer Markers: (--) probed, (**) from config file, (==) default setting,
12.11.20 11:03:08 (+1030) mediaplayer (++) from command line, (!!) notice, (II) informational,
12.11.20 11:03:08 (+1030) mediaplayer (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
12.11.20 11:03:08 (+1030) mediaplayer (==) Log file: "/var/log/Xorg.1.log", Time: Thu Nov 12 00:33:08 2020
12.11.20 11:03:08 (+1030) mediaplayer (==) Using system config directory "/usr/share/X11/xorg.conf.d"
12.11.20 11:03:13 (+1030) mediaplayer Displays in use after starting X
12.11.20 11:03:13 (+1030) mediaplayer DISPLAY=:0 DISPLAY=:1
12.11.20 11:03:13 (+1030) mediaplayer Setting display to: DISPLAY=:1
12.11.20 11:03:13 (+1030) mediaplayer xrandr: Failed to get size of gamma for output default
12.11.20 11:03:13 (+1030) mediaplayer xrandr: Failed to get size of gamma for output default
12.11.20 11:03:13 (+1030) mediaplayer Screen resolution parsed as: 1824x984
12.11.20 11:03:14 (+1030) mediaplayer aplay: device_list:272: no soundcards found...
12.11.20 11:03:14 (+1030) mediaplayer Scanning audio devices for match to hdmi|hdmi 0
12.11.20 11:03:14 (+1030) mediaplayer AUDIO_DEVICE_REGEX hdmi|hdmi 0 did not match any audio devices. Using default audio settings instead.
12.11.20 11:03:14 (+1030) mediaplayer ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
12.11.20 11:03:14 (+1030) mediaplayer ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
12.11.20 11:03:14 (+1030) mediaplayer ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
12.11.20 11:03:14 (+1030) mediaplayer ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
12.11.20 11:03:14 (+1030) mediaplayer ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
12.11.20 11:03:14 (+1030) mediaplayer ALSA lib conf.c:4568:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
12.11.20 11:03:14 (+1030) mediaplayer ALSA lib conf.c:5047:(snd_config_expand) Evaluate error: No such file or directory
12.11.20 11:03:14 (+1030) mediaplayer ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM default