From owner-freebsd-mobile Tue Apr 22 23:50:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA11570 for mobile-outgoing; Tue, 22 Apr 1997 23:50:57 -0700 (PDT) Received: from ki1.chemie.fu-berlin.de (ki1.chemie.fu-berlin.de [160.45.24.21]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id XAA11554 for ; Tue, 22 Apr 1997 23:50:53 -0700 (PDT) Received: by ki1.chemie.fu-berlin.de (Smail3.1.28.1) from mail.hanse.de (193.174.9.9) with smtp id ; Wed, 23 Apr 97 08:50 MEST Received: from wavehh.UUCP by mail.hanse.de with UUCP for freebsd-mobile@freebsd.org id ; Wed, 23 Apr 97 08:50 MET DST Received: by wavehh.hanse.de (4.1/SMI-4.1) id AA13779; Wed, 23 Apr 97 04:58:39 +0200 From: cracauer@wavehh.hanse.de (Martin Cracauer) Message-Id: <9704230258.AA13779@wavehh.hanse.de> Subject: 'Resume mode' on Toshiba T2100 To: freebsd-mobile@freebsd.org Date: Wed, 23 Apr 1997 04:58:39 +0200 (MET DST) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I just tried to set my T2100 to 'resume on powerup' and FreeBSD including networking, X11, emacs and friends seem to survive this. One drawback is that the clock of FreeBSD sleeps, on powerup it will continue from the time the laptop was turned off. The other is that pcvt leave junk character when swtiching screens. Two questions: - Can I force FreeBSD to update its clock to the value of the CMOS clock? - Is there any danger in using the resume mode I'm not aware of? :-) Thanks for pointer Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://cracauer.cons.org Fax +49 40 522 85 36 From owner-freebsd-mobile Wed Apr 23 00:49:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA14111 for mobile-outgoing; Wed, 23 Apr 1997 00:49:27 -0700 (PDT) Received: from hydrogen.nike.efn.org (metriclient-12.uoregon.edu [128.223.172.12]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA14106 for ; Wed, 23 Apr 1997 00:49:22 -0700 (PDT) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.4/8.8.4) id AAA29279; Wed, 23 Apr 1997 00:49:12 -0700 (PDT) Message-ID: <19970423004912.17005@hydrogen.nike.efn.org> Date: Wed, 23 Apr 1997 00:49:12 -0700 From: John-Mark Gurney To: Martin Cracauer Cc: freebsd-mobile@freebsd.org Subject: Re: 'Resume mode' on Toshiba T2100 References: <9704230258.AA13779@wavehh.hanse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <9704230258.AA13779@wavehh.hanse.de>; from Martin Cracauer on Wed, Apr 23, 1997 at 04:58:39AM +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: > I just tried to set my T2100 to 'resume on powerup' and FreeBSD > including networking, X11, emacs and friends seem to survive this. > > One drawback is that the clock of FreeBSD sleeps, on powerup it > will continue from the time the laptop was turned off. The other is > that pcvt leave junk character when swtiching screens. > > Two questions: > > - Can I force FreeBSD to update its clock to the value of the CMOS > clock? > > - Is there any danger in using the resume mode I'm not aware of? :-) did you enable the apm0 device driver? at least on my T1960CS it works perfectly fine... I have a drift of about 6-7 seconds after a week or two... and that is with it being suspended multiple times a day.. hope I can help you get it working... ttyl.. -- John-Mark Cu Networking Modem/FAX: +1 541 683 6954 Live in Peace, destroy Micro$oft, support free software, run FreeBSD From owner-freebsd-mobile Wed Apr 23 02:05:33 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA18110 for mobile-outgoing; Wed, 23 Apr 1997 02:05:33 -0700 (PDT) Received: from ki1.chemie.fu-berlin.de (ki1.chemie.fu-berlin.de [160.45.24.21]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id CAA18104 for ; Wed, 23 Apr 1997 02:05:29 -0700 (PDT) Received: by ki1.chemie.fu-berlin.de (Smail3.1.28.1) from mail.hanse.de (193.174.9.9) with smtp id ; Wed, 23 Apr 97 11:05 MEST Received: from wavehh.UUCP by mail.hanse.de with UUCP for freebsd-mobile@freebsd.org id ; Wed, 23 Apr 97 11:05 MET DST Received: by wavehh.hanse.de (4.1/SMI-4.1) id AA13604; Wed, 23 Apr 97 11:04:21 +0200 From: cracauer@wavehh.hanse.de (Martin Cracauer) Message-Id: <9704230904.AA13604@wavehh.hanse.de> Subject: Re: 'Resume mode' on Toshiba T2100 To: gurney_j@resnet.uoregon.edu Date: Wed, 23 Apr 1997 11:04:20 +0200 (MET DST) Cc: freebsd-mobile@freebsd.org In-Reply-To: <19970423004912.17005@hydrogen.nike.efn.org> from "John-Mark Gurney" at Apr 23, 97 00:49:12 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Martin Cracauer scribbled this message on Apr 23: > > I just tried to set my T2100 to 'resume on powerup' and FreeBSD > > including networking, X11, emacs and friends seem to survive this. > > > > One drawback is that the clock of FreeBSD sleeps, on powerup it > > will continue from the time the laptop was turned off. The other is > > that pcvt leave junk character when swtiching screens. > > > > Two questions: > > > > - Can I force FreeBSD to update its clock to the value of the CMOS > > clock? > > > > - Is there any danger in using the resume mode I'm not aware of? :-) > > did you enable the apm0 device driver? at least on my T1960CS it works > perfectly fine... I have a drift of about 6-7 seconds after a week or > two... and that is with it being suspended multiple times a day.. > > hope I can help you get it working... ttyl.. Well, I have difficulties understanding the text of the LINT kernel, if could could answer two questions? 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? 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? Thanks in advance Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://cracauer.cons.org Fax +49 40 522 85 36 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 From owner-freebsd-mobile Wed Apr 23 05:26:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA27290 for mobile-outgoing; Wed, 23 Apr 1997 05:26:42 -0700 (PDT) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA27285 for ; Wed, 23 Apr 1997 05:26:40 -0700 (PDT) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id GAA20129; Wed, 23 Apr 1997 06:26:30 -0600 (MDT) Date: Wed, 23 Apr 1997 06:26:30 -0600 (MDT) Message-Id: <199704231226.GAA20129@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: cracauer@wavehh.hanse.de (Martin Cracauer) Cc: freebsd-mobile@freebsd.org Subject: Re: 'Resume mode' on Toshiba T2100 In-Reply-To: <9704230258.AA13779@wavehh.hanse.de> References: <9704230258.AA13779@wavehh.hanse.de> X-Mailer: VM 6.27 under 19.15 XEmacs Lucid Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I just tried to set my T2100 to 'resume on powerup' and FreeBSD > including networking, X11, emacs and friends seem to survive this. > > One drawback is that the clock of FreeBSD sleeps, on powerup it > will continue from the time the laptop was turned off. The other is > that pcvt leave junk character when swtiching screens. Are you using APM? APM would cause the clock to get reset correctly. Nate