Re: Minimal sample custom devd.conf ( was Re: IBM T30 and suspend/resume capability )
Fabian Keil <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Message-ID | <20060828141712.47b20866@localhost> |
Norberto Meijome <[email protected]> wrote: > On Thu, 24 Aug 2006 17:14:01 +0200 > Fabian Keil <[email protected]> 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/
signature.asc
(application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFE8t7MBYqIVf93VJ0RAiHHAJ9GMpQdhk0ztYPD6ULvXSE673D20gCfTPaA vUBYE28293K3KzA6w3S4umg= =gEFk -----END PGP SIGNATURE-----