From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762071AbZBRWs6 (ORCPT ); Wed, 18 Feb 2009 17:48:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757764AbZBRWm0 (ORCPT ); Wed, 18 Feb 2009 17:42:26 -0500 Received: from smtp-out003.kontent.com ([81.88.40.217]:38851 "EHLO smtp-out003.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760648AbZBRWmY convert rfc822-to-8bit (ORCPT ); Wed, 18 Feb 2009 17:42:24 -0500 From: Oliver Neukum Organization: Novell To: Arve =?iso-8859-1?q?Hj=F8nnev=E5g?= Subject: Re: [RFD] Automatic suspend Date: Wed, 18 Feb 2009 23:44:05 +0100 User-Agent: KMail/1.9.10 Cc: "Rafael J. Wysocki" , Alan Stern , "Woodruff, Richard" , Arjan van de Ven , Kyle Moffett , Benjamin Herrenschmidt , pm list , LKML , Pavel Machek , Nigel Cunningham , Matthew Garrett , mark gross , Uli Luckas , Igor Stoppa , Brian Swetland , Len Brown References: <200902182217.48321.rjw@sisk.pl> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200902182344.12100.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Wednesday 18 February 2009 23:35:26 schrieb Arve Hjønnevåg: > >> Allowing user space to suspend input devices while they are still open > >> is useful. The user-space code that reads from the input devices does > >> not need to know if the device is suspended or not, and the kernel > >> cannot auto suspend input devices based on inactivity. > > > > Hmm.  Why can't it? > > Because they stop working. It is OK for us to turn off the touchscreen > when the screen is off, but when the screen is on the user will touch > items on the screen and expect them to respond. (We could also turn > off the touchscreen when the keyguard is on, but we don't currently do > this.) This depends on the capabilities of the input device in question. Some USB keyboards can be autosuspended under these conditions because they can do remote wakeup. Regards Oliver