Thank you for your donation!


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


ALSA No space left on device
#1
I'm experiencing a little bit of a strange issue... 

I'm running the latest moode release on a rpi 4 with 1GB RAM and a 32GB SD card. I'm playing audio through a Marantz USB DAC, Spotify and Airplay work flawlessly.
When I start a radio station, or want to play audio files from a NAS to the USB DAC I'm getting the following error:

Failed to open "ALSA Default" (alsa); Error opening ALSA device "_audioout"; snd_pcm_hw_params() failed: No space left on device

OTOH when I play files/radio via HDMI (Pi display built-in speakers) it works perfectly. Meaning, it's definitely not a storage space issue & df reports the following:

pi@moode:~ $ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/root              29G  3.7G   24G  14% /
devtmpfs              196M     0  196M   0% /dev
tmpfs                 454M  8.9M  445M   2% /dev/shm
tmpfs                 182M  1.9M  180M   1% /run
tmpfs                 5.0M   20K  5.0M   1% /run/lock
/dev/mmcblk0p1        510M   65M  446M  13% /boot/firmware
log2ram                32M   13M   20M  40% /var/log
//192.168.1.25/music   19T  8.9T  9.2T  50% /mnt/NAS/Synology
tmpfs                  91M     0   91M   0% /run/user/1000
pi@moode:~ $ df -i
Filesystem            Inodes  IUsed   IFree IUse% Mounted on
/dev/root            1902560 101504 1801056    6% /
devtmpfs               49959    480   49479    1% /dev
tmpfs                 116103     33  116070    1% /dev/shm
tmpfs                 819200    836  818364    1% /run
tmpfs                 116103      7  116096    1% /run/lock
/dev/mmcblk0p1             0      0       0     - /boot/firmware
log2ram               116103     75  116028    1% /var/log
//192.168.1.25/music       0      0       0     - /mnt/NAS/Synology
tmpfs                  23220     19   23201    1% /run/user/1000


What seems to be the culprit and what might the solution be? What do I need to do that ALSA routes correctly to the USB DAC... thanks!


edit: I just learned about moodeutl -f & it spits out S16_LE, S24_3LE
Reply
#2
Reboot and then post the contents of the startup log.

The log can be viewed via the SSH command moodeutl -l or downloaded via the Logs section in System Config, or via Menu, System info from any of the Config screens. The startup log will be at the end of System info output.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(02-26-2025, 03:44 PM)Tim Curtis Wrote: Reboot and then post the contents of the startup log.

The log can be viewed via the SSH command moodeutl -l or downloaded via the Logs section in System Config, or via Menu, System info from  any of the Config screens. The startup log will be at the end of System info output.

here we go:

pi@moode:~ $ moodeutl -l
20250226 105837 worker: --
20250226 105837 worker: -- Start moOde 9 series
20250226 105837 worker: --
20250226 105837 worker: Daemonize:     complete
20250226 105838 worker: Linux startup: complete
20250226 105838 worker: Boot config:   ok
20250226 105838 worker: Boot folder:   ok
20250226 105838 worker: Radio table:   ok
20250226 105840 worker: PHP session:   cleaned
20250226 105840 worker: PHP session:   loaded
20250226 105843 worker: Package locks: applied
20250226 105844 worker: File check:    complete
20250226 105844 worker: Log to RAM:    on
20250226 105844 worker: Debug logging: off
20250226 105844 worker: --
20250226 105844 worker: -- System
20250226 105844 worker: --
20250226 105846 worker: Host name:     moode
20250226 105846 worker: RPi model:     Pi-4B 1.1 1GB
20250226 105846 worker: moOde release: 9.2.5 2025-02-23
20250226 105846 worker: RaspiOS:       12.9 Bookworm 64-bit
20250226 105846 worker: Linux Kernel:  6.6.74 64-bit
20250226 105846 worker: MPD version:   0.23.14
20250226 105846 worker: User id:       pi
20250226 105846 worker: Home folder:   /home/pi
20250226 105846 worker: Time zone:     America/New_York
20250226 105846 worker: Kbd layout:    us
20250226 105846 worker: HDMI ports(s): on
20250226 105846 worker: HDMI-CEC:      off
20250226 105847 worker: Sys LED0:      on
20250226 105847 worker: Sys LED1:      on
20250226 105847 worker: Reduce power:  n/a
20250226 105847 worker: Fan control:   n/a
20250226 105847 worker: CPU governor:  ondemand
20250226 105847 worker: --
20250226 105847 worker: -- Network
20250226 105847 worker: --
20250226 105847 worker: Eth0
20250226 105847 worker: Ethernet: adapter exists
20250226 105847 worker: Ethernet: timeout off
20250226 105847 worker: Ethernet: method  dhcp
20250226 105847 worker: Ethernet: address 192.168.1.69
20250226 105847 worker: Ethernet: netmask 255.255.255.0
20250226 105847 worker: Ethernet: gateway 192.168.1.1
20250226 105847 worker: Ethernet: pri DNS 192.168.1.1
20250226 105847 worker: Ethernet: domain  fios-router.home
20250226 105847 worker: Wlan0
20250226 105847 worker: Wireless: adapter exists
20250226 105847 worker: Wireless: country US
20250226 105847 worker: Wireless: SSID    None
20250226 105847 worker: Wireless: other   None
20250226 105847 worker: mDNS
20250226 105847 worker: Discover: IPv4 and IPv6
20250226 105847 worker: --
20250226 105847 worker: -- File sharing
20250226 105847 worker: --
20250226 105847 worker: SMB file sharing:  off
20250226 105847 worker: SMB password:      none
20250226 105847 worker: NFS file sharing:  off
20250226 105847 worker: DLNA file sharing: off
20250226 105847 worker: --
20250226 105847 worker: -- Special configs
20250226 105847 worker: --
20250226 105847 worker: Plexamp:          not installed
20250226 105847 worker: RoonBridge:       not installed
20250226 105847 worker: Allo Boss 2:      not detected, OLED script ok
20250226 105847 worker: Allo Piano 2.1:   not detected
20250226 105847 worker: IQaudIO DigiAMP+: not detected
20250226 105847 worker: RPi DigiAMP+:     not detected
20250226 105847 worker: Bluetooth:        session vars ok
20250226 105847 worker: --
20250226 105847 worker: -- ALSA debug
20250226 105847 worker: --
20250226 105847 worker: Cards:  0:Audio           1:vc4hdmi0        2:vc4hdmi1        3:empty           
20250226 105847 worker:         4:empty           5:empty           6:empty           7:empty           
20250226 105848 worker: Mixers: 0SadPCM)           1SadPCM)           2:none            3:none            
20250226 105848 worker:         4:none            5:none            6:none            7:none            
20250226 105848 worker: --
20250226 105848 worker: -- Audio configuration
20250226 105848 worker: --
20250226 105848 worker: Audio device:  0:Marantz USB Audio
20250226 105848 worker: ALSA card:     has not been reassigned
20250226 105848 worker: MPD config:    update not needed
20250226 105849 worker: ALSA output:   USB
20250226 105849 worker: ALSA mode:     Default (plughw)
20250226 105849 worker: ALSA mixer:    PCM
20250226 105849 worker: ALSA volume:   100% (0.00dB)
20250226 105849 worker: ALSA maxvol:   100%
20250226 105849 worker: ALSA loopback: off
20250226 105849 worker: MPD mixer      Fixed (0dB)
20250226 105849 worker: Integ audio:   vc4-kms-v3d
20250226 105849 worker: Audio formats: S16_LE, S24_3LE
20250226 105849 worker: CamillaDSP:    off
20250226 105849 worker: CDSP volume:   -120dB
20250226 105849 worker: CDSP volrange: 60dB
20250226 105849 worker: --
20250226 105849 worker: -- MPD startup
20250226 105849 worker: --
20250226 105851 worker: MPD service:        started
20250226 105851 worker: MPD port 6600:      accepting connections
20250226 105851 worker: MPD ALSA Default:   on
20250226 105851 worker: MPD ALSA Bluetooth: off
20250226 105851 worker: MPD HTTP Server:    off
20250226 105851 worker: MPD volume:         0
20250226 105851 worker: Saved MPD vol:      -1
20250226 105851 worker: Saved SRC vol:      0
20250226 105851 worker: MPD crossfade:      off
20250226 105851 worker: MPD ignore CUE:     no
20250226 105851 worker: MPD CDSP volsync:   off
20250226 105851 worker: --
20250226 105851 worker: -- Music sources
20250226 105851 worker: --
20250226 105851 worker: USB drives:     none
20250226 105851 worker: NVMe drives:    none
20250226 105851 worker: SATA drives:    none
20250226 105851 worker: NAS source:     Synology (smb)
20250226 105855 worker: --
20250226 105855 worker: -- Feature availability
20250226 105855 worker: --
20250226 105855 worker: Input select:    available, Source: MPD, Output: Marantz USB Audio
20250226 105855 worker: Bluetooth:       available, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20250226 105855 worker: AirPlay:         started
20250226 105855 worker: Spotify Connect: started
20250226 105855 worker: Deezer Connect:  available
20250226 105855 worker: Squeezelite:     available
20250226 105855 worker: UPnP client:     available
20250226 105855 worker: Plexamp:         not installed, ALSA maxvol: 100%
20250226 105855 worker: RoonBridge:      not installed
20250226 105855 worker: Multiroom:       available
20250226 105855 worker: GPIO buttons:    available
20250226 105855 worker: Stream recorder: n/a
20250226 105855 worker: --
20250226 105855 worker: -- Security
20250226 105855 worker: --
20250226 105855 worker: Web SSH server:    off
20250226 105855 worker: XSS detection:     off
20250226 105855 worker: HTTPS mode:        available
20250226 105855 worker: --
20250226 105855 worker: -- Peripherals
20250226 105855 worker: --
Reply
#4
Its not a complete log but in any case open Audio Config and switch to HDMI 1 then back to your USB DAC.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: