From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Arve_Hj=F8nnev=E5g?= Subject: Re: [PATCH 10/13] PM: earlysuspend: Add console switch when user requested sleep state changes. Date: Thu, 5 Feb 2009 01:37:53 -0800 Message-ID: References: <1233802226-23386-2-git-send-email-arve@android.com> <1233802226-23386-4-git-send-email-arve@android.com> <1233802226-23386-5-git-send-email-arve@android.com> <1233802226-23386-6-git-send-email-arve@android.com> <1233802226-23386-7-git-send-email-arve@android.com> <1233802226-23386-8-git-send-email-arve@android.com> <1233802226-23386-9-git-send-email-arve@android.com> <1233802226-23386-10-git-send-email-arve@android.com> <1233802226-23386-11-git-send-email-arve@android.com> <20090205090316.GD2077@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20090205090316.GD2077@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: ncunningham@crca.org.au, u.luckas@road.de, swetland@google.com, linux-pm@lists.linux-foundation.org List-Id: linux-pm@vger.kernel.org On Thu, Feb 5, 2009 at 1:03 AM, Pavel Machek wrote: >> + Register early suspend handler to perform a console swit= ch to >> + when user-space should stop drawing to the screen and a = switch >> + back when it should resume. > > I could not parse english here. The "to"on the first line should be removed. > Actually, I'd hope that system where you control everything (such as > android) would not need to switch consoles. Console switch was > invented as a workaround for X owning the hardware.... We don't anymore, but if you enable console support (for debugging) we support it. > ...and how is it different from current console switching we do on PC? It is not, but we turn off the framebuffer before the normal suspend path so we need the switch here. -- = Arve Hj=F8nnev=E5g