From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751398AbcETW12 (ORCPT ); Fri, 20 May 2016 18:27:28 -0400 Received: from mail-qk0-f172.google.com ([209.85.220.172]:34489 "EHLO mail-qk0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751191AbcETW11 (ORCPT ); Fri, 20 May 2016 18:27:27 -0400 Subject: Re: [REGRESSION] Headphones no longer working on MacPro6,1 with 4.4 To: Takashi Iwai References: <56E8611D.8090005@redhat.com> Cc: Jaroslav Kysela , alsa-devel@alsa-project.org, "linux-kernel@vger.kernel.org >> Linux Kernel Mailing List" From: Laura Abbott Message-ID: Date: Fri, 20 May 2016 15:27:22 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/15/2016 12:49 PM, Takashi Iwai wrote: > On Tue, 15 Mar 2016 20:38:41 +0100, > Takashi Iwai wrote: >> >> On Tue, 15 Mar 2016 20:23:09 +0100, >> Laura Abbott wrote: >>> >>> Hi, >>> >>> We received a bug report https://bugzilla.redhat.com/show_bug.cgi?id=1316119 >>> that the headphone jack on a MacPro6,1 stopped working on an upgrade from 4.3 >>> to 4.4. >>> >>> The bugzilla has the alsainfo, diffing shows that the Amp-Out vals are >>> different. I tried a revert of 9f660a1c4 (" ALSA: hda/realtek - Fix silent >>> headphone output on MacPro 4,1 (v2)") but that didn't help. >>> >>> Any ideas before asking for a bisect? Does this hardware version need to have >>> the vref fixup as well? >> >> The obvious difference is the power state of each node. The recent >> kernel has the finer power saving mode, and this might be the cause -- >> Mac has some secret that requires some node to be powered up. >> >> Try to power on each node via hda-verb. For example, to power up the >> node 0x05, run like: >> hda-verb /dev/snd/hwC0D0 0x05 SET_POWER 0x01 > > Oops, a typo: the last argument must be 0x00, corresponding to D0: > hda-verb /dev/snd/hwC0D0 0x05 SET_POWER 0x00 > > Bringing this back again, the command that makes it work is hda-verb /dev/snd/hwC0D0 0x10 SET_POWER 0x00 And this is still needed as of 4.5.4 > Takashi > Thanks, Laura