From owner-freebsd-multimedia@freebsd.org Fri Mar 8 12:27:28 2019 Return-Path: Delivered-To: freebsd-multimedia@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 5D3A5153BFAF for ; Fri, 8 Mar 2019 12:27:28 +0000 (UTC) (envelope-from marcelbonnet@gmail.com) Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 753887194A for ; Fri, 8 Mar 2019 12:27:27 +0000 (UTC) (envelope-from marcelbonnet@gmail.com) Received: by mail-oi1-x232.google.com with SMTP id s16so15669162oih.9 for ; Fri, 08 Mar 2019 04:27:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=gWzBR3W48l6fxDu1tltw4xy5zJ5+umkStilTfpq+5uc=; b=aXOIxtXkoOOHc3NJ/0xXEOhv6z6hXLbqojMdaaOSjjwGvWVxsy0jkhm4PL1jTTXkQK mzo3ecBv9zND/Q9E3RsWp781RxjH9QifN+jP57IcyHqclWwrf43FZ8vzVAgCWEsxH/E3 n4OnRJiaNxPaXlEAC+xDbtptRzBtHwP0gSMIVtYUHoyzmnRHoF2qh1RbIPKItR6l9b6l DiTJvrHMeXc7VefQ2TITgqGrSQ1UnTplMbXVEY/IpGJCgo/w5IeGPTqyyUWKv5uz786f GpCR9ysrOo/jB+RhE0tiAg/62Jzu7WTbrfaGg3jYOuY5s1aCMODlNMQFkLPA80j/mlSL h6xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=gWzBR3W48l6fxDu1tltw4xy5zJ5+umkStilTfpq+5uc=; b=az0VwPbl5Vt3sp8FPK8/IAeT1w53x+wA+uX9l0118FzfRAhHAfUkyoVKglH8FVFOBr L75jX9AqA377Ga51CMRPjHAbXn3o8dOivTAOn5teFOXie/PecnKFFj5bxv9eKFlbAKtB EcgAm9I88Kx0KvPxrvzmRbEhppR/jFl1wpp83m1E+eUqldnEjmbbLy4V6dZT66i8ta7M 1vllzZfUtO4KKrcmMOgCOFGRbFm0s9qoirPNM4UNWmgnmSSAWfu/feXOCruX5WPaBRag HSB/IDKYmxOz7ZQZCDej1TijTahnn3cmM1XzgnOitspshrthk0J8ZWlVn+AVhSnaR7OJ IXAg== X-Gm-Message-State: APjAAAXuIwEXK3CdEamya583HiBplZg21asPEs24D6DMYW9yCmlMkahc Iij0rppwQ6Gks2ffJYBkU2TQbfRXSm6N4YNMNsX/8+7C X-Google-Smtp-Source: APXvYqxJ2LpeT/KbuAm8MofJrktXh0P3HmWKfkw9yRasvl1oKBXVl+Vxz2GLRpLez0AxxAsCosCOytC2uCkTVB9DyxM= X-Received: by 2002:aca:d403:: with SMTP id l3mr3359790oig.179.1552048045880; Fri, 08 Mar 2019 04:27:25 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Marcel Bonnet Date: Fri, 8 Mar 2019 09:27:09 -0300 Message-ID: Subject: [SOLVED] Re: HDA RealTek ALC256 : problems with headphones output To: FreeBSD multimedia X-Rspamd-Queue-Id: 753887194A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=aXOIxtXk; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of marcelbonnet@gmail.com designates 2607:f8b0:4864:20::232 as permitted sender) smtp.mailfrom=marcelbonnet@gmail.com X-Spamd-Result: default: False [-6.73 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-multimedia@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-2.76)[ip: (-8.99), ipnet: 2607:f8b0::/32(-2.71), asn: 15169(-2.05), country: US(-0.07)]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Mar 2019 12:27:28 -0000 On Thu, 7 Mar 2019 at 16:36, Marcel Bonnet wrote: > Hi. I need help with a HDA device: RealTek ALC256 (laptop is Dell Latitude > 3490). > > I can hear from speakers. But the problem is the headphone output. > > If I plug the headphone, as a long as I increase the volume and mixer pcm > to above 50 I heard the presence of "some" audio. But the sound is heard at > very low level. > > If I disconnect the plug, slowly, without removing, then I hear the music > playing louder, but as I increase volume, the music sounds as if I was > tunning a FM receiver on the road and miles away from the radio station: > you hear music, but you hear noise (that static). > > So I was looking into hda sources, forums, linux sources... and I got no > clue. I experimented lots of sysctl and hints ... nothing worked. > > I also noticed that was necessary to add this hint: > dev.hdaa.1.config=senseinv , because the logic of plug detection is > inverted. > > If you look at the attachments, you'll find that there are some notices: " > hdacc1: Unexpected unsolicited response with tag 63: ffffffff " > > I'm really lost. I appreciate help. > > -- > Marcel Bonnet > > I found this old proposed patch in bugzilla: https://bugs.freebsd.org/bugzilla/attachment.cgi?id=188702&action=diff It works. It came from Linux patches tree for their HDA driver. -- Marcel Bonnet