Thank you for your donation!


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


Problem: MPD error Failed to open "ALSA Default" (alsa); Failed to open ALSA device "_audioout
#1
After a restart my moode player stooped playing music.

Im having error:
MPD error

Failed to open "ALSA Default" (alsa); Failed to open ALSA device "_audioout": No such file or directory


Im using Pi2AES HAT

Logs:


Code:
pi@moode:~ $ moodeutl -l
20211010 100201 worker: -- Start
20211010 100201 worker: Successfully daemonized
20211010 100202 worker: Integrity check (passed)
20211010 100203 worker: File check (OK)
20211010 100203 worker: Session vacuumed
20211010 100203 worker: Session loaded
20211010 100203 worker: Debug logging (OFF)
20211010 100203 worker: -- Audio debug
20211010 100203 worker: ALSA cards: (0:empty | 1:empty | 2:empty | 3:empty
20211010 100203 worker: MPD config: (0:Allo DigiOne | mixer:(Digital) | card:0)
20211010 100203 worker: ALSA mixer actual (Digital)
20211010 100203 worker: ALSA Digital volume set to (Invalid card number.)
20211010 100203 worker: -- System
20211010 100205 worker: Host     (moode)
20211010 100205 worker: moOde    (7.4.1 2021-10-02)
20211010 100205 worker: RaspiOS  (10.6)
20211010 100205 worker: Kernel   (5.4.77-v7+ #1371)
20211010 100205 worker: Platform (Pi-3B+ 1.3 1GB)
20211010 100205 worker: ARM arch (armv7l, 32-bit kernel)
20211010 100205 worker: MPD ver  (0.22.11_p0x3)
20211010 100205 worker: CPU gov  (ondemand)
20211010 100205 worker: USB boot enabled
20211010 100205 worker: File system expanded
20211010 100205 worker: HDMI port off
20211010 100205 worker: -- Network
20211010 100206 worker: eth0 exists
20211010 100206 worker: IP addr (192.168.1.8)
20211010 100206 worker: Netmask (255.255.255.0)
20211010 100206 worker: Gateway (192.168.1.1)
20211010 100206 worker: Pri DNS (192.168.1.1)
20211010 100206 worker: Domain  (192.168.1.10)
20211010 100206 worker: wlan0 exists
20211010 100206 worker: wifi country (US)
20211010 100206 worker: wlan0 SSID is blank
20211010 100206 worker: eth0 addr exists, AP mode not started
20211010 100206 worker: wlan0 address not assigned
Reply
#2
The log entries below labeled "ALSA" indicate Linux/ALSA did not recognize any audio device. The DigiOne would normally be configured at card 0.

Code:
20211010 100203 worker: -- Audio debug
20211010 100203 worker: ALSA cards: (0:empty | 1:empty | 2:empty | 3:empty
20211010 100203 worker: MPD config: (0:Allo DigiOne | mixer:(Digital) | card:0)
20211010 100203 worker: ALSA mixer actual (Digital)
20211010 100203 worker: ALSA Digital volume set to (Invalid card number.)

When configuring a DigiOne in Audio Config its driver overlay would be added to /boot/config.txt

Code:
dtoverlay=allo-digione

When the driver is loaded by Linux during startup it attempts to find the audio device at card 0. You can look in dmesg to see if Linux successfully creates an I2S mapping for the device. The example below is for my Allo Boss2.

Code:
pi@rp2:~ $ dmesg | grep i2s
[    6.878845] asoc-audio-graph-card soc:sound: allo-cs43130 <-> fe203000.i2s mapping ok
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
Tim,

I have the same error I have select the right DAC in Audio Moode 7.40 and install mpd-oled (Adrian)

RPI3b/Audiophonics 9038/MPD-Oled

Thanks
Jem
Reply
#4
Start with a fresh 7.4.1 image, re-seat the board on the Pi and set "Audiophonics ES9028/9038 DAC" in Audio Config and then reboot. You should see the line below in /boot/config.txt and the command "dmesg | grep i2s" should return "...i2s mapping ok"

Code:
dtoverlay=i-sabre-q2m

If there are no hardware, media or connection issues then Linux/ALSA will configure the audio device during boot and moOde software will be able to use it.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
Tim,

oke I will try this

Jem
Reply
#6
Tim,

thanks no MPD errors at this moment !!!

Jem
Reply
#7
Hi Tim,

still MPD error

pi@moode:~ $ moodeutl -l

Code:
RaspiOS 10.6 | 5.4.77-v7+ #1371 | armv7l (32-bit)
Hardware: Pi-3B 1.2 1GB

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

                moOde audio player
             Release 7.4.1 2021-10-02
               (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.

pi@moode:~ $ moodeutl -l
20211030 072705 worker: -- Start
20211030 072705 worker: Successfully daemonized
20211030 072706 worker: Integrity check (passed)
20211030 072706 worker: File check (OK)
20211030 072707 worker: Session vacuumed
20211030 072707 worker: Session loaded
20211030 072707 worker: Debug logging (OFF)
20211030 072707 worker: -- Audio debug
20211030 072707 worker: ALSA cards: (0:DAC | 1:empty | 2:empty | 3:empty
20211030 072707 worker: MPD config: (0:Audiophonics ES9028/9038 DAC (Pre 2019) | mixer:(Digital) | card:0)
20211030 072707 worker: ALSA mixer actual (Digital)
20211030 072707 worker: ALSA Digital volume set to (0%)
20211030 072707 worker: -- System
20211030 072710 worker: Host     (moode)
20211030 072710 worker: moOde    (7.4.1 2021-10-02)
20211030 072710 worker: RaspiOS  (10.6)
20211030 072710 worker: Kernel   (5.4.77-v7+ #1371)
20211030 072710 worker: Platform (Pi-3B 1.2 1GB)
20211030 072710 worker: ARM arch (armv7l, 32-bit kernel)
20211030 072710 worker: MPD ver  (0.22.11_p0x3)
20211030 072710 worker: CPU gov  (ondemand)
20211030 072710 worker: USB boot not enabled yet
20211030 072710 worker: File system not expanded yet
20211030 072710 worker: HDMI port on
20211030 072710 worker: -- Network
20211030 072710 worker: eth0 exists
20211030 072710 worker: IP addr (192.168.2.2)
20211030 072710 worker: Netmask (255.255.255.0)
20211030 072710 worker: Gateway (192.168.2.254)
20211030 072710 worker: Pri DNS (192.168.2.254)
20211030 072710 worker: Domain  (home)
20211030 072710 worker: wlan0 exists
20211030 072710 worker: wifi country (US)
20211030 072710 worker: wlan0 SSID is blank
20211030 072710 worker: eth0 addr exists, AP mode not started
20211030 072710 worker: wlan0 address not assigned
20211030 072710 worker: Pi integrated wlan0 power save disabled
20211030 072710 worker: -- Audio config
20211030 072711 worker: MPD conf updated
20211030 072711 worker: ALSA card number (0)
20211030 072711 worker: MPD audio output (Audiophonics ES9028/9038 DAC (Pre 2019))
20211030 072711 worker: Audio formats (S16_LE, S32_LE)
20211030 072711 worker: ALSA mixer name (Digital)
20211030 072711 worker: MPD mixer type (fixed 0dB)
20211030 072711 worker: Hdwr volume controller exists
20211030 072711 worker: Max ALSA volume (100%)
20211030 072711 worker: ALSA output mode (Default: plughw)
20211030 072711 worker: ALSA loopback (On)
20211030 072711 worker: Reset renderer active flags
20211030 072711 worker: CamillaDSP (off)
20211030 072711 worker: -- MPD startup
20211030 072711 worker: MPD started
20211030 072712 worker: MPD accepting connections
20211030 072712 worker: MPD output 1 ALSA Default (on)
20211030 072712 worker: MPD output 2 ALSA Bluetooth (off)
20211030 072712 worker: MPD output 3 HTTP Server (off)
20211030 072712 worker: MPD crossfade (off)
20211030 072712 worker: MPD ignore CUE files (yes)
20211030 072712 worker: -- Feature availability
20211030 072712 worker: Source select (available)
20211030 072712 worker: Source select (source: MPD)
20211030 072712 worker: Source select (output: Audiophonics ES9028/9038 DAC (Pre 2019))
20211030 072712 worker: Bluetooth (available)
20211030 072712 worker: Airplay renderer (available)
20211030 072712 worker: Spotify renderer (available: started)
20211030 072712 worker: Squeezelite (available)
20211030 072712 worker: RoonBridge renderer (not installed)
20211030 072712 worker: Multiroom sender (available)
20211030 072712 worker: Multiroom receiver (available)
20211030 072712 worker: UPnP renderer (available)
20211030 072712 worker: DLNA server (available)
20211030 072712 worker: UPnP browser (available)
20211030 072712 worker: GPIO button handler (available)
20211030 072712 worker: Stream recorder (n/a)
20211030 072712 worker: -- Music sources
20211030 072712 worker: USB source (MI_harddisk)
20211030 072712 worker: NAS and UPnP sources (none configured)
20211030 072712 worker: -- Other
20211030 072712 worker: USB volume knob (Off)
20211030 072712 worker: USB auto-mounter (udisks-glue)
20211030 072712 worker: LED0 (On)
20211030 072712 worker: LED1 (On)
20211030 072712 worker: Saved MPD vol level (0)
20211030 072712 worker: Preamp volume level (0)
20211030 072712 worker: MPD volume level (0) restored
20211030 072712 worker: ALSA Digital volume (100%)
20211030 072712 worker: Auto-play (Off)
20211030 072712 worker: Maintenance interval (3 hours)
20211030 072712 worker: Screen saver activation (Never)
20211030 072712 worker: Session permissions (OK)
20211030 072713 worker: Watchdog started
20211030 072713 worker: Ready
20211030 073512 worker: Job upnpsvc
20211030 073524 worker: Job minidlna
pi@moode:~ $
Reply
#8
The DAC may only work in moOde when ALSA output mode is set to "Direct (hw)"
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#9
(10-30-2021, 12:58 PM)Tim Curtis Wrote: The DAC may only work in moOde when ALSA output mode is set to "Direct (hw)"

Tim,

I can select Direct(hw) but cannot set it

how to do that?

Jem
Reply
#10
(10-30-2021, 09:53 PM)Jempie Wrote:
(10-30-2021, 12:58 PM)Tim Curtis Wrote: The DAC may only work in moOde when ALSA output mode is set to "Direct (hw)"

Tim,

I can select Direct(hw) but cannot set it

how to do that?

Jem
Don't you see something like this on the screen?
   
Reply


Forum Jump: