Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2018 17:02:56 +0000 (UTC)
From:      Filippo Moretti <filippomore@yahoo.com>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Problem starting Xorg
Message-ID:  <1048934604.3525764.1538499776434@mail.yahoo.com>
References:  <1048934604.3525764.1538499776434.ref@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I get the following error while attemptong to start xorg,that did work unti=
l today,amd64 alpha3drmn0:error:no GEM object associated to handle 0x000004=
00 can't=C2=A0 create framebufferany help appreciatedFilippo
From owner-freebsd-current@freebsd.org  Tue Oct  2 18:17:47 2018
Return-Path: <owner-freebsd-current@freebsd.org>
Delivered-To: freebsd-current@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 706DF10A74B8
 for <freebsd-current@mailman.ysv.freebsd.org>;
 Tue,  2 Oct 2018 18:17:47 +0000 (UTC)
 (envelope-from jakob@alvermark.net)
Received: from out.alvermark.net (out.alvermark.net [185.34.136.138])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 00152761DB
 for <freebsd-current@freebsd.org>; Tue,  2 Oct 2018 18:17:46 +0000 (UTC)
 (envelope-from jakob@alvermark.net)
Received: from c-42bc70d5.06-431-73746f70.bbcust.telenor.se ([213.112.188.66]
 helo=mail.alvermark.net)
 by out.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
 (Exim 4.91 (FreeBSD)) (envelope-from <jakob@alvermark.net>)
 id 1g7PEo-0000Ag-Aw; Tue, 02 Oct 2018 20:17:38 +0200
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=alvermark.net; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:
 MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=0Y7okTMNPLm/soL+DDP/7/q4W79gXDYEyLdw8ifxNUA=; b=wMgzTzZD4mrOz4IA02TEcclF9M
 FjGmd0Fg2gpLS12zPSxWCec1vIgE0fr6xNXpaTbauKdBTzeVsn1f3poVn0xmE9qFCsRAZH/PDFHSq
 n3rnxKVA+5RAxoJq2/y6KLmQxtwt2DtIxbcICZozTSRO3AASOsWNNqJLIrJBsTUxnRPpDuayprKEz
 rBSxS9XJWFIihAJoqAoo8IQ411M8d7N85z3xBFLztWUFeU2c8jZqXK2e7RtKDyoYBPzsaUKUWuGfx
 KjvLDUoFImL87ALUfTveOS3BbdNRx/G47h0z0gEXtPySMh2QpB4AHdWyIPKa74DDB/hnKXTzGcsaR
 2EbsVI9A==;
Received: from [192.168.67.33]
 by mail.alvermark.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
 (Exim 4.91 (FreeBSD)) (envelope-from <jakob@alvermark.net>)
 id 1g7PEn-000P72-R2; Tue, 02 Oct 2018 20:17:37 +0200
Subject: Re: Sound issues with Dell Latitude 7490 (kabylake)
To: "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net>
Cc: Johannes Lundberg <johalun0@gmail.com>,
 freebsd-current <freebsd-current@freebsd.org>
References: <201810021627.w92GRqL4097149@pdx.rh.CN85.dnsmgr.net>
From: Jakob Alvermark <jakob@alvermark.net>
Message-ID: <0c23ed5d-c080-91b9-30f8-0e4a49a8e56b@alvermark.net>
Date: Tue, 2 Oct 2018 20:17:37 +0200
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101
 Thunderbird/60.0.1
