From: Pavel Machek Subject: Re: [RFC] Reliable video POSTing on resume Date: Fri, 4 Feb 2005 17:15:29 +0100 Message-ID: <20050204161529.GB1290@elf.ucw.cz> References: <20050122134205.GA9354@wsc-gmbh.de> <4202DF7B.2000506@gmx.net> <20050204074802.GD1086@elf.ucw.cz> <200502041126.14386.oliver@neukum.org> <42035D5A.2030703@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42035D5A.2030703-hi6Y0CQ0nG0@public.gmane.org> Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Carl-Daniel Hailfinger Cc: Oliver Neukum , ncunningham-jjFNsPSvq+iXDw4h08c5KA@public.gmane.org, ACPI List , Linux Kernel Mailing List List-Id: linux-acpi@vger.kernel.org Hi! > >>What about simply blocking all video accesses before disk (etc) is > >>resumed, so that "normal" (not locked in memory) application can be > >>used? > > > > Very bad for debugging. Genuine serial ports are becoming rarer. > > As a bonus, even genuine serial ports may be in undefined state after > resume. I'm unfortunate enough to have a brand new notebook with > serial port, but the serial console code will print garbage after > resume until I do a > echo foo >/dev/ttyS0 It seems that open helps here. Can you confirm with >/dev/ttyS0 (i.e. without echo foo?). If it helps, all you need to do is simulate open/close from _resume() routine.... Pavel -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl! ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl