Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030557AbWAGTQF (ORCPT ); Sat, 7 Jan 2006 14:16:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030563AbWAGTQB (ORCPT ); Sat, 7 Jan 2006 14:16:01 -0500 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:60425 "EHLO spitz.ucw.cz") by vger.kernel.org with ESMTP id S1030554AbWAGTPx (ORCPT ); Sat, 7 Jan 2006 14:15:53 -0500 Date: Fri, 6 Jan 2006 04:17:54 +0000 From: Pavel Machek To: Adam Belay , Alan Stern , Andrew Morton , Dominik Brodowski , Linux-pm mailing list , kernel list Subject: Re: [linux-pm] [patch] pm: fix runtime powermanagement's /sys interface Message-ID: <20060106041754.GA2496@ucw.cz> References: <20060107000826.GC20399@elf.ucw.cz> <20060107075851.GD3184@neo.rr.com> <20060107102013.GB9225@elf.ucw.cz> <20060107130652.GB3972@neo.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060107130652.GB3972@neo.rr.com> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 867 Lines: 22 > > > Also there's nothing "runtime" about the PCMCIA PM API. It's much more > > > like calling ->remove() as it disabled the device all together. > > > > It looks enough runtime to me. > > As was already discussed, we don't want to modify every userspace > application to check if the device it needs is "on" (resumed) or > "off" (suspended). It's just two painful with third party apps etc. > Therefore, the kernel needs to handle this more seemlessly. In my But we do not want to reactivate device on first access. Certainly not in PCMCIA case. Reactivation is separate problem. Pavel -- Thanks, Sharp! - 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/