No audio devices on RPi5 with latests builds
#1
I've installed 1.4.1 on my rpi5 over recommended Ubuntu server but I couldn't get any audio device detected. I did update to 1.4.2 but still no audio devices. Also tried to alter config.txt in boot folder but no success. My intention is to use rpi hat dac with 2 es9038q2m dac chips of Ian canada and maybe  some USB dacs.
Reply

#2
(01-Apr-2025, 07:18 AM)miksi Wrote: I've installed 1.4.1 on my rpi5 over recommended Ubuntu server but I couldn't get any audio device detected. I did update to 1.4.2 but still no audio devices. Also tried to alter config.txt in boot folder but no success. My intention is to use rpi hat dac with 2 es9038q2m dac chips of Ian canada and maybe  some USB dacs.

Things to look at:
  1. Have you look up your HAT documentation and configure the necessary overlay file?
  2. Under players page, if you see this "Uninstall Pulse" button in red, click on it.. Wait patiently for the operation to finish, and then refresh the page. If your HAT is configured properly the audio device should pop up in the list.
Snakeoil Operating System - Music, your way!
Reply

#3
(01-Apr-2025, 07:18 AM)miksi Wrote: I've installed 1.4.1 on my rpi5 over recommended Ubuntu server but I couldn't get any audio device detected. I did update to 1.4.2 but still no audio devices. Also tried to alter config.txt in boot folder but no success. My intention is to use rpi hat dac with 2 es9038q2m dac chips of Ian canada and maybe  some USB dacs.

Would you please show us the path of your config.txt and content of that config.txt?  For the USB dac, it only shows up when it's connected to Pi 5.

FYI, currently I'm building this rpi5 music server for fun and testing (the photos may take a minute to load), with a cheap clone audio hat.  It's my first audio hat.  I thought ubuntu, Raspberry OS, and some other big name audio OS will auto detect the hat and configure accordingly and automatically.  But NONE.  All shows no audio device found.  Some audio OS got a nice webui to let me to choose from a long list.  Some got to input manually in the cli, including ubuntu and raspberry OS.  For the cli case, one got to know the exact name of the overlay (driver) in that OS.  There is a folder holding them all.  Just I forgot the path at that moment.


[Image: IMG-20250327-221225761-HDR.jpg]
[Image: IMG-20250327-221057133.jpg]
1
Reply

#4
Thanks for your posts people,

It seems that RPi5 has this problem with audio devices on newer builds (1.4.x), RPi4 doesn't have this problem but I'll try another build for RPi5. Actually, a wanted to try RPi5 because i didn't really had the time to play with it and I wanted to tryout mpd compiling speed against RPi4... It is quicker but unfortunately I have yet to setup nvme ssd, perhaps it will be significantly faster.
This is config.txt with little changes:
[all]
arm_64bit=1
kernel=vmlinuz
cmdline=cmdline.txt
initramfs initrd.img followkernel

# Enable the audio output, I2C and SPI interfaces on the GPIO header. As these
# parameters related to the base device-tree they must appear *before* any
# other dtoverlay= specification
dtparam=audio=on
dtparam=i2c_arm=on
dtparam=spi=on

# Comment out the following line if the edges of the desktop appear outside
# the edges of your display
disable_overscan=1

# If you have issues with audio, you may try uncommenting the following line
# which forces the HDMI output into HDMI mode instead of DVI (which doesn't
# support audio output)
hdmi_drive=2

# Enable the KMS ("full" KMS) graphics overlay, leaving GPU memory as the
# default (the kernel is in control of graphics memory with full KMS)
dtoverlay=vc4-kms-v3d
disable_fw_kms_setup=1

# Enable the serial pins
enable_uart=1

# Autoload overlays for any recognized cameras or displays that are attached
# to the CSI/DSI ports. Please note this is for libcamera support, *not* for
# the legacy camera stack
camera_auto_detect=1
display_auto_detect=1

# Config settings specific to arm64
dtoverlay=dwc2

[pi4]
max_framebuffers=2
arm_boost=1

[pi3+]
# Use a smaller contiguous memory area, specifically on the 3A+ to avoid an
# OOM oops on boot. The 3B+ is also affected by this section, but it shouldn't
# cause any issues on that board
dtoverlay=vc4-kms-v3d,cma-128

[pi02]
# The Zero 2W is another 512MB board which is occasionally affected by the same
# OOM oops on boot.
dtoverlay=vc4-kms-v3d,cma-128

[cm4]
# Enable the USB2 outputs on the IO board (assuming your CM4 is plugged into
# such a board)
dtoverlay=dwc2,dr_mode=host

[all]

I don't know which overlay to put there because on 1.3.1 (RPi4) I've entered generic i2s RPi dac overlay and it could show this in audio devices no problem.
Also, both hdmi audio outputs are enumerated and accessible. Here, nothing...
Reply

#5
(01-Apr-2025, 06:28 PM)miksi Wrote: Thanks for your posts people,

It seems that RPi5 has this problem with audio devices on newer builds (1.4.x), RPi4 doesn't have this problem but I'll try another build for RPi5. Actually, a wanted to try RPi5 because i didn't really had the time to play with it and I wanted to tryout mpd compiling speed against RPi4... It is quicker but unfortunately I have yet to setup nvme ssd, perhaps it will be significantly faster.
This is config.txt with little changes:
[all]
arm_64bit=1
kernel=vmlinuz
cmdline=cmdline.txt
initramfs initrd.img followkernel

