Thank you for your donation!


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


Solved: Moode 6.2.1 + RPI 2B + Hifiberry DAC+ doesn't work
#1
Hi,

I'm from PiMusicbox and want to give Moode a try.
I installed Moode 6.2.1 on my RaspberryPI 2B attached with Hifiberry DAC+.
So far as i see, the config is ok but i'm not able to get any sound from the unit.



Code:
cat /boot/config.txt
disable_splash=1
disable_overscan=1
hdmi_drive=2
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=audio=off
avoid_safe_mode=1
dtoverlay=hifiberry-dacplus
#dtoverlay=pi3-disable-wifi
#dtoverlay=pi3-disable-bt

Does anyone have an idea howto get it working?

thx:-)
Reply
#2
Post contents of moode log

moodeutl -l
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(09-28-2019, 08:05 PM)Tim Curtis Wrote: Post contents of moode log

moodeutl -l

Here is the log

Code:
20190928 212207 worker: - Start
20190928 212208 worker: Successfully daemonized
20190928 212208 worker: Integrity check (passed)
20190928 212208 worker: Session loaded
20190928 212208 worker: Debug logging (off)
20190928 212209 worker: ALSA volume set to (0%)
20190928 212209 worker: - Platform
20190928 212212 worker: Rel  (Moode 6.2.0 2019-09-05)
20190928 212212 worker: Rasp (10.0)
20190928 212212 worker: Kern (4.14.98-v7+)
20190928 212212 worker: MPD  (0.20.23)
20190928 212212 worker: Host (moode)
20190928 212212 worker: Hdwr (Pi-2B 1GB v1.1)
20190928 212212 worker: Arch (armv7l)
20190928 212212 worker: Gov  (ondemand)
20190928 212212 worker: USB boot not available
20190928 212213 worker: File system not expanded yet
20190928 212213 worker: HDMI port off
20190928 212214 worker: File check (OK)
20190928 212214 worker: - Network
20190928 212214 worker: eth0 exists
20190928 212214 worker: eth0 (192.168.178.143)
20190928 212214 worker: wlan0 does not exist
20190928 212214 worker: - Audio
20190928 212215 worker: ALSA outputs unmuted
20190928 212215 worker: ALSA card number (0)
20190928 212215 worker: Audio output (I2S audio device)
20190928 212215 worker: Audio device (HiFiBerry DAC+)
20190928 212215 worker: ALSA mixer name (Digital)
20190928 212215 worker: MPD volume control (software)
20190928 212215 worker: Hdwr volume controller exists
20190928 212215 worker: - Services
20190928 212215 worker: Reset renderer active state
20190928 212216 worker: MPD conf updated
20190928 212216 worker: MPD started
20190928 212217 worker: MPD accepting connections
20190928 212217 worker: Configure MPD outputs
20190928 212217 worker: MPD output 1 ALSA default (on)
20190928 212217 worker: MPD output 2 ALSA crossfeed (off)
20190928 212217 worker: MPD output 3 ALSA parametric eq (off)
20190928 212217 worker: MPD output 4 ALSA graphic eq (off)
20190928 212217 worker: MPD output 5 ALSA polarity inversion (off)
20190928 212217 worker: MPD output 6 ALSA bluetooth (off)
20190928 212217 worker: MPD output 7 HTTP stream (off)
20190928 212217 worker: MPD crossfade (off)
20190928 212217 worker: Audio source (Local)
20190928 212217 worker: Output device (Local)
20190928 212217 worker: Airplay receiver started
20190928 212218 worker: UPnP renderer started
20190928 212218 worker: USB auto-mounter (udisks-glue)
20190928 212218 worker: - Music sources
20190928 212218 worker: USB sources (none attached)
20190928 212218 worker: NAS and UPnP sources (none configured)
20190928 212218 worker: - Miscellaneous
20190928 212218 worker: Saved MPD vol level (0)
20190928 212218 worker: Preamp volume level (0)
20190928 212218 worker: MPD volume level (87) restored
20190928 212218 worker: ALSA volume level (100%)
20190928 212218 worker: Auto-play (Off)
20190928 212218 worker: Maintenance interval (6 hrs)
20190928 212218 worker: Screen saver activation (Never)
20190928 212218 worker: Session permissions (OK)
20190928 212218 worker: Watchdog started
20190928 212218 worker: Ready

Thank you for your light speed response;-)
Reply
#4
(09-28-2019, 08:17 PM)Streamer Wrote: Hi Tim,

forget the log i posted above. The log is from a well working system right now.
I found an older thread here http://moodeaudio.org/forum/showthread.php?tid=1395
and i have applied your workaround below
Code:
echo "y" | sudo PRUNE_MODULES=1 rpi-update a08ece3d48c3c40bf1b501772af9933249c11c5b

# cleanup
sudo rm -rf /lib/modules.bak
sudo rm -rf /boot.bak
sudo apt-get clean

sudo reboot

As you see, it works but with older kernel module.
Reply
#5
Streaming from my PC with Foobar2000 via Moode UPNP is working well now. Yes, that what i want because i have some issues with UPNP when i use Foobar2000 and PiMusicbox. For now i can live with the workaround above. But i think we should keep this issue in mind why it doesn't work with current kernel module? May be it can be solved in newer release.

Thank you for your help!
Reply
#6
(09-28-2019, 07:56 PM)Streamer Wrote: Hi,

I'm from PiMusicbox and want to give Moode a try.
I installed Moode 6.2.1 on my RaspberryPI 2B attached with Hifiberry DAC+.
So far as i see, the config is ok but i'm not able to get any sound from the unit.



Code:
cat /boot/config.txt
disable_splash=1
disable_overscan=1
hdmi_drive=2
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=audio=off
avoid_safe_mode=1
dtoverlay=hifiberry-dacplus
#dtoverlay=pi3-disable-wifi
#dtoverlay=pi3-disable-bt

Does anyone have an idea howto get it working?

thx:-)

This line in your config.txt is not part of stock moOde. Possibly other modifications to stock are causing your issue?

avoid_safe_mode=1
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#7
Thumbs Up 
Hi Tim,


you are right with the line "avoid_safe_mode=1" I added into the boot/config.txt file and I forgot to mention it, sorry.

I use the RPI builtin in a Hifi diy-amp. The RPI is able to be  waked up from the shutdown state by shorting GPIO3 via a hard button.
In prior firmware versions, i always needed the entry "avoid_safe_mode=1" in boot/config.txt to avoid the RPI is booting into recovery mode. It seems to be the entry "avoid_safe_mode=1" is removed from current firmware and it has an unwanted impact on evaluating the subsequently entry "dtoverlay=hifiberry-dacplus".

By now, I installed new image without the line "avoid_safe_mode=1", all is well working as expected Smile

Thousand thanks!

Son
Reply


Forum Jump: