Thank you for your donation!


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


Thread Closed 
Moode eventually unrechable until i reboot...
#21
I suspect the O/P is powering the Pi with an off-brand 5v supply and back-feeding the hat..... Wink 

Explains why it crashes after some time but reboots to SOP.....
----------
bob
#22
The DigiAmp+ doesn't have jumpers or circuit paths for powering itself and the Pi from separate PSU's. It's designed for a single 15V or higher PSU that's used to power the Amp+ and the Pi.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
#23
Exactly !! Smile 

so how does the o/p run it..... Wink  just not possible either way without major breakage...
@Maitresinh
Quote:My Power supply is close to this one
https://fr.aliexpress.com/item/32949210347.html
http://moodeaudio.org/forum/showthread.p...9#pid16119
----------
bob
#24
@Maitresinh

This thing is getting out of hand. Like @DRONE7's earlier post that I referenced, I'm trying to get you down to a minimum viable moOde system with only Bluetooth output so we can get some meaningful diagnostic messages when the system goes catatonic. This means no NAS and preferably no DAC hat.

Now that I know about the power supply arrangement of the IQaudIO board and RPi combination, I concerned about the possibility of a confounding effect. How about starting first with just an RPi and an adequate 5v supply?

FYI, for investigating your issue, I've been running moOde 6.4.1 on an RPi3a since about 20 minutes after Tim's announcement---about 8 hours so far---driving a JBL Flip 2 Bluetooth speaker continuously from Radio France Musique Classique Plus without any problem.

I did a little research this afternoon. There have been some reports on the Web of RPi Bluetooth output stopping after an interval. As usual the reports are like UFO reports---all over the map in terms of information supplied by the posters and of guesses from respondents.

There are several ways we could look for Bluetooth-specific messages if you can get to a provably viable moOde system which still suffers Bluetooth stoppage.

Regards,
Kent
#25
My Dac is this one
https://fr.aliexpress.com/item/324031078...6c37UwAa4f

with a 12V 3000 mA power included (AC100-240 V 50/60 Mhz)

for the record, i've tried connecting to bluetooth via another PI without DAC+ a normal power supply for PI, and i get the same problem.

Are you sure it's worth buying a better one ? Something like that

https://fr.aliexpress.com/item/329698217...3e2b5da958

or with a bigger power ?
#26
ok i've missed the last posts.

I understand: i'm going to make a bluetooth test with the PI only (no dac, no nas, thus using radio) using the basic power for PI
#27
ok so...

I'm currently running

PI B+
No DAC
No use of NAS (listening to radio)
5V basic power

Connected in bluetooth out, listening online radios.

So far (about 2h) everything is working fine. Below are the logs.

What's next ? Connecting the DAC+12V power supply listening to radio ? (no NAS ?)

----------pi@moode:~ $ egrep -i '(warn|error|fail)' /var/log/moode.log
pi@moode:~ $ egrep -i '(warn|error|fail)' /var/log/syslog
Jan 26 00:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 01:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 02:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 03:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 04:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 05:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 06:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 07:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 08:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 09:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 09:40:13 moode kernel: [    0.739656] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = 9b514000 dma = 0xdb514000 len=9024
Jan 26 09:40:13 moode kernel: [    0.751425] WARN::hcd_init_fiq:457: FIQ on core 1
Jan 26 09:40:13 moode kernel: [    0.752999] WARN::hcd_init_fiq:458: FIQ ASM at 8067e4c4 length 36
Jan 26 09:40:13 moode kernel: [    0.754536] WARN::hcd_init_fiq:497: MPHI regs_base at 9c810000
Jan 26 09:40:13 moode kernel: [    4.741611] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [    4.940100] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [    4.940105] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [    4.964580] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [    5.043374] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [    5.789425] pcm512x 1-004c: Failed to reset device: -121
Jan 26 09:40:13 moode kernel: [    5.789766] pcm512x: probe of 1-004c failed with error -121
Jan 26 09:40:13 moode kernel: [    7.487553] random: 7 urandom warning(s) missed due to ratelimiting
Jan 26 09:41:38 moode bluetoothd[1147]: Failed to set privacy: Rejected (0x0b)
Jan 26 09:41:39 moode kernel: [   93.810024] CIFS VFS: Error connecting to socket. Aborting operation.
Jan 26 09:41:39 moode kernel: [   93.810034] CIFS VFS: cifs_mount failed w/return code = -101
Jan 26 09:40:13 moode kernel: [    0.739004] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = bad04000 dma = 0xfad04000 len=9024
Jan 26 09:40:13 moode kernel: [    0.750769] WARN::hcd_init_fiq:457: FIQ on core 1
Jan 26 09:40:13 moode kernel: [    0.752341] WARN::hcd_init_fiq:458: FIQ ASM at 8067e4c4 length 36
Jan 26 09:40:13 moode kernel: [    0.753876] WARN::hcd_init_fiq:497: MPHI regs_base at bb810000
Jan 26 09:40:13 moode kernel: [    4.749778] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [    4.872396] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [    4.872735] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [    4.932415] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [    4.934561] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [    5.887010] pcm512x 1-004c: Failed to reset device: -121
Jan 26 09:40:13 moode kernel: [    5.887312] pcm512x: probe of 1-004c failed with error -121
Jan 26 09:40:13 moode kernel: [    7.692499] random: 7 urandom warning(s) missed due to ratelimiting
Jan 26 10:52:11 moode bluetoothd[1242]: Failed to set privacy: Rejected (0x0b)
Jan 26 10:52:29 moode kernel: [  124.017241] CIFS VFS: server 192.168.0.11 of type Samba 3.2.8 returned unexpected error on SMB posix open, disabling posix open support. Check if server update available.
Jan 26 10:52:29 moode kernel: [  124.019099] CIFS VFS: server 192.168.0.11 of type Samba 3.2.8 returned unexpected error on SMB posix open, disabling posix open support. Check if server update available.
Jan 26 10:52:29 moode kernel: [  124.019147] CIFS VFS: server 192.168.0.11 of type Samba 3.2.8 returned unexpected error on SMB posix open, disabling posix open support. Check if server update available.
Jan 26 11:08:37 moode kernel: [    0.738994] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = bad04000 dma = 0xfad04000 len=9024
Jan 26 11:08:37 moode kernel: [    0.750762] WARN::hcd_init_fiq:457: FIQ on core 1
Jan 26 11:08:37 moode kernel: [    0.752336] WARN::hcd_init_fiq:458: FIQ ASM at 8067e4c4 length 36
Jan 26 11:08:37 moode kernel: [    0.753872] WARN::hcd_init_fiq:497: MPHI regs_base at bb810000
Jan 26 11:08:37 moode kernel: [    4.735940] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:08:37 moode kernel: [    4.874178] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:08:37 moode kernel: [    4.874183] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:08:37 moode kernel: [    4.943419] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:08:37 moode kernel: [    4.970069] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:08:37 moode kernel: [    5.743265] pcm512x 1-004c: Failed to reset device: -121
Jan 26 11:08:37 moode kernel: [    5.743542] pcm512x: probe of 1-004c failed with error -121
Jan 26 11:08:37 moode kernel: [    7.667843] random: 7 urandom warning(s) missed due to ratelimiting
Jan 26 11:09:02 moode bluetoothd[983]: Failed to set privacy: Rejected (0x0b)
Jan 26 11:16:52 moode kernel: [   38.414405] CIFS VFS: server 192.168.0.11 of type Samba 3.2.8 returned unexpected error on SMB posix open, disabling posix open support. Check if server update available.
Jan 26 11:17:39 moode kernel: [    0.739065] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = bad04000 dma = 0xfad04000 len=9024
Jan 26 11:17:39 moode kernel: [    0.750838] WARN::hcd_init_fiq:457: FIQ on core 1
Jan 26 11:17:39 moode kernel: [    0.752411] WARN::hcd_init_fiq:458: FIQ ASM at 8067e4c4 length 36
Jan 26 11:17:39 moode kernel: [    0.753947] WARN::hcd_init_fiq:497: MPHI regs_base at bb810000
Jan 26 11:17:39 moode kernel: [    4.428251] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:17:39 moode kernel: [    4.547099] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:17:39 moode kernel: [    4.666343] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:17:39 moode kernel: [    4.666358] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:17:39 moode kernel: [    4.710590] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:17:39 moode kernel: [    4.724124] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:17:39 moode kernel: [    7.487778] random: 7 urandom warning(s) missed due to ratelimiting
Jan 26 11:18:02 moode bluetoothd[1117]: Failed to set privacy: Rejected (0x0b)
Jan 26 11:18:04 moode kernel: [   32.570752] CIFS VFS: server 192.168.0.11 of type Samba 3.2.8 returned unexpected error on SMB posix open, disabling posix open support. Check if server update available.
Jan 26 12:17:48 moode rngd[336]: stats: FIPS 140-2 failures: 0
----------------
pi@moode:~ $ moodeutl -i
Generating info...

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

moOde release           = 6.4.0 2019-11-24
Raspbian OS             = 10.2
Linux kernel            = 4.19.83-v7+ #1277
Platform                = Pi-3B 1GB v1.2
Architecture            = armv7l (32-bit)
System uptime           = up 1 hour, 34 minutes
Timezone                = Europe/Paris
Current time            = 2020-01-26 12:51:57

Host name               = moode
Ethernet address        = 192.168.0.102
Ethernet MAC            = b8:27:eb:0c:1b:39
WLAN address            = unassigned
WLAN MAC                = b8:27:eb:59:4e:6c
WLAN country            = US

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          = 694M
Root expand             = not expanded
Memory free             = 649 MB
Memory used             = 105 MB
SoC temperature         = 36.5°C

CPU governor            = ondemand
Onboard WiFi            = On
Onboard BT              = On
HDMI output             = Off
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            = On-board audio device
Interface               = SoC
Mixer name              = PCM
Hardware volume         = Controller detected
Max ALSA volume         = 100
Audio source            = Local
Output device           = Bluetooth
Resume MPD              = No
Volume knob             = 92
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    = On
Pairing agent           = Off
Airplay receiver        = Off
Spotify receiver        = Off
Squeezelite             = Off
UPnP client             = Off
DLNA server             = Off
GPIO button handler     = Off
UPnP browser            = Off

Auto-shuffle            = Off
Autoplay                = Off
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                   = Default
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             = 1.25

M P D   S E T T I N G S

