Moode Forum
[SOLVED] MPD Error - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [SOLVED] MPD Error (/showthread.php?tid=6123)

Pages: 1 2 3


MPD Error - joecurtis - 01-08-2024

I have been running an RPI 2B for a number of years, outputting via the on board connector to a powered speaker or by a dongle to a bluetooth speaker without any problems.

I have recently added an IQaudIO Pi-digiamp+ to the PI to output to a pair of hifi speakers but am getting the error 'Failed to open "ALSA Default (ALSA)" etc. when I try to play a file. I have tried reflashing the micro ssd card and also installing on a Pi 3B but with the same result.

It appears that the system is not seeing the IOaudIO card and the appears to be born out by the attached log.

I would be grateful for any pointers for incorrect setup parameters or ways to test the IOaudIO card before I take it up with the suppliers.

Code:
20240107 175400 worker: --
20240107 175401 worker: -- Start moOde 8 series
20240107 175401 worker: --
20240107 175401 worker: Successfully daemonized
20240107 175401 worker: Wait for Linux startup...
20240107 175413 worker: Linux startup complete
20240107 175413 worker: Boot config backed up
20240107 175416 worker: Session loaded
20240107 175418 worker: Package holds applied
20240107 175420 worker: File check complete
20240107 175420 worker: Debug logging off
20240107 175420 worker: Reduced logging off
20240107 175420 worker: --
20240107 175420 worker: -- Audio debug
20240107 175420 worker: --
20240107 175420 worker: ALSA cards:  0:empty | 1:empty | 2:empty | 3:empty
20240107 175420 worker: MPD config:  0:IQaudIO Pi-DigiAMP+ | mixer:Digital | cardnum:0
20240107 175420 worker: Mixer name:  [Digital]
20240107 175421 worker: Hdwr volume: set to Invalid card number.
20240107 175421 worker: --
20240107 175421 worker: -- System
20240107 175421 worker: --
20240107 175425 worker: Host:     Moode
20240107 175425 worker: Model:    Pi-2B 1.1 1GB
20240107 175425 worker: moOde:    8.3.7 2023-12-07
20240107 175425 worker: RaspiOS:  11.8 Bullseye 32-bit
20240107 175425 worker: Kernel:   6.1.21 32-bit
20240107 175425 worker: MPD ver:  0.23.14
20240107 175425 worker: CPU gov:  ondemand
20240107 175425 worker: Userid:   pi
20240107 175425 worker: Homedir:  /home/pi
20240107 175425 worker: Timezone: Europe/London
20240107 175425 worker: Keyboard: gb
20240107 175425 worker: USB boot: not available
20240107 175426 worker: File sys: expanded
20240107 175426 worker: HDMI out: off
20240107 175426 worker: Sys LED0: on
20240107 175426 worker: Sys LED1: on
20240107 175426 worker: --
20240107 175426 worker: -- Network
20240107 175426 worker: --
20240107 175426 worker: Eth: adapter exists
20240107 175426 worker: Eth: timeout off
20240107 175426 worker: Eth: address not assigned
20240107 175426 worker: Wlan: adapter exists
20240107 175426 worker: Wlan: country GB
20240107 175426 worker: Wlan: SSID    TALKTALKA2D29A
20240107 175426 worker: Wlan: other   TALKTALKE2D29A
20240107 175426 worker: Wlan: router  off
20240107 175426 worker: Wlan: timeout up to 90 secs
20240107 175426 worker: Wlan: connect to TALKTALKE2D29A
20240107 175427 worker: Wlan: method  dhcp
20240107 183311 worker: Wlan: address 192.168.1.102
20240107 183311 worker: Wlan: netmask 255.255.255.0
20240107 183311 worker: Wlan: gateway 192.168.1.254
20240107 183311 worker: Wlan: pri DNS 8.8.8.8
20240107 183311 worker: Wlan: domain  
20240107 183311 worker: --
20240107 183311 worker: -- Software update
20240107 183311 worker: --
20240107 183311 worker: Automatic check: on
20240107 183311 worker: Checking for available update...
20240107 183312 worker: Software is up to date
20240107 183312 worker: --
20240107 183312 worker: -- File sharing
20240107 183312 worker: --
20240107 183315 worker: SMB file sharing:  on
20240107 183315 worker: NFS file sharing:  on
20240107 183315 worker: DLNA file sharing: on
20240107 183315 worker: --
20240107 183315 worker: -- Audio config
20240107 183315 worker: --
20240107 183316 worker: MPD config:    updated
20240107 183316 worker: IQaudIO:       Pi-DigiAMP+ unmuted
20240107 183316 worker: Audio device:  IQaudIO Pi-DigiAMP+
20240107 183316 worker: Warning: No device found at MPD configured card 0
20240107 183316 worker: Mixer type     Software
20240107 183316 worker: Mixer name     Digital
20240107 183316 worker: Hdwr volume:   controller detected
20240107 183316 worker: ALSA max vol:  100%
20240107 183316 worker: ALSA card:     0
20240107 183316 worker: ALSA mode:     Default
20240107 183316 worker: ALSA loopback: off
20240107 183316 worker: CamillaDSP:    off
20240107 183316 worker: Renderers:     active flags reset
20240107 183316 worker: --
20240107 183316 worker: -- MPD startup
20240107 183316 worker: --
20240107 183317 worker: MPD service:        started
20240107 183317 worker: MPD port 6600:      accepting connections
20240107 183317 worker: MPD ALSA Default:   on
20240107 183317 worker: MPD ALSA Bluetooth: off
20240107 183317 worker: MPD HTTP Server:    off
20240107 183317 worker: MPD crossfade:      off
20240107 183318 worker: MPD ignore CUE:     yes
20240107 183318 worker: MPD CDSP volsync:   off
20240107 183318 worker: MPD CDSP volrange:  60 dB
20240107 183318 worker: --
20240107 183318 worker: -- Music sources
20240107 183318 worker: --
20240107 183318 worker: USB auto-mount: udisks-glue
20240107 183318 worker: USB drives:     no drives found
20240107 183318 worker: NAS source:     CD-collection
20240107 183322 worker: NAS mount:      mount all submitted
20240107 183322 worker: --
20240107 183322 worker: -- Feature availability
20240107 183322 worker: --
20240107 183322 worker: Input select:    available, src MPD, out IQaudIO Pi-DigiAMP+
20240107 183322 worker: Bluetooth:       available, ALSA mode Default
20240107 183322 worker: AirPlay:         available
20240107 183322 worker: Spotify Connect: available
20240107 183322 worker: Squeezelite:     available
20240107 183322 worker: RoonBridge:      not installed
20240107 183322 worker: Multiroom:       available
20240107 183322 worker: UPnP client:     available
20240107 183322 worker: GPIO buttons:    available
20240107 183322 worker: Stream recorder: n/a
20240107 183322 worker: HTTPS-Only mode: n/a
20240107 183322 worker: --
20240107 183322 worker: -- Volume levels
20240107 183322 worker: --
20240107 183322 worker: Volume knob:      91
20240107 183322 worker: Saved MPD volume: 0
20240107 183322 worker: Saved SRC volume: 0
20240107 183323 worker: Hdwr volume:      Invalid card number.
20240107 183323 worker: --
20240107 183323 worker: -- Peripherals
20240107 183323 worker: --
20240107 183324 worker: Local display:   off
20240107 183324 worker: On-screen kbd:   off
20240107 183324 worker: Rotary encoder:  off
20240107 183324 worker: USB volume knob: off
20240107 183324 worker: LCD updater:     off
20240107 183324 worker: --
20240107 183324 worker: -- Miscellaneous
20240107 183324 worker: --
20240107 183324 worker: Auto-CoverView:    off
20240107 183324 worker: CoverView timeout: Never
20240107 183324 worker: Auto-shuffle:      off
20240107 183324 worker: Auto-play:         off
20240107 183324 worker: Web SSH server:    off
20240107 183324 worker: Maintenance task:  360 mins
20240107 183324 worker: Current view:      reset to Playback
20240107 183324 worker: Session check:     ok
20240107 183324 worker: --
20240107 183324 worker: -- Startup complete
20240107 183324 worker: --
20240107 183324 worker: Mount monitor:    off
20240107 183325 worker: MPD monitor:      off
20240107 183325 worker: Watchdog monitor: started
20240107 183325 worker: Responsiveness:   Default
20240107 183325 worker: Ready



RE: MPD Error - Nutul - 01-08-2024

You power the board, which in turn powers the Pi, right?
From the logs it's not clear to me why ALSA has no clue about the card.
It looks like somewhere the card is seen, and also MPD expects it on its port 0.

Do you have any additional hardware attached, that might conflict?

Or I better stop conjecturing, and let's wait for somebody more skilled than I am... ;-)


RE: MPD Error - steve4star - 01-08-2024

Have you disabled the Pi Audio in config.txt ?

I am not using the DigiAmp, but for the DAC+ I had to disable the Pi headphone.

Which overlay are you using ?


RE: MPD Error - Tim Curtis - 01-08-2024

(01-08-2024, 09:04 PM)steve4star Wrote: Have you disabled the Pi Audio in config.txt ?

I am not using the DigiAmp, but for the DAC+ I had to disable the Pi headphone.

Which overlay are you using ?

Config.txt is a managed file. the dtoverlay and other settings are determined by what is set in the Config Screens.

If you have to manually edit config.txt audio settings there is some breakage.


RE: MPD Error - Tim Curtis - 01-08-2024

(01-08-2024, 08:28 PM)joecurtis Wrote: I have been running an RPI 2B for a number of years, outputting via the on board connector to a powered speaker or by a dongle to a bluetooth speaker without any problems.

I have recently added an IQaudIO Pi-digiamp+ to the PI to output to a pair of hifi speakers but am getting the error 'Failed to open "ALSA Default (ALSA)" etc. when I try to play a file. I have tried reflashing the micro ssd card and also installing on a Pi 3B but with the same result.

It appears that the system is not seeing the IOaudIO card and the appears to be born out by the attached log.

I would be grateful for any pointers for incorrect setup parameters or ways to test the IOaudIO card before I take it up with the suppliers.

Code:
20240107 175400 worker: --
20240107 175401 worker: -- Start moOde 8 series
20240107 175401 worker: --
20240107 175401 worker: Successfully daemonized
20240107 175401 worker: Wait for Linux startup...
20240107 175413 worker: Linux startup complete
20240107 175413 worker: Boot config backed up
20240107 175416 worker: Session loaded
20240107 175418 worker: Package holds applied
20240107 175420 worker: File check complete
20240107 175420 worker: Debug logging off
20240107 175420 worker: Reduced logging off
20240107 175420 worker: --
20240107 175420 worker: -- Audio debug
20240107 175420 worker: --
20240107 175420 worker: ALSA cards:  0:empty | 1:empty | 2:empty | 3:empty
20240107 175420 worker: MPD config:  0:IQaudIO Pi-DigiAMP+ | mixer:Digital | cardnum:0
20240107 175420 worker: Mixer name:  [Digital]
20240107 175421 worker: Hdwr volume: set to Invalid card number.
20240107 175421 worker: --
20240107 175421 worker: -- System
20240107 175421 worker: --
20240107 175425 worker: Host:     Moode
20240107 175425 worker: Model:    Pi-2B 1.1 1GB
20240107 175425 worker: moOde:    8.3.7 2023-12-07
20240107 175425 worker: RaspiOS:  11.8 Bullseye 32-bit
20240107 175425 worker: Kernel:   6.1.21 32-bit
20240107 175425 worker: MPD ver:  0.23.14
20240107 175425 worker: CPU gov:  ondemand
20240107 175425 worker: Userid:   pi
20240107 175425 worker: Homedir:  /home/pi
20240107 175425 worker: Timezone: Europe/London
20240107 175425 worker: Keyboard: gb
20240107 175425 worker: USB boot: not available
20240107 175426 worker: File sys: expanded
20240107 175426 worker: HDMI out: off
20240107 175426 worker: Sys LED0: on
20240107 175426 worker: Sys LED1: on
20240107 175426 worker: --
20240107 175426 worker: -- Network
20240107 175426 worker: --
20240107 175426 worker: Eth: adapter exists
20240107 175426 worker: Eth: timeout off
20240107 175426 worker: Eth: address not assigned
20240107 175426 worker: Wlan: adapter exists
20240107 175426 worker: Wlan: country GB
20240107 175426 worker: Wlan: SSID    TALKTALKA2D29A
20240107 175426 worker: Wlan: other   TALKTALKE2D29A
20240107 175426 worker: Wlan: router  off
20240107 175426 worker: Wlan: timeout up to 90 secs
20240107 175426 worker: Wlan: connect to TALKTALKE2D29A
20240107 175427 worker: Wlan: method  dhcp
20240107 183311 worker: Wlan: address 192.168.1.102
20240107 183311 worker: Wlan: netmask 255.255.255.0
20240107 183311 worker: Wlan: gateway 192.168.1.254
20240107 183311 worker: Wlan: pri DNS 8.8.8.8
20240107 183311 worker: Wlan: domain  
20240107 183311 worker: --
20240107 183311 worker: -- Software update
20240107 183311 worker: --
20240107 183311 worker: Automatic check: on
20240107 183311 worker: Checking for available update...
20240107 183312 worker: Software is up to date
20240107 183312 worker: --
20240107 183312 worker: -- File sharing
20240107 183312 worker: --
20240107 183315 worker: SMB file sharing:  on
20240107 183315 worker: NFS file sharing:  on
20240107 183315 worker: DLNA file sharing: on
20240107 183315 worker: --
20240107 183315 worker: -- Audio config
20240107 183315 worker: --
20240107 183316 worker: MPD config:    updated
20240107 183316 worker: IQaudIO:       Pi-DigiAMP+ unmuted
20240107 183316 worker: Audio device:  IQaudIO Pi-DigiAMP+
20240107 183316 worker: Warning: No device found at MPD configured card 0
20240107 183316 worker: Mixer type     Software
20240107 183316 worker: Mixer name     Digital
20240107 183316 worker: Hdwr volume:   controller detected
20240107 183316 worker: ALSA max vol:  100%
20240107 183316 worker: ALSA card:     0
20240107 183316 worker: ALSA mode:     Default
20240107 183316 worker: ALSA loopback: off
20240107 183316 worker: CamillaDSP:    off
20240107 183316 worker: Renderers:     active flags reset
20240107 183316 worker: --
20240107 183316 worker: -- MPD startup
20240107 183316 worker: --
20240107 183317 worker: MPD service:        started
20240107 183317 worker: MPD port 6600:      accepting connections
20240107 183317 worker: MPD ALSA Default:   on
20240107 183317 worker: MPD ALSA Bluetooth: off
20240107 183317 worker: MPD HTTP Server:    off
20240107 183317 worker: MPD crossfade:      off
20240107 183318 worker: MPD ignore CUE:     yes
20240107 183318 worker: MPD CDSP volsync:   off
20240107 183318 worker: MPD CDSP volrange:  60 dB
20240107 183318 worker: --
20240107 183318 worker: -- Music sources
20240107 183318 worker: --
20240107 183318 worker: USB auto-mount: udisks-glue
20240107 183318 worker: USB drives:     no drives found
20240107 183318 worker: NAS source:     CD-collection
20240107 183322 worker: NAS mount:      mount all submitted
20240107 183322 worker: --
20240107 183322 worker: -- Feature availability
20240107 183322 worker: --
20240107 183322 worker: Input select:    available, src MPD, out IQaudIO Pi-DigiAMP+
20240107 183322 worker: Bluetooth:       available, ALSA mode Default
20240107 183322 worker: AirPlay:         available
20240107 183322 worker: Spotify Connect: available
20240107 183322 worker: Squeezelite:     available
20240107 183322 worker: RoonBridge:      not installed
20240107 183322 worker: Multiroom:       available
20240107 183322 worker: UPnP client:     available
20240107 183322 worker: GPIO buttons:    available
20240107 183322 worker: Stream recorder: n/a
20240107 183322 worker: HTTPS-Only mode: n/a
20240107 183322 worker: --
20240107 183322 worker: -- Volume levels
20240107 183322 worker: --
20240107 183322 worker: Volume knob:      91
20240107 183322 worker: Saved MPD volume: 0
20240107 183322 worker: Saved SRC volume: 0
20240107 183323 worker: Hdwr volume:      Invalid card number.
20240107 183323 worker: --
20240107 183323 worker: -- Peripherals
20240107 183323 worker: --
20240107 183324 worker: Local display:   off
20240107 183324 worker: On-screen kbd:   off
20240107 183324 worker: Rotary encoder:  off
20240107 183324 worker: USB volume knob: off
20240107 183324 worker: LCD updater:     off
20240107 183324 worker: --
20240107 183324 worker: -- Miscellaneous
20240107 183324 worker: --
20240107 183324 worker: Auto-CoverView:    off
20240107 183324 worker: CoverView timeout: Never
20240107 183324 worker: Auto-shuffle:      off
20240107 183324 worker: Auto-play:         off
20240107 183324 worker: Web SSH server:    off
20240107 183324 worker: Maintenance task:  360 mins
20240107 183324 worker: Current view:      reset to Playback
20240107 183324 worker: Session check:     ok
20240107 183324 worker: --
20240107 183324 worker: -- Startup complete
20240107 183324 worker: --
20240107 183324 worker: Mount monitor:    off
20240107 183325 worker: MPD monitor:      off
20240107 183325 worker: Watchdog monitor: started
20240107 183325 worker: Responsiveness:   Default
20240107 183325 worker: Ready

