Date: Mon, 28 Aug 2006 14:17:12 +0200 From: Fabian Keil <freebsd-listen@fabiankeil.de> To: freebsd-mobile@freebsd.org Subject: Re: Minimal sample custom devd.conf ( was Re: IBM T30 and suspend/resume capability ) Message-ID: <20060828141712.47b20866@localhost> In-Reply-To: <20060825190556.0e913ec5@localhost> References: <Pine.BSF.3.96.1060824154645.11983A-100000@gaia.nimnet.asn.au> <rmi8xletize.fsf@fnord.ir.bbn.com> <20060825005305.5f145cf6@localhost> <20060824171401.706707ea@localhost> <20060825190556.0e913ec5@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Norberto Meijome <freebsd@meijome.net> wrote: > On Thu, 24 Aug 2006 17:14:01 +0200 > Fabian Keil <freebsd-listen@fabiankeil.de> wrote: > > BTW: what exactly does your devd script do? > > Nothing major really... I was getting some crashes on resume, and the default > 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 > > # switch to first VC > vidcontrol -s 1 < /dev/ttyv0 > > # make sure we sync all the disk buffers ... in case we die on resume, this > minimises problems with fsck > sync > 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 -- http://www.fabiankeil.de/ [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE8t7MBYqIVf93VJ0RAiHHAJ9GMpQdhk0ztYPD6ULvXSE673D20gCfTPaA vUBYE28293K3KzA6w3S4umg= =gEFk -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060828141712.47b20866>
