Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752328Ab0DSHrj (ORCPT ); Mon, 19 Apr 2010 03:47:39 -0400 Received: from cantor.suse.de ([195.135.220.2]:50819 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751535Ab0DSHri (ORCPT ); Mon, 19 Apr 2010 03:47:38 -0400 Date: Mon, 19 Apr 2010 09:47:37 +0200 Message-ID: From: Takashi Iwai To: Frans Pop Cc: linux-kernel@vger.kernel.org, linux-pm@lists.linux-foundation.org, alsa-devel@alsa-project.org Subject: Re: [regression] Sound not transferred to docking station after resume from StR In-Reply-To: <201004171106.23787.elendil@planet.nl> References: <201004162131.19171.elendil@planet.nl> <201004171106.23787.elendil@planet.nl> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2239 Lines: 52 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/