# Enable the audio output, I2C and SPI interfaces on the GPIO header. As these
# parameters related to the base device-tree they must appear *before* any
# other dtoverlay= specification
dtparam=audio=on
dtparam=i2c_arm=on
dtparam=spi=on

# Comment out the following line if the edges of the desktop appear outside
# the edges of your display
disable_overscan=1

# If you have issues with audio, you may try uncommenting the following line
# which forces the HDMI output into HDMI mode instead of DVI (which doesn't
# support audio output)
hdmi_drive=2

# Enable the KMS ("full" KMS) graphics overlay, leaving GPU memory as the
# default (the kernel is in control of graphics memory with full KMS)
dtoverlay=vc4-kms-v3d
disable_fw_kms_setup=1

# Enable the serial pins
enable_uart=1

# Autoload overlays for any recognized cameras or displays that are attached
# to the CSI/DSI ports. Please note this is for libcamera support, *not* for
# the legacy camera stack
camera_auto_detect=1
display_auto_detect=1

# Config settings specific to arm64
dtoverlay=dwc2

[pi4]
max_framebuffers=2
arm_boost=1

[pi3+]
# Use a smaller contiguous memory area, specifically on the 3A+ to avoid an
# OOM oops on boot. The 3B+ is also affected by this section, but it shouldn't
# cause any issues on that board
dtoverlay=vc4-kms-v3d,cma-128

[pi02]
# The Zero 2W is another 512MB board which is occasionally affected by the same
# OOM oops on boot.
dtoverlay=vc4-kms-v3d,cma-128

[cm4]
# Enable the USB2 outputs on the IO board (assuming your CM4 is plugged into
# such a board)
dtoverlay=dwc2,dr_mode=host

[all]

I don't know which overlay to put there because on 1.3.1 (RPi4) I've entered generic i2s RPi dac overlay and it could show this in audio devices no problem.
Also, both hdmi audio outputs are enumerated and accessible. Here, nothing...

config file path = /boot/firmware/config.txt

in the config.txt, just add this line at the end, under [All] or "Enable Audio hat" in Raspberry OS.
 
Code:
dtoverlay=i-sabre-q2m


Or try dtoverlay=i2s-dac

The overlay path = /boot/firmware/overlays

the filename after "dtoverlay=" must be exactly the same in that folder.

If still doesn't work, I hope adding this line will help:
 
Code:
force_eeprom_read=0
 
Good Luck and Enjoy.
Reply

#6
I tried dtoverlay=i-sabre-q2m and force_eeprom_read=0 but this didn't make a difference.
I have connected Amanero USB and then it shows as audio device and I can save this config, myMPD can be started but it's not connected to MPD.

Reboot fixed this and now library is being scanned... I added only one NFS share from network but it's huge...
Now I need to fix i2s DAC connection...
Reply

#7
(01-Apr-2025, 10:48 PM)miksi Wrote: I tried dtoverlay=i-sabre-q2m and force_eeprom_read=0 but this didn't make a difference.
I have connected Amanero USB and then it shows as audio device and I can save this config, myMPD can be started but it's not connected to MPD.

Reboot fixed this and now library is being scanned... I added only one NFS share from network but it's huge...
Now I need to fix i2s DAC connection...

I'm sorry that I forgot to tell you to reboot to make the changes effective after editing the config.txt,
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  Snakeoil 1.4 and Squeezelite R2 - not rembering USB audio output petemac110 4 192 23-Feb-2025, 07:47 PM
Last Post: petemac110
  Not able to add custom audio output sjtuross 1 660 24-Sep-2023, 07:43 AM
Last Post: agent_kith
  [SOLVEDOutput devices - Device is closed with MPD mb32 1 873 10-Feb-2023, 12:22 AM
Last Post: hkphantomgtr
  [SOLVEDListening to collection on other devices? RomanM 1 799 05-Oct-2022, 08:25 PM
Last Post: RomanM
  No DSD audio - mpd(dsdrt) pathetic 13 4,155 03-Feb-2022, 09:43 PM
Last Post: pathetic



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
Today 12:03 AM
» Replies: 4
» Views: 94
Question about RAM Disk
Last Post: hkphantomgtr
Yesterday 03:33 PM
» Replies: 4
» Views: 33
[split] How to re-set activation details
Last Post: hkphantomgtr
Yesterday 03:32 PM
» Replies: 2
» Views: 16
Add UPNP/DLNA functionality
Last Post: Snoopy8
Yesterday 09:50 AM
» Replies: 2
» Views: 23
Snakeoil 1.4.2 (High End U2)
Last Post: agent_kith
03-Apr-2025 11:28 AM
» Replies: 20
» Views: 914
No audio devices on RPi5 with latests bu...
Last Post: hkphantomgtr
02-Apr-2025 01:59 AM
» Replies: 6
» Views: 89
Intel NUC: I225-V vs. Thunderbolt Ethern...
Last Post: hkphantomgtr
31-Mar-2025 11:51 AM
» Replies: 2
» Views: 54
REST not responding (503 error)
Last Post: Primare11
29-Mar-2025 10:50 PM
» Replies: 9
» Views: 169
"upmpdcli now supports Tidal. How do I s...
Last Post: wxrbbs
28-Mar-2025 05:37 PM
» Replies: 2
» Views: 69
[split] Problem starting API server 1.4....
Last Post: clark8888
26-Mar-2025 09:33 AM
» Replies: 17
» Views: 360

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2025. Theme © Melroy van den Berg.