From owner-freebsd-mobile@FreeBSD.ORG Tue May 29 06:46:06 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2204816A46C for ; Tue, 29 May 2007 06:46:06 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id E12C613C44B for ; Tue, 29 May 2007 06:46:05 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 15598 invoked from network); 29 May 2007 16:46:05 +1000 Received: from 210-84-60-60.dyn.iinet.net.au (HELO localhost) (210.84.60.60) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 29 May 2007 16:46:05 +1000 Date: Tue, 29 May 2007 16:46:00 +1000 From: Norberto Meijome To: Ian Smith Message-ID: <20070529164600.097d6e62@localhost> In-Reply-To: References: <20070529140309.2a89dced@localhost> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: Working quite well : xorg7.2, DRI, suspend, Radeon Mobility X600 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 06:46:06 -0000 On Tue, 29 May 2007 16:09:57 +1000 (EST) Ian Smith wrote: > FWIW: for my T23 (6.1-R, xorg 6.9) to work reliably with suspend/resume > from either a vty or from X I needed > hw.syscons.sc_no_suspend_vtswitch=1 interesting...the comments in my sysctl.conf about it locking up my thinkpad are from pre-radeon/DRM support times, so it may be different now (I just rather avoid another bg fsck :-| > hw.acpi.reset_video=0 > but with no mods to rc.{suspend,resume} I added some code in them both to disable the video outputs (using radeontool from ports)of the laptop before suspend and bringing them back up after. I read in a list it's supposed to save some battery power. I also restart moused on .resume as it's usually hosed.I haven't changed these scripts for a llloooonnggggg time. > > however after quitting X the screen was (and still sometimes? is) blank, > as you described elsewhere recently; things 'work' but with no video. > > In my case loading VESA helped, as setting any of the vtys with (say) > vidcontrol 80x30 meant that vty would later display correctly (and after > selecting that one, so would the others still at the default 80x24) but > if I'd neglected to do that before starting X (I use startx), running > this particularly weird script works to restore the text mode vtys: > > % cat ~/bin/fixme > #!/bin/sh > # strangely enough, this invalid mode restores vttyX with the error message: > # vidcontrol: cannot activate raster display: Inappropriate ioctl for device > vidcontrol VESA_800x600 weird... > > At least I can reliably type 'fixme' blind .. there's bound to be a more > elegant fix, but this gets me back on the road .. :-D _________________________ {Beto|Norberto|Numard} Meijome "He has the attention span of a lightning bolt." Robert Redford I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.