From owner-freebsd-multimedia@freebsd.org Sun Mar 26 22:27:42 2017 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C0830D1E157 for ; Sun, 26 Mar 2017 22:27:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 AFF6F10F3 for ; Sun, 26 Mar 2017 22:27:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v2QMRgka005446 for ; Sun, 26 Mar 2017 22:27:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-multimedia@FreeBSD.org Subject: [Bug 218132] [snd_hda] audio channels are garbled or crossed over Date: Sun, 26 Mar 2017 22:27:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sbruno@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-multimedia@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Mar 2017 22:27:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218132 --- Comment #1 from Sean Bruno --- I flipped the NUC over to linux to get a dump from alsa on its configuratio= n: Codec: Realtek ALC233 Address: 0 AFG Function Id: 0x1 (unsol 1) Vendor Id: 0x10ec0233 Subsystem Id: 0x80862064 Revision Id: 0x100003 No Modem Function Group found Default PCM: rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Default Amp-In caps: N/A Default Amp-Out caps: N/A State of AFG node 0x01: Power states: D0 D1 D2 D3 CLKSTOP EPSS Power: setting=3DD0, actual=3DD0 GPIO: io=3D3, o=3D0, i=3D0, unsolicited=3D1, wake=3D0 IO[0]: enable=3D0, dir=3D0, wake=3D0, sticky=3D0, data=3D0, unsol=3D0 IO[1]: enable=3D0, dir=3D0, wake=3D0, sticky=3D0, data=3D0, unsol=3D0 IO[2]: enable=3D0, dir=3D0, wake=3D0, sticky=3D0, data=3D0, unsol=3D0 Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out Control: name=3D"Headphone Playback Volume", index=3D0, device=3D0 ControlAmp: chs=3D3, dir=3DOut, idx=3D0, ofs=3D0 Device: name=3D"ALC233 Analog", type=3D"Audio", device=3D0 Amp-Out caps: ofs=3D0x57, nsteps=3D0x57, stepsize=3D0x02, mute=3D0 Amp-Out vals: [0x2e 0x2e] Converter: stream=3D1, channel=3D0 PCM: rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Power states: D0 D1 D2 D3 EPSS Power: setting=3DD0, actual=3DD0 Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out Control: name=3D"Speaker Playback Volume", index=3D0, device=3D0 ControlAmp: chs=3D3, dir=3DOut, idx=3D0, ofs=3D0 Amp-Out caps: ofs=3D0x57, nsteps=3D0x57, stepsize=3D0x02, mute=3D0 Amp-Out vals: [0x00 0x00] Converter: stream=3D1, channel=3D0 PCM: rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Power states: D0 D1 D2 D3 EPSS Power: setting=3DD0, actual=3DD0 Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital Control: name=3D"IEC958 Playback Con Mask", index=3D16, device=3D0 Control: name=3D"IEC958 Playback Pro Mask", index=3D16, device=3D0 Control: name=3D"IEC958 Playback Default", index=3D16, device=3D0 Control: name=3D"IEC958 Playback Switch", index=3D16, device=3D0 Control: name=3D"IEC958 Default PCM Playback Switch", index=3D0, device= =3D0 Device: name=3D"ALC233 Digital", type=3D"SPDIF", device=3D1 Converter: stream=3D1, channel=3D0 Digital: Enabled Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x5e0]: 44100 48000 88200 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Power states: D0 D1 D2 D3 EPSS Power: setting=3DD0, actual=3DD0 Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In Device: name=3D"ALC233 Analog", type=3D"Audio", device=3D0 Amp-In caps: ofs=3D0x17, nsteps=3D0x3f, stepsize=3D0x02, mute=3D1 Amp-In vals: [0x97 0x97] Converter: stream=3D1, channel=3D0 SDI-Select: 0 PCM: rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Power states: D0 D1 D2 D3 EPSS Power: setting=3DD3, actual=3DD3 Connection: 1 0x23 Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In Device: name=3D"ALC233 Alt Analog", type=3D"Audio", device=3D2 Amp-In caps: ofs=3D0x17, nsteps=3D0x3f, stepsize=3D0x02, mute=3D1 Amp-In vals: [0x97 0x97] Converter: stream=3D0, channel=3D0 SDI-Select: 0 PCM: rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Power states: D0 D1 D2 D3 EPSS Power: setting=3DD3, actual=3DD3 Connection: 1 0x22 Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=3D0x17, nsteps=3D0x1f, stepsize=3D0x05, mute=3D1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] Connection: 5 0x18 0x19 0x1a 0x1b 0x1d Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=3D0x00, nsteps=3D0x00, stepsize=3D0x00, mute=3D1 Amp-In vals: [0x00 0x00] [0x80 0x80] Connection: 2 0x02 0x0b Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=3D0x00, nsteps=3D0x00, stepsize=3D0x00, mute=3D1 Amp-In vals: [0x00 0x00] [0x80 0x80] Connection: 2 0x03 0x0b Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x0f [Audio Mixer] wcaps 0x20010a: Mono Amp-In Amp-In caps: ofs=3D0x00, nsteps=3D0x00, stepsize=3D0x00, mute=3D1 Amp-In vals: [0x00 0x00] Connection: 1 0x0d Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x11 [Audio Input] wcaps 0x10051b: Stereo Amp-In Amp-In caps: ofs=3D0x17, nsteps=3D0x3f, stepsize=3D0x02, mute=3D1 Amp-In vals: [0x97 0x97] Converter: stream=3D0, channel=3D0 SDI-Select: 0 PCM: rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Power states: D0 D1 D2 D3 EPSS Power: setting=3DD3, actual=3DD3 Connection: 1 0x12 Node 0x12 [Pin Complex] wcaps 0x40040b: Stereo Amp-In Amp-In caps: ofs=3D0x00, nsteps=3D0x03, stepsize=3D0x2f, mute=3D0 Amp-In vals: [0x00 0x00] Pincap 0x00000020: IN Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn =3D 1/8, Color =3D Black DefAssociation =3D 0xf, Sequence =3D 0x0 Misc =3D NO_PRESENCE Pin-ctls: 0x00: Power states: D0 D1 D2 D3 EPSS Power: setting=3DD3, actual=3DD3 Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out Amp-Out caps: ofs=3D0x00, nsteps=3D0x00, stepsize=3D0x00, mute=3D1 Amp-Out vals: [0x80 0x80] Pincap 0x00010014: OUT EAPD Detect EAPD 0x2: EAPD Pin Default 0x40000000: [N/A] Line Out at Ext N/A Conn =3D Unknown, Color =3D Unknown DefAssociation =3D 0x0, Sequence =3D 0x0 Pin-ctls: 0x00: Unsolicited: tag=3D00, enabled=3D0 Power states: D0 D1 D2 D3 EPSS Power: setting=3DD3, actual=3DD3 Connection: 1 0x0c Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x17 [Pin Complex] wcaps 0x40050c: Mono Amp-Out Amp-Out caps: ofs=3D0x00, nsteps=3D0x00, stepsize=3D0x00, mute=3D1 Amp-Out vals: [0x80] Pincap 0x00000010: OUT Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn =3D 1/8, Color =3D Black DefAssociation =3D 0xf, Sequence =3D 0x0 Misc =3D NO_PRESENCE Pin-ctls: 0x00: Power states: D0 D1 D2 D3 EPSS Power: setting=3DD3, actual=3DD3 Connection: 1 0x0f Node 0x18 [Pin Complex] wcaps 0x40048b: Stereo Amp-In Amp-In caps: ofs=3D0x00, nsteps=3D0x03, stepsize=3D0x2f, mute=3D0 Amp-In vals: [0x00 0x00] Pincap 0x00003724: IN Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn =3D 1/8, Color =3D Black DefAssociation =3D 0xf, Sequence =3D 0x0 Misc =3D NO_PRESENCE Pin-ctls: 0x20: IN VREF_HIZ Unsolicited: tag=3D00, enabled=3D0 Power states: D0 D1 D2 D3 EPSS Power: setting=3DD3, actual=3DD3 Node 0x19 [Pin Complex] wcaps 0x40048b: Stereo Amp-In Amp-In caps: ofs=3D0x00, nsteps=3D0x03, stepsize=3D0x2f, mute=3D0 Amp-In vals: [0x00 0x00] Pincap 0x00003724: IN Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn =3D 1/8, Color =3D Black DefAssociation =3D 0xf, Sequence =3D 0x0 Misc =3D NO_PRESENCE Pin-ctls: 0x20: IN VREF_HIZ Unsolicited: tag=3D00, enabled=3D0 Power states: D0 D1 D2 D3 EPSS Power: setting=3DD3, actual=3DD3 Node 0x1a [Pin Complex] wcaps 0x40048b: Stereo Amp-In Amp-In caps: ofs=3D0x00, nsteps=3D0x03, stepsize=3D0x2f, mute=3D0 Amp-In vals: [0x00 0x00] Pincap 0x00003724: IN Detect Vref caps: HIZ 50 GRD 80 100 Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn =3D 1/8, Color =3D Black DefAssociation =3D 0xf, Sequence =3D 0x0 Misc =3D NO_PRESENCE Pin-ctls: 0x20: IN VREF_HIZ Unsolicited: tag=3D00, enabled=3D0 Power states: D0 D1 D2 D3 EPSS Power: setting=3DD3, actual=3DD3 Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out Control: name=3D"Speaker Playback Switch", index=3D0, device=3D0 ControlAmp: chs=3D3, dir=3DOut, idx=3D0, ofs=3D0 Amp-In caps: ofs=3D0x00, nsteps=3D0x03, stepsize=3D0x2f, mute=3D0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=3D0x00, nsteps=3D0x00, stepsize=3D0x00, mute=3D1 Amp-Out vals: [0x80 0x80] Pincap 0x0001373c: IN OUT HP EAPD Detect Vref caps: HIZ 50 GRD 80 100 EAPD 0x2: EAPD Pin Default 0x01111010: [Jack] Speaker at Ext Rear Conn =3D 1/8, Color =3D Black DefAssociation =3D 0x1, Sequence =3D 0x0 Pin-ctls: 0x00: VREF_HIZ Unsolicited: tag=3D02, enabled=3D1 Power states: D0 D1 D2 D3 EPSS Power: setting=3DD3, actual=3DD3 Connection: 2 0x0c 0x0d* Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x1d [Pin Complex] wcaps 0x400400: Mono Pincap 0x00000020: IN Pin Default 0x40818001: [N/A] Line In at Ext N/A Conn =3D 1/8, Color =3D Purple DefAssociation =3D 0x0, Sequence =3D 0x1 Pin-ctls: 0x20: IN Power states: D0 D1 D2 D3 EPSS Power: setting=3DD3, actual=3DD3 Node 0x1e [Pin Complex] wcaps 0x400781: Stereo Digital Pincap 0x00000014: OUT Detect Pin Default 0x01451130: [Jack] SPDIF Out at Ext Rear Conn =3D Optical, Color =3D Black DefAssociation =3D 0x3, Sequence =3D 0x0 Misc =3D NO_PRESENCE Pin-ctls: 0x40: OUT Unsolicited: tag=3D00, enabled=3D0 Power states: D0 D1 D2 D3 EPSS Power: setting=3DD0, actual=3DD0 Connection: 1 0x06 Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono Processing caps: benign=3D0, ncoeff=3D73 Node 0x21 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out Control: name=3D"Headphone Playback Switch", index=3D0, device=3D0 ControlAmp: chs=3D3, dir=3DOut, idx=3D0, ofs=3D0 Amp-Out caps: ofs=3D0x00, nsteps=3D0x00, stepsize=3D0x00, mute=3D1 Amp-Out vals: [0x00 0x00] Pincap 0x0001001c: OUT HP EAPD Detect EAPD 0x2: EAPD Pin Default 0x02211020: [Jack] HP Out at Ext Front Conn =3D 1/8, Color =3D Black DefAssociation =3D 0x2, Sequence =3D 0x0 Pin-ctls: 0xc0: OUT HP Unsolicited: tag=3D01, enabled=3D1 Power states: D0 D1 D2 D3 EPSS Power: setting=3DD0, actual=3DD0 Connection: 2 0x0c* 0x0d Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=3D0x00, nsteps=3D0x00, stepsize=3D0x00, mute=3D1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] Connection: 6 0x18 0x19 0x1a 0x1b 0x1d 0x0b Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=3D0x00, nsteps=3D0x00, stepsize=3D0x00, mute=3D1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] Connection: 6 0x18 0x19 0x1a 0x1b 0x1d 0x0b cat codec#2 Codec: Intel Skylake HDMI Address: 2 AFG Function Id: 0x1 (unsol 0) Vendor Id: 0x80862809 Subsystem Id: 0x80860101 Revision Id: 0x100000 No Modem Function Group found Default PCM: rates [0x0]: bits [0x0]: formats [0x0]: Default Amp-In caps: N/A Default Amp-Out caps: N/A State of AFG node 0x01: Power states: D0 D3 CLKSTOP EPSS Power: setting=3DD0, actual=3DD0, Clock-stop-OK GPIO: io=3D0, o=3D0, i=3D0, unsolicited=3D0, wake=3D0 Node 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital Converter: stream=3D0, channel=3D0 Digital: Enabled KAE Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000 bits [0x1a]: 16 24 32 formats [0x5]: PCM AC3 Power states: D0 D3 EPSS Power: setting=3DD0, actual=3DD0 Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital Converter: stream=3D0, channel=3D0 Digital: Enabled KAE Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000 bits [0x1a]: 16 24 32 formats [0x5]: PCM AC3 Power states: D0 D3 EPSS Power: setting=3DD0, actual=3DD0 Node 0x04 [Audio Output] wcaps 0x6611: 8-Channels Digital Converter: stream=3D0, channel=3D0 Digital: Enabled KAE Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000 bits [0x1a]: 16 24 32 formats [0x5]: PCM AC3 Power states: D0 D3 EPSS Power: setting=3DD0, actual=3DD0 Node 0x05 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP Control: name=3D"IEC958 Playback Con Mask", index=3D0, device=3D0 Control: name=3D"IEC958 Playback Pro Mask", index=3D0, device=3D0 Control: name=3D"IEC958 Playback Default", index=3D0, device=3D0 Control: name=3D"IEC958 Playback Switch", index=3D0, device=3D0 Amp-Out caps: ofs=3D0x00, nsteps=3D0x00, stepsize=3D0x00, mute=3D1 Amp-Out vals: [0x00 0x00] Pincap 0x0b000094: OUT Detect HBR HDMI DP Pin Default 0x18560010: [Jack] Digital Out at Int HDMI Conn =3D Digital, Color =3D Unknown DefAssociation =3D 0x1, Sequence =3D 0x0 Pin-ctls: 0x00: Unsolicited: tag=3D00, enabled=3D0 Power states: D0 D3 EPSS Power: setting=3DD0, actual=3DD0 Devices: 0 Connection: 0 In-driver Connection: 3 0x02 0x03 0x04 Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP Control: name=3D"IEC958 Playback Con Mask", index=3D1, device=3D0 Control: name=3D"IEC958 Playback Pro Mask", index=3D1, device=3D0 Control: name=3D"IEC958 Playback Default", index=3D1, device=3D0 Control: name=3D"IEC958 Playback Switch", index=3D1, device=3D0 Amp-Out caps: ofs=3D0x00, nsteps=3D0x00, stepsize=3D0x00, mute=3D1 Amp-Out vals: [0x00 0x00] Pincap 0x0b000094: OUT Detect HBR HDMI DP Pin Default 0x18560010: [Jack] Digital Out at Int HDMI Conn =3D Digital, Color =3D Unknown DefAssociation =3D 0x1, Sequence =3D 0x0 Pin-ctls: 0x00: Unsolicited: tag=3D00, enabled=3D0 Power states: D0 D3 EPSS Power: setting=3DD0, actual=3DD0 Devices: 0 Connection: 0 In-driver Connection: 3 0x02 0x03 0x04 Node 0x07 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP Control: name=3D"IEC958 Playback Con Mask", index=3D2, device=3D0 Control: name=3D"IEC958 Playback Pro Mask", index=3D2, device=3D0 Control: name=3D"IEC958 Playback Default", index=3D2, device=3D0 Control: name=3D"IEC958 Playback Switch", index=3D2, device=3D0 Amp-Out caps: ofs=3D0x00, nsteps=3D0x00, stepsize=3D0x00, mute=3D1 Amp-Out vals: [0x00 0x00] Pincap 0x0b000094: OUT Detect HBR HDMI DP Pin Default 0x18560010: [Jack] Digital Out at Int HDMI Conn =3D Digital, Color =3D Unknown DefAssociation =3D 0x1, Sequence =3D 0x0 Pin-ctls: 0x00: Unsolicited: tag=3D00, enabled=3D0 Power states: D0 D3 EPSS Power: setting=3DD0, actual=3DD0 Devices: 0 Connection: 0 In-driver Connection: 3 0x02 0x03 0x04 Node 0x08 [Vendor Defined Widget] wcaps 0xf00000: Mono --=20 You are receiving this mail because: You are the assignee for the bug.=