From owner-freebsd-mobile@FreeBSD.ORG Mon Aug 28 12:17:20 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org 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 CE56D16A4DD for ; Mon, 28 Aug 2006 12:17:20 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 720DA43D78 for ; Mon, 28 Aug 2006 12:17:19 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 7756 invoked from network); 28 Aug 2006 12:17:18 -0000 Received: from unknown (HELO localhost) (775067@[217.50.145.224]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 28 Aug 2006 12:17:18 -0000 Date: Mon, 28 Aug 2006 14:17:12 +0200 From: Fabian Keil To: freebsd-mobile@freebsd.org Message-ID: <20060828141712.47b20866@localhost> In-Reply-To: <20060825190556.0e913ec5@localhost> References: <20060825005305.5f145cf6@localhost> <20060824171401.706707ea@localhost> <20060825190556.0e913ec5@localhost> X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.19; i386-portbld-freebsd6.1) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_G31+HCp7PCL3Qtr3lW9=VXk"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: Minimal sample custom devd.conf ( was Re: IBM T30 and suspend/resume capability ) 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: Mon, 28 Aug 2006 12:17:20 -0000 --Sig_G31+HCp7PCL3Qtr3lW9=VXk Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Norberto Meijome wrote: > On Thu, 24 Aug 2006 17:14:01 +0200 > Fabian Keil wrote: > > BTW: what exactly does your devd script do? >=20 > Nothing major really... I was getting some crashes on resume, and the def= ault > acpi_ibm behaviours for the fn- keys weren't too much of my liking... so = what I > did (for the archives... hopefully it'll be useful for someone else) It was indeed useful, thanks. > 4) Created /home/betom/bin/do_acpi_suspend.sh as follows: > ---- > #!/usr/local/bin/bash >=20 > # switch to first VC > vidcontrol -s 1 < /dev/ttyv0 >=20 > # make sure we sync all the disk buffers ... in case we die on resume, th= is > minimises problems with fsck > sync=20 > sync > sleep 3 > sync > sync > sleep 1 > sync > zzz Somehow this seems to fix the "Xorg frozen after resume" problem that I experienced since the update from 5.X to 6.X. Fabian --=20 http://www.fabiankeil.de/ --Sig_G31+HCp7PCL3Qtr3lW9=VXk Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE8t7MBYqIVf93VJ0RAiHHAJ9GMpQdhk0ztYPD6ULvXSE673D20gCfTPaA vUBYE28293K3KzA6w3S4umg= =gEFk -----END PGP SIGNATURE----- --Sig_G31+HCp7PCL3Qtr3lW9=VXk--