Thank you for your donation!


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


Solved: "Output is set to HDMI but no audio device was detected on the HDMI port."
#1
Hi,

I have no more sound after no particular action, shutdown and reboot. In the settings "output" selector I have only HDMI and 7 lines named "empty".
I updated the system, but it doesn't work better.
Here is the /boot/firmware/config.txt

Code:
#########################################
# This file is managed by moOde
#########################################

# Device filters
[cm4]
otg_mode=1
[pi4]
hdmi_force_hotplug:0=1
hdmi_force_hotplug:1=1
hdmi_enable_4kp60=0
[all]
dtoverlay=vc4-kms-v3d
max_framebuffers=2
display_auto_detect=1
disable_fw_kms_setup=1
arm_64bit=1

# General settings
arm_boost=0
disable_splash=1
disable_overscan=1
hdmi_drive=2
hdmi_blanking=1
hdmi_force_edid_audio=1
hdmi_force_hotplug=1
hdmi_group=0
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=audio=on

# Do not alter this section
# Integrated adapters
#dtoverlay=disable-bt
#dtoverlay=disable-wifi
# Audio overlays
#dtoverlay=none
#dtoverlay=force_eeprom_read=0
# PCI Express
#dtparam=pciex1
#dtparam=pciex1_gen=3
# Pi Touch1
#dtoverlay=vc4-kms-dsi-7inch,invx,invy
# Fan speed
#dtparam=fan_temp0=50000,fan_temp0_hyst=5000,fan_temp0_speed=75

It is said in another post it was solved by doing:
Quote:Changed Settings > System > Startup Options > Integrated audio from Kernel mode (default) to Firmware mode (Legacy).
but I don't have this option.
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
here is the log:

Code:
moodeutl -l
20250316 010802 worker: --
20250316 010803 worker: -- Start moOde 9 series
20250316 010803 worker: --
20250316 010803 worker: Daemonize:     complete
20250316 010803 worker: Linux startup: complete
20250316 010803 worker: Boot config:   ok
20250316 010803 worker: Boot folder:   ok
20250316 010803 worker: Radio table:   ok
20250316 010805 worker: PHP session:   cleaned
20250316 010805 worker: PHP session:   loaded
20250316 010808 worker: Package locks: applied
20250316 010810 worker: File check:    complete
20250316 010810 worker: Log to RAM:    on
20250316 010810 worker: Debug logging: off
20250316 010810 worker: --
20250316 010810 worker: -- System
20250316 010810 worker: --
20250316 010812 worker: Host name:     moode-rph
20250316 010812 worker: RPi model:     Pi-3B 1.2 1GB
20250316 010812 worker: moOde release: 9.2.6 2025-03-07
20250316 010812 worker: RaspiOS:       12.6 Bookworm 64-bit
20250316 010812 worker: Linux Kernel:  6.6.74 64-bit
20250316 010812 worker: MPD version:   0.23.14
20250316 010812 worker: User id:       raphael
20250316 010812 worker: Home folder:   /home/raphael
20250316 010812 worker: Time zone:     Europe/Zurich
20250316 010812 worker: Kbd layout:    ch
20250316 010812 worker: HDMI ports(s): on
20250316 010812 worker: HDMI-CEC:      off
20250316 010812 worker: Sys LED0:      off
20250316 010812 worker: Sys LED1:      off
20250316 010812 worker: Reduce power:  n/a
20250316 010812 worker: Fan control:   n/a
20250316 010812 worker: CPU governor:  ondemand
20250316 010812 worker: --
20250316 010812 worker: -- Network
20250316 010812 worker: --
20250316 010812 worker: Eth0
20250316 010813 worker: Ethernet: adapter exists
20250316 010813 worker: Ethernet: timeout off
20250316 010813 worker: Ethernet: method  dhcp
20250316 010813 worker: Ethernet: address 192.168.1.102
20250316 010813 worker: Ethernet: netmask 255.255.255.0
20250316 010813 worker: Ethernet: gateway 192.168.1.1
20250316 010813 worker: Ethernet: pri DNS 192.168.1.1
20250316 010813 worker: Ethernet: domain  home
20250316 010813 worker: Wlan0
20250316 010813 worker: Wireless: adapter exists
20250316 010813 worker: Wireless: country DE
20250316 010813 worker: Wireless: SSID    Blindekinder
20250316 010813 worker: Wireless: other   None
20250316 010813 worker: Wireless: timeout up to 90 secs
20250316 010813 worker: Wireless: connect to Blindekinder
20250316 010813 worker: Wireless: method  dhcp
20250316 010813 worker: Wireless: address 192.168.1.125
20250316 010813 worker: Wireless: netmask 255.255.255.0
20250316 010813 worker: Wireless: gateway 192.168.1.1
20250316 010813 worker: Wireless: pri DNS 192.168.1.1
20250316 010813 worker: Wireless: domain  home
20250316 010813 worker: mDNS
20250316 010813 worker: Discover: IPv4 and IPv6
20250316 010813 worker: --
20250316 010813 worker: -- File sharing
20250316 010813 worker: --
20250316 010815 worker: SMB file sharing:  on
20250316 010815 worker: SMB password:      none
20250316 010815 worker: NFS file sharing:  off
20250316 010815 worker: DLNA file sharing: off
20250316 010815 worker: --
20250316 010815 worker: -- Special configs
20250316 010815 worker: --
20250316 010815 worker: Plexamp:          not installed
20250316 010815 worker: RoonBridge:       not installed
20250316 010815 worker: Allo Boss 2:      not detected, OLED script ok
20250316 010815 worker: Allo Piano 2.1:   not detected
20250316 010815 worker: IQaudIO DigiAMP+: not detected
20250316 010815 worker: RPi DigiAMP+:     not detected
20250316 010815 worker: Bluetooth:        session vars ok
20250316 010815 worker: --
20250316 010815 worker: -- ALSA debug
20250316 010815 worker: --
20250316 010815 worker: Cards:  0:vc4hdmi         1:empty           2:empty           3:empty           
20250316 010815 worker:         4:empty           5:empty           6:empty           7:empty           
20250316 010815 worker: Mixers: 0:none            1:none            2:none            3:none            
20250316 010815 worker:         4:none            5:none            6:none            7:none            
20250316 010815 worker: --
20250316 010815 worker: -- Audio configuration
20250316 010815 worker: --
20250316 010815 worker: Audio device:  0:Pi HDMI 1
20250316 010815 worker: ALSA card:     has not been reassigned
20250316 010817 worker: MPD config:    updated (iec958 device)
20250316 010817 worker: ALSA output:   HDMI
20250316 010817 worker: ALSA mode:     IEC958 (iec958)
20250316 010817 worker: ALSA mixer:    PCM
20250316 010835 worker: ALSA init:     no audio device was detected
20250316 010839 worker: ALSA volume:   controller not detected
20250316 010839 worker: ALSA maxvol:   100%
20250316 010839 worker: ALSA loopback: off
20250316 010839 worker: MPD mixer      Fixed (0dB)
20250316 010839 worker: Integ audio:   vc4-kms-v3d
20250316 010839 worker: Audio formats: Alsacap was unable to detect formats
20250316 010839 worker: CamillaDSP:    off
20250316 010839 worker: CDSP volume:   0dB
20250316 010839 worker: CDSP volrange: 60dB
20250316 010839 worker: --
20250316 010839 worker: -- MPD startup
20250316 010839 worker: --
20250316 010839 worker: MPD service:        started
20250316 010839 worker: MPD port 6600:      accepting connections
20250316 010839 worker: MPD ALSA Default:   on
20250316 010839 worker: MPD ALSA Bluetooth: off
20250316 010839 worker: MPD HTTP Server:    off
20250316 010839 worker: MPD volume:         0
20250316 010839 worker: Saved MPD vol:      -1
20250316 010839 worker: Saved SRC vol:      0
20250316 010839 worker: MPD crossfade:      off
20250316 010839 worker: MPD ignore CUE:     no
20250316 010839 worker: MPD CDSP volsync:   off
20250316 010839 worker: --
20250316 010839 worker: -- Music sources
20250316 010839 worker: --
20250316 010840 worker: USB drive:      Musique (exfat)
20250316 010840 worker: USB drive:      Musique_ (exfat)
20250316 010840 worker: USB drive:      Musique__ (exfat)
20250316 010840 worker: USB drive:      Musique___ (exfat)
20250316 010840 worker: NVMe drives:    none
20250316 010840 worker: SATA drives:    none
20250316 010840 worker: NAS sources:    none
20250316 010840 worker: --
20250316 010840 worker: -- Feature availability
20250316 010840 worker: --
20250316 010840 worker: Input select:    available, Source: MPD, Output: Pi HDMI 1
20250316 010840 worker: Bluetooth:       available, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20250316 010840 worker: AirPlay:         available
20250316 010840 worker: Spotify Connect: started
20250316 010840 worker: Deezer Connect:  available
20250316 010840 worker: Squeezelite:     available
20250316 010840 worker: UPnP client:     available
20250316 010840 worker: Plexamp:         not installed, ALSA maxvol: 100%
20250316 010840 worker: RoonBridge:      not installed
20250316 010840 worker: Multiroom:       available
20250316 010840 worker: GPIO buttons:    available
20250316 010840 worker: Stream recorder: n/a
20250316 010840 worker: --
20250316 010840 worker: -- Security
20250316 010840 worker: --
20250316 010840 worker: Web SSH server:    on
20250316 010840 worker: XSS detection:     off
20250316 010840 worker: HTTPS mode:        available
20250316 010840 worker: --
20250316 010840 worker: -- Peripherals
20250316 010840 worker: --
20250316 010845 worker: Local display:   on
20250316 010845 worker: Chromium ver:    130.0.6723.116-1~deb12u1+rpt1
20250316 010845 worker: Chromium cfg:    directory ok
20250316 010845 worker: Screen blank     120
20250316 010845 worker: On-screen kbd:   on
20250316 010845 worker: Disable GPU:     off
20250316 010845 worker: HDMI orient:     landscape
20250316 010845 worker: HDMI 4K 60Hz:    off
20250316 010845 worker: DSI scn type:    none
20250316 010845 worker: DSI port:        
20250316 010845 worker: DSI brightness:  255
20250316 010845 worker: DSI rotate:      0
20250316 010845 worker: Rotary encoder:  off
20250316 010845 worker: Triggerhappy:    off
20250316 010845 worker: LCD updater:     off
20250316 010845 worker: --
20250316 010845 worker: -- Miscellaneous
20250316 010845 worker: --
20250316 010845 worker: Software update:   Automatic check on
20250316 010845 worker: Software update:   Checking for available update...
20250316 010846 worker: Software update:   Software is up to date
20250316 010846 worker: Auto-CoverView:    off
20250316 010846 worker: CoverView timeout: Never
20250316 010846 worker: Auto-shuffle:      off
20250316 010846 worker: Auto-play:         off
20250316 010846 worker: Maintenance task:  360 mins
20250316 010846 worker: Current view:      reset to Playback
20250316 010846 worker: Active flags:      all false
20250316 010846 worker: Reset flags:       skipped
20250316 010846 worker: Session check:     ok
20250316 010846 worker: --
20250316 010846 worker: -- Startup complete
20250316 010846 worker: --
20250316 010846 worker: Mount monitor:    started
20250316 010846 worker: Radio monitor:    off
20250316 010846 worker: Watchdog monitor: started
20250316 010846 worker: Responsiveness:   Default
20250316 010846 worker: Ready
Reply
#4
btw, I'm using an Audiophonic I2C device, and it was working perfectly until today...
Reply
#5
The symptom "it was working perfectly until today..." suggests something external to moOde software.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#6
@rph-r

