From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [regression] Sound not transferred to docking station after resume from StR Date: Mon, 19 Apr 2010 09:47:37 +0200 Message-ID: References: <201004162131.19171.elendil@planet.nl> <201004171106.23787.elendil@planet.nl> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id E42F724613 for ; Mon, 19 Apr 2010 09:47:37 +0200 (CEST) In-Reply-To: <201004171106.23787.elendil@planet.nl> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Frans Pop Cc: linux-pm@lists.linux-foundation.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Sat, 17 Apr 2010 11:06:22 +0200, Frans Pop wrote: > > On Friday 16 April 2010, Frans Pop wrote: > > Scenario: > > - suspend laptop while *un*docked, i.e. with laptop speakers in use > > - dock laptop > > - resume > > > > With 2.6.33 and earlier the sound would always come from the external > > speakers connected to the docking station. But with 2.6.34-rc4 I get > > sound still coming from the laptop's internal speakers, which is not > > correct. > > The problem is slightly different than I thought. Turns out *both* the > internal (laptop) and external (docking station) speakers are active after > the resume. So the problem is that the internal speakers are not switched off. > > I have traced this to an ALSA merge: 524df55725217. Unfortunately I get > boot failures when I try to bisect down into that merge. > > Here's the bisect log: > # bad: [0d0fb0f9c5fddef4a10242fe3337f00f528a3099] Linux 2.6.34-rc4 > # good: [724e6d3fe8003c3f60bf404bf22e4e331327c596] Linux 2.6.33-rc8 > git bisect start 'v2.6.34-rc4' 'v2.6.33-rc8' > # bad: [94468080220162f74dc6ce5c3e95e5fec8022902] > Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6 > git bisect bad 94468080220162f74dc6ce5c3e95e5fec8022902 > # bad: [524df55725217b13d5a232fb5badb5846418ea0e] Merge branch 'for-linus' > of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 > git bisect bad 524df55725217b13d5a232fb5badb5846418ea0e > # good: [0f4533979473a456a8adb3869365e12c7a99cf65] > Merge branches 'futexes-for-linus', 'irq-core-for-linus' and > 'bkl-drivers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip > git bisect good 0f4533979473a456a8adb3869365e12c7a99cf65 Could you give alsa-info.sh on your machine, preferably before/after suspend on both working (2.6.33) and non-working kernels? Also, you can try to copy sound/pci/hda/patch_analog.c from 2.6.33 to 2.6.34 to check whether it works. There shouldn't be many changes in that file. thanks, Takashi