From owner-freebsd-mobile Wed Apr 23 02:16:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA18624 for mobile-outgoing; Wed, 23 Apr 1997 02:16:51 -0700 (PDT) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA18617 for ; Wed, 23 Apr 1997 02:16:47 -0700 (PDT) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.4/8.8.4) id CAA00877; Wed, 23 Apr 1997 02:16:40 -0700 (PDT) Message-ID: <19970423021640.11645@hydrogen.nike.efn.org> Date: Wed, 23 Apr 1997 02:16:40 -0700 From: John-Mark Gurney To: Martin Cracauer Cc: freebsd-mobile@freebsd.org Subject: Re: 'Resume mode' on Toshiba T2100 References: <19970423004912.17005@hydrogen.nike.efn.org> <9704230904.AA13604@wavehh.hanse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <9704230904.AA13604@wavehh.hanse.de>; from Martin Cracauer on Wed, Apr 23, 1997 at 11:04:20AM +0200 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2-960801-SNAP i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Martin Cracauer scribbled this message on Apr 23: > > Martin Cracauer scribbled this message on Apr 23: > Well, I have difficulties understanding the text of the LINT kernel, > if could could answer two questions? well.. one way is to look at the code... :) > What exactly does APM_IDLE_CPU do? From LINT it is unclear for me if > this option is "better" and should be enabled if my laptop > supports. Or is it better *not* to have it if my laptop doesn't need > it? What exactly does it do, BTW? basicly APM_IDLE_CPU tells FreeBSD to call the APM idle routin instead of what it normally does... FreeBSD normally calls the hlt instruction which stops the processor until an interrupt is recieved... this can be useful for possibly causing the processor to "slow" down to a lower speed... > As I understand, APM_BROKEN_STATCLOCK is needed only for some > laptops. How do I tell whether I need it? Crash? Wrong clock? Anything > else? well... from LINT: # Some APM implementations will not work with the `statistics clock' # enabled, so it's disabled by default if the APM driver is enabled. # However, this is not true for all laptops. Try removing the option # APM_BROKEN_STATCLOCK and see if suspend/resume work there is a statistics clock (rtc0 on vmstat -i) that lets your machine gather information about how the machine is running and what is spent where... basicly with APM_BROKEN_STATCLOCK defined it won't enable running the stat clock because on some notebooks it prevents the notebook from suspend/resuming... hope my explinations help you... ttyl... -- John-Mark Cu Networking Modem/FAX: +1 541 683 6954 Live in Peace, destroy Micro$oft, support free software, run FreeBSD