Thank you for your donation!


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


Problem: MPD Error starting Moode (ALSA equal)
#21
(03-26-2019, 07:01 PM)Tim Curtis Wrote: I ran a quick test with a Pi-2B and HiFiBerry DAC+ board and no issues.

1. Audio Config, set I2S audio device = HiFiBerry DAC+, SET
2. Reboot
3. MPD Config, verify Device type = "I2S audio device",  set to Hardware volume, SAVE
4. Play music
5. Reboot
6. Print updated moode.log (below)

Code:
pi@rp2:~ $ moodeutl -l
20190326 145313 worker: - Start
20190326 145313 worker: Successfully daemonized
20190326 145313 worker: Integrity check (warning: worker.php)
20190326 145313 worker: Integrity check (warning: playerlib.php)
20190326 145313 worker: Integrity check (passed with warnings)
20190326 145313 worker: ALSA volume (0%)
20190326 145314 worker: Session loaded
20190326 145314 worker: Debug logging (off)
20190326 145314 worker: - Platform
20190326 145317 worker: Rel  (Moode 5.0-RC0-53 2019-MM-DD)
20190326 145317 worker: Upd  (None)
20190326 145317 worker: Rasp (9.6)
20190326 145317 worker: Kern (4.19.30-v7+)
20190326 145317 worker: MPD  (0.21.6)
20190326 145317 worker: Host (rp2)
20190326 145317 worker: Hdwr (Pi-2B 1GB v1.1)
20190326 145317 worker: Arch (armv7l)
20190326 145317 worker: Gov  (performance)
20190326 145317 worker: USB boot not enabled yet
20190326 145317 worker: File system not expanded yet
20190326 145317 worker: HDMI port off
20190326 145317 worker: File check ok
20190326 145317 worker: - Network
20190326 145318 worker: eth0 exists
20190326 145318 worker: eth0 address not assigned
20190326 145318 worker: wlan0 exists
20190326 145318 worker: wifi country (US)
20190326 145318 worker: wlan0 trying SSID (AirnetN2)
20190326 145318 worker: wlan0 (192.168.1.169)
20190326 145318 worker: - Audio
20190326 145319 worker: ALSA outputs unmuted
20190326 145319 worker: ALSA card number (0)
20190326 145319 worker: Audio output (I2S audio device)
20190326 145319 worker: Audio device (HiFiBerry DAC+)
20190326 145319 worker: ALSA mixer name (Digital)
20190326 145319 worker: MPD volume control (hardware)
20190326 145319 worker: Hdwr volume controller exists
20190326 145319 worker: Chip options (Burr Brown PCM5122)
20190326 145319 worker: - Services
20190326 145319 worker: Reset renderer active state
20190326 145319 worker: MPD conf updated
20190326 145319 worker: MPD started
20190326 145320 worker: MPD accepting connections
20190326 145320 worker: Configure MPD outputs
20190326 145320 worker: MPD output 1 ALSA default (on)
20190326 145320 worker: MPD output 2 ALSA crossfeed (off)
20190326 145320 worker: MPD output 3 ALSA parametric eq (off)
20190326 145320 worker: MPD output 4 ALSA graphic eq (off)
20190326 145320 worker: MPD output 5 ALSA polarity inversion (off)
20190326 145320 worker: MPD output 6 ALSA bluetooth (off)
20190326 145320 worker: MPD output 7 HTTP stream (off)
20190326 145320 worker: MPD crossfade (off)
20190326 145320 worker: Airplay receiver started
20190326 145320 worker: Bluetooth pairing agent started
20190326 145320 worker: - Music sources
20190326 145320 worker: USB sources (none attached)
20190326 145321 worker: NAS sources (mountall initiated)
20190326 145321 worker: - Miscellaneous
20190326 145321 worker: Volume level (0) restored
20190326 145321 worker: Maintenance interval (21600)
20190326 145321 worker: Screen saver activation (Never)
20190326 145321 worker: Watchdog started
20190326 145321 worker: Ready
pi@rp2:~ $

-Tim

Thanks Tim for test.. i just try, same error (alsa equal) and ALSA volume in log file is "invalid card number".

Please, see below the results of this cmd, do you see something wrong? Maybe "failed to attach to hw"..

pi@moode:~ $ tail -f /var/log/mpd/log
Mar 26 16:16 : player: played "http://ice1.somafm.com/u80s-128-aac"
Mar 26 16:30 : exception: Failed to set mixer for 'ALSA graphic eq': failed to attach to hw:0: No such file or directory                                            
ALSA lib pcm_hw.c:1713: (_snd_pcm_hw_open) Invalid value for card
Mar 26 16:30 : exception: Failed to open "ALSA graphic eq" (alsa)
Mar 26 16:30 : exception: Failed to open ALSA device "alsaequal": No such file or directory                                                                                        
Mar 26 16:30 : exception: Failed to open "ALSA graphic eq" (alsa)
Mar 26 16:30 : exception: nested: Failed to open ALSA device "alsaequal": No such file or directory                                                                                        
Mar 26 16:30 : player: problems opening audio device while playing "http://ice1.                                                                                        somafm.com/u80s-128-aac"
Mar 26 16:30 : player: played "http://ice1.somafm.com/u80s-128-aac"
Mar 26 16:31 : exception: Failed to set mixer for 'ALSA graphic eq': failed to attach to hw:0: No such file or directory
Reply


Messages In This Thread
MPD Error starting Moode (ALSA equal) - by Blixa - 03-16-2019, 01:13 PM
RE: MPD Error starting Moode (ALSA equal) - by Blixa - 03-26-2019, 08:49 PM

Forum Jump: