Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267916AbUJSDkh (ORCPT ); Mon, 18 Oct 2004 23:40:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267921AbUJSDkh (ORCPT ); Mon, 18 Oct 2004 23:40:37 -0400 Received: from ylpvm29-ext.prodigy.net ([207.115.57.60]:14020 "EHLO ylpvm29.prodigy.net") by vger.kernel.org with ESMTP id S267916AbUJSDkg (ORCPT ); Mon, 18 Oct 2004 23:40:36 -0400 From: David Brownell To: Len Brown Subject: Re: PATCH/RFC: driver model/pmcore wakeup hooks (1/4) Date: Mon, 18 Oct 2004 20:41:02 -0700 User-Agent: KMail/1.6.2 Cc: Pavel Machek , linux-kernel@vger.kernel.org, ACPI Developers References: <200410051309.02105.david-b@pacbell.net> <1097906636.14156.41.camel@d845pe> In-Reply-To: <1097906636.14156.41.camel@d845pe> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200410182041.02192.david-b@pacbell.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1111 Lines: 26 On Friday 15 October 2004 11:03 pm, Len Brown wrote: > > - ACPI (this should probably replace the new /proc/acpi/wakeup) > > Agreed. That file is a temporary solution. > The right solution is for the devices to appear in the right > place in the device tree and to hang the wakeup capabilities > off of them there. So what would that patch need before ACPI could convert to use it? I didn't notice any obvious associations between the strings in the acpi/wakeup file and anything in sysfs. Which of USB1..USB4 was which of the three controllers shown by "lspci" (and which one was "extra"!), as one head-scratcher. For PCI, I'd kind of expect pci_enable_wake() to trigger the additional ACPI-specific work to make sure the device can actually wake that system. Seems like dev->platform_data might need to combine with some platform-specific API hook. - Dave - 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/