Losing time on apm -Z (despite pmtimer)

2003-01-25 Thread Rahul Siddharthan
I have acpi disabled and apm enabled in /boot/device.hints
because acpi didn't do standby properly: apm -Z wouldn't turn off the
screen backlight, and on reawakening the screen would be messed up.
(acpiconf -s {2,3} didn't work either.)   With acpi, the following
problem doesn't exist.  It also didn't exist on 4-STABLE.

When I put the laptop into standby (apm -Z) -- suspend doesn't work --
the clock stays where it was before standby, when reawakened.  (eg, if
standby'd at 10:20 and reawakened at 11:00, it still shows 10:20).

I have "device pmtimer" in my kernel config, and
  hint.pmtimer.0.at="isa"
in /device/hints.  dmesg shows
  pmtimer0 on isa0

This is -CURRENT cvsupped and built Jan 21, 2003.

Any ideas?  Any more information I can give?

Thanks,

Rahul

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: pmtimer

2001-01-10 Thread Kenneth Wayne Culver

Yeah, that's what I thought. A while back someone sent me some patches
that fix the broken statclock and make it work on laptops, I can't
remember his name right now. However those patches are against FreeBSD
4.1-RELEASE, and I'm not sure if they'd work for -CURRENT. I suppose I
could do without the statclock for now, but it'd be nice to have :-)




=
| Kenneth Culver  | FreeBSD: The best NT upgrade|
| Unix Systems Administrator  | ICQ #: 24767726 |
| and student at The  | AIM: muythaibxr |
| The University of Maryland, | Website: (Under Construction)   |
| College Park.   | http://www.wam.umd.edu/~culverk/|
=

On Wed, 10 Jan 2001, Mitsuru IWASAKI wrote:

> Hi,
> 
> > I'm not sure what pmtimer is supposed to do. Isn't it supposed to give
> > support for the broken statclock on laptops? I saw my friend running 4.1
> > with some patches that allowed him to use the statclock (and the rtc
> > device showed up in systat -vm 2) On my laptop, pmtimer doesn't appear to
> > do anything; and I couldn't find a manpage on it
> 
> Please refer to src/UPDATING for -current.
> The new pmtimer device is necessary for laptops.  Failure to
> include the device will cause suspended laptops losing time
> when they resume.
> 
> Currently pmtimer won't solve the broken statclock problem...
> The timer related code at suspend/resume time have been moved from APM
> to pmtimer so that ACPI (includes new power management system) use
> pmtimer at sleep/wakeup time as well.
> 
> Thanks
> 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: pmtimer

2001-01-10 Thread Mitsuru IWASAKI

Hi,

> I'm not sure what pmtimer is supposed to do. Isn't it supposed to give
> support for the broken statclock on laptops? I saw my friend running 4.1
> with some patches that allowed him to use the statclock (and the rtc
> device showed up in systat -vm 2) On my laptop, pmtimer doesn't appear to
> do anything; and I couldn't find a manpage on it

Please refer to src/UPDATING for -current.
The new pmtimer device is necessary for laptops.  Failure to
include the device will cause suspended laptops losing time
    when they resume.

Currently pmtimer won't solve the broken statclock problem...
The timer related code at suspend/resume time have been moved from APM
to pmtimer so that ACPI (includes new power management system) use
pmtimer at sleep/wakeup time as well.

Thanks


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



pmtimer

2001-01-09 Thread Kenneth Wayne Culver

I'm not sure what pmtimer is supposed to do. Isn't it supposed to give
support for the broken statclock on laptops? I saw my friend running 4.1
with some patches that allowed him to use the statclock (and the rtc
device showed up in systat -vm 2) On my laptop, pmtimer doesn't appear to
do anything; and I couldn't find a manpage on it



=
| Kenneth Culver  | FreeBSD: The best NT upgrade|
| Unix Systems Administrator  | ICQ #: 24767726 |
| and student at The  | AIM: muythaibxr |
| The University of Maryland, | Website: (Under Construction)   |
| College Park.   | http://www.wam.umd.edu/~culverk/|
=



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message