Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: MPD error "Failed to open ALSA" only occurs after coldstart
#8
Just tested a Pi-2B w/DigiAmp+ and no issues. Granted I'm using the soon to be release 6.5.0 which is based on Raspbian 10.3 and kernel 4.19.115.


Maybe try reseating the HAT board after spraying on some contact cleaner or alternatively updating to latest kernel in case you are experiencing some sort of kernel bug.

Code:
Authenticated to rp2 ([192.168.1.248]:22).
Raspbian 10.3 | 4.19.115-v7+ #1305 | armv7l (32-bit)

                         ____     __
             __ _  ___  / __ \___/ /__
            /  ' \/ _ \/ /_/ / _  / -_)
           /_/_/_/\___/\____/\_,_/\__/

                moOde audio player
             Release 6.5.0 2020-04-21
               (C) 2014 Tim Curtis



The programs included with Moode are free software; the
exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright.
Moode comes with absolutely no warranties expressed or
implied, or any other guarantees.

Last login: Wed Apr 22 10:35:52 2020 from 192.168.1.125

pi@rp2:~ $ moodeutl -l
20200422 103828 worker: -- Start
20200422 103828 worker: Successfully daemonized
20200422 103829 worker: Integrity check (passed)
20200422 103829 worker: Session loaded
20200422 103829 worker: Debug logging (off)
20200422 103829 worker: Device raw: (0:IQaudIODAC|1:empty|i2s:IQaudIO Pi-DigiAMP+)
20200422 103829 worker: Device cfg: (IQaudIO Pi-DigiAMP+|0|0|Digital|0)
20200422 103829 worker: ALSA volume set to (0%)
20200422 103829 worker: -- System
20200422 103832 worker: Host     (rp2)
20200422 103832 worker: moOde    (6.5.0 2020-04-21)
20200422 103832 worker: Raspbian (10.3)
20200422 103832 worker: Kernel   (4.19.115-v7+ #1305)
20200422 103832 worker: Platform (Pi-2B 1GB v1.1)
20200422 103832 worker: ARM arch (armv7l, 32-bit kernel)
20200422 103832 worker: MPD ver  (0.21.22)
20200422 103832 worker: CPU gov  (ondemand)
20200422 103832 worker: USB boot not available
20200422 103832 worker: File system expanded
20200422 103832 worker: HDMI port off
20200422 103835 worker: File check (OK)
20200422 103835 worker: -- Network
20200422 103835 worker: eth0 exists
20200422 103835 worker: eth0 address not assigned
20200422 103835 worker: wlan0 exists
20200422 103835 worker: wifi country (US)
20200422 103835 worker: wlan0 trying SSID (AirnetN2)
20200422 103835 worker: IP addr (192.168.1.248)
20200422 103836 worker: Netmask (255.255.255.0)
20200422 103836 worker: Gateway (192.168.1.1)
20200422 103836 worker: Pri DNS (192.168.1.1)
20200422 103836 worker: Domain  (home)
20200422 103836 worker: -- Audio
20200422 103836 worker: IQaudIO Pi-DigiAMP+ unmuted
20200422 103836 worker: ALSA card number (0)
20200422 103836 worker: Audio output (I2S audio device)
20200422 103836 worker: Audio device (IQaudIO Pi-DigiAMP+)
20200422 103837 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20200422 103837 worker: ALSA mixer name (Digital)
20200422 103837 worker: MPD volume control (hardware)
20200422 103837 worker: Hdwr volume controller exists
20200422 103837 worker: Max ALSA volume (100%)
20200422 103837 worker: Reset renderer active flags
20200422 103837 worker: -- MPD
20200422 103838 worker: MPD conf updated
20200422 103838 worker: MPD started
20200422 103839 worker: MPD accepting connections
20200422 103839 worker: Configure MPD outputs
20200422 103839 worker: MPD output 1 ALSA default (on)
20200422 103839 worker: MPD output 2 ALSA crossfeed (off)
20200422 103839 worker: MPD output 3 ALSA parametric eq (off)
20200422 103839 worker: MPD output 4 ALSA graphic eq (off)
20200422 103839 worker: MPD output 5 ALSA polarity inversion (off)
20200422 103839 worker: MPD output 6 ALSA bluetooth (off)
20200422 103839 worker: MPD output 7 HTTP stream (off)
20200422 103839 worker: MPD crossfade (off)
20200422 103839 worker: -- Feature availability
20200422 103839 worker: Source select (available)
20200422 103839 worker: Source select (source: MPD)
20200422 103839 worker: Source select (output: I2S audio device)
20200422 103840 worker: Bluetooth (available)
20200422 103840 worker: Airplay renderer (available)
20200422 103840 worker: Airplay renderer (started)
20200422 103840 worker: Spotify renderer (available)
20200422 103840 worker: Squeezelite renderer (available)
20200422 103840 worker: UPnP renderer (available)
20200422 103840 worker: DLNA server (available)
20200422 103840 worker: UPnP browser (available)
20200422 103840 worker: Audio scrobbler (available)
20200422 103840 worker: GPIO button handler (available)
20200422 103840 worker: -- Music sources
20200422 103840 worker: USB sources (none attached)
20200422 103841 worker: NAS and UPnP sources (mountall initiated)
20200422 103841 worker: -- Miscellaneous
20200422 103842 worker: Rotary encoder on (100 2 3 23 24)
20200422 103842 worker: USB volume knob (Off)
20200422 103842 worker: USB auto-mounter (udisks-glue)
20200422 103842 worker: LED0 (On)
20200422 103842 worker: LED1 (On)
20200422 103842 worker: Saved MPD vol level (0)
20200422 103842 worker: Preamp volume level (0)
20200422 103842 worker: MPD volume level (15) restored
20200422 103843 worker: ALSA volume level (53%)
20200422 103843 worker: Auto-play (Off)
20200422 103843 worker: Auto-shuffle service (Off)
20200422 103843 worker: Maintenance interval (3 hrs)
20200422 103843 worker: Screen saver activation (Never)
20200422 103843 worker: Session permissions (OK)
20200422 103843 worker: Watchdog started
20200422 103843 worker: Ready

pi@rp2:~ $ dmesg |grep i2s
[    8.378186] snd-rpi-iqaudio-dac soc:sound: pcm512x-hifi <-> 3f203000.i2s mapping ok
pi@rp2:~ $
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: MPD error "Failed to open ALSA" only occurs after coldstart - by Tim Curtis - 04-22-2020, 02:48 PM

Forum Jump: