Can't change "Output Device" to installed DAC - buckaroo - 12-21-2024
HI all - I've run across across a minor bug in 9.1.5 (and maybe other versions, too?)- I have a Pi 3b+ with a Hifiberry DAC+ Pro installed. When I go to "Audio" configuration and attempt to change my output device, I can't change from "0: Pi HDMI 1" to "1: HiFiBerry DAC+ Pro". When I try, it just reverts back to the HDMI entry (I've made sure that multi-room is disabled, so that's not the problem). However, I *can* choose my DAC in "Named I2S Device," and everything seems to be working audio-wise - I'm getting audio through my DAC - so I'm not sure what's getting left out by not having the correct setting for output device. Any ideas what might be going on?
RE: Can't change "Output Device" to installed DAC - Tim Curtis - 12-21-2024
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.
RE: Can't change "Output Device" to installed DAC - buckaroo - 12-21-2024
(12-21-2024, 05:24 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's the log:
Code: 20241221 123731 worker: --
20241221 123731 worker: -- Start moOde 9 series
20241221 123731 worker: --
20241221 123731 worker: Daemonize: complete
20241221 123732 worker: Linux startup: complete
20241221 123732 worker: Boot config: ok
20241221 123732 worker: Boot folder: ok
20241221 123732 worker: Radio table: ok
20241221 123735 worker: PHP session: cleaned
20241221 123736 worker: PHP session: loaded
20241221 123739 worker: Package locks: applied
20241221 123741 worker: File check: complete
20241221 123741 worker: Log to RAM: on
20241221 123741 worker: Debug logging: off
20241221 123741 worker: --
20241221 123741 worker: -- System
20241221 123741 worker: --
20241221 123745 worker: Host name: moode-lr
20241221 123745 worker: RPi model: Pi-3B 1.2 1GB
20241221 123745 worker: moOde release: 9.1.5 2024-11-26
20241221 123745 worker: RaspiOS: 12.6 Bookworm 64-bit
20241221 123745 worker: Linux Kernel: 6.6.51 64-bit
20241221 123745 worker: MPD version: 0.23.14
20241221 123745 worker: User id: buckaroo
20241221 123745 worker: Home folder: /home/buckaroo
20241221 123745 worker: Time zone: America/Detroit
20241221 123745 worker: Kbd layout: us
20241221 123745 worker: HDMI ports(s): on
20241221 123745 worker: HDMI-CEC: off
20241221 123745 worker: Sys LED0: on
20241221 123745 worker: Sys LED1: on
20241221 123745 worker: Reduce power: n/a
20241221 123745 worker: Fan control: n/a
20241221 123745 worker: CPU governor: ondemand
20241221 123745 worker: Integ audio: vc4-kms-v3d
20241221 123745 worker: --
20241221 123745 worker: -- Network
20241221 123745 worker: --
20241221 123745 worker: Eth0
20241221 123745 worker: Ethernet: adapter exists
20241221 123745 worker: Ethernet: timeout off
20241221 123745 worker: Ethernet: method dhcp
20241221 123746 worker: Ethernet: address 192.168.1.224
20241221 123746 worker: Ethernet: netmask 255.255.255.0
20241221 123746 worker: Ethernet: gateway 192.168.1.1
20241221 123746 worker: Ethernet: pri DNS 192.168.1.1
20241221 123746 worker: Ethernet: domain lan
20241221 123746 worker: Wlan0
20241221 123746 worker: Wireless: adapter does not exist
20241221 123746 worker: --
20241221 123746 worker: -- File sharing
20241221 123746 worker: --
20241221 123746 worker: SMB file sharing: off
20241221 123746 worker: SMB password: none
20241221 123746 worker: NFS file sharing: off
20241221 123746 worker: DLNA file sharing: off
20241221 123746 worker: --
20241221 123746 worker: -- Special configs
20241221 123746 worker: --
20241221 123746 worker: Plexamp: not installed
20241221 123746 worker: RoonBridge: not installed
20241221 123746 worker: Allo Piano 2.1: not detected
20241221 123746 worker: Allo Boss 2: not detected, OLED script ok
20241221 123746 worker: IQaudIO AMP*: not detected
20241221 123746 worker: --
20241221 123746 worker: -- ALSA debug
20241221 123746 worker: --
20241221 123746 worker: Cards: 0:vc4hdmi 1:sndrpihifiberry 2:empty 3:empty
20241221 123746 worker: 4:empty 5:empty 6:empty 7:empty
20241221 123746 worker: Mixers: 0:none 1:(Digital) 2:none 3:none
20241221 123746 worker: 4:none 5:none 6:none 7:none
20241221 123746 worker: --
20241221 123746 worker: -- Audio configuration
20241221 123746 worker: --
20241221 123746 worker: Audio device: 1:HiFiBerry DAC+ Pro
20241221 123747 worker: ALSA card: has not been reassigned
20241221 123747 worker: MPD config: update not needed
20241221 123747 worker: ALSA output: I2S
20241221 123747 worker: ALSA mode: Default (plughw)
20241221 123748 worker: ALSA mixer Digital
20241221 123748 worker: ALSA volume: 100% (0.00dB)
20241221 123748 worker: ALSA maxvol: 100%
20241221 123748 worker: ALSA loopback: off
20241221 123748 worker: MPD mixer Fixed (0dB)
20241221 123748 worker: Audio formats: Alsacap was unable to detect formats
20241221 123749 worker: CamillaDSP: off
20241221 123749 worker: CDSP volume: 0dB
20241221 123749 worker: CDSP volrange: 60dB
20241221 123749 worker: --
20241221 123749 worker: -- MPD startup
20241221 123749 worker: --
20241221 123752 worker: MPD service: started
20241221 123752 worker: MPD port 6600: accepting connections
20241221 123808 worker: MPD ALSA Default: on
20241221 123808 worker: MPD ALSA Bluetooth: off
20241221 123808 worker: MPD HTTP Server: off
20241221 123808 worker: MPD volume: 0
20241221 123808 worker: Saved MPD vol: -1
20241221 123808 worker: Saved SRC vol: 0
20241221 123808 worker: MPD crossfade: off
20241221 123808 worker: MPD ignore CUE: yes
20241221 123808 worker: MPD CDSP volsync: off
20241221 123808 worker: --
20241221 123808 worker: -- Music sources
20241221 123808 worker: --
20241221 123808 worker: USB drives: none
20241221 123808 worker: NVMe drives: none
20241221 123808 worker: NAS source: Music (smb)
20241221 123812 worker: --
20241221 123812 worker: -- Feature availability
20241221 123812 worker: --
20241221 123812 worker: Input select: available, Source: MPD, Output: HiFiBerry DAC+ Pro
20241221 123812 worker: Bluetooth: available, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20241221 123812 worker: AirPlay: available
20241221 123812 worker: Spotify Connect: started
20241221 123812 worker: Squeezelite: available
20241221 123812 worker: UPnP client: available
20241221 123812 worker: Plexamp: not installed, ALSA maxvol: 100%
20241221 123812 worker: RoonBridge: not installed
20241221 123812 worker: Multiroom: available
20241221 123812 worker: GPIO buttons: available
20241221 123812 worker: Stream recorder: n/a
20241221 123812 worker: --
20241221 123812 worker: -- Security
20241221 123812 worker: --
20241221 123812 worker: Web SSH server: off
20241221 123812 worker: XSS detection: off
20241221 123812 worker: HTTPS mode: available
20241221 123812 worker: --
20241221 123812 worker: -- Peripherals
20241221 123812 worker: --
20241221 123820 worker: Local display: off
20241221 123820 worker: Chromium ver: 130.0.6723.116-1~deb12u1+rpt1
20241221 123820 worker: Screen blank 600
20241221 123820 worker: On-screen kbd: off
20241221 123820 worker: Disable GPU: off
20241221 123820 worker: HDMI orient: landscape
20241221 123820 worker: HDMI 4K 60Hz: off
20241221 123820 worker: DSI scn type: none
20241221 123820 worker: DSI backlight: off
20241221 123820 worker: DSI brightness: 255
20241221 123820 worker: DSI rotate: 0
20241221 123820 worker: Rotary encoder: off
20241221 123820 worker: USB volume knob: off
20241221 123820 worker: LCD updater: off
20241221 123820 worker: --
20241221 123820 worker: -- Miscellaneous
20241221 123820 worker: --
20241221 123820 worker: Software update: Automatic check on
20241221 123820 worker: Software update: Checking for available update...
20241221 123821 worker: Software update: Software is up to date
20241221 123821 worker: Auto-CoverView: off
20241221 123821 worker: CoverView timeout: Never
20241221 123821 worker: Auto-shuffle: off
20241221 123821 worker: Auto-play: off
20241221 123821 worker: Maintenance task: 360 mins
20241221 123821 worker: Current view: reset to Playback
20241221 123821 worker: Active flags: all false
20241221 123821 worker: Reset flags: skipped
20241221 123821 worker: Session check: ok
20241221 123821 worker: --
20241221 123821 worker: -- Startup complete
20241221 123821 worker: --
20241221 123821 worker: Mount monitor: started
20241221 123821 worker: Radio monitor: off
20241221 123822 worker: Watchdog monitor: started
20241221 123822 worker: Responsiveness: Default
20241221 123822 worker: Ready
RE: Can't change "Output Device" to installed DAC - Tim Curtis - 12-21-2024
The symptoms and this log entry suggests possible breakage in the audio config.
Code: 20241221 123748 worker: Audio formats: Alsacap was unable to detect formats
Try dumping the params that reflect the audio config. Let's see if they make sense.
Code: sudo moodeutl -d -nr | grep "alsa\|mix\|dev"
cat /etc/alsa/conf.d/_audioout.conf
cat /etc/mpd.conf | grep -A10 'name "ALSA Default"'
RE: Can't change "Output Device" to installed DAC - buckaroo - 12-21-2024
Here you go:
Code: i2sdevice|HiFiBerry DAC+ Pro
alsa_output_mode|plughw
adevname|HiFiBerry DAC+ Pro
alsavolume_max|100
alsavolume|100
amixname|Digital
mpdmixer|none
alsa_loopback|Off
alsaequal|Off
mpdmixer_local|none
alsavolume_max_bt|100
alsa_output_mode_bt|_audioout
alsavolume_max_pa|100
#########################################
# This file is managed by moOde
#########################################
pcm._audioout {
type copy
slave.pcm "plughw:1,0"
}
name "ALSA Default"
device "_audioout"
mixer_type "none"
dop "no"
stop_dsd_silence "no"
thesycon_dsd_workaround "no"
}
audio_output {
type "alsa"
name "ALSA Bluetooth"
RE: Can't change "Output Device" to installed DAC - buckaroo - 12-21-2024
One quick correction: dunno if it makes any difference, but this Moode install is on a Pi3B, NOT a Pi3b+ as I previously wrote. I was confusing it with my other Moode setup, which is on a 3b+, and doesn't have the problem we're looking at here.
RE: Can't change "Output Device" to installed DAC - Tim Curtis - 12-21-2024
That command output looks ok to my eye.
You could also try verifying that cardnum is 1 and that the correct overlay (hifiberry-dacplus-pro) is loaded in config.txt
Code: sudo moodeutl -d -gv cardnum
cat /boot/firmware/config.txt
Other than that I can't think of anything else that could be causing the issue you are experiencing.
"I can't change from "0: Pi HDMI 1" to "1: HiFiBerry DAC+ Pro". When I try, it just reverts back to the HDMI entry"
RE: Can't change "Output Device" to installed DAC - buckaroo - 12-21-2024
(12-21-2024, 08:10 PM)Tim Curtis Wrote: That command output looks ok to my eye.
You could also try verifying that cardnum is 1 and that the correct overlay (hifiberry-dacplus-pro) is loaded in config.txt
Code: sudo moodeutl -d -gv cardnum
cat /boot/firmware/config.txt
Other than that I can't think of anything else that could be causing the issue you are experiencing.
"I can't change from "0: Pi HDMI 1" to "1: HiFiBerry DAC+ Pro". When I try, it just reverts back to the HDMI entry"
Both confirmed - this is just weird. Oh, well, it doesn't seem to be affecting functionality, so I won't sweat it.
|