Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2008 10:34:46 -0500
From:      Coleman Kane <cokane@FreeBSD.org>
To:        freebsd-acpi@FreeBSD.org
Subject:   amd64 S3 patch on HP 6715b: NICs won't work after resume from S3
Message-ID:  <1230564886.2280.11.camel@localhost>

next in thread | raw e-mail | index | archive | help

--=-EtKZujSNHKZQ2GtKISzA
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

I've been testing Jung-uk Kim's recent amd64 suspend patch on my HP
notebook, and it seems to be very close to working well.

The notebook goes into S3 state properly, but when it comes back out it
seems that the hardware is left in a bad state. I cannot attach my
if_bge and if_ndis network drivers after a resume.

I've tried performing the suspend/resume with the appropriate kldunload
lines in the /etc/rc.suspend, and I've also played around with the
following sysctls to no avail:
  * debug.acpi.do_powerstate
  * hw.pci.do_power_resume
  * hw.pci.do_power_nodriver

Additionally, when the system is resumed I needed hw.acpi.reset_video=3D1
to be set, otherwise the video doesn't get restored. I also need to
execute a "vidcontrol 80x25" to refresh the syscons as well (or else I
get no text on the screen). It seems that Xorg will resume properly if
I've switched to a text console prior to the suspend (Alt-Ctrl-F1
through -F8), otherwise the video will come up hosed. I suspect there's
probably a way that I can force the switch in a scripted manner in
rc.suspend.

Anyhow, it seems that some devices resume properly and some don't. The
ones that don't seem to be my ndis0 (wireless card, BCM4321) and my
bge0, which would be handy things to be able to use after a resume.

Does anyone have similar issues in amd64 or i386 kernels when using S3?
Any suggestions on where to go?

--=20
Coleman Kane

--=-EtKZujSNHKZQ2GtKISzA
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEABECAAYFAklY7hAACgkQcMSxQcXat5c33QCfVrRV2bQD50UAH8wD1ZJpFbQO
bFYAnAy69yJOVqxPZUJT++2QvJAmEjEC
=2N+F
-----END PGP SIGNATURE-----

--=-EtKZujSNHKZQ2GtKISzA--




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