From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 3 03:45:25 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 6CF6316A4CE for ; Thu, 3 Mar 2005 03:45:25 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FB8443D48 for ; Thu, 3 Mar 2005 03:45:25 +0000 (GMT) (envelope-from grafan@gmail.com) Received: by wproxy.gmail.com with SMTP id 70so376180wra for ; Wed, 02 Mar 2005 19:45:24 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=BTtcdbDZ5/ip6Dr60bsvmsR/z0T82TU0Nhc6eO52OuGqx1loaH+j4pL5T6BqAdGglaDZ9HqiyqpgyQfcikev3ibroI7zOWf08M5S3NPzfJzM3Cs8DcqOggBy9oU4yI+MJSzIISmntWaTQG5IhalC0Uq6jWLGPR9oCLy0q6zSrvc= Received: by 10.54.31.11 with SMTP id e11mr49993wre; Wed, 02 Mar 2005 19:45:02 -0800 (PST) Received: by 10.54.7.56 with HTTP; Wed, 2 Mar 2005 19:44:59 -0800 (PST) Message-ID: <6eb82e05030219447bdda412@mail.gmail.com> Date: Thu, 3 Mar 2005 11:44:59 +0800 From: Rong-En Fan To: Ian Dowse In-Reply-To: <200502282026.aa38504@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <200502281016.aa49779@salmon.maths.tcd.ie> <200502282026.aa38504@salmon.maths.tcd.ie> 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: Rong-En Fan List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 03:45:25 -0000 On Mon, 28 Feb 2005 20:26:16 +0000, Ian Dowse wrote: > > I've updated the patch at > > http://people.freebsd.org/~iedowse/vesa_restore.diff > > so that the VESA code allows up to 8k of state storage and will > fail if the BIOS claims to need more space. Could you try this with > the vesa module loaded and with both 0 and 1 for hw.acpi.reset_video? I use 3/3's current with this patch on IBM TP X31. I can now successfully suspend/resume in X with dri enable on RADEON! (can't do that before, with dri, after resume screen mess up). reset_video 0 or 1 both works. It even works without vesa module loaded. The only problem is that my tracepoint (psm0) dead after resume. demsg (verbose) and suspend/resume dmesg are both at http://rafan.infor.org/tmp/vesa/ rafan.