Hmmm. Your log includes the entry

Code:
20250316 010815 worker: Cards:  0:vc4hdmi         1:empty           2:empty           3:empty          
20250316 010815 worker:         4:empty           5:empty           6:empty           7:empty

e.g., only the HDMI interface is detected as an audio device.

Here's the same entry from one of my players with a USB Creative Tech BT-W2 adapter which presents as an audio device,

Code:
20250314 150313 worker: Cards:  0:W2              1:vc4hdmi0        2:vc4hdmi1        3:empty           
20250314 150313 worker:         4:empty           5:empty           6:empty           7:empty

This happens to be an RPi 5B so two HDMI interfaces are found in addition to the Creative Tech USB audio device.


To address Tim's point, how about you also run the following command from the terminal of your player

Code:
lsusb


Here's what I get from mine, showing the Creative Tech USB adapter is detected.

Code:
rho@moodey:~ $ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 05e3:0736 Genesys Logic, Inc. Colour arc SD Card Reader [PISEN]
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 041e:3125 Creative Technology, Ltd Creative Bluetooth Audio W2
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Regards,
Kent
Reply
#7
Code:
lsusb
Bus 001 Device 004: ID 152d:2329 JMicron Technology Corp. / JMicron USA Technology Corp. JM20329 SATA Bridge
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
As I said it is connected with I2C. I hope it helps...
Reply
#8
@rph-r

Sorry. I had a mental lapse there Angry  

I assume you mean an Audiophonics I2S device. Has a "Named I2S device" (or its DT overlay) been selected and loaded? The OS, and hence moOde, will not know of the presence of the device until this is done.

Regards,
Kent
Reply
#9
(03-16-2025, 09:21 PM)TheOldPresbyope Wrote: Sorry. I had a mental lapse there Angry  
I assume you mean an Audiophonics I2S device.
Same here, it is I2S indeed.
It was selected (ES9038). I selected another and reselected it, rebooted, and it is working now!
Since I already had trouble with the loss of device config due to empty config.txt I haven't thought to tweak in this config.
https://moodeaudio.org/forum/showthread.php?tid=2303
But I really don't know why the config changed.
Thank you for your help!!
Reply


Forum Jump: