Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933691AbWKQQIV (ORCPT ); Fri, 17 Nov 2006 11:08:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933690AbWKQQIV (ORCPT ); Fri, 17 Nov 2006 11:08:21 -0500 Received: from mail.acc.umu.se ([130.239.18.156]:5340 "EHLO mail.acc.umu.se") by vger.kernel.org with ESMTP id S933688AbWKQQIU (ORCPT ); Fri, 17 Nov 2006 11:08:20 -0500 Date: Fri, 17 Nov 2006 17:08:10 +0100 From: David Weinehall To: Matthew Garrett Cc: Kristen Carlson Accardi , Pavel Machek , kernel list , ACPI mailing list Subject: Re: acpiphp makes noise on every lid close/open Message-ID: <20061117160810.GW14886@vasa.acc.umu.se> Mail-Followup-To: Matthew Garrett , Kristen Carlson Accardi , Pavel Machek , kernel list , ACPI mailing list References: <20061101115618.GA1683@elf.ucw.cz> <20061102175403.279df320.kristen.c.accardi@intel.com> <20061105232944.GA23256@vasa.acc.umu.se> <20061106092117.GB2175@elf.ucw.cz> <20061107204409.GA37488@vasa.acc.umu.se> <20061107134439.1d54dc66.kristen.c.accardi@intel.com> <20061117102237.GS14886@vasa.acc.umu.se> <20061117151341.GA1162@srcf.ucam.org> <20061117153717.GU14886@vasa.acc.umu.se> <20061117154627.GA1544@srcf.ucam.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061117154627.GA1544@srcf.ucam.org> User-Agent: Mutt/1.4.2.1i X-Editor: Vi Improved X-Accept-Language: Swedish, English X-GPG-Fingerprint: 7ACE 0FB0 7A74 F994 9B36 E1D1 D14E 8526 DC47 CA16 X-GPG-Key: http://www.acc.umu.se/~tao/files/pub_dc47ca16.gpg.asc Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1987 Lines: 46 On Fri, Nov 17, 2006 at 03:46:27PM +0000, Matthew Garrett wrote: > On Fri, Nov 17, 2006 at 04:37:17PM +0100, David Weinehall wrote: > > > The fact that the dock starts to beep annoyingly. It has a button that > > you should press before undocking, and wait for a green light to light > > up before removing the laptop. If you remove the computer without > > doing so, the dock starts beeping, and it doesn't stop (AFAIK, haven't > > managed to stand the beeping for more than 30 seconds or so) until you > > replug the laptop. > > Ah, hm. Interesting. Maybe it does want OS support, then. Have you tried > it in the Leading Brand OS? Nope. > > My guess is that there is some wait to trigger an undock event from > > software as well, and that it would be nice to send that signal to the > > dock before suspending... > > You possibly don't want to do that if there's a mounted bay device in > the dock. Well, right now I don't have a bay device in the dock, but refusing to suspend in that case would be reasonable. I need to add some hotplug script for the bay device anyway if I add one. > We really need to determine some sort of policy when it comes to mounted > devices that will potentially be removed by the user over > suspend/resume. Do we support this configuration (by not killing the > mount point), or do we prevent users from shooting themselves in the > foot? Good question. Personally I'd say we refuse to suspend when we have devices we *know* to be dock-devices etc mounted. Regards: David -- /) David Weinehall /) Northern lights wander (\ // Maintainer of the v2.0 kernel // Dance across the winter sky // \) http://www.acc.umu.se/~tao/ (/ Full colour fire (/ - 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/