We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

Zentri
Posts: 3
Joined: Thu Jun 24, 2021 3:15 pm

Pi4 Raspbian "No audio devices found" - can't get 3.5mm jack working

Thu Jun 24, 2021 3:34 pm

Hello, I've already Googled and read every thread I could find on this issue and I tried everything mentioned but nothing has worked.

I'm running the latest version of Raspbian desktop.

When I go to sudo raspi-config > system options > S2 Audio and hit enter, the terminal immediately refreshes back to the main menu of raspi-config. Leading me to believe there's a major issue if I can't even select between HDMI and 3.5mm. Like I don't even get a chance to see what the S2 Audio page looks like.

I've tried two working 3.5mm devices fully plugged into the Pi (made sure the case was off and connection was truly made) but I get no sound output, only a little bit of static when inserting the plug which proves the jack is at least getting power.

Most other guides on this issue mention right clicking on the audio icon in the top right to change outputs but when I do that I only see "No audio devices found"

I tried basically everything in this guide viewtopic.php?t=263942 such as disabling 4k60fps output etc, but my pi is being ran in a headless mode without monitor/keyboard/mouse plugged in and is being accessed remotely so I'm not even sure if the HDMI bug affects me considering I don't even have an HDMI device plugged in.

How do I get Raspbian to recognize the 3.5mm output and actually use it? The entire reason I purchased this device is to turn it into a headless Pandora streamer and that obviously won't work without audio output.. :(

Thanks for any help!

pidd
Posts: 6843
Joined: Fri May 29, 2020 8:29 pm

Re: Pi4 Raspbian "No audio devices found" - can't get 3.5mm jack working

Thu Jun 24, 2021 5:10 pm

Can you give the output of the following three commands

Code: Select all

systemctl status alsa-state
systemctl status pulseaudio
systemctl status|grep pulse

Zentri
Posts: 3
Joined: Thu Jun 24, 2021 3:15 pm

Re: Pi4 Raspbian "No audio devices found" - can't get 3.5mm jack working

Thu Jun 24, 2021 6:32 pm

pidd wrote:
Thu Jun 24, 2021 5:10 pm
Can you give the output of the following three commands

Code: Select all

systemctl status alsa-state
systemctl status pulseaudio
systemctl status|grep pulse
Results of systemctl status alsa-state:

Code: Select all

alsa-state.service - Manage Sound Card State (restore and store)
   Loaded: loaded (/lib/systemd/system/alsa-state.service; static; vendor preset: enabled)
   Active: active (running) since Thu 2021-06-24 11:48:32 EDT; 2h 35min ago
     Docs: man:alsactl(1)
 Main PID: 359 (alsactl)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/alsa-state.service
           └─359 /usr/sbin/alsactl -E HOME=/run/alsa -s -n 19 -c rdaemon

Jun 24 11:48:32 AMLCRADIO1 systemd[1]: Started Manage Sound Card State (restore and store).
Jun 24 11:48:32 AMLCRADIO1 alsactl[359]: alsactl 1.1.8 daemon started
Results of systemctl status pulseaudio:

Code: Select all

Unit pulseaudio.service could not be found.
Results of systemctl status|grep pulse:

Code: Select all

$ systemctl status|grep pulse
           │   │ ├─pulseaudio.service
           │   │ │ └─819 /usr/bin/pulseaudio --daemonize=no
           │   │ └─1655 grep --color=auto pulse


After seeing that it couldn't find the pulseaudio service, I tried to sudo apt get pulseaudio and this is what I got:

Code: Select all

$ sudo apt install pulseaudio
Reading package lists... Done
Building dependency tree       
Reading state information... Done
pulseaudio is already the newest version (12.2-4+deb10u1+rpi3).
pulseaudio set to manually installed.
The following package was automatically installed and is no longer required:
  python-colorzero
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
At this point I rebooted the Pi and ran systemctl status pulseaudio again but it still says the service cannot be found.

Thanks for your assistance!

pidd
Posts: 6843
Joined: Fri May 29, 2020 8:29 pm

Re: Pi4 Raspbian "No audio devices found" - can't get 3.5mm jack working

Thu Jun 24, 2021 7:40 pm

Yes, perhaps I should have warned you, I also can't understand why pulseaudio has those strange results. Anyway, Alsa is up and running and your results are the same as mine.

Try

Code: Select all

alsamixer
See if the top left says pulseaudio, then press F6 and check you have HDMI and Headphones listed.

Zentri
Posts: 3
Joined: Thu Jun 24, 2021 3:15 pm

Re: Pi4 Raspbian "No audio devices found" - can't get 3.5mm jack working

Thu Jun 24, 2021 8:00 pm

pidd wrote:
Thu Jun 24, 2021 7:40 pm
Yes, perhaps I should have warned you, I also can't understand why pulseaudio has those strange results. Anyway, Alsa is up and running and your results are the same as mine.

Try

Code: Select all

alsamixer
See if the top left says pulseaudio, then press F6 and check you have HDMI and Headphones listed.
I've already played around in alsamixer a bit after some of the research I did, but here's a screenshot ... notice it only shows one volume bar, acting like mono sound, unless I'm wrong? I've seen screenshots from other people online that show more volume mixers. Notice how it doesn't say HDMI either.
Image 4.jpg
Image 4.jpg (108.13 KiB) Viewed 20809 times

pidd
Posts: 6843
Joined: Fri May 29, 2020 8:29 pm

Re: Pi4 Raspbian "No audio devices found" - can't get 3.5mm jack working

Thu Jun 24, 2021 8:20 pm

Its normal not to have stereo controls in alsamixer

I've seen the same symptoms as you have but forgotten what caused it.

Three things I would look at are:

check your user hasn't got a .alsa file, if it has, delete it

Code: Select all

ls -al /home/pi|grep alsa
ls -al /home/pi/config|grep alsa
Check you have the right app on your task panel in the gui

Right click on task panel
Add/remove panel settings
Make sure VolumeControl(pulseaudio) is present and make sure nothing alsa is mentioned.

Highly unlikely to be the problem but make sure /boot/config.txt has got "dtparam=audio=on"

User avatar
Greg Erskine
Posts: 254
Joined: Sat Sep 15, 2012 4:20 am

Re: Pi4 Raspbian "No audio devices found" - can't get 3.5mm jack working

Thu Jun 24, 2021 8:41 pm

I don't use Pulseaudio, but have a couple of points that might help or not.

The mono control is normal. It actually adjusts both channels.

HDMI devices do not show unless they are actually plugged in.

It may be worthwhile looking at the mmap setting in your application. It may need setting to 0.

Check device is unmuted and set to 0dB or 4dB (or whatever).

The card names are now Headphones, b1 and b2 (not ALSA).

Don't expect great audio out of Headphones.
* Raspberry Pi is a trademark of the Raspberry Pi Foundation

trungkmy
Posts: 1
Joined: Tue Sep 28, 2021 4:38 am

Re: Pi4 Raspbian "No audio devices found" - can't get 3.5mm jack working

Tue Sep 28, 2021 4:45 am

Hi @Rentri!
I'm facing exactly your problem in my RPI 4 + Raspbian OS fresh install from Raspberry PI Image.

Have you find the solution? Please share me, thanks

goldmar
Posts: 1
Joined: Tue Jan 18, 2022 6:36 pm

Re: Pi4 Raspbian "No audio devices found" - can't get 3.5mm jack working

Tue Jan 18, 2022 6:47 pm

Hi all,

I have exactly the same problem! I have no sound and the audio icon on the top right says "no audio devices found". Pulseaudio is running correctly.

I've found a fix for the issue: If I open a terminal and run

Code: Select all

pactl load-module module-udev-detect tsched=0
then everything works as expected.

What I don't understand is, why doesn't pulseaudio do this itself on startup? I don't have any custom configuration in ~/.config/pulse and /etc/pulse/default.pa contains the following lines which should take care of this imo:

Code: Select all

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect tsched=0
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif
However, my impression is that the configuration is simply being ignored.

Any thoughts on this?

CCIEZ
Posts: 1
Joined: Sun Jun 12, 2022 9:13 am

Re: Pi4 Raspbian "No audio devices found" - can't get 3.5mm jack working

Sun Jun 12, 2022 9:15 am

hi godmar
i tried your method and successed. but after reboot, the setup was gone again. do you konw what to do so i donot have to enter the command everytime after reboot?

User avatar
jbeale
Posts: 4040
Joined: Tue Nov 22, 2011 11:51 pm

Re: Pi4 Raspbian "No audio devices found" - can't get 3.5mm jack working

Sun Nov 06, 2022 11:21 pm

I have a newer Pi and an older Pi, and the same USB audio device ("Behringer LINE 2 USB 2 Stereo" cable) that works on the older install does not work on the newer one. The 'dmsg' command shows identical information in each case, it's just the newer system shows no audio device from 'amixer -l'. The 'load-module' fix reported here gave me an error "Failure: Module initialization failed" and sudo didn't help.

Code: Select all

from rp02.local (working)

[    2.017224] usb 1-1.4: new full-speed USB device number 4 using dwc_otg
[    2.152475] usb 1-1.4: New USB device found, idVendor=0d8c, idProduct=0132, bcdDevice= 1.00
[    2.152491] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.152501] usb 1-1.4: Product: USB PnP Audio Device
[    2.152510] usb 1-1.4: Manufacturer: C-Media Electronics Inc.
[    2.155860] hid-generic 0003:0D8C:0132.0001: No inputs registered, leaving
[    2.156305] hid-generic 0003:0D8C:0132.0001: hidraw0: USB HID v1.11 Device [C-Media Electronics Inc. USB PnP Audio Device] on usb-3f980000.usb-1.4/input2

pi@rp02:~ $ uname -a
Linux rp02 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l GNU/Linux

pi@rp02:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Device [USB PnP Audio Device], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
  
 
from rp49.local (not working)
[4485910.006851] usb 1-1.3: new full-speed USB device number 6 using xhci_hcd
[4485910.147441] usb 1-1.3: New USB device found, idVendor=0d8c, idProduct=0132, bcdDevice= 1.00
[4485910.147464] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[4485910.147482] usb 1-1.3: Product: USB PnP Audio Device
[4485910.147500] usb 1-1.3: Manufacturer: C-Media Electronics Inc.
[4485910.154624] hid-generic 0003:0D8C:0132.0002: No inputs registered, leaving
[4485910.154871] hid-generic 0003:0D8C:0132.0002: hidraw0: USB HID v1.11 Device [C-Media Electronics Inc. USB PnP Audio Device] on usb-0000:01:00.0-1.3/input2

pi@rp49:~ $ uname -a
Linux rp49 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/Linux
pi@rp49:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****

pi@rp49:~ $ pactl load-module module-udev-detect tsched=0
Failure: Module initialization failed
UPDATE: I rebooted the Pi and now it mysteriously works.

Code: Select all

pi@rp49:~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Device [USB PnP Audio Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

User avatar
kerry_s
Posts: 8630
Joined: Thu Jan 30, 2020 7:14 pm

Re: Pi4 Raspbian "No audio devices found" - can't get 3.5mm jack working

Sun Nov 06, 2022 11:34 pm

yes, sometimes devices are not detected on the first go.
it may take up to 2 reboots depending on device.

i've had it happen with speakers, keyboards, screens, etc....
mouse always works :lol:

User avatar
jbeale
Posts: 4040
Joined: Tue Nov 22, 2011 11:51 pm

Re: Pi4 Raspbian "No audio devices found" - can't get 3.5mm jack working

Mon Nov 07, 2022 2:53 am

In effect yes, although in my case I got exactly the same kernel messages (from 'dmesg') on the working and non-working systems. I don't understand the Linux sound system but at the lowest USB driver level it seemed to be recognized normally, it's some higher layer that wasn't ready to talk to it as a sound system device, for some reason.

Return to “Troubleshooting”