Moode Forum
Cannot choose I2S in Output Device field - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: Cannot choose I2S in Output Device field (/showthread.php?tid=6983)

Pages: 1 2


Cannot choose I2S in Output Device field - Curiousgeorgia - 10-10-2024

HELP!  I have a RP4 running a HIFIBerry DAC+ADC hat.  On the configure - audio setup menu I am not getting in the Output Device field anything other than 0: PiHDMI ???  I do not see an I2S option therefore Moode does not know what audio device to send the audio too (See screenshot attachment)

What am I missing??  THANK YOU in advance!


RE: Cannot choose I2S in Output Device field - Tim Curtis - 10-10-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: Cannot choose I2S in Output Device field - Curiousgeorgia - 10-10-2024

Code:
20241010 152427 worker: --
20241010 152427 worker: -- Start moOde 9 series
20241010 152427 worker: --
20241010 152427 worker: Successfully daemonized
20241010 152427 worker: Wait for Linux startup
20241010 152433 worker: Linux startup complete
20241010 152433 worker: Boot config is ok
20241010 152434 worker: Session loaded
20241010 152435 worker: Package locks applied
20241010 152436 worker: File check complete
20241010 152436 worker: Log to RAM    on
20241010 152436 worker: Debug logging off
20241010 152436 worker: --
20241010 152436 worker: -- System
20241010 152436 worker: --
20241010 152437 worker: Host name:     moode
20241010 152437 worker: RPi model:     Pi-4B 1.4 4GB
20241010 152437 worker: moOde release: 9.1.2 2024-09-28
20241010 152437 worker: RaspiOS:       12.7 Bookworm 64-bit
20241010 152437 worker: Linux Kernel:  6.6.47 64-bit
20241010 152437 worker: MPD version:   0.23.14
20241010 152437 worker: User id:       glenn
20241010 152437 worker: Home folder:   /home/glenn
20241010 152437 worker: Time zone:     America/New_York
20241010 152437 worker: Kbd layout:    us
20241010 152437 worker: HDMI ports(s): on
20241010 152437 worker: HDMI-CEC:      off
20241010 152437 worker: Sys LED0:      on
20241010 152437 worker: Sys LED1:      on
20241010 152437 worker: Reduce power:  n/a
20241010 152437 worker: CPU governor:  ondemand
20241010 152437 worker: Integ audio:   vc4-kms-v3d
20241010 152437 worker: --
20241010 152437 worker: -- Network
20241010 152437 worker: --
20241010 152437 worker: Eth0
20241010 152437 worker: Ethernet: adapter exists
20241010 152437 worker: Ethernet: timeout off
20241010 152438 worker: Ethernet: method  dhcp
20241010 152438 worker: Ethernet: address 192.168.1.24
20241010 152438 worker: Ethernet: netmask 255.255.255.0
20241010 152438 worker: Ethernet: gateway 192.168.1.1
20241010 152438 worker: Ethernet: pri DNS 192.168.1.1
20241010 152438 worker: Ethernet: domain  none found
20241010 152438 worker: Wlan0
20241010 152438 worker: Wireless: adapter exists
20241010 152438 worker: Wireless: country US
20241010 152438 worker: Wireless: SSID    None
20241010 152438 worker: Wireless: other   None
20241010 152438 worker: --
20241010 152438 worker: -- File sharing
20241010 152438 worker: --
20241010 152438 worker: SMB file sharing:  off
20241010 152438 worker: NFS file sharing:  off
20241010 152438 worker: DLNA file sharing: off
20241010 152438 worker: --
20241010 152438 worker: -- Special configs
20241010 152438 worker: --
20241010 152438 worker: Plexamp:          not installed
20241010 152438 worker: RoonBridge:       not installed
20241010 152438 worker: Allo Piano 2.1:   not detected
20241010 152438 worker: Allo Boss 2:      not detected, OLED script ok
20241010 152438 worker: IQaudIO AMP*:     not detected
20241010 152438 worker: --
20241010 152438 worker: -- ALSA debug
20241010 152438 worker: --
20241010 152438 worker: Cards:  0:vc4hdmi0        1:vc4hdmi1        2:empty           3:empty          
20241010 152438 worker:         4:empty           5:empty           6:empty           7:empty          
20241010 152438 worker: Mixers: 0:none            1:none            2:none            3:none            
20241010 152438 worker:         4:none            5:none            6:none            7:none            
20241010 152438 worker: --
20241010 152438 worker: -- Audio configuration
20241010 152438 worker: --
20241010 152438 worker: Audio device:  0:Pi HDMI 1
20241010 152438 worker: ALSA card:     has not been reassigned
20241010 152439 isI2SDevice(): Error: aplay name not found for i2soverlay=hifiberry-dacplusadc
20241010 152439 worker: MPD config:    updated (iec958 device)
20241010 152439 isI2SDevice(): Error: aplay name not found for i2soverlay=hifiberry-dacplusadc
20241010 152439 worker: ALSA output:   HDMI
20241010 152439 worker: ALSA mode:     IEC958 (iec958)
20241010 152440 isI2SDevice(): Error: aplay name not found for i2soverlay=hifiberry-dacplusadc
20241010 152440 worker: ALSA mixer     PCM
20241010 152443 worker: ALSA volume:   controller not detected
20241010 152443 worker: ALSA maxvol:   100%
20241010 152443 worker: ALSA loopback: off
20241010 152443 worker: MPD mixer      Software
20241010 152443 worker: Audio formats: Alsacap was unable to detect formats
20241010 152443 worker: CamillaDSP:    off
20241010 152443 worker: CDSP volume:   0dB
20241010 152443 worker: CDSP volrange: 60dB
20241010 152443 worker: --
20241010 152443 worker: -- MPD startup
20241010 152443 worker: --
20241010 152443 worker: MPD service:        started
20241010 152443 worker: MPD port 6600:      accepting connections
20241010 152443 worker: MPD ALSA Default:   on
20241010 152443 worker: MPD ALSA Bluetooth: off
20241010 152443 worker: MPD HTTP Server:    off
20241010 152443 worker: MPD volume:         0
20241010 152443 worker: Saved MPD vol:      -1
20241010 152443 worker: Saved SRC vol:      0
20241010 152443 worker: MPD crossfade:      off
20241010 152443 worker: MPD ignore CUE:     no
20241010 152443 worker: MPD CDSP volsync:   off
20241010 152443 worker: --
20241010 152443 worker: -- Music sources
20241010 152443 worker: --
20241010 152443 worker: USB drives:     none
20241010 152443 worker: NVMe drives:    none
20241010 152443 worker: NAS sources:    none
20241010 152443 worker: --
20241010 152443 worker: -- Feature availability
20241010 152443 worker: --
20241010 152443 worker: Input select:    available, Source: MPD, Output: Pi HDMI 1
20241010 152443 worker: Bluetooth:       available, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20241010 152443 worker: AirPlay:         available
20241010 152443 worker: Spotify Connect: started
20241010 152443 worker: Squeezelite:     available
20241010 152443 worker: UPnP client:     started
20241010 152443 worker: Plexamp:         not installed, ALSA maxvol: 100%
20241010 152443 worker: RoonBridge:      not installed
20241010 152443 worker: Multiroom:       available
20241010 152443 worker: GPIO buttons:    available
20241010 152443 worker: Stream recorder: n/a
20241010 152443 worker: --
20241010 152443 worker: -- Security
20241010 152443 worker: --
20241010 152443 worker: Web SSH server:    off
20241010 152443 worker: XSS detection:     off
20241010 152443 worker: HTTPS mode:        available
20241010 152443 worker: --
20241010 152443 worker: -- Peripherals
20241010 152443 worker: --
20241010 152445 worker: Local display:   off
20241010 152445 worker: HDMI 4K 60Hz:    off
20241010 152445 worker: On-screen kbd:   off
20241010 152445 worker: Rotary encoder:  off
20241010 152445 worker: USB volume knob: off
20241010 152445 worker: LCD updater:     off
20241010 152445 worker: --
20241010 152445 worker: -- Miscellaneous
20241010 152445 worker: --
20241010 152445 worker: Software update:   Automatic check on
20241010 152445 worker: Software update:   Checking for available update...
20241010 152446 worker: Software update:   Software is up to date
20241010 152446 worker: Auto-CoverView:    off
20241010 152446 worker: CoverView timeout: Never
20241010 152446 worker: Auto-shuffle:      off
20241010 152446 worker: Auto-play:         off
20241010 152446 worker: Maintenance task:  360 mins
20241010 152446 worker: Current view:      reset to Playback
20241010 152446 worker: Active flags:      all false
20241010 152446 worker: Reset flags:       skipped
20241010 152446 worker: Session check:     ok
20241010 152446 worker: --
20241010 152446 worker: -- Startup complete
20241010 152446 worker: --
20241010 152446 worker: Mount monitor:    started
20241010 152446 worker: Radio monitor:    off
20241010 152446 worker: Watchdog monitor: started
20241010 152446 worker: Responsiveness:   Default
20241010 152446 worker: Ready



RE: Cannot choose I2S in Output Device field - Tim Curtis - 10-10-2024

The log shows that ALSA did not detect the I2S device.

Code:
20241010 152438 worker: Cards:  0:vc4hdmi0        1:vc4hdmi1        2:empty           3:empty          
20241010 152438 worker:         4:empty           5:empty           6:empty           7:empty          

And there is this error

Code:
20241010 152440 isI2SDevice(): Error: aplay name not found for i2soverlay=hifiberry-dacplusadc

Did you select the hifiberry device from the "Named I2S device" list in Audio Config?


RE: Cannot choose I2S in Output Device field - Curiousgeorgia - 10-10-2024

I have tried the "DT Overlay" field as well as the "Named I2S Device" fields, neither will give me a I2S option in the Output dropdown.  Here is the Startup Log with the Named I2S Device dropdown populated with my HIFIBerry card:

20241010 161854 worker: --
20241010 161854 worker: -- Start moOde 9 series
20241010 161854 worker: --
20241010 161854 worker: Successfully daemonized
20241010 161854 worker: Wait for Linux startup
20241010 161900 worker: Linux startup complete
20241010 161900 worker: Boot config is ok
20241010 161901 worker: Session loaded
20241010 161902 worker: Package locks applied
20241010 161903 worker: File check complete
20241010 161903 worker: Log to RAM    on
20241010 161903 worker: Debug logging off
20241010 161903 worker: --
20241010 161903 worker: -- System
20241010 161903 worker: --
20241010 161904 worker: Host name:     moode
20241010 161904 worker: RPi model:     Pi-4B 1.4 4GB
20241010 161904 worker: moOde release: 9.1.2 2024-09-28
20241010 161904 worker: RaspiOS:       12.7 Bookworm 64-bit
20241010 161904 worker: Linux Kernel:  6.6.47 64-bit
20241010 161904 worker: MPD version:   0.23.14
20241010 161904 worker: User id:       glenn
20241010 161904 worker: Home folder:   /home/glenn
20241010 161904 worker: Time zone:     America/New_York
20241010 161904 worker: Kbd layout:    us
20241010 161904 worker: HDMI ports(s): on
20241010 161904 worker: HDMI-CEC:      off
20241010 161905 worker: Sys LED0:      on
20241010 161905 worker: Sys LED1:      on
20241010 161905 worker: Reduce power:  n/a
20241010 161905 worker: CPU governor:  ondemand
20241010 161905 worker: Integ audio:   vc4-kms-v3d
20241010 161905 worker: --
20241010 161905 worker: -- Network
20241010 161905 worker: --
20241010 161905 worker: Eth0
20241010 161905 worker: Ethernet: adapter exists
20241010 161905 worker: Ethernet: timeout off
20241010 161905 worker: Ethernet: method  dhcp
20241010 161905 worker: Ethernet: address 192.168.1.24
20241010 161905 worker: Ethernet: netmask 255.255.255.0
20241010 161905 worker: Ethernet: gateway 192.168.1.1
20241010 161905 worker: Ethernet: pri DNS 192.168.1.1
20241010 161905 worker: Ethernet: domain  none found
20241010 161905 worker: Wlan0
20241010 161905 worker: Wireless: adapter exists
20241010 161905 worker: Wireless: country US
20241010 161905 worker: Wireless: SSID    None
20241010 161905 worker: Wireless: other   None
20241010 161905 worker: --
20241010 161905 worker: -- File sharing
20241010 161905 worker: --
20241010 161905 worker: SMB file sharing:  off
20241010 161905 worker: NFS file sharing:  off
20241010 161905 worker: DLNA file sharing: off
20241010 161905 worker: --
20241010 161905 worker: -- Special configs
20241010 161905 worker: --
20241010 161905 worker: Plexamp:          not installed
20241010 161905 worker: RoonBridge:       not installed
20241010 161905 worker: Allo Piano 2.1:   not detected
20241010 161905 worker: Allo Boss 2:      not detected, OLED script ok
20241010 161905 worker: IQaudIO AMP*:     not detected
20241010 161905 worker: --
20241010 161905 worker: -- ALSA debug
20241010 161905 worker: --
20241010 161905 worker: Cards:  0:vc4hdmi0        1:vc4hdmi1        2:empty           3:empty           
20241010 161905 worker:         4:empty           5:empty           6:empty           7:empty           
20241010 161905 worker: Mixers: 0:none            1:none            2:none            3:none            
20241010 161905 worker:         4:none            5:none            6:none            7:none            
20241010 161905 worker: --
20241010 161905 worker: -- Audio configuration
20241010 161905 worker: --
20241010 161905 worker: Audio device:  0Tonguei HDMI 1
20241010 161905 worker: ALSA card:     has not been reassigned
20241010 161906 worker: MPD config:    updated (iec958 device)
20241010 161906 worker: ALSA output:   HDMI
20241010 161906 worker: ALSA mode:     IEC958 (iec958)
20241010 161906 worker: ALSA mixer     PCM
20241010 161909 worker: ALSA volume:   controller not detected
20241010 161909 worker: ALSA maxvol:   100%
20241010 161909 worker: ALSA loopback: off
20241010 161909 worker: MPD mixer      Software
20241010 161909 worker: Audio formats: Alsacap was unable to detect formats
20241010 161909 worker: CamillaDSP:    off
20241010 161909 worker: CDSP volume:   0dB
20241010 161909 worker: CDSP volrange: 60dB
20241010 161909 worker: --
20241010 161909 worker: -- MPD startup
20241010 161909 worker: --
20241010 161909 worker: MPD service:        started
20241010 161909 worker: MPD port 6600:      accepting connections
20241010 161910 worker: MPD ALSA Default:   on
20241010 161910 worker: MPD ALSA Bluetooth: off
20241010 161910 worker: MPD HTTP Server:    off
20241010 161910 worker: MPD volume:         0
20241010 161910 worker: Saved MPD vol:      -1
20241010 161910 worker: Saved SRC vol:      0
20241010 161910 worker: MPD crossfade:      off
20241010 161910 worker: MPD ignore CUE:     no
20241010 161910 worker: MPD CDSP volsync:   off
20241010 161910 worker: --
20241010 161910 worker: -- Music sources
20241010 161910 worker: --
20241010 161910 worker: USB drives:     none
20241010 161910 worker: NVMe drives:    none
20241010 161910 worker: NAS sources:    none
20241010 161910 worker: --
20241010 161910 worker: -- Feature availability
20241010 161910 worker: --
20241010 161910 worker: Input select:    available, Source: MPD, Output: Pi HDMI 1
20241010 161910 worker: Bluetooth:       available, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20241010 161910 worker: AirPlay:         available
20241010 161910 worker: Spotify Connect: started
20241010 161910 worker: Squeezelite:     available
20241010 161910 worker: UPnP client:     started
20241010 161910 worker: Plexamp:         not installed, ALSA maxvol: 100%
20241010 161910 worker: RoonBridge:      not installed
20241010 161910 worker: Multiroom:       available
20241010 161910 worker: GPIO buttons:    available
20241010 161910 worker: Stream recorder: n/a
20241010 161910 worker: --
20241010 161910 worker: -- Security
20241010 161910 worker: --
20241010 161910 worker: Web SSH server:    off
20241010 161910 worker: XSS detection:     off
20241010 161910 worker: HTTPS mode:        available
20241010 161910 worker: --
20241010 161910 worker: -- Peripherals
20241010 161910 worker: --
20241010 161912 worker: Local display:   off
20241010 161912 worker: HDMI 4K 60Hz:    off
20241010 161912 worker: On-screen kbd:   off
20241010 161912 worker: Rotary encoder:  off
20241010 161912 worker: USB volume knob: off
20241010 161912 worker: LCD updater:     off
20241010 161912 worker: --
20241010 161912 worker: -- Miscellaneous
20241010 161912 worker: --
20241010 161912 worker: Software update:   Automatic check on
20241010 161912 worker: Software update:   Checking for available update...
20241010 161912 worker: Software update:   Software is up to date
20241010 161912 worker: Auto-CoverView:    off
20241010 161912 worker: CoverView timeout: Never
20241010 161912 worker: Auto-shuffle:      off
20241010 161912 worker: Auto-play:         off
20241010 161912 worker: Maintenance task:  360 mins
20241010 161912 worker: Current view:      reset to Playback
20241010 161912 worker: Active flags:      all false
20241010 161912 worker: Reset flags:       skipped
20241010 161912 worker: Session check:     ok
20241010 161912 worker: --
20241010 161912 worker: -- Startup complete 
20241010 161912 worker: --
20241010 161912 worker: Mount monitor:    started
20241010 161912 worker: Radio monitor:    off
20241010 161913 worker: Watchdog monitor: started
20241010 161913 worker: Responsiveness:   Default
20241010 161913 worker: Ready


RE: Cannot choose I2S in Output Device field - Tim Curtis - 10-10-2024

According to the log Linux and ALSA don't see the card.

Code:
20241010 161905 worker: Cards:  0:vc4hdmi0        1:vc4hdmi1        2:empty           3:empty          
20241010 161905 worker:         4:empty           5:empty           6:empty           7:empty    

If the following lines 

# Audio overlays
dtoverlay=hifiberry-dacplusadc
dtoverlay=force_eeprom_read=0

appear in the file /boot/firmware/config.txt like below 

Code:
# Do not alter this section
# Integrated adapters
#dtoverlay=disable-bt
#dtoverlay=disable-wifi
# Audio overlays
dtoverlay=hifiberry-dacplusadc
dtoverlay=force_eeprom_read=0
# PCI Express
#dtparam=pciex1
#dtparam=pciex1_gen=3
# Pi Touch
#dtoverlay=rpi-backlight
#dtoverlay=vc4-kms-dsi-7inch,invx,invy

Then try removing the card, spraying some contact clearner on the header and pins and then reseating it.


RE: Cannot choose I2S in Output Device field - Curiousgeorgia - 10-11-2024

Tried unplugging the HIFIBerry board and applied contact cleaner to the pins/sockets; Moode still does not see that there is an available I2S card??  Any other ideas?  I am coming from Volumio where I did not have any issues with the HIFIBerry card just days ago. Seems rather unlikely that switching to Moode would also coincide with a card failure.


RE: Cannot choose I2S in Output Device field - Curiousgeorgia - 10-11-2024

Update:  The only HIFIBerry option under Named I2S Device that populates an option under Output Devices is "HIFIBERRY DAC".  If I choose that under Named I2S Device, it shows it as an option under Output Devices??  I have yet to have any success in passing test audio, but it appears that there might be an issue with the HIFIBerry devices that are populated in Moode??


RE: Cannot choose I2S in Output Device field - TheOldPresbyope - 10-11-2024

(10-11-2024, 03:02 PM)Curiousgeorgia Wrote: Update:  The only HIFIBerry option under Named I2S Device that populates an option under Output Devices is "HIFIBERRY DAC".  If I choose that under Named I2S Device, it shows it as an option under Output Devices??  I have yet to have any success in passing test audio, but it appears that there might be an issue with the HIFIBerry devices that are populated in Moode??

When I boot a fresh install of moOde, the Audio config screen shows "None" as the Named I2S Device. If I open the Named I2S Device options I see a scroll-able list of dozens of devices starting with "None", "Allo Boss 2 DAC"..., and ending with "Soekris DAM" and "Suptronics x400". This list includes over a dozen HiFiBerry devices. I have no issue selecting my old HiFiBerry DAC+.

Only when I've selected a named device and rebooted will it show up in the list of Output Devices.

Sounds like your install may be slightly borked.

Regards,
Kent


RE: Cannot choose I2S in Output Device field - Tim Curtis - 10-11-2024

Works ok on my end

[attachment=4090][attachment=4091][attachment=4092]

Code:
20241011 131343 worker: --
20241011 131343 worker: -- ALSA debug
20241011 131343 worker: --
20241011 131343 worker: Cards:  0:vc4hdmi0        1:vc4hdmi1        2:sndrpihifiberry 3:empty          
20241011 131343 worker:         4:empty           5:empty           6:empty           7:empty          
20241011 131343 worker: Mixers: 0:none            1:none            2:(Digital)       3:none            
20241011 131343 worker:         4:none            5:none            6:none            7:none            
20241011 131343 worker: --
20241011 131343 worker: -- Audio configuration
20241011 131343 worker: --
20241011 131343 worker: Audio device:  2:HiFiBerry DAC+ ADC
20241011 131343 worker: ALSA card:     has not been reassigned
20241011 131343 worker: MPD config:    update not needed
20241011 131343 worker: ALSA output:   I2S
20241011 131343 worker: ALSA mode:     Default (plughw)
20241011 131343 worker: ALSA mixer     Digital
20241011 131344 worker: ALSA volume:   100% (0.00dB)
20241011 131344 worker: ALSA maxvol:   100%
20241011 131344 worker: ALSA loopback: off
20241011 131344 worker: MPD mixer      Software
20241011 131344 worker: Audio formats: S16_LE, S24_LE, S32_LE
20241011 131344 worker: CamillaDSP:    off
20241011 131344 worker: CDSP volume:   0dB
20241011 131344 worker: CDSP volrange: 60dB
2