From owner-freebsd-mobile@FreeBSD.ORG Mon Feb 28 07:48:40 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D438516A4CE for ; Mon, 28 Feb 2005 07:48:40 +0000 (GMT) Received: from vbook.fbsd.ru (asplinux.ru [195.133.213.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55DE043D1F for ; Mon, 28 Feb 2005 07:48:40 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.44 (FreeBSD)) id 1D5fds-000B5M-LO; Mon, 28 Feb 2005 10:48:36 +0300 From: Vladimir Grebenschikov To: Josh Elsasser In-Reply-To: <20050228042623.GY2702@jade.elsasser.org> References: <200502270431.aa10917@salmon.maths.tcd.ie> <20050227211630.GX2702@jade.elsasser.org> <1109545918.1537.8.camel@localhost> <20050228042623.GY2702@jade.elsasser.org> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Mon, 28 Feb 2005 10:48:35 +0300 Message-Id: <1109576915.7823.7.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.1.5 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov cc: freebsd-mobile@freebsd.org Subject: Re: Using VESA to restore display settings on resume X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: vova@fbsd.ru List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2005 07:48:41 -0000 =F7 =D7=D3, 27/02/2005 =D7 23:26 -0500, Josh Elsasser =D0=C9=DB=C5=D4: ...cut... >> >> Patch also at: http://people.freebsd.org/~iedowse/vesa_restore.diff >> >>=20 >> > >> >THANK YOU! I've had my laptop for 3 1/2 years, and I can finally >> >suspend/resume and have a usable display afterwards! Cardbus doesn't >> >appear to work after resume, but that's a whole different can of >> >worms... >> > >> >The system I tested this on was RELENG_5 from yesterday, the patch >> >applied cleanly. I already had the hw.acpi.reset_video set to 0, so I >> >don't know if it would work with it set to 1. >>=20 >> What notebook you have ? I was not such lucky. >>=20 >> I Has SONY VAIO PCG-Z1WA, by zzz it sleeps ok,=20 >> With patch it even said about saving VESA data. >> On any key after it is awakes, spin up drive and fan, but screen still >> black (even no backlight), and it is very unlike that I get console back >> (typing has no effect, even when I try to call kdb). >>=20 >> Also if I try this patch with vesa module loaded it just carsh in vm86 >> mode on zzz (curproc acpiconf). >>=20 >> Any suggestions are very welcome. > >What is hw.acpi.reset_video set to on your system? At some point >between 5.2 and 5.3, my machine would hang on resume instead of just >resuming with no display. Setting hw.acpi.reset_video=3D0 in >loader.conf fixed that. I have a Sony Vaio FX220, which has an i815 >graphics chip. > I've tried both 0 and 1 for reset_video (but set via sysctl). And I has 6-CURRENT now, but this notebook never returned from suspend=20 (with 5.3 too). It has ATI RADEON chip. Probably I should try firewire console to detect what happens on resume, but firewire bus itself should be resumed first.=20 Suspend/Resume gurus, is it possible to debug dead console resume with firewire ? > -jre --=20 Vladimir B. Grebenchikov vova@fbsd.ru