Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2012 01:00:01 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/173840: snd_hda(4) volume mixer not working anymore
Message-ID:  <201211230100.qAN101a9025852@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/173840; it has been noted by GNATS.

From: Alexander Motin <mav@FreeBSD.org>
To: bug-followup@FreeBSD.org, demelier.david@gmail.com
Cc:  
Subject: Re: kern/173840: snd_hda(4) volume mixer not working anymore
Date: Fri, 23 Nov 2012 02:52:50 +0200

 Hi.
 
 I can't qualify it is as a driver bug. At most it is behavior change. 
 There are two signal paths from the DACs to the pins in this CODEC: 
 direct and via the mixer. And there is no volume control on the direct 
 path. In your specific case it is possible to route signal via the mixer 
 and control it there. But present driver is unable to make reasonable 
 selection in such cases. Probably previously driver version did the 
 right thing by accident.
 
 Patch below should probably help in your case, but it is not universal 
 enough to commit it.
 
 --- hdaa_patches.c      (revision 243182)
 +++ hdaa_patches.c      (working copy)
 @@ -442,6 +442,14 @@ hdaa_patch(struct hdaa_devinfo *devinfo)
                  if (w != NULL)
                          w->connsenable[3] = 0;
                  break;
 +       case HDA_CODEC_AD1984A:
 +               w = hdaa_widget_get(devinfo, 7);
 +               if (w != NULL)
 +                       w->connsenable[0] = 0;
 +               w = hdaa_widget_get(devinfo, 11);
 +               if (w != NULL)
 +                       w->connsenable[0] = 0;
 +               break;
          case HDA_CODEC_AD1986A:
                  /*
                   * This CODEC has overcomplicated input mixing.
 
 
 -- 
 Alexander Motin



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