Version                 = 0.21.16
Volume control          = software
ALSA device             = hw:0
SoX resampling          = disabled
SoX quality             = very high
SoX multithreading      = off
DSD over PCM (DoP)      = no
Replaygain              = off
Replaygain preamp       = 0
Volume normalization    = No
Audio buffer            = 4096 (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         = No
Resume MPD              = No
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                = 160
Initial volume          = 0
Volume curve            = Logarithmic
Volume normalization    = No
Normalization pregain   = 0
Resume MPD              = No

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

20200126 111750 worker: -- Start
20200126 111750 worker: Successfully daemonized
20200126 111750 worker: Integrity check (passed)
20200126 111750 worker: Session loaded
20200126 111750 worker: Debug logging (off)
20200126 111750 worker: Device raw: Card0 (ALSA) | Card1 () | I2Sdev (none)
20200126 111750 worker: Device cfg: Name (IQaudIO Pi-DigiAMP+) | Card (0) | MPDdev (0) | Mixer (Digital) | Alsavol: (Invalid card number.)
20200126 111750 worker: ALSA volume set to (0%)
20200126 111750 worker: -- System
20200126 111752 worker: Host name     (moode)
20200126 111752 worker: moOde release (6.4.0 2019-11-24)
20200126 111752 worker: Raspbian OS   (10.2)
20200126 111752 worker: Linux kernel  (4.19.83-v7+ #1277)
20200126 111752 worker: Platform      (Pi-3B 1GB v1.2)
20200126 111752 worker: Architecture  (armv7l)
20200126 111752 worker: MPD version   (0.21.16)
20200126 111752 worker: CPU governor  (ondemand)
20200126 111752 worker: USB boot not enabled yet
20200126 111752 worker: File system not expanded yet
20200126 111753 worker: HDMI port off
20200126 111753 worker: File check (OK)
20200126 111753 worker: -- Network
20200126 111753 worker: eth0 exists
20200126 111753 worker: IP addr (192.168.0.102)
20200126 111753 worker: Netmask (255.255.255.0)
20200126 111753 worker: Gateway (192.168.0.1)
20200126 111754 worker: Pri DNS ()
20200126 111754 worker: Domain  (192.168.0.1)
20200126 111754 worker: wlan0 exists
20200126 111754 worker: wifi country (US)
20200126 111754 worker: wlan0 SSID is blank
20200126 111754 worker: eth0 addr exists, AP mode not started
20200126 111754 worker: wlan0 address not assigned
20200126 111754 worker: -- Audio
20200126 111754 worker: ALSA outputs unmuted
20200126 111754 worker: ALSA card number (0)
20200126 111754 worker: Audio output (On-board audio device)
20200126 111755 worker: Audio formats (U8, S16_LE)
20200126 111755 worker: ALSA mixer name (PCM)
20200126 111755 worker: MPD volume control (software)
20200126 111755 worker: Hdwr volume controller exists
20200126 111755 worker: Max ALSA volume (100%)
20200126 111755 worker: -- Services
20200126 111755 worker: Reset renderer active state
20200126 111756 worker: MPD conf updated
20200126 111756 worker: MPD started
20200126 111757 worker: MPD accepting connections
20200126 111757 worker: Configure MPD outputs
20200126 111757 worker: MPD output 1 ALSA default (off)
20200126 111757 worker: MPD output 2 ALSA crossfeed (off)
20200126 111757 worker: MPD output 3 ALSA parametric eq (off)
20200126 111757 worker: MPD output 4 ALSA graphic eq (off)
20200126 111757 worker: MPD output 5 ALSA polarity inversion (off)
20200126 111757 worker: MPD output 6 ALSA bluetooth (on)
20200126 111757 worker: MPD output 7 HTTP stream (off)
20200126 111757 worker: MPD crossfade (off)
20200126 111757 worker: Audio source (Local)
20200126 111757 worker: Output device (Bluetooth)
20200126 111757 worker: Bluetooth controller started
20200126 111803 worker: Bluetooth controller initialized
20200126 111803 worker: USB auto-mounter (udisks-glue)
20200126 111803 worker: -- Music sources
20200126 111803 worker: USB sources (none attached)
20200126 111803 worker: NAS and UPnP sources (mountall initiated)
20200126 111803 worker: -- Miscellaneous
20200126 111803 worker: Saved MPD vol level (0)
20200126 111803 worker: Preamp volume level (0)
20200126 111803 worker: MPD volume level (31) restored
20200126 111803 worker: ALSA volume level (100%)
20200126 111803 worker: Auto-play (Off)
20200126 111803 worker: Maintenance interval (6 hrs)
20200126 111803 worker: Screen saver activation (Never)
20200126 111804 worker: Session permissions (OK)
20200126 111804 worker: Watchdog started
20200126 111804 worker: Ready
20200126 111804 watchdog: INFO Audio output is (closed)
20200126 112620 watchdog: INFO Audio output is (in use)
20200126 112626 watchdog: INFO Audio output is (closed)
20200126 113242 watchdog: INFO Audio output is (in use)
20200126 113248 watchdog: INFO Audio output is (closed)
#28
Something new : while keeping the same configuration, i've tried to play files from the NAS.
It works, but the sound it is very bad and low.

Strangely i didn't had this problem when running the PI A+, whithout dac...

here ar the logs

---------

pi@moode:~ $ egrep -i '(warn|error|fail)' /var/log/syslog
Jan 26 00:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 01:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 02:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 03:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 04:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 05:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 06:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 07:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 08:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 09:39:39 moode rngd[359]: stats: FIPS 140-2 failures: 0
Jan 26 09:40:13 moode kernel: [ 0.739656] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = 9b514000 dma = 0xdb514000 len=9024
Jan 26 09:40:13 moode kernel: [ 0.751425] WARN::hcd_init_fiq:457: FIQ on core 1
Jan 26 09:40:13 moode kernel: [ 0.752999] WARN::hcd_init_fiq:458: FIQ ASM at 8067e4c4 length 36
Jan 26 09:40:13 moode kernel: [ 0.754536] WARN::hcd_init_fiq:497: MPHI regs_base at 9c810000
Jan 26 09:40:13 moode kernel: [ 4.741611] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [ 4.940100] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [ 4.940105] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [ 4.964580] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [ 5.043374] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [ 5.789425] pcm512x 1-004c: Failed to reset device: -121
Jan 26 09:40:13 moode kernel: [ 5.789766] pcm512x: probe of 1-004c failed with error -121
Jan 26 09:40:13 moode kernel: [ 7.487553] random: 7 urandom warning(s) missed due to ratelimiting
Jan 26 09:41:38 moode bluetoothd[1147]: Failed to set privacy: Rejected (0x0b)
Jan 26 09:41:39 moode kernel: [ 93.810024] CIFS VFS: Error connecting to socket. Aborting operation.
Jan 26 09:41:39 moode kernel: [ 93.810034] CIFS VFS: cifs_mount failed w/return code = -101
Jan 26 09:40:13 moode kernel: [ 0.739004] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = bad04000 dma = 0xfad04000 len=9024
Jan 26 09:40:13 moode kernel: [ 0.750769] WARN::hcd_init_fiq:457: FIQ on core 1
Jan 26 09:40:13 moode kernel: [ 0.752341] WARN::hcd_init_fiq:458: FIQ ASM at 8067e4c4 length 36
Jan 26 09:40:13 moode kernel: [ 0.753876] WARN::hcd_init_fiq:497: MPHI regs_base at bb810000
Jan 26 09:40:13 moode kernel: [ 4.749778] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [ 4.872396] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [ 4.872735] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [ 4.932415] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [ 4.934561] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 09:40:13 moode kernel: [ 5.887010] pcm512x 1-004c: Failed to reset device: -121
Jan 26 09:40:13 moode kernel: [ 5.887312] pcm512x: probe of 1-004c failed with error -121
Jan 26 09:40:13 moode kernel: [ 7.692499] random: 7 urandom warning(s) missed due to ratelimiting
Jan 26 10:52:11 moode bluetoothd[1242]: Failed to set privacy: Rejected (0x0b)
Jan 26 10:52:29 moode kernel: [ 124.017241] CIFS VFS: server 192.168.0.11 of type Samba 3.2.8 returned unexpected error on SMB posix open, disabling posix open support. Check if server update available.
Jan 26 10:52:29 moode kernel: [ 124.019099] CIFS VFS: server 192.168.0.11 of type Samba 3.2.8 returned unexpected error on SMB posix open, disabling posix open support. Check if server update available.
Jan 26 10:52:29 moode kernel: [ 124.019147] CIFS VFS: server 192.168.0.11 of type Samba 3.2.8 returned unexpected error on SMB posix open, disabling posix open support. Check if server update available.
Jan 26 11:08:37 moode kernel: [ 0.738994] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = bad04000 dma = 0xfad04000 len=9024
Jan 26 11:08:37 moode kernel: [ 0.750762] WARN::hcd_init_fiq:457: FIQ on core 1
Jan 26 11:08:37 moode kernel: [ 0.752336] WARN::hcd_init_fiq:458: FIQ ASM at 8067e4c4 length 36
Jan 26 11:08:37 moode kernel: [ 0.753872] WARN::hcd_init_fiq:497: MPHI regs_base at bb810000
Jan 26 11:08:37 moode kernel: [ 4.735940] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:08:37 moode kernel: [ 4.874178] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:08:37 moode kernel: [ 4.874183] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:08:37 moode kernel: [ 4.943419] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:08:37 moode kernel: [ 4.970069] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:08:37 moode kernel: [ 5.743265] pcm512x 1-004c: Failed to reset device: -121
Jan 26 11:08:37 moode kernel: [ 5.743542] pcm512x: probe of 1-004c failed with error -121
Jan 26 11:08:37 moode kernel: [ 7.667843] random: 7 urandom warning(s) missed due to ratelimiting
Jan 26 11:09:02 moode bluetoothd[983]: Failed to set privacy: Rejected (0x0b)
Jan 26 11:16:52 moode kernel: [ 38.414405] CIFS VFS: server 192.168.0.11 of type Samba 3.2.8 returned unexpected error on SMB posix open, disabling posix open support. Check if server update available.
Jan 26 11:17:39 moode kernel: [ 0.739065] WARN::dwc_otg_hcd_init:1045: FIQ DMA bounce buffers: virt = bad04000 dma = 0xfad04000 len=9024
Jan 26 11:17:39 moode kernel: [ 0.750838] WARN::hcd_init_fiq:457: FIQ on core 1
Jan 26 11:17:39 moode kernel: [ 0.752411] WARN::hcd_init_fiq:458: FIQ ASM at 8067e4c4 length 36
Jan 26 11:17:39 moode kernel: [ 0.753947] WARN::hcd_init_fiq:497: MPHI regs_base at bb810000
Jan 26 11:17:39 moode kernel: [ 4.428251] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:17:39 moode kernel: [ 4.547099] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:17:39 moode kernel: [ 4.666343] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:17:39 moode kernel: [ 4.666358] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:17:39 moode kernel: [ 4.710590] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:17:39 moode kernel: [ 4.724124] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
Jan 26 11:17:39 moode kernel: [ 7.487778] random: 7 urandom warning(s) missed due to ratelimiting
Jan 26 11:18:02 moode bluetoothd[1117]: Failed to set privacy: Rejected (0x0b)
Jan 26 11:18:04 moode kernel: [ 32.570752] CIFS VFS: server 192.168.0.11 of type Samba 3.2.8 returned unexpected error on SMB posix open, disabling posix open support. Check if server update available.
Jan 26 12:17:48 moode rngd[336]: stats: FIPS 140-2 failures: 0
Jan 26 13:17:48 moode rngd[336]: stats: FIPS 140-2 failures: 0
------------------------

pi@moode:~ $ moodeutl -i
Generating info...

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

moOde release = 6.4.0 2019-11-24
Raspbian OS = 10.2
Linux kernel = 4.19.83-v7+ #1277
Platform = Pi-3B 1GB v1.2
Architecture = armv7l (32-bit)
System uptime = up 2 hours, 20 minutes
Timezone = Europe/Paris
Current time = 2020-01-26 13:38:38

Host name = moode
Ethernet address = 192.168.0.102
Ethernet MAC = b8:27:eb:0c:1b:39
WLAN address = unassigned
WLAN MAC = b8:27:eb:59:4e:6c
WLAN country = US

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 = 694M
Root expand = not expanded
Memory free = 629 MB
Memory used = 111 MB
SoC temperature = 39.7°C

CPU governor = ondemand
Onboard WiFi = On
Onboard BT = On
HDMI output = Off
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 = On-board audio device
Interface = SoC
Mixer name = PCM
Hardware volume = Controller detected
Max ALSA volume = 100
Audio source = Local
Output device = Bluetooth
Resume MPD = No
Volume knob = 92
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 = On
Pairing agent = Off
Airplay receiver = Off
Spotify receiver = Off
Squeezelite = Off
UPnP client = Off
DLNA server = Off
GPIO button handler = Off
UPnP browser = Off

Auto-shuffle = Off
Autoplay = Off
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 = Default
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 = 1.25

M P D S E T T I N G S

Version = 0.21.16
Volume control = software
ALSA device = hw:0
SoX resampling = disabled
SoX quality = very high
SoX multithreading = off
DSD over PCM (DoP) = no
Replaygain = off
Replaygain preamp = 0
Volume normalization = No
Audio buffer = 4096 (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 = No
Resume MPD = No
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 = 160
Initial volume = 0
Volume curve = Logarithmic
Volume normalization = No
Normalization pregain = 0
Resume MPD = No

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

20200126 111750 worker: -- Start
20200126 111750 worker: Successfully daemonized
20200126 111750 worker: Integrity check (passed)
20200126 111750 worker: Session loaded
20200126 111750 worker: Debug logging (off)
20200126 111750 worker: Device raw: Card0 (ALSA) | Card1 () | I2Sdev (none)
20200126 111750 worker: Device cfg: Name (IQaudIO Pi-DigiAMP+) | Card (0) | MPDdev (0) | Mixer (Digital) | Alsavol: (Invalid card number.)
20200126 111750 worker: ALSA volume set to (0%)
20200126 111750 worker: -- System
20200126 111752 worker: Host name (moode)
20200126 111752 worker: moOde release (6.4.0 2019-11-24)
20200126 111752 worker: Raspbian OS (10.2)
20200126 111752 worker: Linux kernel (4.19.83-v7+ #1277)
20200126 111752 worker: Platform (Pi-3B 1GB v1.2)
20200126 111752 worker: Architecture (armv7l)
20200126 111752 worker: MPD version (0.21.16)
20200126 111752 worker: CPU governor (ondemand)
20200126 111752 worker: USB boot not enabled yet
20200126 111752 worker: File system not expanded yet
20200126 111753 worker: HDMI port off
20200126 111753 worker: File check (OK)
20200126 111753 worker: -- Network
20200126 111753 worker: eth0 exists
20200126 111753 worker: IP addr (192.168.0.102)
20200126 111753 worker: Netmask (255.255.255.0)
20200126 111753 worker: Gateway (192.168.0.1)
20200126 111754 worker: Pri DNS ()
20200126 111754 worker: Domain (192.168.0.1)
20200126 111754 worker: wlan0 exists
20200126 111754 worker: wifi country (US)
20200126 111754 worker: wlan0 SSID is blank
20200126 111754 worker: eth0 addr exists, AP mode not started
20200126 111754 worker: wlan0 address not assigned
20200126 111754 worker: -- Audio
20200126 111754 worker: ALSA outputs unmuted
20200126 111754 worker: ALSA card number (0)
20200126 111754 worker: Audio output (On-board audio device)
20200126 111755 worker: Audio formats (U8, S16_LE)
20200126 111755 worker: ALSA mixer name (PCM)
20200126 111755 worker: MPD volume control (software)
20200126 111755 worker: Hdwr volume controller exists
20200126 111755 worker: Max ALSA volume (100%)
20200126 111755 worker: -- Services
20200126 111755 worker: Reset renderer active state
20200126 111756 worker: MPD conf updated
20200126 111756 worker: MPD started
20200126 111757 worker: MPD accepting connections
20200126 111757 worker: Configure MPD outputs
20200126 111757 worker: MPD output 1 ALSA default (off)
20200126 111757 worker: MPD output 2 ALSA crossfeed (off)
20200126 111757 worker: MPD output 3 ALSA parametric eq (off)
20200126 111757 worker: MPD output 4 ALSA graphic eq (off)
20200126 111757 worker: MPD output 5 ALSA polarity inversion (off)
20200126 111757 worker: MPD output 6 ALSA bluetooth (on)
20200126 111757 worker: MPD output 7 HTTP stream (off)
20200126 111757 worker: MPD crossfade (off)
20200126 111757 worker: Audio source (Local)
20200126 111757 worker: Output device (Bluetooth)
20200126 111757 worker: Bluetooth controller started
20200126 111803 worker: Bluetooth controller initialized
20200126 111803 worker: USB auto-mounter (udisks-glue)
20200126 111803 worker: -- Music sources
20200126 111803 worker: USB sources (none attached)
20200126 111803 worker: NAS and UPnP sources (mountall initiated)
20200126 111803 worker: -- Miscellaneous
20200126 111803 worker: Saved MPD vol level (0)
20200126 111803 worker: Preamp volume level (0)
20200126 111803 worker: MPD volume level (31) restored
20200126 111803 worker: ALSA volume level (100%)
20200126 111803 worker: Auto-play (Off)
20200126 111803 worker: Maintenance interval (6 hrs)
20200126 111803 worker: Screen saver activation (Never)
20200126 111804 worker: Session permissions (OK)
20200126 111804 worker: Watchdog started
20200126 111804 worker: Ready
20200126 111804 watchdog: INFO Audio output is (closed)
20200126 112620 watchdog: INFO Audio output is (in use)
20200126 112626 watchdog: INFO Audio output is (closed)
20200126 113242 watchdog: INFO Audio output is (in use)
20200126 113248 watchdog: INFO Audio output is (closed)
#29
@Maitresinh

I'm sorry but you've mentioned so many different things in your posts I'm confused as to whats working for you and what's not.

This thread started out with the proposition that Bluetooth input/output was failing after some elapsed time.

It would seem that in post #27 you are saying Bluetooth output is working with moOde 6.4.0 on an RPi3B (?) with 5v power supply, no DAC and no NAS. Basically good, although your logs show you've configured moOde for a DAC and for your NAS. [1] 

By way of comparison, the test I started yesterday with moOde 6.4.1 on an RPi3A+ is still running just fine after 18 hours now.

At this point I'm going to bow out. I no longer think there's some residual problem with Bluetooth but some basic problems with your hardware setup. I can't readily diagnose them with log scans looking for software issues. 

Good luck.

Regards,
Kent

[1] the logs also show that your NAS is running a very old version 3.2.8 of Samba. The latest release of Samba is 4.10.13 and moOde (well, Raspbian, actually) is only slightly behind with version 4.9.5. 

I have no idea what the implications of this may be but your NAS performance is a different issue. I have never had such a problem as "the sound it is very bad and low" with any variety of NAS and any version of moOde on any RPi model.
#30
thanks anyway

For the record

a) PI 3B only + 5V + listening radio : working with bluetooth (NAS is configured, but not in use)
b) PI 3B+DAC+ 12V+ listening radio : working with bluetooth (NAS is configured, but not in use)

So yes, it may be a problem of the NAS along with bluetooth (NAS only is working fine), as the problem happen ony with both at the same time.

An yes, my NAS is 10 years old.

So my conclusions:

1/ you gave me confirmation that it's time to change my NAS anyway. Any suggestions for using with Moode ?
2/ As i said,in case (a), when i tried to use my NAS, the output was very low and bad. It suggest (at least to me) and has i've been told here, that i need a more powerfull power supply. Again, any suggestions ?


Forum Jump: