> 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: > > @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 rgri...@freebsd.org _______________________________________________ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"