Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Aug 2004 09:40:06 -0700
From:      Ted Unangst <tedu@coverity.com>
To:        freebsd-questions@freebsd.org
Subject:   clock problem
Message-ID:  <411262E6.3020102@coverity.com>

next in thread | raw e-mail | index | archive | help
I have an IBM thinkpad T40 running FreeBSD 4.10.  It does not support 
apm, and acpi made the system very flaky.  This hardly matters, since 
the BIOS suspend function still works.  However, when I open the lid, 
the system clock is set to the same time it was when I closed the lid. 
ie, close lid at 6:30pm, open lid at 9:00am next morning, and 'date' 
tells me the time is 6:31pm yesterday.

This seems to be a matter of the system time relying on timecounters 
only.  How do I disable this behavior, or have it use the CMOS clock?

Interesting sysctl values:
machdep.disable_rtc_set: 0
machdep.wall_cmos_clock: 1
machdep.i8254_freq: 1193182
machdep.tsc_freq: 1594833412
kern.timecounter.method: 0
kern.timecounter.hardware: TSC



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