devmatch sideeffec: No sound

Rodney W. Grimes freebsd-rwg at pdx.rh.CN85.dnsmgr.net
Sun Sep 30 16:17:30 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.

I have just the opposite issue on my x230,
as I use external speakers plugged into the audio jack,
and to get them on I have to do a:

sysctl hw.snd.default_unit=1

Or it may need to be:
sysctl hw.snd.default_unit=0

> 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...
> 

-- 
Rod Grimes                                                 rgrimes at freebsd.org


More information about the freebsd-current mailing list