Skip site navigation (1)Skip section navigation (2)
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
--Sig_G31+HCp7PCL3Qtr3lW9=VXk
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

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?
>=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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060828141712.47b20866>