Re: Sound issues with Dell Latitude 7490 (kabylake)

From: Rodney W. Grimes <freebsd-rwg_at_pdx.rh.CN85.dnsmgr.net>
Date: Tue, 2 Oct 2018 12:03:50 -0700 (PDT)
> On 10/2/18 6:27 PM, Rodney W. Grimes wrote:
> >> On 10/1/18 6:43 PM, Rodney W. Grimes wrote:
> >>>> Hi
> >>>>
> >>>> While sound work out of the box (with headphone switching) on the 1-2 year
> >>>> older Latitude 7270, it does not on my new machine.
> >>>>
> >>>> The internal speaker works fine. If I plug in external speakers in the
> >>>> headphone jack, sound still goes to the internal speaker while a very load
> >>>> buzz comes from the external speakers.
> >>>>
> >>>> Do we have a solution for this?
> >>> I do not believe we have anything that detects stuff plugged into
> >>> and removed from the newer sound stuff that needs switching to
> >>> change from internal to external speakers.
> >>>
> >>> I think you need to do what I have to do when I plug in external
> >>> speakers on my thinkpad x230:
> >>> sysctl hw.snd.default_unit=1
> >>>
> >>> And when I unplug them I have to do:
> >>> sysctl hw.snd.default_unit=0
> >>>
> >>> to switch back to the internal speakers.
> >>
> >> Hi Rod,
> >>
> >>
> >> Can you post the output of 'sysctl dev.pcm' and 'sysctl dev.hdaa'
> > Sure:
> > _at_x230a:~ # sysctl dev.pcm
> > dev.pcm.4.bitperfect: 0
...
...
> 
> Thanks. So if you try this:
> 
> sysctl dev.hdaa.0.nid24_config="as=4 seq=15"
> sysctl dev.hdaa.0.nid21_config="as=1 seq=15"
> sysctl dev.hdaa.0.reconfig=1

Works, thank you!

> That should make pcm0 and pcm1 "merge" into pcm0 and enable 
> auto-switching when plugging something
> 
> in the headphones jack.
> 
> If it works you might want to put the following two lines in 
> /boot/loader.conf
> 
> hint.hdaa.0.nid24.config="as=4 seq=15"
> hint.hdaa.0.nid21.config="as=1 seq=15"


-- 
Rod Grimes                                                 rgrimes_at_freebsd.org
Received on Tue Oct 02 2018 - 17:04:03 UTC

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