Moode Forum
[SOLVED] "Output is set to HDMI but no audio device was detected on the HDMI port" after upgrd - 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: [SOLVED] "Output is set to HDMI but no audio device was detected on the HDMI port" after upgrd (/showthread.php?tid=6856)



"Output is set to HDMI but no audio device was detected on the HDMI port" after upgrd - greg_m - 08-28-2024

Hi,

I've just found out a few days ago, that there is a v9 released.
Backed up my settings and custom radio stations from my v8 player.
Upgraded to v9.0.8, restored my backup. All seems good, but when trying to play anything, I got a message:
"Output is set to HDMI but no audio device was detected on the HDMI port."

I use RPI4 and 3.5mm audio jack.

Searched the forum and found only one thread, but that was using a custom audio HAT (Boss 2).

Using all the same as in moode v8. No hardware change.

I remember in v8 when I logged in via ssh it was showing:
Audio: Pi HDMI 1
Now show the same, but in Audio Output settings the default on is 1: Pi HDMI 2.

I also have 0: Pi HDMI 1 on the list (and other slots are empty), but when switching to 0: Pi HDMI 1 is automatically switches back to 1: Pi HDMI 2.

I normally have Display off as I use it only in the web mode. I though maybe this is the problem (display is HDMI I presume), but switching it on and restarting gives the same issue.


Any advise how to configure it to make it work with a standard RPI4 audio jack output?



Below is the output of the moodeutl -l command.


Code:
20240828 133755 worker: --
20240828 133755 worker: -- Start moOde 9 series
20240828 133755 worker: --
20240828 133755 worker: Successfully daemonized
20240828 133755 worker: Wait for Linux startup
20240828 133756 worker: Linux startup complete
20240828 133756 worker: Boot config is ok
20240828 133756 worker: Session loaded
20240828 133758 worker: Package locks applied
20240828 133758 worker: File check complete
20240828 133758 worker: Debug logging off
20240828 133758 worker: --
20240828 133758 worker: -- System
20240828 133758 worker: --
20240828 133800 worker: Host name:     moode
20240828 133800 worker: RPi model:     Pi-4B 1.4 4GB
20240828 133800 worker: moOde release: 9.0.8 2024-08-21
20240828 133800 worker: RaspiOS:       12.6 Bookworm 64-bit
20240828 133800 worker: Linux Kernel:  6.6.31 64-bit
20240828 133800 worker: MPD version:   0.23.14
20240828 133800 worker: User id:       pi
20240828 133800 worker: Home folder:   /home/pi
20240828 133800 worker: Time zone:     Europe/London
20240828 133800 worker: Kbd layout:    gb
20240828 133800 worker: HDMI ports(s): on
20240828 133800 worker: HDMI-CEC:      off
20240828 133800 worker: Sys LED0:      on
20240828 133800 worker: Sys LED1:      off
20240828 133800 worker: Reduce power:  n/a
20240828 133800 worker: CPU governor:  ondemand
20240828 133800 worker: Integ audio:   vc4-kms-v3d
20240828 133800 worker: --
20240828 133800 worker: -- Network
20240828 133800 worker: --
20240828 133800 worker: Eth0
20240828 133800 worker: Ethernet: adapter exists
20240828 133800 worker: Ethernet: timeout off
20240828 133800 worker: Ethernet: address not assigned
20240828 133800 worker: Wlan0
20240828 133800 worker: Wireless: adapter exists
20240828 133800 worker: Wireless: country GB
20240828 133800 worker: Wireless: SSID    my-wireless-ssid
20240828 133800 worker: Wireless: other   None
20240828 133800 worker: Wireless: timeout up to 90 secs
20240828 133800 worker: Wireless: connect to my-wireless-ssid
20240828 133800 worker: Wireless: method  dhcp
20240828 133800 worker: Wireless: address 192.168.1.148
20240828 133800 worker: Wireless: netmask 255.255.255.0
20240828 133800 worker: Wireless: gateway 192.168.1.1
20240828 133800 worker: Wireless: pri DNS 192.168.1.1
20240828 133800 worker: Wireless: domain  broadband
20240828 133800 worker: --
20240828 133800 worker: -- File sharing
20240828 133800 worker: --
20240828 133800 worker: SMB file sharing:  off
20240828 133800 worker: NFS file sharing:  off
20240828 133800 worker: DLNA file sharing: off
20240828 133800 worker: --
20240828 133800 worker: -- Special configs
20240828 133800 worker: --
20240828 133800 worker: Plexamp:          not installed
20240828 133800 worker: RoonBridge:       not installed
20240828 133800 worker: Allo Piano 2.1:   not detected
20240828 133800 worker: Allo Boss 2:      not detected, OLED script ok
20240828 133800 worker: IQaudIO AMP*:     not detected
20240828 133800 worker: --
20240828 133800 worker: -- ALSA debug
20240828 133800 worker: --
20240828 133800 worker: Cards:  0:vc4hdmi0        1:vc4hdmi1        2:empty           3:empty          
20240828 133800 worker:         4:empty           5:empty           6:empty           7:empty          
20240828 133800 worker: Mixers: 0:none            1:none            2:none            3:none            
20240828 133800 worker:         4:none            5:none            6:none            7:none            
20240828 133800 worker: --
20240828 133800 worker: -- Audio configuration
20240828 133800 worker: --
20240828 133800 worker: Audio device:  0:Pi HDMI 1
20240828 133801 worker: ALSA card:     has not been reassigned
20240828 133801 worker: MPD config:    updated (iec958 device)
20240828 133802 worker: ALSA output:   HDMI
20240828 133802 worker: ALSA mode:     IEC958 (iec958)
20240828 133802 worker: ALSA mixer     PCM
20240828 133805 worker: ALSA volume:   controller not detected
20240828 133805 worker: ALSA maxvol:   100%
20240828 133805 worker: ALSA loopback: off
20240828 133805 worker: MPD mixer      Software
20240828 133805 worker: Audio formats: Alsacap was unable to detect formats
20240828 133805 worker: CamillaDSP:    off
20240828 133805 worker: CDSP volume:   0dB
20240828 133805 worker: CDSP volrange: 60dB
20240828 133805 worker: --
20240828 133805 worker: -- MPD startup
20240828 133805 worker: --
20240828 133805 worker: MPD service:        started
20240828 133805 worker: MPD port 6600:      accepting connections
20240828 133805 worker: MPD ALSA Default:   on
20240828 133805 worker: MPD ALSA Bluetooth: off
20240828 133805 worker: MPD HTTP Server:    off
20240828 133805 worker: MPD volume:         90
20240828 133805 worker: Saved MPD vol:      -1
20240828 133805 worker: Saved SRC vol:      0
20240828 133805 worker: MPD crossfade:      off
20240828 133805 worker: MPD ignore CUE:     yes
20240828 133805 worker: MPD CDSP volsync:   off
20240828 133805 worker: --
20240828 133805 worker: -- Music sources
20240828 133805 worker: --
20240828 133805 worker: USB drives:     none
20240828 133805 worker: NVMe drives:    none
20240828 133805 worker: NAS source:     omv (cifs)
20240828 133805 worker: NAS source:     backup (cifs)
20240828 133910 worker: --
20240828 133910 worker: -- Feature availability
20240828 133910 worker: --
20240828 133910 worker: Input select:    available, Source: MPD, Output: Pi HDMI 1
20240828 133911 worker: Bluetooth:       started, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20240828 133911 worker: AirPlay:         available
20240828 133911 worker: Spotify Connect: available
20240828 133911 worker: Squeezelite:     available
20240828 133911 worker: UPnP client:     available
20240828 133911 worker: Plexamp:         not installed, ALSA maxvol: 100%
20240828 133911 worker: RoonBridge:      not installed
20240828 133911 worker: Multiroom:       available
20240828 133911 worker: GPIO buttons:    available
20240828 133911 worker: HTTPS mode:      available
20240828 133911 worker: Stream recorder: n/a
20240828 133911 worker: --
20240828 133911 worker: -- Peripherals
20240828 133911 worker: --
20240828 133914 worker: Local display:   on
20240828 133914 worker: HDMI 4K 60Hz:    off
20240828 133914 worker: On-screen kbd:   off
20240828 133914 worker: Rotary encoder:  off
20240828 133914 worker: USB volume knob: off
20240828 133914 worker: LCD updater:     off
20240828 133914 worker: --
20240828 133914 worker: -- Miscellaneous
20240828 133914 worker: --
20240828 133914 worker: Software update:   Automatic check on
20240828 133914 worker: Software update:   Checking for available update...
20240828 133914 worker: Software update:   Software is up to date
20240828 133914 worker: Auto-CoverView:    off
20240828 133914 worker: CoverView timeout: Never
20240828 133914 worker: Auto-shuffle:      off
20240828 133914 worker: Auto-play:         off
20240828 133914 worker: Web SSH server:    off
20240828 133914 worker: Maintenance task:  360 mins
20240828 133914 worker: Current view:      reset to Playback
20240828 133914 worker: Active flags:      all false
20240828 133914 worker: Reset flags:       skipped
20240828 133914 worker: Session check:     ok
20240828 133914 worker: --
20240828 133914 worker: -- Startup complete
20240828 133914 worker: --
20240828 133914 worker: Mount monitor:    started
20240828 133914 worker: Radio monitor:    off
20240828 133914 worker: Watchdog monitor: started
20240828 133914 worker: Responsiveness:   Default
20240828 133914 worker: Ready
aplay -l output:

Code:
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
EDIT:
[SOLVED]
Changed Settings > System > Startup Options > Integrated audio from Kernel mode (default) to Firmware mode (Legacy).
Now Headphone jack appeared on the available output list. Selected it and all works fine.


RE: "Output is set to HDMI but no audio device was detected on the HDMI port" after upgrd - the_bertrum - 08-28-2024

The best sort of issues are the ones you solve yourself Smile


RE: "Output is set to HDMI but no audio device was detected on the HDMI port" after upgrd - TheOldPresbyope - 08-28-2024

You can thank the Bookworm release of Raspberry Pi OS for this change in behaviour. On the one hand, it accommodates the intricacies of the new RPi 5 hardware; on the other hand, it's required some interesting changes in moOde.

I don't know how good the audio is from the 3.5mm jack these days. Long ago, I bought an inexpensive USB-3.5mm audio converter to use with the original RPi 1. Don't have any RPi 1s around any more but it's still useful since the RPi 5 doesn't have a 3.5mm jack on board.

Different strokes for different folks. Smile

Regards,
Kent