Thank you for your donation!


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


Problem: No sound from HifiBerry Digi+
#1
I'm trying to get my Pi4 2GB with HifiBerry Digi+ working with moOde but nothing seems to work to get actual audio output. 

The device seems to be recognized:
Code:
pi@HifiBerry:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_digi], device 0: HifiBerry Digi HiFi wm8804-spdif-0 [HifiBerry Digi HiFi wm8804-spdif-0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0

Using speaker-test works, and I get the right output to the spdif coax that I'm using:
Code:
pi@HifiBerry:~ $ speaker-test -c2 -tsin -l1

speaker-test 1.2.4

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Sine wave rate is 440.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 128 to 131072
Period size range from 64 to 65536
Using max buffer size 131072
Periods = 4
was set period_size = 32768
was set buffer_size = 131072
0 - Front Left
1 - Front Right
Time per period = 2.758748


In moOde I've set it up as like so:


Code:
20221111 142201 worker: --
20221111 142201 worker: -- Start moOde 8 series
20221111 142201 worker: --
20221111 142201 worker: Successfully daemonized
20221111 142203 worker: File check (OK)
20221111 142204 worker: Session vacuumed
20221111 142204 worker: Session loaded
20221111 142204 worker: Debug logging (OFF)
20221111 142204 worker: --
20221111 142204 worker: -- Audio debug
20221111 142204 worker: --
20221111 142204 worker: ALSA cards: (0:sndrpihifiberry | 1:empty | 2:empty | 3:empty
20221111 142204 worker: MPD config: (0:HiFiBerry Digi(Digi+) | mixer:(none) | card:0)
20221111 142204 worker: ALSA mixer actual (none)
20221111 142204 worker: ALSA volume (none)
20221111 142204 worker: --
20221111 142204 worker: -- System
20221111 142204 worker: --
20221111 142205 worker: Host      (HifiBerry)
20221111 142205 worker: moOde     (8.2.2 2022-10-23)
20221111 142205 worker: RaspiOS   (11.5)
20221111 142205 worker: Kernel    (5.15.61-v8+ #1579)
20221111 142205 worker: Platform  (Pi-4B 1.5 2GB)
20221111 142205 worker: ARM arch  (aarch64, 64-bit)
20221111 142205 worker: MPD ver   (0.23.5)
20221111 142205 worker: CPU gov   (ondemand)
20221111 142205 worker: USB boot  (enabled)
20221111 142205 worker: File sys  (expanded)
20221111 142205 worker: HDMI port (On)
20221111 142205 worker: Sys LED0  (On)
20221111 142205 worker: Sys LED1  (On)
20221111 142205 worker: --
20221111 142205 worker: -- Network
20221111 142205 worker: --
20221111 142205 worker: eth0 adapter exists
20221111 142205 worker: eth0 check for address (No)
20221111 142205 worker: eth0 address not assigned
20221111 142205 worker: wlan0 adapter exists
20221111 142205 worker: wlan0 country (CA)
20221111 142205 worker: wlan0 trying configured SSID (Momo)
20221111 142205 worker: wlan0 check 0 for IP address
20221111 142207 worker: wlan0 check 1 for IP address
20221111 142209 worker: wlan0 check 2 for IP address
20221111 142211 worker: wlan0 connected SSID is (Momo)
20221111 142211 worker: IP addr (10.0.0.20)
20221111 142211 worker: Netmask (255.255.254.0)
20221111 142211 worker: Gateway (10.0.0.1)
20221111 142212 worker: Pri DNS (10.0.0.2)
20221111 142212 worker: Domain  (momo)
20221111 142212 worker: wlan0 power save disabled
20221111 142212 worker: apd0 router mode (Off)
20221111 142212 worker: --
20221111 142212 worker: -- Software update
20221111 142212 worker: --
20221111 142212 worker: Automatic check (Off)
20221111 142212 worker: --
20221111 142212 worker: -- Audio config
20221111 142212 worker: --
20221111 142212 worker: MPD conf updated
20221111 142212 worker: ALSA card number (0)
20221111 142212 worker: MPD audio output (HiFiBerry Digi(Digi+))
20221111 142212 worker: Audio formats (S16_LE, S24_LE)
20221111 142212 worker: ALSA mixer name (none)
20221111 142212 worker: MPD mixer type (software)
20221111 142212 worker: Hdwr volume controller not detected
20221111 142212 worker: ALSA output mode (Default: plughw)
20221111 142212 worker: ALSA loopback (Off)
20221111 142212 worker: Reset renderer active flags
20221111 142212 worker: CamillaDSP (off)
20221111 142212 worker: --
20221111 142212 worker: -- File sharing
20221111 142212 worker: --
20221111 142212 worker: SMB file sharing (Off)
20221111 142212 worker: NFS file sharing (Off)
20221111 142212 worker: --
20221111 142212 worker: -- MPD startup
20221111 142212 worker: --
20221111 142212 worker: MPD started
20221111 142212 worker: MPD accepting connections
20221111 142212 worker: MPD output 1 ALSA Default (On)
20221111 142212 worker: MPD output 2 ALSA Bluetooth (Off)
20221111 142212 worker: MPD output 3 HTTP Server (Off)
20221111 142212 worker: MPD crossfade (off)
20221111 142212 worker: MPD ignore CUE files (yes)
20221111 142212 worker: --
20221111 142212 worker: -- Music sources
20221111 142212 worker: --
20221111 142212 worker: USB sources
20221111 142212 worker: No drives found
20221111 142212 worker: NAS sources
20221111 142212 worker: None configured
20221111 142212 worker: --
20221111 142212 worker: -- Feature availability
20221111 142212 worker: --
20221111 142212 worker: Source select (available)
20221111 142212 worker: Source select (source: MPD)
20221111 142212 worker: Source select (output: HiFiBerry Digi(Digi+))
20221111 142213 worker: Bluetooth (available)
20221111 142213 worker: AirPlay renderer (available: started)
20221111 142213 worker: Spotify renderer (available: started)
20221111 142213 worker: Squeezelite (available)
20221111 142213 worker: RoonBridge renderer (not installed)
20221111 142213 worker: Multiroom sender (available)
20221111 142213 worker: Multiroom receiver (available)
20221111 142213 worker: UPnP renderer (available)
20221111 142213 worker: DLNA server (available)
20221111 142213 worker: GPIO button handler (available)
20221111 142213 worker: Stream recorder (n/a)
20221111 142213 worker: --
20221111 142213 worker: -- Other
20221111 142213 worker: --
20221111 142213 worker: USB volume knob (Off)
20221111 142213 worker: USB auto-mounter (udisks-glue)
20221111 142213 worker: Saved MPD vol level (0)
20221111 142213 worker: Preamp volume level (0)
20221111 142213 worker: MPD volume level (0) restored
20221111 142213 worker: ALSA volume level (None)
20221111 142213 worker: Auto-play (Off)
20221111 142213 worker: CoverView toggle (-off)
20221111 142213 worker: On-screen keyboard (Off)
20221111 142213 worker: Library scope (all)
20221111 142213 worker: Maintenance interval (360 minutes)
20221111 142213 worker: Screen saver activation (Never)
20221111 142213 worker: Session permissions (OK)
20221111 142213 worker: Mount monitor (Off)
20221111 142213 worker: Watchdog started
20221111 142213 worker: Ready


I can confirm that the stream works, as I get sound if I switch the device to the Headphone jack on the pi. But I'm not getting any sound at all out of the HifiBerry with the above settings. I've tried all 3 volume options (Software, Null, Fixed) as well as toggling the Output Mode to Direct. Nothing seems to work. 

Interestingly, speaker-test reports that the device is busy if I try to run it while playing the stream:

Code:
pi@HifiBerry:~ $ speaker-test

speaker-test 1.2.4

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy

Is there something I'm missing? Where do I go from here?
Reply
#2
Thats odd.

Turn off all the renderers: Airplay, etc
Set Volume type to Software
Reboot
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(11-11-2022, 09:38 PM)Tim Curtis Wrote: Thats odd.

Turn off all the renderers: Airplay, etc
Set Volume type to Software
Reboot

Turned off the renderers and set the Volume type to Software. Gave it a reboot (complete disconnect from power). 

No change, unfortunately. 

Code:
pi@HifiBerry:~ $ moodeutl -l
20221111 171108 worker: --
20221111 171109 worker: -- Start moOde 8 series
20221111 171109 worker: --
20221111 171109 worker: Successfully daemonized
20221111 171111 worker: File check (OK)
20221111 171111 worker: Session vacuumed
20221111 171111 worker: Session loaded
20221111 171111 worker: Debug logging (OFF)
20221111 171111 worker: --
20221111 171111 worker: -- Audio debug
20221111 171111 worker: --
20221111 171111 worker: ALSA cards: (0:sndrpihifiberry | 1:empty | 2:empty | 3:empty
20221111 171111 worker: MPD config: (0:HiFiBerry Digi(Digi+) | mixer:(none) | card:0)
20221111 171111 worker: ALSA mixer actual (none)
20221111 171111 worker: ALSA volume (none)
20221111 171111 worker: --
20221111 171111 worker: -- System
20221111 171111 worker: --
20221111 171113 worker: Host      (HifiBerry)
20221111 171113 worker: moOde     (8.2.2 2022-10-23)
20221111 171113 worker: RaspiOS   (11.5)
20221111 171113 worker: Kernel    (5.15.61-v8+ #1579)
20221111 171113 worker: Platform  (Pi-4B 1.5 2GB)
20221111 171113 worker: ARM arch  (aarch64, 64-bit)
20221111 171113 worker: MPD ver   (0.23.5)
20221111 171113 worker: CPU gov   (ondemand)
20221111 171113 worker: USB boot  (enabled)
20221111 171113 worker: File sys  (expanded)
20221111 171113 worker: HDMI port (On)
20221111 171113 worker: Sys LED0  (On)
20221111 171113 worker: Sys LED1  (On)
20221111 171113 worker: --
20221111 171113 worker: -- Network
20221111 171113 worker: --
20221111 171113 worker: eth0 adapter exists
20221111 171113 worker: eth0 check for address (No)
20221111 171113 worker: eth0 address not assigned
20221111 171113 worker: wlan0 adapter exists
20221111 171113 worker: wlan0 country (CA)
20221111 171113 worker: wlan0 trying configured SSID (Momo)
20221111 171113 worker: wlan0 check 0 for IP address
20221111 171115 worker: wlan0 check 1 for IP address
20221111 171117 worker: wlan0 check 2 for IP address
20221111 171119 worker: wlan0 connected SSID is (Momo)
20221111 171119 worker: IP addr (10.0.0.20)
20221111 171119 worker: Netmask (255.255.254.0)
20221111 171119 worker: Gateway (10.0.0.1)
20221111 171119 worker: Pri DNS (10.0.0.2)
20221111 171119 worker: Domain  (momo)
20221111 171119 worker: wlan0 power save disabled
20221111 171119 worker: apd0 router mode (Off)
20221111 171119 worker: --
20221111 171119 worker: -- Software update
20221111 171119 worker: --
20221111 171119 worker: Automatic check (Off)
20221111 171119 worker: --
20221111 171119 worker: -- Audio config
20221111 171119 worker: --
20221111 171120 worker: MPD conf updated
20221111 171120 worker: ALSA card number (0)
20221111 171120 worker: MPD audio output (HiFiBerry Digi(Digi+))
20221111 171120 worker: Audio formats (S16_LE, S24_LE)
20221111 171120 worker: ALSA mixer name (none)
20221111 171120 worker: MPD mixer type (software)
20221111 171120 worker: Hdwr volume controller not detected
20221111 171120 worker: ALSA output mode (Default: plughw)
20221111 171120 worker: ALSA loopback (Off)
20221111 171120 worker: Reset renderer active flags
20221111 171120 worker: CamillaDSP (off)
20221111 171120 worker: --
20221111 171120 worker: -- File sharing
20221111 171120 worker: --
20221111 171120 worker: SMB file sharing (Off)
20221111 171120 worker: NFS file sharing (Off)
20221111 171120 worker: --
20221111 171120 worker: -- MPD startup
20221111 171120 worker: --
20221111 171120 worker: MPD started
20221111 171120 worker: MPD accepting connections
20221111 171120 worker: MPD output 1 ALSA Default (On)
20221111 171120 worker: MPD output 2 ALSA Bluetooth (Off)
20221111 171120 worker: MPD output 3 HTTP Server (Off)
20221111 171120 worker: MPD crossfade (off)
20221111 171120 worker: MPD ignore CUE files (yes)
20221111 171120 worker: --
20221111 171120 worker: -- Music sources
20221111 171120 worker: --
20221111 171120 worker: USB sources
20221111 171120 worker: No drives found
20221111 171120 worker: NAS sources
20221111 171120 worker: None configured
20221111 171120 worker: --
20221111 171120 worker: -- Feature availability
20221111 171120 worker: --
20221111 171120 worker: Source select (available)
20221111 171120 worker: Source select (source: MPD)
20221111 171120 worker: Source select (output: HiFiBerry Digi(Digi+))
20221111 171120 worker: Bluetooth (available)
20221111 171120 worker: AirPlay renderer (available)
20221111 171120 worker: Spotify renderer (available)
20221111 171120 worker: Squeezelite (available)
20221111 171120 worker: RoonBridge renderer (not installed)
20221111 171120 worker: Multiroom sender (available)
20221111 171120 worker: Multiroom receiver (available)
20221111 171120 worker: UPnP renderer (available)
20221111 171120 worker: DLNA server (available)
20221111 171120 worker: GPIO button handler (available)
20221111 171120 worker: Stream recorder (n/a)
20221111 171120 worker: --
20221111 171120 worker: -- Other
20221111 171120 worker: --
20221111 171120 worker: USB volume knob (Off)
20221111 171120 worker: USB auto-mounter (udisks-glue)
20221111 171120 worker: Saved MPD vol level (0)
20221111 171120 worker: Preamp volume level (0)
20221111 171120 worker: MPD volume level (0) restored
20221111 171120 worker: ALSA volume level (None)
20221111 171120 worker: Auto-play (Off)
20221111 171120 worker: CoverView toggle (-off)
20221111 171120 worker: On-screen keyboard (Off)
20221111 171120 worker: Library scope (all)
20221111 171120 worker: Maintenance interval (360 minutes)
20221111 171120 worker: Screen saver activation (Never)
20221111 171120 worker: Session permissions (OK)
20221111 171120 worker: Mount monitor (Off)
20221111 171120 worker: Watchdog started
20221111 171120 worker: Ready


Are there other logs I can look at to see what may be going on?
Reply
#4
You could try turning on verbose logging in MPD config and then check the log for any errors or warnings.

Code:
cat /var/log/mpd/log

moodeutl --mpdlog

I don't have one of those boards to test but I think there are other users that have S/PDIF boards, maybe even the same one.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
I have a Digi=pro
here are the outputs (I have loopback on for a couple of oled displays but otherwise setup seems to be the same as yours)

Code:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_digi], device 0: HiFiBerry Digi+ Pro HiFi wm8804-spdif-0 [HiFiBerry Digi+ Pro HiFi wm8804-spdif-0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
 Subdevices: 8/8
 Subdevice #0: subdevice #0
 Subdevice #1: subdevice #1
 Subdevice #2: subdevice #2
 Subdevice #3: subdevice #3
 Subdevice #4: subdevice #4
 Subdevice #5: subdevice #5
 Subdevice #6: subdevice #6
 Subdevice #7: subdevice #7
card 1: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
 Subdevices: 8/8
 Subdevice #0: subdevice #0
 Subdevice #1: subdevice #1
 Subdevice #2: subdevice #2
 Subdevice #3: subdevice #3
 Subdevice #4: subdevice #4
 Subdevice #5: subdevice #5
 Subdevice #6: subdevice #6
 Subdevice #7: subdevice #7
Code:
speaker-test 1.2.4

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Sine wave rate is 440.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 128 to 131072
Period size range from 64 to 65536
Using max buffer size 131072
Periods = 4
was set period_size = 32768
was set buffer_size = 131072
0 - Front Left
1 - Front Right
Time per period = 2.759952
Code:
moodeutl -l
20221105 192241 worker: --
20221105 192242 worker: -- Start moOde 8 series
20221105 192242 worker: --
20221105 192242 worker: Successfully daemonized
20221105 192249 worker: File check (OK)
20221105 192250 worker: Session vacuumed
20221105 192250 worker: Session loaded
20221105 192250 worker: Debug logging (OFF)
20221105 192250 worker: --
20221105 192250 worker: -- Audio debug
20221105 192250 worker: --
20221105 192250 worker: ALSA cards: (0:sndrpihifiberry | 1:empty | 2:empty | 3:empty
20221105 192250 worker: MPD config: (0:HiFiBerry Digi+ Pro | mixer:(none) | card:0)
20221105 192250 worker: ALSA mixer actual (none)
20221105 192250 worker: ALSA volume (none)
20221105 192250 worker: --
20221105 192250 worker: -- System
20221105 192250 worker: --
20221105 192253 worker: Host      (moode)
20221105 192253 worker: moOde     (8.2.2 2022-10-23)
20221105 192253 worker: RaspiOS   (11.5)
20221105 192253 worker: Kernel    (5.15.61-v8+ #1579)
20221105 192253 worker: Platform  (Pi-3B 1.2 1GB)
20221105 192253 worker: ARM arch  (aarch64, 64-bit)
20221105 192253 worker: MPD ver   (0.23.5)
20221105 192253 worker: CPU gov   (performance)
20221105 192254 worker: USB boot  (enabled)
20221105 192254 worker: File sys  (expanded)
20221105 192254 worker: HDMI port (Off)
20221105 192254 worker: Sys LED0  (On)
20221105 192254 worker: Sys LED1  (On)
20221105 192254 worker: --
20221105 192254 worker: -- Network
20221105 192254 worker: --
20221105 192255 worker: eth0 adapter exists
20221105 192255 worker: eth0 check for address (No)
20221105 192255 worker: IP addr (192.168.xxx.xxx)
20221105 192255 worker: Netmask (255.255.255.0)
20221105 192255 worker: Gateway (192.168.xxx.x)
20221105 192255 worker: Pri DNS (192.168.xxx.x)
20221105 192255 worker: Domain  (fritz.box)
20221105 192255 worker: wlan0 adapter does not exist
20221105 192255 worker: apd0 router mode (Off)
20221105 192255 worker: --
20221105 192255 worker: -- Software update
20221105 192255 worker: --
20221105 192255 worker: Automatic check (Off)
20221105 192255 worker: --
20221105 192255 worker: -- Audio config
20221105 192255 worker: --
20221105 192256 worker: MPD conf updated
20221105 192256 worker: ALSA card number (0)
20221105 192256 worker: MPD audio output (HiFiBerry Digi+ Pro)
20221105 192256 worker: Audio formats (S16_LE, S24_LE)
20221105 192256 worker: ALSA mixer name (none)
20221105 192256 worker: MPD mixer type (fixed 0dB)
20221105 192257 worker: Hdwr volume controller not detected
20221105 192257 worker: ALSA output mode (Default: plughw)
20221105 192257 worker: ALSA loopback (On)
20221105 192257 worker: Reset renderer active flags
20221105 192257 worker: CamillaDSP (off)
20221105 192257 worker: --
20221105 192257 worker: -- File sharing
20221105 192257 worker: --
20221105 192257 worker: SMB file sharing (Off)
20221105 192257 worker: NFS file sharing (Off)
20221105 192257 worker: --
20221105 192257 worker: -- MPD startup
20221105 192257 worker: --
20221105 192258 worker: MPD started
20221105 192258 worker: MPD accepting connections
20221105 192258 worker: MPD output 1 ALSA Default (On)
20221105 192258 worker: MPD output 2 ALSA Bluetooth (Off)
20221105 192258 worker: MPD output 3 HTTP Server (Off)
20221105 192258 worker: MPD crossfade (off)
20221105 192258 worker: MPD ignore CUE files (yes)
20221105 192258 worker: --
20221105 192258 worker: -- Music sources
20221105 192258 worker: --
20221105 192258 worker: USB sources
20221105 192258 worker: No drives found
20221105 192258 worker: NAS sources
20221105 192258 worker: omv620
20221105 192313 worker: Try (mount -t cifs
20221105 192313 worker: Err (mount error(113): could not connect to  to find suitable address.)
20221105 192314 worker: Mount all submitted
20221105 192314 worker: --
20221105 192314 worker: -- Feature availability
20221105 192314 worker: --
20221105 192314 worker: Source select (available)
20221105 192314 worker: Source select (source: MPD)
20221105 192314 worker: Source select (output: HiFiBerry Digi+ Pro)
20221105 192314 worker: Bluetooth (available)
20221105 192314 worker: AirPlay renderer (available)
20221105 192314 worker: Spotify renderer (available)
20221105 192314 worker: Squeezelite (available)
20221105 192314 worker: RoonBridge renderer (not installed)
20221105 192314 worker: Multiroom sender (available)
20221105 192314 worker: Multiroom receiver (available)
20221105 192314 worker: UPnP renderer (available)
20221105 192314 worker: DLNA server (available)
20221105 192314 worker: GPIO button handler (available)
20221105 192314 worker: Stream recorder (n/a)
20221105 192314 worker: --
20221105 192314 worker: -- Other
20221105 192314 worker: --
20221105 192314 worker: USB volume knob (Off)
20221105 192314 worker: USB auto-mounter (udisks-glue)
20221105 192314 worker: Saved MPD vol level (0)
20221105 192314 worker: Preamp volume level (0)
20221105 192314 worker: MPD volume level (0) restored
20221105 192314 worker: ALSA volume level (None)
20221105 192314 worker: Auto-play (Off)
20221105 192314 worker: CoverView toggle (-off)
20221105 192314 worker: On-screen keyboard (Off)
20221105 192314 worker: Library scope (all)
20221105 192314 worker: Maintenance interval (360 minutes)
20221105 192314 worker: Screen saver activation (Never)
20221105 192315 worker: Session permissions (OK)
20221105 192315 worker: Mount monitor (Off)
20221105 192316 worker: Watchdog started
20221105 192316 worker: Ready
The only thing I note is that I have HDMI toggled off. May be worth trying ?
----------
bob
Reply
#6
Also check for an empty config.txt

Code:
cat /boot/config.txt
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#7
Hi guys,
I'm trying to find a Post the explain how to make the Aux work with a Cm4 nano b?

Thank you for your time
Reply
#8
(11-12-2022, 10:41 PM)Fabien32 Wrote: Hi guys,
I'm trying to find a Post the explain how to make the Aux work with a Cm4 nano b?

Thank you for your time

Please create a new Thread for your post. This thread is about a different topic.

ETA: Nvm I see the new post.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#9
Sorry for the late reply to this issue, just getting a chance to sit down on this again now.

(11-11-2022, 10:49 PM)Tim Curtis Wrote: You could try turning on verbose logging in MPD config and then check the log for any errors or warnings.

Code:
cat /var/log/mpd/log

moodeutl --mpdlog

I don't have one of those boards to test but I think there are other users that have S/PDIF boards, maybe even the same one.

I'm not seeing anything glaringly wrong in the verbose logs, but I'm not entirely sure what to look for: 

Code:
Nov 17 15:21 : player: played "http://kdhx-ice.streamguys1.com:80/live"
Nov 17 15:21 : output: closed "ALSA Default" (alsa)
Nov 17 15:21 : client: [33] command returned 0
Nov 17 15:21 : client: [33] process command "close"
Nov 17 15:21 : client: [33] command returned 4
Nov 17 15:21 : client: [33] closed
Nov 17 15:21 : client: [31] process command "status"
Nov 17 15:21 : client: [31] command returned 0
Nov 17 15:21 : client: [31] process command "currentsong"
Nov 17 15:21 : client: [31] command returned 0
Nov 17 15:21 : client: [31] process command "close"
Nov 17 15:21 : client: [31] command returned 4
Nov 17 15:21 : client: [31] closed
Nov 17 15:21 : client: [34] opened from 127.0.0.1:36332
Nov 17 15:21 : client: [34] process command "status"
Nov 17 15:21 : client: [34] command returned 0
Nov 17 15:21 : client: [34] process command "idle"
Nov 17 15:21 : client: [34] command returned 1
Nov 17 15:21 : client: [35] opened from 127.0.0.1:36344
Nov 17 15:21 : client: [35] process command "playlistinfo"
Nov 17 15:21 : client: [35] command returned 0
Nov 17 15:21 : client: [35] process command "close"
Nov 17 15:21 : client: [35] command returned 4
Nov 17 15:21 : client: [35] closed
Nov 17 15:23 : client: [36] opened from 127.0.0.1:34392
Nov 17 15:23 : client: [36] process command "subscribe dumy_channel"
Nov 17 15:23 : client: [36] command returned 0
Nov 17 15:23 : client: [36] process command "close"
Nov 17 15:23 : client: [36] command returned 4
Nov 17 15:23 : client: [36] closed
Nov 17 15:23 : client: [34] process command "status"
Nov 17 15:23 : client: [34] command returned 0
Nov 17 15:23 : client: [34] process command "currentsong"
Nov 17 15:23 : client: [34] command returned 0
Nov 17 15:23 : client: [34] process command "close"
Nov 17 15:23 : client: [34] command returned 4
Nov 17 15:23 : client: [34] closed
Nov 17 15:23 : client: [37] opened from 127.0.0.1:34400
Nov 17 15:23 : client: [37] process command "status"
Nov 17 15:23 : client: [37] command returned 0
Nov 17 15:23 : client: [37] process command "idle"
Nov 17 15:23 : client: [37] command returned 1
Nov 17 15:23 : client: [38] opened from 127.0.0.1:34416
Nov 17 15:23 : client: [38] process command "playlistinfo"
Nov 17 15:23 : client: [38] command returned 0
Nov 17 15:23 : client: [38] process command "close"
Nov 17 15:23 : client: [38] command returned 4
Nov 17 15:23 : client: [38] closed
Nov 17 15:23 : client: [39] opened from 127.0.0.1:43846
Nov 17 15:23 : client: [39] process command "status"
Nov 17 15:23 : client: [39] command returned 0
Nov 17 15:23 : client: [39] process command "currentsong"
Nov 17 15:23 : client: [39] command returned 0
Nov 17 15:23 : client: [39] process command "close"
Nov 17 15:23 : client: [39] command returned 4
Nov 17 15:23 : client: [39] closed
Nov 17 15:23 : client: [40] opened from 127.0.0.1:43852
Nov 17 15:23 : client: [40] process command "status"
Nov 17 15:23 : client: [40] command returned 0
Nov 17 15:23 : client: [40] process command "idle"
Nov 17 15:23 : client: [40] command returned 1
Nov 17 15:23 : client: [41] opened from 127.0.0.1:54648
Nov 17 15:23 : client: [41] process command "close"
Nov 17 15:23 : client: [41] command returned 4
Nov 17 15:23 : client: [41] closed
Nov 17 15:23 : client: [42] opened from 127.0.0.1:54654
Nov 17 15:23 : client: [42] process command "lsinfo"
Nov 17 15:23 : client: [42] command returned 0
Nov 17 15:23 : client: [42] process command "close"
Nov 17 15:23 : client: [42] command returned 4
Nov 17 15:23 : client: [42] closed
Nov 17 15:23 : client: [43] opened from 127.0.0.1:54656
Nov 17 15:23 : client: [43] process command "status"
Nov 17 15:23 : client: [43] command returned 0
Nov 17 15:23 : client: [43] process command "currentsong"
Nov 17 15:23 : client: [43] command returned 0
Nov 17 15:23 : client: [43] process command "close"
Nov 17 15:23 : client: [43] command returned 4
Nov 17 15:23 : client: [43] closed
Nov 17 15:23 : client: [44] opened from 127.0.0.1:54662
Nov 17 15:23 : client: [44] process command "status"
Nov 17 15:23 : client: [44] command returned 0
Nov 17 15:23 : client: [44] process command "idle"
Nov 17 15:23 : client: [44] command returned 1
Nov 17 15:23 : client: [45] opened from 127.0.0.1:54664
Nov 17 15:23 : client: [45] process command "playlistinfo"
Nov 17 15:23 : client: [45] command returned 0
Nov 17 15:23 : client: [45] process command "close"
Nov 17 15:23 : client: [45] command returned 4
Nov 17 15:23 : client: [45] closed
Nov 17 15:23 : client: [46] opened from 127.0.0.1:54666
Nov 17 15:23 : client: [46] process command "play"
Nov 17 15:23 : playlist: play 1:"http://kdhx-ice.streamguys1.com:80/live"
Nov 17 15:23 : client: [46] command returned 0
Nov 17 15:23 : playlist: queue song 2:"http://eno.emit.com:8000/2bob_live_64.mp3"
Nov 17 15:23 : client: [46] process command "close"
Nov 17 15:23 : client: [46] command returned 4
Nov 17 15:23 : client: [46] closed
Nov 17 15:23 : curl: icy-metaint=16000
Nov 17 15:23 : decoder_thread: probing plugin mad
Nov 17 15:23 : decoder: audio_format=44100:24:2, seekable=false
Nov 17 15:23 : client: [44] process command "status"
Nov 17 15:23 : alsa_output: opened _audioout type=COPY
Nov 17 15:23 : alsa_output: buffer: size=64..65536 time=1451..1486078
Nov 17 15:23 : alsa_output: period: size=32..32768 time=725..743039
Nov 17 15:23 : alsa_output: default period_time = buffer_time/4 = 500000/4 = 125000
Nov 17 15:23 : alsa_output: format=S24_LE (Signed 24 bit Little Endian)
Nov 17 15:23 : alsa_output: buffer_size=22050 period_size=4410
Nov 17 15:23 : output: opened "ALSA Default" (alsa) audio_format=44100:24:2
Nov 17 15:23 : client: [44] command returned 0
Nov 17 15:23 : client: [37] process command "status"
Nov 17 15:23 : client: [37] command returned 0
Nov 17 15:23 : client: [40] process command "status"
Nov 17 15:23 : client: [40] command returned 0
Nov 17 15:23 : client: [37] process command "currentsong"
Nov 17 15:23 : client: [37] command returned 0
Nov 17 15:23 : client: [44] process command "currentsong"
Nov 17 15:23 : client: [44] command returned 0
Nov 17 15:23 : client: [40] process command "currentsong"
Nov 17 15:23 : client: [40] command returned 0
Nov 17 15:23 : client: [40] process command "close"
Nov 17 15:23 : client: [40] command returned 4
Nov 17 15:23 : client: [40] closed
Nov 17 15:23 : client: [44] process command "close"
Nov 17 15:23 : client: [44] command returned 4
Nov 17 15:23 : client: [44] closed
Nov 17 15:23 : client: [37] process command "close"
Nov 17 15:23 : client: [37] command returned 4
Nov 17 15:23 : client: [37] closed
Nov 17 15:23 : client: [47] opened from 127.0.0.1:54670
Nov 17 15:23 : client: [47] process command "status"
Nov 17 15:23 : client: [47] command returned 0
Nov 17 15:23 : client: [47] process command "idle"
Nov 17 15:23 : client: [47] command returned 1
Nov 17 15:23 : client: [48] opened from 127.0.0.1:54686
Nov 17 15:23 : client: [48] process command "playlistinfo"
Nov 17 15:23 : client: [48] command returned 0
Nov 17 15:23 : client: [48] process command "close"
Nov 17 15:23 : client: [48] command returned 4
Nov 17 15:23 : client: [48] closed
Nov 17 15:23 : client: [47] process command "status"
Nov 17 15:23 : client: [47] command returned 0
Nov 17 15:23 : client: [47] process command "currentsong"
Nov 17 15:23 : client: [47] command returned 0
Nov 17 15:23 : client: [47] process command "close"
Nov 17 15:23 : client: [47] command returned 4
Nov 17 15:23 : client: [47] closed
Nov 17 15:23 : client: [49] opened from 127.0.0.1:54700
Nov 17 15:23 : client: [49] process command "status"
Nov 17 15:23 : client: [49] command returned 0
Nov 17 15:23 : client: [49] process command "idle"
Nov 17 15:23 : client: [49] command returned 1
Nov 17 15:23 : client: [50] opened from 127.0.0.1:54706
Nov 17 15:23 : client: [50] process command "playlistinfo"
Nov 17 15:23 : client: [50] command returned 0
Nov 17 15:23 : client: [50] process command "close"
Nov 17 15:23 : client: [50] command returned 4
Nov 17 15:23 : client: [50] closed
Nov 17 15:23 : client: [51] opened from 127.0.0.1:44528
Nov 17 15:23 : client: [51] process command "stop"
Nov 17 15:23 : playlist: stop
Nov 17 15:23 : player: played "http://kdhx-ice.streamguys1.com:80/live"
Nov 17 15:23 : output: closed "ALSA Default" (alsa)
Nov 17 15:23 : client: [51] command returned 0
Nov 17 15:23 : client: [51] process command "close"
Nov 17 15:23 : client: [51] command returned 4
Nov 17 15:23 : client: [51] closed
Nov 17 15:23 : client: [49] process command "status"
Nov 17 15:23 : client: [49] command returned 0
Nov 17 15:23 : client: [49] process command "currentsong"
Nov 17 15:23 : client: [49] command returned 0
Nov 17 15:23 : client: [49] process command "close"
Nov 17 15:23 : client: [49] command returned 4
Nov 17 15:23 : client: [49] closed
Nov 17 15:23 : client: [52] opened from 127.0.0.1:44536
Nov 17 15:23 : client: [52] process command "status"
Nov 17 15:23 : client: [52] command returned 0
Nov 17 15:23 : client: [52] process command "idle"
Nov 17 15:23 : client: [52] command returned 1
Nov 17 15:23 : client: [53] opened from 127.0.0.1:44542
Nov 17 15:23 : client: [53] process command "playlistinfo"
Nov 17 15:23 : client: [53] command returned 0
Nov 17 15:23 : client: [53] process command "close"
Nov 17 15:23 : client: [53] command returned 4
Nov 17 15:23 : client: [53] closed
Nov 17 15:23 : state_file: Saving state file /var/lib/mpd/state


(11-11-2022, 10:53 PM)DRONE7 Wrote: I have a Digi=pro
here are the outputs (I have loopback on for a couple of oled displays but otherwise setup seems to be the same as yours)

Code:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_digi], device 0: HiFiBerry Digi+ Pro HiFi wm8804-spdif-0 [HiFiBerry Digi+ Pro HiFi wm8804-spdif-0]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
 Subdevices: 8/8
 Subdevice #0: subdevice #0
 Subdevice #1: subdevice #1
 Subdevice #2: subdevice #2
 Subdevice #3: subdevice #3
 Subdevice #4: subdevice #4
 Subdevice #5: subdevice #5
 Subdevice #6: subdevice #6
 Subdevice #7: subdevice #7
card 1: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
 Subdevices: 8/8
 Subdevice #0: subdevice #0
 Subdevice #1: subdevice #1
 Subdevice #2: subdevice #2
 Subdevice #3: subdevice #3
 Subdevice #4: subdevice #4
 Subdevice #5: subdevice #5
 Subdevice #6: subdevice #6
 Subdevice #7: subdevice #7
Code:
speaker-test 1.2.4

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Sine wave rate is 440.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 128 to 131072
Period size range from 64 to 65536
Using max buffer size 131072
Periods = 4
was set period_size = 32768
was set buffer_size = 131072
0 - Front Left
1 - Front Right
Time per period = 2.759952
Code:
moodeutl -l
20221105 192241 worker: --
20221105 192242 worker: -- Start moOde 8 series
20221105 192242 worker: --
20221105 192242 worker: Successfully daemonized
20221105 192249 worker: File check (OK)
20221105 192250 worker: Session vacuumed
20221105 192250 worker: Session loaded
20221105 192250 worker: Debug logging (OFF)
20221105 192250 worker: --
20221105 192250 worker: -- Audio debug
20221105 192250 worker: --
20221105 192250 worker: ALSA cards: (0:sndrpihifiberry | 1:empty | 2:empty | 3:empty
20221105 192250 worker: MPD config: (0:HiFiBerry Digi+ Pro | mixer:(none) | card:0)
20221105 192250 worker: ALSA mixer actual (none)
20221105 192250 worker: ALSA volume (none)
20221105 192250 worker: --
20221105 192250 worker: -- System
20221105 192250 worker: --
20221105 192253 worker: Host      (moode)
20221105 192253 worker: moOde     (8.2.2 2022-10-23)
20221105 192253 worker: RaspiOS   (11.5)
20221105 192253 worker: Kernel    (5.15.61-v8+ #1579)
20221105 192253 worker: Platform  (Pi-3B 1.2 1GB)
20221105 192253 worker: ARM arch  (aarch64, 64-bit)
20221105 192253 worker: MPD ver   (0.23.5)
20221105 192253 worker: CPU gov   (performance)
20221105 192254 worker: USB boot  (enabled)
20221105 192254 worker: File sys  (expanded)
20221105 192254 worker: HDMI port (Off)
20221105 192254 worker: Sys LED0  (On)
20221105 192254 worker: Sys LED1  (On)
20221105 192254 worker: --
20221105 192254 worker: -- Network
20221105 192254 worker: --
20221105 192255 worker: eth0 adapter exists
20221105 192255 worker: eth0 check for address (No)
20221105 192255 worker: IP addr (192.168.xxx.xxx)
20221105 192255 worker: Netmask (255.255.255.0)
20221105 192255 worker: Gateway (192.168.xxx.x)
20221105 192255 worker: Pri DNS (192.168.xxx.x)
20221105 192255 worker: Domain  (fritz.box)
20221105 192255 worker: wlan0 adapter does not exist
20221105 192255 worker: apd0 router mode (Off)
20221105 192255 worker: --
20221105 192255 worker: -- Software update
20221105 192255 worker: --
20221105 192255 worker: Automatic check (Off)
20221105 192255 worker: --
20221105 192255 worker: -- Audio config
20221105 192255 worker: --
20221105 192256 worker: MPD conf updated
20221105 192256 worker: ALSA card number (0)
20221105 192256 worker: MPD audio output (HiFiBerry Digi+ Pro)
20221105 192256 worker: Audio formats (S16_LE, S24_LE)
20221105 192256 worker: ALSA mixer name (none)
20221105 192256 worker: MPD mixer type (fixed 0dB)
20221105 192257 worker: Hdwr volume controller not detected
20221105 192257 worker: ALSA output mode (Default: plughw)
20221105 192257 worker: ALSA loopback (On)
20221105 192257 worker: Reset renderer active flags
20221105 192257 worker: CamillaDSP (off)
20221105 192257 worker: --
20221105 192257 worker: -- File sharing
20221105 192257 worker: --
20221105 192257 worker: SMB file sharing (Off)
20221105 192257 worker: NFS file sharing (Off)
20221105 192257 worker: --
20221105 192257 worker: -- MPD startup
20221105 192257 worker: --
20221105 192258 worker: MPD started
20221105 192258 worker: MPD accepting connections
20221105 192258 worker: MPD output 1 ALSA Default (On)
20221105 192258 worker: MPD output 2 ALSA Bluetooth (Off)
20221105 192258 worker: MPD output 3 HTTP Server (Off)
20221105 192258 worker: MPD crossfade (off)
20221105 192258 worker: MPD ignore CUE files (yes)
20221105 192258 worker: --
20221105 192258 worker: -- Music sources
20221105 192258 worker: --
20221105 192258 worker: USB sources
20221105 192258 worker: No drives found
20221105 192258 worker: NAS sources
20221105 192258 worker: omv620
20221105 192313 worker: Try (mount -t cifs
20221105 192313 worker: Err (mount error(113): could not connect to  to find suitable address.)
20221105 192314 worker: Mount all submitted
20221105 192314 worker: --
20221105 192314 worker: -- Feature availability
20221105 192314 worker: --
20221105 192314 worker: Source select (available)
20221105 192314 worker: Source select (source: MPD)
20221105 192314 worker: Source select (output: HiFiBerry Digi+ Pro)
20221105 192314 worker: Bluetooth (available)
20221105 192314 worker: AirPlay renderer (available)
20221105 192314 worker: Spotify renderer (available)
20221105 192314 worker: Squeezelite (available)
20221105 192314 worker: RoonBridge renderer (not installed)
20221105 192314 worker: Multiroom sender (available)
20221105 192314 worker: Multiroom receiver (available)
20221105 192314 worker: UPnP renderer (available)
20221105 192314 worker: DLNA server (available)
20221105 192314 worker: GPIO button handler (available)
20221105 192314 worker: Stream recorder (n/a)
20221105 192314 worker: --
20221105 192314 worker: -- Other
20221105 192314 worker: --
20221105 192314 worker: USB volume knob (Off)
20221105 192314 worker: USB auto-mounter (udisks-glue)
20221105 192314 worker: Saved MPD vol level (0)
20221105 192314 worker: Preamp volume level (0)
20221105 192314 worker: MPD volume level (0) restored
20221105 192314 worker: ALSA volume level (None)
20221105 192314 worker: Auto-play (Off)
20221105 192314 worker: CoverView toggle (-off)
20221105 192314 worker: On-screen keyboard (Off)
20221105 192314 worker: Library scope (all)
20221105 192314 worker: Maintenance interval (360 minutes)
20221105 192314 worker: Screen saver activation (Never)
20221105 192315 worker: Session permissions (OK)
20221105 192315 worker: Mount monitor (Off)
20221105 192316 worker: Watchdog started
20221105 192316 worker: Ready
The only thing I note is that I have HDMI toggled off. May be worth trying ?

I tried to toggle the HDMI off in the moOde GUI, but no change. Still no audio out. 

(11-11-2022, 10:53 PM)Tim Curtis Wrote: Also check for an empty config.txt

Code:
cat /boot/config.txt

config.txt is not empty. These are the contents: 
Code:
pi@HifiBerry:~ $ cat /boot/config.txt
[cm4]
otg_mode=1

[pi4]
hdmi_force_hotplug:0=1
hdmi_force_hotplug:1=1

[all]
disable_splash=1
disable_overscan=1
hdmi_drive=2
hdmi_blanking=1
hdmi_force_edid_audio=1
hdmi_force_hotplug=1
hdmi_group=0
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=audio=off
dtoverlay=hifiberry-digi
force_eeprom_read=0
#dtoverlay=disable-wifi
#dtoverlay=disable-bt


I'm really not sure where to go from here. I can still get clear audio from speaker-test, but nothing from moOde seems to work at all.
Reply
#10
Login via ssh and run
alsamixer
What does it show as the 'default' card ?
And try
aplay -l
post the output.
----------
bob
Reply


Forum Jump: