Re: devmatch sideeffec: No sound

From: Rodney W. Grimes <freebsd-rwg_at_pdx.rh.CN85.dnsmgr.net>
Date: Sun, 30 Sep 2018 09:17:19 -0700 (PDT)
> 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
Received on Sun Sep 30 2018 - 14:17:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:18 UTC