Moode Forum

Full Version: ALSA volume and play stops
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have been set up and running moOde on my first build for a couple of weeks and it's terrific. Everything was functioning fine until I moved the system to its final spot in the house. Since then, whenever I power up, ALSA volume is set to 0% and song playback from the USB drive stops after every song. 

I have the piano 2.1 combined with kali and volt and running a subwoofer. 

Allo DSP firmware is installed... What am I missing? 
Thanks, 
Travis

Code:
Linux kernel 4.14.84-v7+ armv7l, moOde 4.4 2018-12-09
                         ____     __
             __ _  ___  / __ \___/ /__
            /  ' \/ _ \/ /_/ / _  / -_)
           /_/_/_/\___/\____/\_,_/\__/

                moOde audio player
               (C) 2014 Tim Curtis


The programs included with Moode are free software; the
exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright.
Moode comes with absolutely no warranties expressed or
implied, or any other guarantees.

pi@moode:~ $ ./piano.sh
Dual mode: None
Subw mode: 2.1
Sub xover: 60
Sub level: 100%
Main levl: 100%
Mstr levl: 100%
pi@moode:~ $ /var/www/command/sysinfo.sh
modprobe: ERROR: could not insert 'configs': Operation not permitted
rmmod: ERROR: Module configs is not currently loaded

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

       Date and time   = 2019-02-15 13:05:53
       System uptime   = up 16 hours, 13 minutes
       Timezone        = America/Detroit
       moOde           = Release 4.4 2018-12-09

       Host name       = moode
       ETH0  IP        = unassigned
       ETH0  MAC       = b8:27:eb:90:b6:99
       WLAN0 IP        = 192.168.1.2
       WLAN0 MAC       = b8:27:eb:c5:e3:cc
       WiFi country    = US

       HDWR REV        = Pi-3B+ 1GB v1.3
       SoC             = BCM2835
       CORES           = 4
       ARCH            = armv7l
       RASPBIAN        = 9.6
       KERNEL          = 4.14.84-v7+
       KTIMER FREQ     = No /proc/config.gz Hz
       USB BOOT        = enabled
       Warranty        = OK

       ROOT size       = 30G
       ROOT used       = 7%
       ROOT avail      = 27G
       FS expand       = expanded
       MEM free        = 500 MB
       MEM used        = 69 MB
       Temperature     = 50.5°C

       CPU GOV         = performance
       MPD SCHDPOL     = TS
       P3-WIFI         = On
       P3-BT           = On
       HDMI            = On
       ETH0 CHECK      = On
       MAX USB CUR     = Off
       UAC2 FIX        = Off
       ETHPORT FIX     = Off
       SSH server      = Off

       LED0            = on
       LED1            = on

         C O R E    S E R V E R S

       PHP-FPM         = 7.0.33
       NGINX           = 1.10.3
       SQLite          = 3.16.2

         C P U    L O A D

       CPU     %usr    %sys    %idle
       all     1.01    0.50    98.36
       0       1.03    1.03    97.44
       1       0.00    1.00    99.00
       2       1.01    0.00    98.99
       3       2.00    0.00    98.00

         P R O C E S S    L O A D

       PRI RTPRIO COMMAND         %MEM PSR %CPU
        19      - sysinfo.sh       0.3   2  2.3
        19      - worker.php       1.2   0  0.3
        29      - mpd              2.8   3  0.2
        19      - php-fpm7.0       1.4   1  0.1
        19      - sshd             0.6   2  0.1
        19      - bash             0.4   1  0.1
        19      - systemd          0.6   3  0.0
        19      - kthreadd         0.0   3  0.0
        39      - kworker/0:0H     0.0   0  0.0

         C L O C K    F R E Q U E N C I E S

       arm   = 600 MHz          pwm   = 0 MHz
       core  = 250 MHz          emmc  = 200 MHz
       h264  = 249 MHz          pixel = 25 MHz
       isp   = 250 MHz          vec   = 126 MHz
       v3d   = 249 MHz          hdmi  = 163 MHz
       uart  = 48 MHz           dpi   = 0 MHz

grep: /sys/kernel/debug/mmc0/ios: Permission denied

         S Y S T E M    V O L T A G E S

       core                    = 1.2000V
       sdram controller        = 1.2500V
       sdram I/O               = 1.2500V
       sdram chip              = 1.2250V

         U I  C U S T O M I Z A T I O N S

       Theme                   = Nightshade
       Accent color            = Fallenleaf
       Alpha blend             =
       Adaptive background     =
       Background image        = No
       Playback history        =
       Extra metadata          =
       Artist list order       =
       Compilation rollup      =
       Compilation excludes    =
       Cover search pri        =
       Hi-res covers           =
       Pixel ratio             = 2.625
       Cover backdrop          =
       Cover blur              =
       Cover scale             =

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

       Audio device            = Allo Piano 2.1 Hi-Fi DAC
       Interface               = I2S
       Hdwr volume             = Controller detected
       Mixer name              = Master
       Output stream           = Closed
       ALSA version            = 1.1.3-5+rpi3
       SoX version             = 0.1.2-2

       Volume knob             = 49
       Volume mute             = Unmuted

       Bluetooth controller    = On
       Airplay receiver        = Off
       Spotify receiver        = On
       Squeezelite             = Off
       UPnP client             = Off
       DLNA server             = Off

       Rotary encoder          = Off
       Encoder params          = 100 2 3 4 5
       Crossfeed               = Off
       Parametric EQ           = Off
       Graphic EQ              = Hi-Lo Boost Plus
       Auto-shuffle            = Off
       Autoplay                = Off
       MPD crossfade           = Off

         M P D    S E T T I N G S

       Version                 = 0.20.20
       Volume control          = software
       ALSA device             = hw:0
       SoX resampling          = *:32:*
       SoX quality             = very high
       SoX multithreading      = off
       Audio buffer (kb)       = 4096
       Buffer before play      = 10%
       Output buffer size (kb) = 81920
       Volume normalization    = No
       DSD over PCM (DoP)      = no
       Replay gain             = off

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

       Bluetooth ver           = 5.49
       Bluealsa ver            = 1.2.0
       Speaker sharing         = No
       Resume MPD              = No

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

       Version                 = 3.2.2
       Friendly name           = Moode Airplay
       ALSA device             = hw:0
       Volume mixer            = auto
       Resume MPD              = No
       Output bit depth        = S16
       Output sample rate      = 44100
       Session interruption    = no
       Session timeout (ms)    = 120
       Audio buffer (secs)     = 0.0

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

       Friendly name           = Moode Spotify
       ALSA device             = default:CARD=PianoDACPlus
       Resume MPD              = No
       Bit rate                = 320
       Initial volume          = 50
       Volume curve            = Logarithmic
       Volume normalization    = No
       Normalization pregain   = 0

         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
       Resume MPD              = No
       Other options           = -W -D 500 -R E -S /var/loca

         M O O D E    L O G

   20190214 205208 worker: - Start
   20190214 205208 worker: Successfully daemonized
   20190214 205208 worker: Integrity check ok
   20190214 205209 worker: Session loaded
   20190214 205209 worker: Debug logging (off)
   20190214 205209 worker: - Platform
   20190214 205210 worker: Host (moode)
   20190214 205210 worker: Hdwr (Pi-3B+ 1GB v1.3)
   20190214 205210 worker: Arch (armv7l)
   20190214 205210 worker: Rasp (9.6)
   20190214 205210 worker: Kver (4.14.84-v7+)
   20190214 205210 worker: Ktyp (Standard)
   20190214 205210 worker: Gov  (performance)
   20190214 205210 worker: Rel  (Moode 4.4 2018-12-09)
   20190214 205210 worker: Upd  (None)
   20190214 205210 worker: MPD  (0.20.20)
   20190214 205210 worker: USB boot enabled
   20190214 205211 worker: File system expanded
   20190214 205211 worker: HDMI port on
   20190214 205212 worker: File check ok
   20190214 205212 worker: - Network
   20190214 205212 worker: eth0 exists
   20190214 205212 worker: eth0 wait 0 for IP address
   20190214 205215 worker: eth0 wait 1 for IP address
   20190214 205218 worker: eth0 wait 2 for IP address
   20190214 205221 worker: eth0 wait 3 for IP address
   20190214 205224 worker: eth0 wait 4 for IP address
   20190214 205235 worker: eth0 wait 5 for IP address
   20190214 205238 worker: eth0 wait 6 for IP address
   20190214 205241 worker: eth0 wait 7 for IP address
   20190214 205244 worker: eth0 wait 8 for IP address
   20190214 205247 worker: eth0 wait 9 for IP address
   20190214 205250 worker: eth0 address not assigned
   20190214 205250 worker: wlan0 exists
   20190214 205250 worker: wifi country (US)
   20190214 205250 worker: wlan0 trying SSID (Dotson24)
   20190214 205250 worker: wlan0 (192.168.1.2)
   20190214 205250 worker: - Audio
   20190214 205251 worker: ALSA outputs unmuted
   20190214 205251 worker: ALSA card number (0)
   20190214 205251 worker: Audio out (I2S audio device)
   20190214 205251 worker: Audio dev (Allo Piano 2.1 Hi-Fi DAC)
   20190214 205251 worker: ALSA mixer name (Master)
   20190214 205251 worker: MPD volume control (software)
   20190214 205251 worker: Hdwr volume controller exists
   20190214 205251 worker: Chip options (Burr Brown PCM5142)
   20190214 205251 worker: Piano output mode (2.1)
   20190214 205258 worker: Piano 2.1 initialized
   20190214 205258 worker: - Services
   20190214 205258 worker: Reset renderer active
   20190214 205300 worker: MPD started
   20190214 205300 worker: MPD scheduler policy (time-share)
   20190214 205300 worker: Configure MPD outputs
   20190214 205300 worker: MPD output 1 ALSA default (off)
   20190214 205300 worker: MPD output 2 ALSA crossfeed (off)
   20190214 205300 worker: MPD output 3 ALSA parametric eq (off)
   20190214 205300 worker: MPD output 4 ALSA graphic eq (on)
   20190214 205300 worker: MPD output 5 ALSA bluetooth (off)
   20190214 205300 worker: MPD crossfade (off)
   20190214 205300 worker: Spotify receiver started
   20190214 205300 worker: Bluetooth controller started
   20190214 205308 worker: Bluetooth controller initialized
   20190214 205308 worker: - Music sources
   20190214 205308 worker: USB source (KINGSTON)
   20190214 205308 worker: USB source (KINGSTON_)
   20190214 205308 worker: NAS sources (none configured)
   20190214 205308 worker: - Miscellaneous
   20190214 205308 worker: Volume level (37) restored
   20190214 205308 worker: Maintenance interval (21600)
   20190214 205308 worker: Screen saver activation (Never)
   20190214 205308 worker: Watchdog started
   20190214 205308 worker: Ready
   20190214 205612 worker: Job alsavolume
   20190215 030014 worker: Maintenance completed
   20190215 090706 worker: Maintenance completed
Hi,

I took the liberty of placing the log output in a code box to make it more readable. The code box popup is the fifth button from the right on the toolbar when composing a post.

If your system was working fine and nothing changed other than physically moving it to a new location then I'd suspect something external to moOde software for example power supply, sdcard, network, etc
How are you powering the stack..? Did you change any power cables when moving to it's current position ?
I had a number of problems with the same hardware solved by powering the Pi and Kali/Piano 2.1 from separate supplies.