Sound drivers not loaded in userspace

I'm trying to get the sound working on my laptop.
root@ThinkPad:/ # uname -a
FreeBSD ThinkPad 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64

I have KDE up and running, but when I try to test the sound, I get an error message saying "No such driver for all of the sound cards shown.

1735059279482.png


Following the Handbook, I can see some sound cards, but get a message that no drivers have been installed from userspace:

root@ThinkPad:/ # dmesg | grep pcm
pcm0: <Conexant CX20753/4 (Analog)> at nid 23 and 26 on hdaa0
pcm1: <Conexant CX20753/4 (Right Analog)> at nid 22 and 25 on hdaa0
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa1

root@ThinkPad:/ # cat /dev/sndstat
Installed devices:
pcm0: <Conexant CX20753/4 (Analog)> (play/rec) default
pcm1: <Conexant CX20753/4 (Right Analog)> (play/rec)
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> (play)
No devices installed from userspace.

How do I find out which drivers I need, and how do I install them?

I have already added snd_driver_load="YES" to /boot/loader.conf, but it hasn't made a difference.
 
How do I find out which drivers I need, and how do I install them?
You don't need any, they're already loaded. The userspace message is normal, doesn't mean audio isn't working.

Code:
dice@williscorto:~ % cat /dev/sndstat
Installed devices:
pcm0: <Realtek ALC892 (Rear Analog)> (play/rec) default
pcm1: <Realtek ALC892 (Rear Digital)> (play)
pcm2: <NVIDIA (0x001c) (HDMI/DP 8ch)> (play)
pcm3: <NVIDIA (0x001c) (HDMI/DP 8ch)> (play)
No devices installed from userspace.

I have already added snd_driver_load="YES" to /boot/loader.conf
Remove it, it's a convenience driver, it simply loads all available audio drivers so you can figure out which ones you need. As everything is already being detected you don't need to load everything else.
 
root@ThinkPad:/ # cat /dev/sndstat
Installed devices:
pcm0: <Conexant CX20753/4 (Analog)> (play/rec) default
pcm1: <Conexant CX20753/4 (Right Analog)> (play/rec)
pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> (play)
No devices installed from userspace.

That last message is about sound devices that could be created and registered by userspace sound servers, specifically built for that purpose. AFAIK, only audio/virtual_oss does so currently. It's unrelated to your error message in KDE, as others mentioned.
 
Back
Top