devmatch sideeffec: No sound

Poul-Henning Kamp phk at phk.freebsd.dk
Sun Sep 30 07:51:53 UTC 2018


HW: Thinkpad T480 with T3 Dock.

SW: -current, r338952

With devmatch enabled in /etc/rc.conf (the default0, snd_uaudio
gets loaded automatically and finds the audio stuff in the dock,
which is connected to a screen output(s) I do not use.

Firefox ends up with /dev/dsp2.0 which goes there, and as a result
I get no sound through the laptops speakers where I expect it.

Obvious workaround: Disable devmatch.

Yet to be discovered workaround:  Prioritize sound devices, when
there are multiple.

This kind of thing may cause some support-work when 12 comes out...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list