MIME-Version: 1.0
In-Reply-To: <201810021627.w92GRqL4097149@pdx.rh.CN85.dnsmgr.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Oct 2018 18:17:47 -0000

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
> dev.pcm.4.buffersize: 65536
> dev.pcm.4.play.vchanformat: s16le:2.0
> dev.pcm.4.play.vchanrate: 48000
> dev.pcm.4.play.vchanmode: passthrough
> dev.pcm.4.play.vchans: 1
> dev.pcm.4.play.32bit: 24
> dev.pcm.4.%parent: hdaa1
> dev.pcm.4.%pnpinfo:
> dev.pcm.4.%location: nid=7
> dev.pcm.4.%driver: pcm
> dev.pcm.4.%desc: Intel Panther Point (HDMI/DP 8ch)
> dev.pcm.3.bitperfect: 0
> dev.pcm.3.buffersize: 65536
> dev.pcm.3.play.vchanformat: s16le:2.0
> dev.pcm.3.play.vchanrate: 48000
> dev.pcm.3.play.vchanmode: passthrough
> dev.pcm.3.play.vchans: 1
> dev.pcm.3.play.32bit: 24
> dev.pcm.3.%parent: hdaa1
> dev.pcm.3.%pnpinfo:
> dev.pcm.3.%location: nid=6
> dev.pcm.3.%driver: pcm
> dev.pcm.3.%desc: Intel Panther Point (HDMI/DP 8ch)
> dev.pcm.2.bitperfect: 0
> dev.pcm.2.buffersize: 65536
> dev.pcm.2.play.vchanformat: s16le:2.0
> dev.pcm.2.play.vchanrate: 48000
> dev.pcm.2.play.vchanmode: passthrough
> dev.pcm.2.play.vchans: 1
> dev.pcm.2.play.32bit: 24
> dev.pcm.2.%parent: hdaa1
> dev.pcm.2.%pnpinfo:
> dev.pcm.2.%location: nid=5
> dev.pcm.2.%driver: pcm
> dev.pcm.2.%desc: Intel Panther Point (HDMI/DP 8ch)
> dev.pcm.1.bitperfect: 0
> dev.pcm.1.buffersize: 65536
> dev.pcm.1.rec.vchanformat: s16le:2.0
> dev.pcm.1.rec.vchanrate: 48000
> dev.pcm.1.rec.vchanmode: fixed
> dev.pcm.1.rec.vchans: 1
> dev.pcm.1.rec.autosrc: 2
> dev.pcm.1.rec.32bit: 24
> dev.pcm.1.play.vchanformat: s16le:2.0
> dev.pcm.1.play.vchanrate: 48000
> dev.pcm.1.play.vchanmode: fixed
> dev.pcm.1.play.vchans: 9
> dev.pcm.1.play.32bit: 24
> dev.pcm.1.%parent: hdaa0
> dev.pcm.1.%pnpinfo:
> dev.pcm.1.%location: nid=21,18
> dev.pcm.1.%driver: pcm
> dev.pcm.1.%desc: Realtek ALC269 (Analog)
> dev.pcm.0.bitperfect: 0
> dev.pcm.0.buffersize: 65536
> dev.pcm.0.rec.vchanformat: s16le:2.0
> dev.pcm.0.rec.vchanrate: 48000
> dev.pcm.0.rec.vchanmode: fixed
> dev.pcm.0.rec.vchans: 1
> dev.pcm.0.rec.autosrc: 2
> dev.pcm.0.rec.32bit: 24
> dev.pcm.0.play.vchanformat: s16le:2.0
> dev.pcm.0.play.vchanrate: 48000
> dev.pcm.0.play.vchanmode: fixed
> dev.pcm.0.play.vchans: 1
> dev.pcm.0.play.32bit: 24
> dev.pcm.0.%parent: hdaa0
> dev.pcm.0.%pnpinfo:
> dev.pcm.0.%location: nid=20,24
> dev.pcm.0.%driver: pcm
> dev.pcm.0.%desc: Realtek ALC269 (Analog)
> dev.pcm.%parent:
>
>
> @x230a:~ # sysctl dev.hdaa
> dev.hdaa.1.reconfig: 0
> dev.hdaa.1.gpo_config:
> dev.hdaa.1.gpo_state:
> dev.hdaa.1.gpio_config:
> dev.hdaa.1.gpio_state:
> dev.hdaa.1.gpi_state:
> dev.hdaa.1.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref
> dev.hdaa.1.nid8: vendor widget [DISABLED]
>       Widget cap: 0x00f00000
>
> dev.hdaa.1.nid7_original: 0x18560030 as=3 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
> dev.hdaa.1.nid7_config: 0x18560030 as=3 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
> dev.hdaa.1.nid7: pin: Digital-out (Jack)
>       Widget cap: 0x0040778d PWR DIGITAL UNSOL 8CH
>      Association: 2 (0x0001)
>          Pin cap: 0x09000094 PDC OUT HDMI DP HBR
>       Pin config: 0x18560030 as=3 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
>      Pin control: 0x00000040 OUT
>       Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
>      Connections: 1
>            + <- nid=4 [audio output]
>
> dev.hdaa.1.nid6_original: 0x18560020 as=2 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
> dev.hdaa.1.nid6_config: 0x18560020 as=2 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
> dev.hdaa.1.nid6: pin: Digital-out (Jack)
>       Widget cap: 0x0040778d PWR DIGITAL UNSOL 8CH
>      Association: 1 (0x0001)
>          Pin cap: 0x09000094 PDC OUT HDMI DP HBR
>       Pin config: 0x18560020 as=2 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
>      Pin control: 0x00000040 OUT
>       Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
>      Connections: 1
>            + <- nid=3 [audio output]
>
> dev.hdaa.1.nid5_original: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
> dev.hdaa.1.nid5_config: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
> dev.hdaa.1.nid5: pin: Digital-out (Jack)
>       Widget cap: 0x0040778d PWR DIGITAL UNSOL 8CH
>      Association: 0 (0x0001)
>          Pin cap: 0x09000094 PDC OUT HDMI DP HBR
>       Pin config: 0x18560010 as=1 seq=0 device=Digital-out conn=Jack ctype=Digital loc=0x18 color=Unknown misc=0
>      Pin control: 0x00000040 OUT
>       Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
>      Connections: 1
>            + <- nid=2 [audio output]
>
> dev.hdaa.1.nid4: audio output
>       Widget cap: 0x00006611 PWR DIGITAL 8CH
>      Association: 2 (0x0001)
>              OSS: pcm (pcm)
>       Stream cap: 0x00000005 AC3 PCM
>          PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz
>
> dev.hdaa.1.nid3: audio output
>       Widget cap: 0x00006611 PWR DIGITAL 8CH
>      Association: 1 (0x0001)
>              OSS: pcm (pcm)
>       Stream cap: 0x00000005 AC3 PCM
>          PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz
>
> dev.hdaa.1.nid2: audio output
>       Widget cap: 0x00006611 PWR DIGITAL 8CH
>      Association: 0 (0x0001)
>              OSS: pcm (pcm)
>       Stream cap: 0x00000005 AC3 PCM
>          PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz
>
> dev.hdaa.1.%parent: hdacc1
> dev.hdaa.1.%pnpinfo: type=0x01 subsystem=0x80860101
> dev.hdaa.1.%location: nid=1
> dev.hdaa.1.%driver: hdaa
> dev.hdaa.1.%desc: Intel Panther Point Audio Function Group
> dev.hdaa.0.reconfig: 0
> dev.hdaa.0.gpo_config:
> dev.hdaa.0.gpo_state:
> dev.hdaa.0.gpio_config: 0=keep 1=keep
> dev.hdaa.0.gpio_state: 0=disabled 1=disabled
> dev.hdaa.0.gpi_state:
> dev.hdaa.0.config: forcestereo,ivref50,ivref80,ivref100,ivref,vref
> dev.hdaa.0.nid35: audio mixer
>       Widget cap: 0x0020010b STEREO
>      Association: 2 (0x0001)
>              OSS: speaker, mic, mix
>        Input amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
>      Connections: 6
>            + <- nid=24 [pin: Mic (Black Jack)]
>            + [DISABLED] <- nid=25 [pin: Speaker (None)] [DISABLED]
>            + [DISABLED] <- nid=26 [pin: Speaker (None)] [DISABLED]
>            + [DISABLED] <- nid=27 [pin: Speaker (None)] [DISABLED]
>            + <- nid=29 [beep widget]
>            + <- nid=11 [audio mixer]
>
> dev.hdaa.0.nid34: audio mixer
>       Widget cap: 0x0020010b STEREO
>      Association: 3 (0x0001)
>              OSS: speaker, monitor
>        Input amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
>      Connections: 7
>            + [DISABLED] <- nid=24 [pin: Mic (Black Jack)]
>            + [DISABLED] <- nid=25 [pin: Speaker (None)] [DISABLED]
>            + [DISABLED] <- nid=26 [pin: Speaker (None)] [DISABLED]
>            + [DISABLED] <- nid=27 [pin: Speaker (None)] [DISABLED]
>            + <- nid=29 [beep widget]
>            + [DISABLED] <- nid=11 [audio mixer]
>            + <- nid=18 [pin: Mic (Fixed)]
>
> dev.hdaa.0.nid33: vendor widget [DISABLED]
>       Widget cap: 0x00f00000
>
> dev.hdaa.0.nid32: vendor widget [DISABLED]
>       Widget cap: 0x00f00040 PROC
>
> dev.hdaa.0.nid31: vendor widget [DISABLED]
>       Widget cap: 0x00f00000
>
> dev.hdaa.0.nid30_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
> dev.hdaa.0.nid30_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
> dev.hdaa.0.nid30: pin: Speaker (None) [DISABLED]
>       Widget cap: 0x00400781 PWR DIGITAL UNSOL STEREO
>          Pin cap: 0x00000014 PDC OUT
>       Pin config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
>      Pin control: 0x00000000
>      Connections: 1
>            + <- nid=6 [audio output] [DISABLED]
>
> dev.hdaa.0.nid29_original: 0x40138205 as=0 seq=5 device=Speaker conn=None ctype=ATAPI loc=0x00 color=Purple misc=2
> dev.hdaa.0.nid29_config: 0x40138205 as=0 seq=5 device=Speaker conn=None ctype=ATAPI loc=0x00 color=Purple misc=2
> dev.hdaa.0.nid29: beep widget
>       Widget cap: 0x00700400 PWR
>      Association: -2 (0x0000)
>              OSS: speaker (speaker)
>          Pin cap: 0x00000020 IN
>       Pin config: 0x40138205 as=0 seq=5 device=Speaker conn=None ctype=ATAPI loc=0x00 color=Purple misc=2
>      Pin control: 0x00000020 IN
>
> dev.hdaa.0.nid28: vendor widget [DISABLED]
>       Widget cap: 0x00f00000
>
> dev.hdaa.0.nid27_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
> dev.hdaa.0.nid27_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
> dev.hdaa.0.nid27: pin: Speaker (None) [DISABLED]
>       Widget cap: 0x0040058f PWR UNSOL STEREO
>          Pin cap: 0x00003734 PDC OUT IN VREF[ 50 80 100 GROUND HIZ ]
>       Pin config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
>      Pin control: 0x00000000
>       Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
>        Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)
>      Connections: 2
>            + [DISABLED] <- nid=12 [audio mixer] (selected)
>            + <- nid=13 [audio mixer]
>
> dev.hdaa.0.nid26_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
> dev.hdaa.0.nid26_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
> dev.hdaa.0.nid26: pin: Speaker (None) [DISABLED]
>       Widget cap: 0x0040058f PWR UNSOL STEREO
>          Pin cap: 0x0000373c PDC HP OUT IN VREF[ 50 80 100 GROUND HIZ ]
>       Pin config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
>      Pin control: 0x00000000
>       Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
>        Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)
>      Connections: 2
>            + [DISABLED] <- nid=12 [audio mixer] (selected)
>            + <- nid=13 [audio mixer]
>
> dev.hdaa.0.nid25_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
> dev.hdaa.0.nid25_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
> dev.hdaa.0.nid25: pin: Speaker (None) [DISABLED]
>       Widget cap: 0x0040058f PWR UNSOL STEREO
>          Pin cap: 0x00003734 PDC OUT IN VREF[ 50 80 100 GROUND HIZ ]
>       Pin config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
>      Pin control: 0x00000000
>       Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
>        Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)
>      Connections: 2
>            + [DISABLED] <- nid=12 [audio mixer] (selected)
>            + <- nid=13 [audio mixer]
>
> dev.hdaa.0.nid24_original: 0x03a11830 as=3 seq=0 device=Mic conn=Jack ctype=1/8 loc=Left color=Black misc=8
> dev.hdaa.0.nid24_config: 0x03a11830 as=3 seq=0 device=Mic conn=Jack ctype=1/8 loc=Left color=Black misc=8
> dev.hdaa.0.nid24: pin: Mic (Black Jack)
>       Widget cap: 0x0040058f PWR UNSOL STEREO
>      Association: 2 (0x0001)
>              OSS: mic (mic)
>          Pin cap: 0x00003734 PDC OUT IN VREF[ 50 80 100 GROUND HIZ ]
>       Pin config: 0x03a11830 as=3 seq=0 device=Mic conn=Jack ctype=1/8 loc=Left color=Black misc=8
>      Pin control: 0x00000025 IN VREFs
>       Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
>        Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)
>      Connections: 2
>            + [DISABLED] <- nid=12 [audio mixer] (selected)
>            + [DISABLED] <- nid=13 [audio mixer]
>
> dev.hdaa.0.nid23_original: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
> dev.hdaa.0.nid23_config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
> dev.hdaa.0.nid23: pin: Speaker (None) [DISABLED]
>       Widget cap: 0x0040050c PWR
>          Pin cap: 0x00000010 OUT
>       Pin config: 0x411111f0 as=15 seq=0 device=Speaker conn=None ctype=1/8 loc=Rear color=Black misc=1
>      Pin control: 0x00000000
>       Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
>      Connections: 1
>            + [DISABLED] <- nid=15 [audio mixer] [DISABLED]
>
> dev.hdaa.0.nid22: vendor widget [DISABLED]
>       Widget cap: 0x00f00000
>
> dev.hdaa.0.nid21_original: 0x03211020 as=2 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Left color=Black misc=0
> dev.hdaa.0.nid21_config: 0x03211020 as=2 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Left color=Black misc=0
> dev.hdaa.0.nid21: pin: Headphones (Black Jack)
>       Widget cap: 0x0040058d PWR UNSOL STEREO
>      Association: 1 (0x0001)
>          Pin cap: 0x0001001c PDC HP OUT EAPD
>       Pin config: 0x03211020 as=2 seq=0 device=Headphones conn=Jack ctype=1/8 loc=Left color=Black misc=0
>      Pin control: 0x000000c0 HP OUT
>             EAPD: 0x00000002 EAPD
>       Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
>      Connections: 2
>            + [DISABLED] <- nid=12 [audio mixer]
>            + <- nid=13 [audio mixer] (selected)
>
> dev.hdaa.0.nid20_original: 0x90170110 as=1 seq=0 device=Speaker conn=Fixed ctype=Analog loc=Internal color=Unknown misc=1
> dev.hdaa.0.nid20_config: 0x90170110 as=1 seq=0 device=Speaker conn=Fixed ctype=Analog loc=Internal color=Unknown misc=1
> dev.hdaa.0.nid20: pin: Speaker (Fixed)
>       Widget cap: 0x0040058d PWR UNSOL STEREO
>      Association: 0 (0x0001)
>          Pin cap: 0x00010014 PDC OUT EAPD
>       Pin config: 0x90170110 as=1 seq=0 device=Speaker conn=Fixed ctype=Analog loc=Internal color=Unknown misc=1
>      Pin control: 0x00000040 OUT
>             EAPD: 0x00000002 EAPD
>       Output amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
>      Connections: 2
>            + <- nid=12 [audio mixer] (selected)
>            + [DISABLED] <- nid=13 [audio mixer]
>
> dev.hdaa.0.nid19: vendor widget [DISABLED]
>       Widget cap: 0x00f00000
>
> dev.hdaa.0.nid18_original: 0x90a60140 as=4 seq=0 device=Mic conn=Fixed ctype=Digital loc=Internal color=Unknown misc=1
> dev.hdaa.0.nid18_config: 0x90a60140 as=4 seq=0 device=Mic conn=Fixed ctype=Digital loc=Internal color=Unknown misc=1
> dev.hdaa.0.nid18: pin: Mic (Fixed)
>       Widget cap: 0x0040040b PWR STEREO
>      Association: 3 (0x0001)
>              OSS: monitor (monitor)
>          Pin cap: 0x00000020 IN
>       Pin config: 0x90a60140 as=4 seq=0 device=Mic conn=Fixed ctype=Digital loc=Internal color=Unknown misc=1
>      Pin control: 0x00000020 IN
>        Input amp: 0x00270300 mute=0 step=3 size=39 offset=0 (0/30dB)
>
> dev.hdaa.0.nid17: vendor widget [DISABLED]
>       Widget cap: 0x00f00000
>
> dev.hdaa.0.nid16: vendor widget [DISABLED]
>       Widget cap: 0x00f00000
>
> dev.hdaa.0.nid15: audio mixer [DISABLED]
>       Widget cap: 0x0020010a
>        Input amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
>      Connections: 2
>            + [DISABLED] <- nid=2 [audio output]
>            + [DISABLED] <- nid=11 [audio mixer]
>
> dev.hdaa.0.nid14: vendor widget [DISABLED]
>       Widget cap: 0x00f00000
>
> dev.hdaa.0.nid13: audio mixer
>       Widget cap: 0x0020010b STEREO
>      Association: 1 (0x0001)
>              OSS: pcm, mix
>        Input amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
>      Connections: 2
>            + <- nid=3 [audio output]
>            + <- nid=11 [audio mixer]
>
> dev.hdaa.0.nid12: audio mixer
>       Widget cap: 0x0020010b STEREO
>      Association: 0 (0x0001)
>              OSS: pcm, mix
>        Input amp: 0x80000000 mute=1 step=0 size=0 offset=0 (0/0dB)
>      Connections: 2
>            + <- nid=2 [audio output]
>            + <- nid=11 [audio mixer]
>
> dev.hdaa.0.nid11: audio mixer
>       Widget cap: 0x0020010b STEREO
>      Association: 2 (0x0001)
>              OSS: mix (mix)
>        Input amp: 0x80051f17 mute=1 step=31 size=5 offset=23 (-34/12dB)
>      Connections: 5
>            + <- nid=24 [pin: Mic (Black Jack)]
>            + [DISABLED] <- nid=25 [pin: Speaker (None)] [DISABLED]
>            + [DISABLED] <- nid=26 [pin: Speaker (None)] [DISABLED]
>            + [DISABLED] <- nid=27 [pin: Speaker (None)] [DISABLED]
>            + <- nid=29 [beep widget]
>
> dev.hdaa.0.nid10: vendor widget [DISABLED]
>       Widget cap: 0x00f00000
>
> dev.hdaa.0.nid9: audio input
>       Widget cap: 0x0010051b PWR STEREO
>      Association: 3 (0x0001)
>       Stream cap: 0x00000001 PCM
>          PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
>        Input amp: 0x80023f17 mute=1 step=63 size=2 offset=23 (-17/30dB)
>      Connections: 1
>            + <- nid=34 [audio mixer]
>
> dev.hdaa.0.nid8: audio input
>       Widget cap: 0x0010051b PWR STEREO
>      Association: 2 (0x0001)
>       Stream cap: 0x00000001 PCM
>          PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
>        Input amp: 0x80023f17 mute=1 step=63 size=2 offset=23 (-17/30dB)
>      Connections: 1
>            + <- nid=35 [audio mixer]
>
> dev.hdaa.0.nid7: vendor widget [DISABLED]
>       Widget cap: 0x00f00000
>
> dev.hdaa.0.nid6: audio output [DISABLED]
>       Widget cap: 0x00000611 PWR DIGITAL STEREO
>       Stream cap: 0x00000001 PCM
>          PCM cap: 0x000e05f0 16 20 24 bits, 32 44 48 88 96 192 KHz
>
> dev.hdaa.0.nid5: vendor widget [DISABLED]
>       Widget cap: 0x00f00000
>
> dev.hdaa.0.nid4: vendor widget [DISABLED]
>       Widget cap: 0x00f00000
>
> dev.hdaa.0.nid3: audio output
>       Widget cap: 0x0000041d PWR STEREO
>      Association: 1 (0x0001)
>              OSS: pcm (pcm)
>       Stream cap: 0x00000001 PCM
>          PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
>       Output amp: 0x00025757 mute=0 step=87 size=2 offset=87 (-65/0dB)
>
> dev.hdaa.0.nid2: audio output
>       Widget cap: 0x0000041d PWR STEREO
>      Association: 0 (0x0001)
>              OSS: pcm (pcm)
>       Stream cap: 0x00000001 PCM
>          PCM cap: 0x000e0560 16 20 24 bits, 44 48 96 192 KHz
>       Output amp: 0x00025757 mute=0 step=87 size=2 offset=87 (-65/0dB)
>
> dev.hdaa.0.%parent: hdacc0
> dev.hdaa.0.%pnpinfo: type=0x01 subsystem=0x17aa21fa
> dev.hdaa.0.%location: nid=1
> dev.hdaa.0.%driver: hdaa
> dev.hdaa.0.%desc: Realtek ALC269 Audio Function Group
> dev.hdaa.%parent:


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

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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1048934604.3525764.1538499776434>