From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nigel Cunningham Subject: Re: [RFC Disable suspend on a specific device] This is a little change in linux power scheme Date: Wed, 08 Apr 2009 08:25:10 +1000 Message-ID: <1239143110.7183.56.camel@nigel-laptop> References: <200904072257.23756.rjw@sisk.pl> <20090407213824.GM3278@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090407213824.GM3278@elf.ucw.cz> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Pavel Machek Cc: linux-pm@lists.linux-foundation.org List-Id: linux-pm@vger.kernel.org Hi. On Tue, 2009-04-07 at 23:38 +0200, Pavel Machek wrote: > Well.... userspace should not have to decide this. If userspace tells > kernel not to suspend video card (on PC/ACPI), then we either honour > the request, or violate ACPI spec (and probably break suspend). What about the cases where the ACPI spec is irrelevant? (As I understand it, not all embedded boards use ACPI). Would this be a good approach in those cases? If so, perhaps the trick would be to make the functionality depend on !CONFIG_ACPI? Regards, Nigel