The log entries below indicate a configuration or device issue.

20240107 175420 worker: ALSA cards:  0:empty | 1:empty | 2:empty | 3:empty
20240107 175420 worker: MPD config:  0:IQaudIO Pi-DigiAMP+ | mixerBig Grinigital | cardnum:0
20240107 175420 worker: Mixer name:  [Digital]
20240107 175421 worker: Hdwr volume: set to Invalid card number.


I thought that particular board hasn't been available since IQaudIO went out of business quite a few years ago?
it's possible the Linux kernel driver doesn't work with it anymore.

I think I still have one of the boards lying around. If I can find it I'll run some tests.


RE: MPD Error - TheOldPresbyope - 01-08-2024

Haven't the Raspberry Pi folks taken over the IQAudiO line and are selling this item as the Raspberry Pi DigiAMP+ board?

Regards,
Kent


RE: MPD Error - Tim Curtis - 01-08-2024

(01-08-2024, 10:44 PM)TheOldPresbyope Wrote: Haven't the Raspberry Pi folks taken over the IQAudiO line and are selling this item as the Raspberry Pi DigiAMP+ board?

Regards,
Kent

Looks like thats in fact the case.
https://www.raspberrypi.com/products/digiamp-plus/


RE: MPD Error - Nutul - 01-08-2024

(01-08-2024, 10:48 PM)Tim Curtis Wrote:
(01-08-2024, 10:44 PM)TheOldPresbyope Wrote: Haven't the Raspberry Pi folks taken over the IQAudiO line and are selling this item as the Raspberry Pi DigiAMP+ board?

Regards,
Kent

Looks like thats is in fact the case.
https://www.raspberrypi.com/products/digiamp-plus/

quote from their docs:

If you need to configure Raspberry Pi OS yourself, perhaps if you’re running a headless system of your own and don’t have the option of control via the GUI, you will need to make your Raspberry Pi audio board the primary audio device in Raspberry Pi OS, disabling the Raspberry Pi’s on-board audio device. This is done by editing the file. Using a Terminal session connected to your Raspberry Pi via SSH, run the following command to edit the file:[/url]
Code:
/boot/firmware/config.txt
[url=https://www.raspberrypi.com/documentation/computers/config_txt.html#what-is-config-txt]
 


RE: MPD Error - Tim Curtis - 01-08-2024

@Nutul I2S audio devices are all configured via Audio Config. The should never be a need to manually edit the boot files :-0


RE: MPD Error - Tim Curtis - 01-08-2024

I did manage to find my old 2B + IQaudIO Pi-DigiAmp+
A quick test and no issues whatsoever.

Code:
20240108 183620 worker: --
20240108 183620 worker: -- Audio debug
20240108 183620 worker: --
20240108 183620 worker: ALSA cards:  0:IQaudIODAC | 1:empty | 2:empty | 3:empty
20240108 183620 worker: MPD config:  0:IQaudIO Pi-DigiAMP+ | mixer:PCM | cardnum:0
20240108 183621 worker: Mixer name:  [Digital]
20240108 183621 worker: Hdwr volume: set to 0%
20240108 183621 worker: --
20240108 183621 worker: -- System
20240108 183621 worker: --
20240108 183625 worker: Host:     moode-digi
20240108 183625 worker: Model:    Pi-2B 1.1 1GB
20240108 183625 worker: moOde:    8.3.7 2023-12-07
20240108 183625 worker: RaspiOS:  11.8 Bullseye 32-bit
20240108 183625 worker: Kernel:   6.1.21 32-bit
20240108 183625 worker: MPD ver:  0.23.14
20240108 183625 worker: CPU gov:  ondemand
20240108 183625 worker: Userid:   pi
20240108 183625 worker: Homedir:  /home/pi
20240108 183625 worker: Timezone: America/New_York
20240108 183625 worker: Keyboard: us
20240108 183625 worker: USB boot: not available
20240108 183625 worker: File sys: expanded
20240108 183625 worker: HDMI out: on
20240108 183625 worker: Sys LED0: on
20240108 183625 worker: Sys LED1: on

Is your board an IQaudIO board or the new one from Raspberry Pi?