Thank you for your donation!


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


Thread Closed 
Problem: Failed to open "ALSA default" (alsa); Failed to open ALSA device "hw:0,0"
#11
(03-29-2020, 09:44 AM)gwurb Wrote: It seems that the newly flashed image is having problems too. I've also tried a different Pi and that is also having problems.

The cards are sandisk. Are there issues with sandisk and raspberry pi?

Lastly I tried Hifiberry OS and I didn't get any errors but I didn't get any audio output either. I've sent a support request to Hifiberry. There may be an issue with the HAT but I am not sure what else I can measure other than supply voltage.

Interchanging the MoOde-built uSD card between different RPis may not be a good idea because of different hardware specification... also the testing should be done FIRSTLY without any HAT DAC using the radio and an external music source (USB flash thumb for instance). Once you are satisfied with the sound obtained by playing back an array of mp3 and flac files (upsampling tests would be relevant too) then you can add the HAT DAC.

Do you have another PSU for using with the RPi /HAT DAC combo?

For ruling out any other problems in the 'chain':
- download a fresh MoOde image
- purchase a brand new 16 GB Class10 Sandisk uSD card
#12
Once I started using SanDisk Ultras, I've had 100% success even with lots of plugging and unplugging, flashing and reflashing, and generally abusing them. They work great and inexpensive. Do be sure you get them from a reputable source. There's lots of fake cards being sold online.

As always, a good power supply with adequate gauge wire and undamaged microUSB or USB-C connector is a must. 

Cold solder joints---brrrr---what a nightmare.

Regards,
Kent
#13
An update:

I ended up returning the HAT under warranty.
The microsd cards were fine. Just to be sure I replaced the Sandisk Ultra (tried 2) with Transcend High Endurance 16GB.
The power supply is the official one. I don't think its the problem as its not corrupting anything after the HAT is gone.

I am now using a USB DAC. There are some other issues but I'll open a separate thread for that.

Thanks to everyone for your input.
#14
(03-29-2020, 02:30 PM)TheOldPresbyope Wrote: As always, a good power supply with adequate gauge wire and undamaged microUSB or USB-C connector is a must. 

Are there any recommended power bricks for 230/240V that have a USB A/B/C/etc output so I can interchange USB cables?
#15
Hi

Similar issue have me too - I was install today the moOde on Rasp Pi3 B - previously useing Volumio and Hifibery OS and now I like to see how sound with the moode.
Release Information Platform Information
  • Raspbian: 10.2
  • Linux kernel: 4.19.97-v7+ #1293
  • Platform: Pi-3B 1GB v1.2
  • Architecture: armv7l
  • MPD version: 0.21.16

S Y S T E M   P A R A M E T E R S

moOde release = 6.4.2 2020-02-12
Raspbian OS = 10.2
Linux kernel = 4.19.97-v7+ #1293
Platform = Pi-3B 1GB v1.2
Architecture = armv7l (32-bit)
System uptime = up 5 hours, 37 minutes
Timezone = Europe/Budapest
Current time = 2020-04-14 20:32:42

Host name = moode
Ethernet address = 192.168.0.84
Ethernet MAC = b8:27:eb:bc:cd:98
WLAN address = 192.168.1.84
WLAN MAC = b8:27:eb:e9:98:cd
WLAN country = HU

SoC identifier = bcm2837
Core count = 4
Kernel timer freq = 100 Hz
SDCard freq = 50 MHz
USB boot = not enabled
Warranty = OK

Root size = 3.4G
Root used = 79%
Root available = 692M
Root expand = not expanded
Memory free = 291 MB
Memory used = 115 MB
SoC temperature = 51.0°C

CPU governor = ondemand
Onboard WiFi = On
Onboard BT = Off
HDMI output = On
Eth addr wait = On
Max USB current = Off
USB (UAC2) fix = Off
Pi-3B+ eth fix = Off
SSH term server = Off

PHP-FPM version = 7.3.11
NGINX version = 1.14.2
SQLite3 version = 3.27.2
Hostapd version = 2.8-devel
WiringPi version = 2.50
RPi.GPIO version = 0.7.0

A U D I O   P A R A M E T E R S

Audio device = HiFiBerry Amp2
Interface = I2S
Mixer name = Digital
Hardware volume = Controller detected
Max ALSA volume = 80
Audio source = Local
Output device = Local
Resume MPD = Yes
Volume knob = 47
Volume mute = Unmuted
Saved MPD vol = 0
Preamp volume = 0
ALSA version = 1.1.8-1+rpt1
SoX version = 0.1.2-3

Bluetooth controller = Off
Pairing agent = On
Airplay receiver = On
Spotify receiver = On
Squeezelite = Off
UPnP client = On
DLNA server = On
GPIO button handler = Off
UPnP browser = On

Auto-shuffle = Off
Autoplay = On
Rotary encoder = Off
Encoder params = 100 2 3 23 24
Polarity inversion = Off
Crossfeed = Off
Crossfade = Off
Parametric EQ = Off
Graphic EQ = Off
MPD httpd = Off

A P P E A R A N C E   S E T T I N G S

Theme = Pure Black
Accent color = Emerald
Alpha blend = 1.0
Adaptive background = No
Background image = No
Cover backdrop = No
Cover blur = 20px
Cover scale = 1.25
CoverView auto-display = Never
CoverView style = Animated
Auto-shuffle filter = None
Extra metadata = Yes
Playback history = No

L I B R A R Y   S E T T I N G S

Instant play action = Clear/Play
Show genres column = Yes
Album grouping = by Artist
Compilation identifier = Various Artists
Recently added = 1 Month
Ignore articles = a,an,the
UTF8 character filter = No
Hi-res thumbs = Auto
Cover search pri = Embedded cover
Pixel ratio = 0.8955223880597015

M P D   S E T T I N G S

Version = 0.21.16
Volume control = hardware
ALSA device = hw:0
SoX resampling = 44100:16:2
SoX quality = high
SoX multithreading = on
DSD over PCM (DoP) = yes
Replaygain = off
Replaygain preamp = 0
Volume normalization = No
Audio buffer = 8192 (kb)
Output buffer size = 131072 (kb)

B L U E T O O T H   S E T T I N G S

Bluetooth ver = 5.50
Bluealsa ver = 2.0.0
Speaker sharing = Yes
Resume MPD = Yes
PCM buffer time = 500000 (µs)

A I R P L A Y   S E T T I N G S

Version = 3.3.5
Friendly name = Moode Airplay
ALSA device = hw:0
Interpolation = soxr
Output bit depth = S16
Output sample rate = 44100
Session interruption = no
Session timeout = 120 (ms)
Latency offset = 0.0 (secs)
Audio buffer = 0.2 (secs)
Resume MPD = No

S P O T I F Y   S E T T I N G S

Friendly name = Moode Spotify
ALSA device = plughw:0
Bit rate = 320
Initial volume = 10
Volume curve = Logarithmic
Volume normalization = No
Normalization pregain = 0
Resume MPD = Yes

S Q U E E Z E L I T E   S E T T I N G S

Version = 1.8.7-1052 "DSD/SRC enabled"
Friendly name = Moode
ALSA device = hw:0
ALSA params = 80:4::1
Output buffers = 40000:100000
Task priority = 45
Codec list = flac,pcm,mp3,ogg,aac,alac,dsd
Other options = -W -D 500 -R E -S /var/local
Resume MPD = No

L O C A L   D I S P L A Y   S E T T I N G S

Local UI display = Off
Mouse cursor = On
Screen blank = 600 Secs
Wake display on play = Off
Brightness = 255
Pixel aspect ratio = Default
Rotate screen = 0 Deg

M O O D E   S T A R T U P   L O G

20200414 145510 worker: -- Start
20200414 145511 worker: Successfully daemonized
20200414 145511 worker: Integrity check (passed)
20200414 145511 worker: Session loaded
20200414 145511 worker: Debug logging (off)
20200414 145511 worker: Device raw: (0Confusedndrpihifiberry|1:empty|i2s:HiFiBerry Amp2)
20200414 145511 worker: Device cfg: (HiFiBerry Amp2|0|0|Digital|100)
20200414 145511 worker: ALSA volume set to (0%)
20200414 145511 worker: -- System
20200414 145515 worker: Host name     (moode)
20200414 145515 worker: moOde release (6.4.2 2020-02-12)
20200414 145515 worker: Raspbian OS   (10.2)
20200414 145515 worker: Linux kernel  (4.19.97-v7+ #1293)
20200414 145515 worker: Platform      (Pi-3B 1GB v1.2)
20200414 145515 worker: Architecture  (armv7l)
20200414 145515 worker: MPD version   (0.21.16)
20200414 145515 worker: CPU governor  (ondemand)
20200414 145515 worker: USB boot not enabled yet
20200414 145515 worker: File system not expanded yet
20200414 145516 worker: HDMI port on
20200414 145516 worker: File check (OK)
20200414 145516 worker: -- Network
20200414 145516 worker: eth0 exists
20200414 145516 worker: IP addr (192.168.0.84)
20200414 145516 worker: Netmask (255.255.255.0)
20200414 145516 worker: Gateway (192.168.1.1)
20200414 145517 worker: Pri DNS (84.2.46.1)
20200414 145517 worker: Domain  (84.2.44.1)
20200414 145517 worker: wlan0 exists
20200414 145517 worker: wifi country (HU)
20200414 145517 worker: wlan0 trying SSID (TTx2xRAZ)
20200414 145517 worker: IP addr (192.168.1.84)
20200414 145517 worker: Netmask (255.255.255.0)
20200414 145517 worker: Gateway (192.168.1.1)
20200414 145517 worker: Pri DNS (84.2.46.1)
20200414 145517 worker: Domain  (84.2.44.1)
20200414 145517 worker: -- Audio
20200414 145518 worker: ALSA outputs unmuted
20200414 145518 worker: ALSA card number (0)
20200414 145518 worker: Audio output (I2S audio device)
20200414 145518 worker: Audio device (HiFiBerry Amp2)
20200414 145518 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20200414 145518 worker: ALSA mixer name (Digital)
20200414 145518 worker: MPD volume control (software)
20200414 145518 worker: Hdwr volume controller exists
20200414 145518 worker: Max ALSA volume (80%)
20200414 145518 worker: -- Services
20200414 145518 worker: Reset renderer active state
20200414 145519 worker: MPD conf updated
20200414 145519 worker: MPD started
20200414 145519 worker: MPD accepting connections
20200414 145519 worker: Configure MPD outputs
20200414 145519 worker: MPD output 1 ALSA default (off)
20200414 145519 worker: MPD output 2 ALSA crossfeed (off)
20200414 145519 worker: MPD output 3 ALSA parametric eq (off)
20200414 145519 worker: MPD output 4 ALSA graphic eq (off)
20200414 145519 worker: MPD output 5 ALSA polarity inversion (off)
20200414 145519 worker: MPD output 6 ALSA bluetooth (on)
20200414 145519 worker: MPD output 7 HTTP stream (off)
20200414 145519 worker: MPD crossfade (off)
20200414 145519 worker: Audio source (Local)
20200414 145519 worker: Output device (Bluetooth)
20200414 145519 worker: Airplay receiver started
20200414 145520 worker: Spotify receiver started
20200414 145520 worker: UPnP renderer started
20200414 145520 worker: DLNA server started
20200414 145520 worker: UPnP browser started
20200414 145520 worker: Bluetooth controller started
20200414 145526 worker: Bluetooth controller initialized
20200414 145526 worker: Bluetooth pairing agent started
20200414 145526 worker: USB auto-mounter (udisks-glue)
20200414 145526 worker: -- Music sources
20200414 145526 worker: USB source (Samsung USB)
20200414 145526 worker: NAS and UPnP sources (none configured)
20200414 145526 worker: -- Miscellaneous
20200414 145526 worker: Saved MPD vol level (0)
20200414 145526 worker: Preamp volume level (0)
20200414 145526 worker: MPD volume level (13) restored
20200414 145526 worker: ALSA volume level (80%)
20200414 145526 worker: Auto-play (On)
20200414 145526 worker: ALSA output (closed)
20200414 145526 worker: Auto-playing id (4)
20200414 145526 worker: ALSA output (closed)
20200414 145526 worker: Auto-shuffle service (Off)
20200414 145526 worker: Maintenance interval (3 hrs)
20200414 145526 worker: Screen saver activation (Never)
20200414 145526 worker: Session permissions (OK)
20200414 145526 worker: Watchdog started
20200414 145526 worker: Ready
20200414 150523 worker: Job btsvc
20200414 150541 worker: Job spotify_clear_credentials
20200414 151607 worker: Job netcfg
20200414 152432 worker: Job updmpddb
20200414 152445 worker: Job rescanmpddb
20200414 152457 worker: Job updmpddb
20200414 152542 worker: Job audioout
20200414 153115 worker: Job p3bt
20200414 153230 waitWorker(): Start (sys-config, w_active=0)
20200414 153230 waitWorker(): End   (sys-config, w_active=0)
20200414 153231 enhanceMetadata(): File is NULL
20200414 153231 engine-mpd: Metadata returned to client: Size=(26)
20200414 153300 waitWorker(): Start (sys-config, w_active=0)
20200414 153300 waitWorker(): End   (sys-config, w_active=0)
20200414 153301 enhanceMetadata(): File is NULL
20200414 153301 engine-mpd: Metadata returned to client: Size=(26)
20200414 153352 waitWorker(): Start (sys-config, w_active=0)
20200414 153352 waitWorker(): End   (sys-config, w_active=0)
20200414 153353 enhanceMetadata(): File is NULL
20200414 153353 engine-mpd: Metadata returned to client: Size=(26)
20200414 153354 enhanceMetadata(): File is NULL
20200414 153354 engine-mpd: Metadata returned to client: Size=(26)
20200414 153355 loadLibrary(): Cache data returned to client, length (471073)
20200414 153405 watchdog: LIBRESPOT restarted (check syslog for errors)
20200414 153405 worker: (librespot --name "Moode Spotify" --bitrate 320 --initial-volume 10 --cache /var/local/www/spotify_cache --disable-audio-cache --backend alsa --device "plughw:0" --onevent /var/local/www/commandw/spotevent.sh > /dev/null 2>&1 &)
20200414 153405 enhanceMetadata(): File is NULL
20200414 153405 engine-mpd: Metadata returned to client: Size=(27)
20200414 153405 enhanceMetadata(): File is NULL
20200414 153405 engine-mpd: Metadata returned to client: Size=(27)
20200414 153405 enhanceMetadata(): File is NULL
20200414 153405 engine-mpd: Metadata returned to client: Size=(27)
20200414 153405 enhanceMetadata(): File is NULL
20200414 153405 engine-mpd: Metadata returned to client: Size=(27)
20200414 153405 enhanceMetadata(): File is NULL
20200414 153405 engine-mpd: Metadata returned to client: Size=(27)
20200414 153415 waitWorker(): Start (mpd-config, w_active=0)
20200414 153415 waitWorker(): End   (mpd-config, w_active=0)
20200414 153415 enhanceMetadata(): File is NULL
20200414 153415 engine-mpd: Metadata returned to client: Size=(26)
20200414 153516 waitWorker(): Start (mpd-config, w_active=1)
20200414 153517 waitWorker(): Wait  (1)
20200414 153518 waitWorker(): Wait  (2)
20200414 153519 worker: Job mpdcfg
20200414 153521 openMpdSocket(): connection failed (1)
20200414 153521 openMpdSocket(): errorno: 111, Connection refused
20200414 153521 waitWorker(): Wait  (3)
20200414 153521 waitWorker(): End   (mpd-config, w_active=0)
20200414 153521 enhanceMetadata(): File is NULL
20200414 153521 engine-mpd: Metadata returned to client: Size=(17)
20200414 153521 enhanceMetadata(): File is NULL
20200414 153521 engine-mpd: Metadata returned to client: Size=(17)
20200414 153522 enhanceMetadata(): Radio station
20200414 153522 engine-mpd: Metadata returned to client: Size=(31)
20200414 153530 waitWorker(): Start (net-config, w_active=0)
20200414 153530 waitWorker(): End   (net-config, w_active=0)
20200414 153530 enhanceMetadata(): Radio station
20200414 153530 engine-mpd: Metadata returned to client: Size=(31)
20200414 153542 waitWorker(): Start (sys-config, w_active=0)
20200414 153542 waitWorker(): End   (sys-config, w_active=0)
20200414 153543 enhanceMetadata(): Radio station
20200414 153543 engine-mpd: Metadata returned to client: Size=(31)
20200414 153855 watchdog: LIBRESPOT restarted (check syslog for errors)
20200414 153855 worker: (librespot --name "Moode Spotify" --bitrate 320 --initial-volume 10 --cache /var/local/www/spotify_cache --disable-audio-cache --backend alsa --device "plughw:0" --onevent /var/local/www/commandw/spotevent.sh > /dev/null 2>&1 &)
20200414 153855 enhanceMetadata(): Radio station
20200414 153855 engine-mpd: Metadata returned to client: Size=(32)
20200414 153855 enhanceMetadata(): Radio station
20200414 153855 engine-mpd: Metadata returned to client: Size=(32)
20200414 153855 enhanceMetadata(): Radio station
20200414 153855 engine-mpd: Metadata returned to client: Size=(32)
20200414 154126 waitWorker(): Start (sys-config, w_active=0)
20200414 154126 waitWorker(): End   (sys-config, w_active=0)
20200414 154127 enhanceMetadata(): Radio station
20200414 154127 engine-mpd: Metadata returned to client: Size=(31)
20200414 161600 watchdog: LIBRESPOT restarted (check syslog for errors)
20200414 161601 worker: (librespot --name "Moode Spotify" --bitrate 320 --initial-volume 10 --cache /var/local/www/spotify_cache --disable-audio-cache --backend alsa --device "plughw:0" --onevent /var/local/www/commandw/spotevent.sh > /dev/null 2>&1 &)
20200414 161601 enhanceMetadata(): Radio station
20200414 161601 engine-mpd: Metadata returned to client: Size=(32)
20200414 161601 enhanceMetadata(): Radio station
20200414 161601 engine-mpd: Metadata returned to client: Size=(32)
20200414 163414 enhanceMetadata(): Radio station
20200414 163414 engine-mpd: Metadata returned to client: Size=(32)
20200414 163414 enhanceMetadata(): Radio station
20200414 163414 engine-mpd: Metadata returned to client: Size=(32)
20200414 163415 enhanceMetadata(): Radio station
20200414 163415 engine-mpd: Metadata returned to client: Size=(32)
20200414 163415 enhanceMetadata(): Radio station
20200414 163415 engine-mpd: Metadata returned to client: Size=(32)
20200414 163415 enhanceMetadata(): Radio station
20200414 163415 engine-mpd: Metadata returned to client: Size=(32)
20200414 163415 enhanceMetadata(): Radio station
20200414 163415 engine-mpd: Metadata returned to client: Size=(32)
20200414 163416 enhanceMetadata(): Radio station
20200414 163416 engine-mpd: Metadata returned to client: Size=(32)
20200414 163417 enhanceMetadata(): Radio station
20200414 163417 engine-mpd: Metadata returned to client: Size=(32)
20200414 163417 enhanceMetadata(): Radio station
20200414 163417 engine-mpd: Metadata returned to client: Size=(32)
20200414 163417 enhanceMetadata(): Radio station
20200414 163417 engine-mpd: Metadata returned to client: Size=(32)
20200414 163418 enhanceMetadata(): Radio station
20200414 163418 engine-mpd: Metadata returned to client: Size=(32)
20200414 163418 enhanceMetadata(): Radio station
20200414 163418 engine-mpd: Metadata returned to client: Size=(32)
20200414 163418 enhanceMetadata(): Radio station
20200414 163418 engine-mpd: Metadata returned to client: Size=(32)
20200414 163418 enhanceMetadata(): Radio station
20200414 163418 engine-mpd: Metadata returned to client: Size=(32)
20200414 163418 enhanceMetadata(): Radio station
20200414 163418 engine-mpd: Metadata returned to client: Size=(32)
20200414 163419 enhanceMetadata(): Radio station
20200414 163419 engine-mpd: Metadata returned to client: Size=(32)
20200414 163419 enhanceMetadata(): Radio station
20200414 163419 engine-mpd: Metadata returned to client: Size=(32)
20200414 163419 enhanceMetadata(): Radio station
20200414 163419 engine-mpd: Metadata returned to client: Size=(32)
20200414 163419 enhanceMetadata(): Radio station
20200414 163419 engine-mpd: Metadata returned to client: Size=(32)
20200414 163419 enhanceMetadata(): Radio station
20200414 163419 engine-mpd: Metadata returned to client: Size=(32)
20200414 163535 enhanceMetadata(): Radio station
20200414 163535 engine-mpd: Metadata returned to client: Size=(32)
20200414 163536 enhanceMetadata(): Radio station
20200414 163536 engine-mpd: Metadata returned to client: Size=(32)
20200414 163536 enhanceMetadata(): Radio station
20200414 163536 engine-mpd: Metadata returned to client: Size=(32)
20200414 163537 enhanceMetadata(): Radio station
20200414 163537 engine-mpd: Metadata returned to client: Size=(32)
20200414 170045 enhanceMetadata(): Radio station
20200414 170045 engine-mpd: Metadata returned to client: Size=(31)
20200414 170045 loadLibrary(): Cache data returned to client, length (471073)
20200414 170054 enhanceMetadata(): Radio station
20200414 170054 engine-mpd: Metadata returned to client: Size=(32)
20200414 170054 enhanceMetadata(): Radio station
20200414 170054 engine-mpd: Metadata returned to client: Size=(32)
20200414 170054 enhanceMetadata(): Radio station
20200414 170054 engine-mpd: Metadata returned to client: Size=(29)
20200414 170104 enhanceMetadata(): Radio station
20200414 170104 engine-mpd: Metadata returned to client: Size=(30)
20200414 170105 enhanceMetadata(): Radio station
20200414 170105 engine-mpd: Metadata returned to client: Size=(30)
20200414 170105 enhanceMetadata(): Radio station
20200414 170105 engine-mpd: Metadata returned to client: Size=(30)
20200414 170107 enhanceMetadata(): Radio station
20200414 170107 engine-mpd: Metadata returned to client: Size=(30)
20200414 170107 enhanceMetadata(): Radio station
20200414 170107 engine-mpd: Metadata returned to client: Size=(30)
20200414 170108 enhanceMetadata(): Radio station
20200414 170108 engine-mpd: Metadata returned to client: Size=(30)
20200414 170108 enhanceMetadata(): Radio station
20200414 170108 engine-mpd: Metadata returned to client: Size=(30)
20200414 170108 enhanceMetadata(): Radio station
20200414 170108 engine-mpd: Metadata returned to client: Size=(30)
20200414 170109 enhanceMetadata(): Radio station
20200414 170109 engine-mpd: Metadata returned to client: Size=(30)
20200414 170110 enhanceMetadata(): Radio station
20200414 170110 engine-mpd: Metadata returned to client: Size=(30)
20200414 170111 enhanceMetadata(): Radio station
20200414 170111 engine-mpd: Metadata returned to client: Size=(30)
20200414 170111 enhanceMetadata(): Radio station
20200414 170111 engine-mpd: Metadata returned to client: Size=(30)
20200414 170112 enhanceMetadata(): Radio station
20200414 170112 engine-mpd: Metadata returned to client: Size=(30)
20200414 170114 enhanceMetadata(): File is NULL
20200414 170114 engine-mpd: Metadata returned to client: Size=(27)
20200414 202537 mediainfo --Inform="Audio;file:///var/www/mediainfo.tpl" "/var/lib/mpd/music/USB/Samsung USB/Adele_21/01 - Rolling In The Deep - Adele.mp3"
20200414 202537 enhanceMetadata(): coverurl: (/coverart.php/USB%2FSamsung%20USB%2FAdele_21%2F01%20-%20Rolling%20In%20The%20Deep%20-%20Adele.mp3)
20200414 202537 enhanceMetadata(): Song file
20200414 202537 engine-mpd: Metadata returned to client: Size=(34)
20200414 202537 enhanceMetadata(): coverurl: (/coverart.php/USB%2FSamsung%20USB%2FAdele_21%2F01%20-%20Rolling%20In%20The%20Deep%20-%20Adele.mp3)
20200414 202537 enhanceMetadata(): Song file
20200414 202537 engine-mpd: Metadata returned to client: Size=(34)
20200414 202603 readMpdResponse(): error: response $str[0]=(ACK [5@0] {play} Failed to decode http://live-radio01.mediahubaustralia.com/JAZW/mp3/; CURL failed: Resolving timed out after 10009 milliseconds)
20200414 202603 enhanceMetadata(): Radio station
20200414 202603 engine-mpd: Metadata returned to client: Size=(32)
20200414 202623 enhanceMetadata(): File is NULL
20200414 202623 engine-mpd: Metadata returned to client: Size=(25)
20200414 202623 readMpdResponse(): error: response $str[0]=(ACK [2@0] {delete} Bad song index)
20200414 202627 enhanceMetadata(): File is NULL
20200414 202627 engine-mpd: Metadata returned to client: Size=(26)
20200414 202627 enhanceMetadata(): File is NULL
20200414 202627 engine-mpd: Metadata returned to client: Size=(26)
20200414 202628 enhanceMetadata(): File is NULL
20200414 202628 engine-mpd: Metadata returned to client: Size=(26)
20200414 202628 enhanceMetadata(): File is NULL
20200414 202628 engine-mpd: Metadata returned to client: Size=(26)
20200414 202628 enhanceMetadata(): File is NULL
20200414 202628 engine-mpd: Metadata returned to client: Size=(26)
20200414 202628 enhanceMetadata(): File is NULL
20200414 202628 engine-mpd: Metadata returned to client: Size=(26)
20200414 202628 enhanceMetadata(): File is NULL
20200414 202628 engine-mpd: Metadata returned to client: Size=(26)
20200414 202628 enhanceMetadata(): File is NULL
20200414 202628 engine-mpd: Metadata returned to client: Size=(26)
20200414 202628 enhanceMetadata(): File is NULL
20200414 202628 engine-mpd: Metadata returned to client: Size=(26)
20200414 203018 enhanceMetadata(): File is NULL
20200414 203018 engine-mpd: Metadata returned to client: Size=(25)
20200414 203018 loadLibrary(): Cache data returned to client, length (471073)
20200414 203045 waitWorker(): Start (sys-config, w_active=0)
20200414 203045 waitWorker(): End   (sys-config, w_active=0)
20200414 203046 enhanceMetadata(): File is NULL
20200414 203046 engine-mpd: Metadata returned to client: Size=(25)
20200414 203050 waitWorker(): Start (snd-config, w_active=0)
20200414 203050 waitWorker(): End   (snd-config, w_active=0)
20200414 203050 enhanceMetadata(): File is NULL
20200414 203050 engine-mpd: Metadata returned to client: Size=(25)
20200414 203101 waitWorker(): Start (net-config, w_active=0)
20200414 203101 waitWorker(): End   (net-config, w_active=0)
20200414 203102 enhanceMetadata(): File is NULL
20200414 203102 engine-mpd: Metadata returned to client: Size=(25)
20200414 203106 waitWorker(): Start (sys-config, w_active=0)
20200414 203106 waitWorker(): End   (sys-config, w_active=0)
20200414 203106 enhanceMetadata(): File is NULL
20200414 203106 engine-mpd: Metadata returned to client: Size=(25)
20200414 203109 waitWorker(): Start (lib-config, w_active=0)
20200414 203109 waitWorker(): End   (lib-config, w_active=0)
20200414 203109 enhanceMetadata(): File is NULL
20200414 203109 engine-mpd: Metadata returned to client: Size=(25)
20200414 203126 enhanceMetadata(): File is NULL
20200414 203126 engine-mpd: Metadata returned to client: Size=(25)
20200414 203127 loadLibrary(): Cache data returned to client, length (471073)
20200414 203203 waitWorker(): Start (sel-config, w_active=0)
20200414 203203 waitWorker(): End   (sel-config, w_active=0)
20200414 203203 enhanceMetadata(): File is NULL
20200414 203203 engine-mpd: Metadata returned to client: Size=(25)
20200414 203206 waitWorker(): Start (sys-config, w_active=0)
20200414 203206 waitWorker(): End   (sys-config, w_active=0)
20200414 203207 enhanceMetadata(): File is NULL
20200414 203207 engine-mpd: Metadata returned to client: Size=(25)

But I cant' listening the radio - there is no sound!
Also same with spotify - from the desktop client there is the sign for connecting the "Moode Spotify" - but after circa half minutes nothing happening - it 
If i switch to the listening the localy attached USB sound files - it is runin well - there is sound - so this is OK.

MPD error
Failed to decode http://89.16.185.174:8004/stream; CURL failed: Failed to connect to 89.16.185.174 port 8004: No route to host
#16
Its most likely due to how you configured the network options.

1. Turn off Debug logging because its not needed and it clutters up the log.
2. Reboot
3. Post the Moode log in a code box. It's either the 3rd or 5th button from the right on the Toolbar when composing or editing a post.

The command for printing the Moode startup log is below.

Code:
moodeutl -l
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
#17
@ivenhoe

Like Tim said. Looking just at your radio problem, here's a few choice bits from your output

Code:
20200414 202603 readMpdResponse(): error: response $str[0]=(ACK [5@0] {play} Failed to decode http://live-radio01.mediahubaustralia.com/JAZW/mp3/; CURL failed: Resolving timed out after 10009 milliseconds)

and

Code:
Failed to decode http://89.16.185.174:8004/stream; CURL failed: Failed to connect to 89.16.185.174 port 8004: No route to host

Both of these streaming audio URLs involved are alive and well and playing on my moOde player here.

Taken together the error messages tell me your moOde player can't reach a DNS server (needed to resolve the hostname live-radio01.mediahubaustralia.com into an IP address) and can't reach the Internet (needed to connect to IP address 89.16.185.174)

Let's look higher up your listing:

Code:
20200414 145516 worker: eth0 exists
20200414 145516 worker: IP addr (192.168.0.84)
20200414 145516 worker: Netmask (255.255.255.0)
20200414 145516 worker: Gateway (192.168.1.1)
20200414 145517 worker: Pri DNS (84.2.46.1)
20200414 145517 worker: Domain  (84.2.44.1)
20200414 145517 worker: wlan0 exists
20200414 145517 worker: wifi country (HU)
20200414 145517 worker: wlan0 trying SSID (TTx2xRAZ)
20200414 145517 worker: IP addr (192.168.1.84)
20200414 145517 worker: Netmask (255.255.255.0)
20200414 145517 worker: Gateway (192.168.1.1)
20200414 145517 worker: Pri DNS (84.2.46.1)
20200414 145517 worker: Domain  (84.2.44.1)

This is seriously confused. You have both ethernet and WiFi connections which confuse moOde. I'm not so sure either about that domain 84.2.44.1 either.

Regards,
Kent
#18
(04-14-2020, 11:08 AM)gwurb Wrote: An update:

I ended up returning the HAT under warranty.
Thanks to everyone for your input.

Yes, as I expected...a hardware fault... Wink 


Quote:Are there any recommended power bricks for 230/240V that have a USB A/B/C/etc output so I can interchange USB cables?

The official Raspberry Pi power supply and there are any number of adapters out there.
Or if you're confidant building your own then...
https://www.diyaudio.com/forums/power-su...apter.html
----------
bob
#19
(04-14-2020, 07:11 PM)Tim Curtis Wrote: Its most likely due to how you configured the network options.

1. Turn off Debug logging because its not needed and it clutters up the log.
2. Reboot
3. Post the Moode log in a code box.


Ok - i was made the the moodeutl -l and get next :
Code:
pi@moode:~ $ moodeutl -l
20200414 145508 worker: -- Start
20200414 145508 worker: Successfully daemonized
20200414 145509 worker: Integrity check (passed)
20200414 145509 worker: Session loaded
20200414 145509 worker: Debug logging (on)
20200414 145509 worker: Device raw: (0:sndrpihifiberry|1:empty|i2s:HiFiBerry Amp2)
20200414 145509 worker: Device cfg: (HiFiBerry Amp2|0|0|Digital|0)
20200414 145509 worker: ALSA volume set to (0%)
20200414 145509 worker: -- System
20200414 145513 worker: Host name     (moode)
20200414 145513 worker: moOde release (6.4.2 2020-02-12)
20200414 145513 worker: Raspbian OS   (10.2)
20200414 145513 worker: Linux kernel  (4.19.97-v7+ #1293)
20200414 145513 worker: Platform      (Pi-3B 1GB v1.2)
20200414 145513 worker: Architecture  (armv7l)
20200414 145513 worker: MPD version   (0.21.16)
20200414 145513 worker: CPU governor  (ondemand)
20200414 145513 worker: USB boot not enabled yet
20200414 145514 worker: File system not expanded yet
20200414 145514 worker: HDMI port off
20200414 145514 worker: File check (OK)
20200414 145514 worker: -- Network
20200414 145514 worker: eth0 exists
20200414 145514 worker: IP addr (192.168.1.196)
20200414 145514 worker: Netmask (255.255.255.0)
20200414 145515 worker: Gateway (192.168.1.1)
20200414 145515 worker: Pri DNS (192.168.1.1)
20200414 145515 worker: Domain  (home)
20200414 145515 worker: wlan0 exists
20200414 145515 worker: wifi country (HU)
20200414 145515 worker: wlan0 trying SSID (TTx2xRAZ)
20200414 145515 worker: IP addr (192.168.1.84)
20200414 145515 worker: Netmask (255.255.255.0)
20200414 145515 worker: Gateway (192.168.1.1)
20200414 145515 worker: Pri DNS (192.168.1.1)
20200414 145519 worker: Domain  (home)
20200414 145520 worker: -- Audio
20200414 145520 worker: ALSA outputs unmuted
20200414 145520 worker: ALSA card number (0)
20200414 145520 worker: Audio output (I2S audio device)
20200414 145520 worker: Audio device (HiFiBerry Amp2)
20200414 145520 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20200414 145520 worker: ALSA mixer name (Digital)
20200414 145520 worker: MPD volume control (hardware)
20200414 145520 worker: Hdwr volume controller exists
20200414 145520 worker: Max ALSA volume (80%)
20200414 145520 worker: -- Services
20200414 145520 worker: Reset renderer active state
20200414 145521 worker: MPD conf updated
20200414 145521 worker: MPD started
20200414 145521 openMpdSocket(): connection failed (1)
20200414 145521 openMpdSocket(): errorno: 111, Connection refused
20200414 145522 worker: MPD accepting connections
20200414 145522 worker: Configure MPD outputs
20200414 145522 worker: MPD output 1 ALSA default (on)
20200414 145522 worker: MPD output 2 ALSA crossfeed (off)
20200414 145522 worker: MPD output 3 ALSA parametric eq (off)
20200414 145522 worker: MPD output 4 ALSA graphic eq (off)
20200414 145522 worker: MPD output 5 ALSA polarity inversion (off)
20200414 145522 worker: MPD output 6 ALSA bluetooth (off)
20200414 145522 worker: MPD output 7 HTTP stream (off)
20200414 145522 worker: MPD crossfade (off)
20200414 145522 worker: Audio source (Local)
20200414 145522 worker: Output device (Local)
20200414 145522 worker: (/usr/local/bin/shairport-sync -vv -a "Moode Airplay" -- -d hw:0 > /var/log/shairport-sync.log 2>&1 &)
20200414 145522 worker: Airplay receiver started
20200414 145522 worker: (librespot --name "Moode Spotify" --bitrate 320 --initial-volume 10 --cache /var/local/www/spotify_cache --disable-audio-cache --backend alsa --device "plughw:0" --onevent /var/local/www/commandw/spotevent.sh > /dev/null 2>&1 &)
20200414 145522 worker: Spotify receiver started
20200414 145522 worker: UPnP renderer started
20200414 145523 worker: DLNA server started
20200414 145525 worker: UPnP browser started
20200414 145525 worker: Bluetooth pairing agent started
20200414 145525 worker: USB auto-mounter (udisks-glue)
20200414 145525 worker: -- Music sources
20200414 145525 worker: USB source (Samsung USB)
20200414 145525 worker: NAS and UPnP sources (none configured)
20200414 145525 worker: -- Miscellaneous
20200414 145525 worker: Saved MPD vol level (0)
20200414 145525 worker: Preamp volume level (0)
20200414 145526 worker: MPD volume level (47) restored
20200414 145526 worker: ALSA volume level (81%)
20200414 145526 worker: Auto-play (On)
20200414 145526 worker: ALSA output (closed)
20200414 145526 worker: Auto-playing id ()
20200414 145526 worker: ALSA output (closed)
20200414 145526 worker: Auto-shuffle service (Off)
20200414 145526 worker: Maintenance interval (3 hrs)
20200414 145526 worker: Screen saver activation (Never)
20200414 145526 worker: Session permissions (OK)
20200414 145526 worker: Watchdog started
20200414 145526 worker: Ready
20200415 140742 enhanceMetadata(): File is NULL
20200415 140742 engine-mpd: Metadata returned to client: Size=(25)
20200415 140742 loadLibrary(): Cache data returned to client, length (471073)
20200415 140751 waitWorker(): Start (net-config, w_active=0)
20200415 140751 waitWorker(): End   (net-config, w_active=0)
20200415 140751 enhanceMetadata(): File is NULL
20200415 140751 engine-mpd: Metadata returned to client: Size=(25)
20200415 140802 waitWorker(): Start (sys-config, w_active=0)
20200415 140802 waitWorker(): End   (sys-config, w_active=0)
20200415 140803 enhanceMetadata(): File is NULL
20200415 140803 engine-mpd: Metadata returned to client: Size=(25)
pi@moode:~ $ ^C
pi@moode:~ $ pi@moode:~ $ moodeutl -l
20200414 145509 worker: Integrity check (passed)
20200414 145509 worker: Session loaded
20200414 145509 worker: Debug logging (on)
20200414 145509 worker: Device raw: (0:sndrpihifiberry|1:empty|i2s:HiFiBerry Amp2)
20200414 145509 worker: Device cfg: (HiFiBerry Amp2|0|0|Digital|0)
20200414 145509 worker: ALSA volume set to (0%)
20200414 145509 worker: -- System
20200414 14551-bash: pi@moode:~: command not found
3 worker: Host name     (moode)
20200414 145513 worker: moOde release (6.4.2 2020-02-12)
pi@moode:~ $ 20200414 145508 worker: -- Start
20200414 145513 worker: Raspbian OS   (10.2)
20200414 145513 worker: Linux kernel  (4.19.97-v7+ #1293)
20200414 145513 worker: Platform      (Pi-3B 1GB v1.2)
20200414 145513 worker: Architecture  (armv7l)
20200414 145513 worker: MPD version   (0.21.16)
20200414 145513 worker: CPU governor  (ondemand)
20200414 145513 worker: USB boot not enabled yet
20200414 145514 worker: File system not expanded yet
20200414 145514 worker: HDMI port off
20200414 145514 worker: File check (OK)
20200414 145514 worker: -- Network
20200414 145514 worker: eth0 exists
20200414 145514 worker: IP addr (192.168.1.196)
20200414 145514 worker: Netmask (255.255.255.0)
20200414 145515 worker: Gateway (192.168.1.1)
20200414 145515 worker: Pri DNS (192.168.1.1)
20200414 145515 worker: Domain  (home)
20200414 145515 worker: wlan0 exists
20200414 145515 worker: wifi country (HU)
20200414 145515 worker: wlan0 trying SSID (TTx2xRAZ)
20200414 145515 worker: IP addr (192.168.1.84)
20200414 145515 worker: Netmask (255.255.255.0)
20200414 145515 worker: Gateway (192.168.1.1)
20200414 145515 worker: Pri DNS (192.168.1.1)
20200414 145519 worker: Domain  (home)
20200414 145520 worker: -- Audio
20200414 145520 worker: ALSA outputs unmuted
20200414 145520 worker: ALSA card number (0)
20200414 145520 worker: Audio output (I2S audio device)
20200414 145520 worker: Audio device (HiFiBerry Amp2)
20200414 145520 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20200414 145520 worker: ALSA mixer nam-bash: 20200414: command not found
e (Digital)
20200414 145520 worker: MPD volume control (hardware)
20200414 145520 worker: Hdwr volume controller exists
20200414 145520 worker: Max ALSA volume (80%)
20200414 145520 worker: -- Services
20200414 145520 worker: Reset renderer active state
20200414 145521 worker: MPD conf updated
pi@moode:~ $ 20200414 145508 worker: Successfully daemonized
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145509 worker: Integrity check (passed)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145509 worker: Session loaded
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145509 worker: Debug logging (on)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145509 worker: Device raw: (0:sndrpihifiberry|1:empty|i2s:HiFiBerry Amp2)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145509 worker: Device cfg: (HiFiBerry Amp2|0|0|Digital|0)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145509 worker: ALSA volume set to (0%)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145509 worker: -- System
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145513 worker: Host name     (moode)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145513 worker: moOde release (6.4.2 2020-02-12)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145513 worker: Raspbian OS   (10.2)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145513 worker: Linux kernel  (4.19.97-v7+ #1293)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145513 worker: Platform      (Pi-3B 1GB v1.2)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145513 worker: Architecture  (armv7l)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145513 worker: MPD version   (0.21.16)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145513 worker: CPU governor  (ondemand)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145513 worker: USB boot not enabled yet
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145514 worker: File system not expanded yet
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145514 worker: HDMI port off
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145514 worker: File check (OK)
-bash: syntax error near unexpected token `('
 returned to client: Size=(25)
20200415 pi@moode:~ $ 20200414 145514 worker: -- Network
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145514 worker: eth0 exists
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145514 worker: IP addr (192.168.1.196)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145514 worker: Netmask (255.255.255.0)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145515 worker: Gateway (192.168.1.1)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145515 worker: Pri DNS (192.168.1.1)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145515 worker: Domain  (home)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145515 worker: wlan0 exists
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145515 worker: wifi country (HU)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145515 worker: wlan0 trying SSID (TTx2xRAZ)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145515 worker: IP addr (192.168.1.84)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145515 worker: Netmask (255.255.255.0)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145515 worker: Gateway (192.168.1.1)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145515 worker: Pri DNS (192.168.1.1)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145519 worker: Domain  (home)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145520 worker: -- Audio
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145520 worker: ALSA outputs unmuted
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145520 worker: ALSA card number (0)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145520 worker: Audio output (I2S audio device)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145520 worker: Audio device (HiFiBerry Amp2)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145520 worker: Audio formats (S16_LE, S24_LE, S32_LE)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145520 worker: ALSA mixer name (Digital)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145520 worker: MPD volume control (hardware)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145520 worker: Hdwr volume controller exists
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145520 worker: Max ALSA volume (80%)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145520 worker: -- Services
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145520 worker: Reset renderer active state
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145521 worker: MPD conf updated
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145521 worker: MPD started
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145521 openMpdSocket(): connection failed (1)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145521 openMpdSocket(): errorno: 111, Connection refused
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145522 worker: MPD accepting connections
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145522 worker: Configure MPD outputs
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145522 worker: MPD output 1 ALSA default (on)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145522 worker: MPD output 2 ALSA crossfeed (off)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145522 worker: MPD output 3 ALSA parametric eq (off)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145522 worker: MPD output 4 ALSA graphic eq (off)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145522 worker: MPD output 5 ALSA polarity inversion (off)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145522 worker: MPD output 6 ALSA bluetooth (off)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145522 worker: MPD output 7 HTTP stream (off)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145522 worker: MPD crossfade (off)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145522 worker: Audio source (Local)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145522 worker: Output device (Local)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145522 worker: (/usr/local/bin/shairport-sync -vv -a "Moode Airplay" -- -d hw:0 > /var/log/shairport-sync.log 2>&1 &)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145522 worker: Airplay receiver started
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145522 worker: (librespot --name "Moode Spotify" --bitrate 320 --initial-volume 10 --cache /var/local/www/spotify_cache --disable-audio-cache --backend alsa --device "plughw:0" --onevent /var/local/www/commandw/spotevent.sh > /dev/null 2>&1 &)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145522 worker: Spotify receiver started
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145522 worker: UPnP renderer started
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145523 worker: DLNA server started
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145525 worker: UPnP browser started
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145525 worker: Bluetooth pairing agent started
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145525 worker: USB auto-mounter (udisks-glue)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145525 worker: -- Music sources
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145525 worker: USB source (Samsung USB)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145525 worker: NAS and UPnP sources (none configured)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145525 worker: -- Miscellaneous
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145525 worker: Saved MPD vol level (0)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145525 worker: Preamp volume level (0)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145526 worker: MPD volume level (47) restored
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145526 worker: ALSA volume level (81%)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145526 worker: Auto-play (On)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145526 worker: ALSA output (closed)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145526 worker: Auto-playing id ()
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145526 worker: ALSA output (closed)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145526 worker: Auto-shuffle service (Off)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145526 worker: Maintenance interval (3 hrs)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145526 worker: Screen saver activation (Never)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145526 worker: Session permissions (OK)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200414 145526 worker: Watchdog started
-bash: 20200414: command not found
pi@moode:~ $ 20200414 145526 worker: Ready
-bash: 20200414: command not found
pi@moode:~ $ 20200415 140742 enhanceMetadata(): File is NULL
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200415 140742 engine-mpd: Metadata returned to client: Size=(25)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200415 140742 loadLibrary(): Cache data returned to client, length (471073)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200415 140751 waitWorker(): Start (net-config, w_active=0)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200415 140751 waitWorker(): End   (net-config, w_active=0)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200415 140751 enhanceMetadata(): File is NULL
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200415 140751 engine-mpd: Metadata returned to client: Size=(25)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200415 140802 waitWorker(): Start (sys-config, w_active=0)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200415 140802 waitWorker(): End   (sys-config, w_active=0)
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200415 140803 enhanceMetadata(): File is NULL
-bash: syntax error near unexpected token `('
pi@moode:~ $ 20200415 140803 engine-mpd: Metadata returned to client: Size=(25)
-bash: syntax error near unexpected token `('


The command for printing the Moode startup log is below.

Code:
moodeutl -l
#20
(03-27-2020, 02:12 AM)gwurb Wrote: Good afternoon,

I am getting an error:
MPD Error

Failed to open "ALSA default" (alsa); Failed to open ALSA device "hw:0,0": No such file or directory

I am using Hifiberry DAC+ Pro HAT with Raspberry Pi 3B

I know this topic has come up before, and I've read through previous posts. What I've noticed is that most people have done one of two things:
  1. Turn off I2S audio DAC, restart, turn I2S audio DAC back on, restart -> everything works again
  2. Re-flash the whole moode audio, turn on I2S audio DAC -> everything works
I have tried method 1, and I am having no luck with it. I am hesitant to do method 2 as it means I loose all of the configuration, and have to re-configure from scratch. If there was a way to backup/restore configuration then I'd be ok with trying method two for now. I do understand that there are challenges associated with backup/restore of configuration (I've read the forum post).

Also, re-flash surely shouldn't be the solution to errors? How often will I need to re-flash? Weekly? Monthly? So with these comments what I am hoping for is a method to address the error that I am seeing, to try to get to the root of it and hopefully end up with a more stable system.

What's really odd about all of this is that everything was working fine for a few weeks. I then had the MPD error but it was 'fixed' with reboots. Now its there all the time. Maybe the Hifiberry DAC+ Pro is failing? I don't know enough to figure out what the problem may be.

Thanks for the help!

I've done some digging around and here is what I notice:
/var/log/mpd/log
ALSA lib pcm_hw.c:1822Sad_snd_pcm_hw_open) Invalid value for card
Mar 27 12:48 : exception: Failed to open "ALSA default" (alsa)
Mar 27 12:48 : exception: nested: Failed to open ALSA device "hw:0,0": No such file or directory

No I2S audio DAC has the following in the Audio info:
Decoded to:      0 bps
Destination:      Local
Output rate:      0 bps
DSP operations
Volume ctl:      Disabled (100% volume is output by MPD)
Resampling:      24 bit, 192 kHz, Stereo (SoX very high quality)
Polarity inv:      off
Crossfade:      off
Crossfeed:      off
Parametric EQ:      off
Graphic EQ:      off
Replaygain:      off
Normalize vol:      off
Chip options:      None
Audio Device
Device:      On-board audio device
Chip:      Broadcom SoC
Interface:      SOC
Formats:      U8, S16_LE
Platform:      Pi-3B 1GB v1.2


When I add Hifiberry DAC+ Pro I get the following changes in audio info:
Chip options:      FIR interpolation with de-emphasis, Gain=0dB, Boost=0dB
Audio Device
Device:      HiFiBerry DAC+ Pro
Chip:      Burr Brown PCM5122
Interface:      I2S
Formats:      cat: /proc/asound/card0/pcm0p/sub0/hw_params: No such file or directory



pi@moode:/var/log/mpd $ dmesg | grep hifiberry
[    6.816423] snd-rpi-hifiberry-dacplus socConfusedound: ASoC: CPU DAI (null) not registered - will retry
[    6.824268] snd-rpi-hifiberry-dacplus socConfusedound: ASoC: CODEC DAI pcm512x-hifi not registered - will retry

pi@moode:/var/log/mpd $ lsmod | grep hifi
snd_soc_hifiberry_dacplus    16384  0
snd_soc_core          192512  3 snd_soc_pcm512x,snd_soc_hifiberry_dacplus,snd_soc_bcm2835_i2s
snd_pcm               102400  5 snd_soc_pcm512x,snd_pcm_dmaengine,snd_soc_hifiberry_dacplus,snd_soc_bcm2835_i2s,snd_soc_core
clk_hifiberry_dacpro    16384  0

pi@moode:/var/log/mpd $ sudo aplay -l
aplay: device_list:272: no soundcards found...

I am facing the same error and I have noticed that this error occurs only if I do a Hard/Cold Shutdown by unplugging the USB. A soft Shutdown works fine.


Forum Jump: