Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2013 07:20:48 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Warner Losh <imp@FreeBSD.org>
Subject:   Re: svn commit: r247086 - head/sys/x86/isa
Message-ID:  <73F6A8D9-3366-47AB-9DE9-E570006E3A3F@bsdimp.com>
In-Reply-To: <20130520022100.GA82181@FreeBSD.org>
References:  <201302210638.r1L6cOVx006678@svn.freebsd.org> <20130221064912.GA20360@FreeBSD.org> <20130520022100.GA82181@FreeBSD.org>

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

On May 19, 2013, at 8:21 PM, Alexey Dokuchaev wrote:

> On Thu, Feb 21, 2013 at 06:49:12AM +0000, Alexey Dokuchaev wrote:
>> On Thu, Feb 21, 2013 at 06:38:24AM +0000, Warner Losh wrote:
>>> New Revision: 247086
>>> URL: http://svnweb.freebsd.org/changeset/base/247086
>>>=20
>>> Log:
>>>  Correct comment about use of pmtimer, and the real reason it isn't
>>>  used or desirable for amd64.
>>=20
>> Thanks!
>>=20
>>> + * pmtimer is used only with the old APM power management, and not =
with
>>> + * acpi, which is required for amd64, so skip it in that case.
>>=20
>> Does it also mean it should be removed from ACPI-driven i386 machines =
kernel
>> configs?
>=20
> Apparently not: I've been running FreeBSD 8.4-PRERELEASE without =
pmtimer for
> a while, and noticed that my laptop stops keeping time during suspend. =
 I've
> never noticed that behavior before (presumably, with pmtimer).
>=20
> I've found this old thread [1] on -current@ from Jan 2001 where =
src/UPDATING
> is quoted:
>=20
>    The new pmtimer device is necessary for laptops.  Failure to
>    include the device will cause suspended laptops losing time
>    when they resume.
>=20
> I will soon rebuild the kernel and put pmtimer back to see it fixes =
time
> keeping for me.  If it will, apparently it is still useful for i386, =
and
> not just for APM, but ACPI as well...

It fights ACPI in what it does... It was needed for APM... Let me know =
how it turns out...

Warner


> ./danfe
>=20
> [1] =
http://www.mail-archive.com/freebsd-current@freebsd.org/msg23642.html




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?73F6A8D9-3366-47AB-9DE9-E570006E3A3F>