From owner-freebsd-mobile Wed Feb 26 01:59:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA28742 for mobile-outgoing; Wed, 26 Feb 1997 01:59:15 -0800 (PST) Received: from deepo.prosa.dk ([193.89.187.27]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA28735 for ; Wed, 26 Feb 1997 01:59:10 -0800 (PST) Received: (from regnauld@localhost) by deepo.prosa.dk (8.8.5/8.8.4/prosa-1.1) id LAA23193; Wed, 26 Feb 1997 11:02:18 +0100 (CET) Message-ID: Date: Wed, 26 Feb 1997 11:02:17 +0100 From: regnauld@deepo.prosa.dk (Philippe Regnauld) To: freebsd-mobile@freebsd.org Subject: APM and suspend vs. freeze X-Mailer: Mutt 0.58 Mime-Version: 1.0 X-Operating-System: FreeBSD 2.2-BETA_A i386 Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I'm running 2.2-G with the 970210-PAO on a 950 Acer (P75, 24Mb/810Mb). I seem to remember that the oldish apm included in the non-apm sys files supported 'freeze' -> i.e. halt cpu, disk, screen, and keep power to the RAM -- the power led then blinks. This was activated with the Zz button above the keyboard. After installing PAO (and having looked through the sources), it seems that only SUSPEND is enabled, whether I use apm -z/zzz or the panel button. Is freeze broken ? Is there a way to (re)-enable it ? PS: I am not subscribed to -mobile. -- -- Phil -[ Philippe Regnauld / Systems Administrator / regnauld@prosa.dk ]- -[ Location.: +55.4N +11.3E PGP Key: finger regnauld@deepo.prosa.dk ]- From owner-freebsd-mobile Wed Feb 26 07:13:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id HAA11975 for mobile-outgoing; Wed, 26 Feb 1997 07:13:40 -0800 (PST) Received: from lsmarso.dialup.access.net (lsmarso.dialup.access.net [166.84.254.60]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA11966 for ; Wed, 26 Feb 1997 07:13:28 -0800 (PST) Received: (from larry@localhost) by lsmarso.dialup.access.net (8.8.5/8.8.3) id NAA00873; Wed, 26 Feb 1997 13:38:12 GMT Message-ID: X-Mailer: XFMail 1.1-alpha [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 26 Feb 1997 08:32:00 -0500 (EST) From: Larry Marso To: (Philippe Regnauld) Subject: Suspend to disk? (was APM and suspend vs. freeze) Cc: freebsd-mobile@FreeBSD.ORG Sender: owner-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I believe the standard split is between SUSPEND and HALT. Both are supported by FreeBSD, although you must often preset your system bios for the results you are looking for. I use a Chembook 9750, which also has a "suspend to disk" mode. It attempts to write the contents of RAM to a special partition, actually powers down 100%, then loads the contents of memory again when you restart. My understanding is (and one ill-fated experiment suggests) that this does not work in FreeBSD. I have designated two special function keys to SUSPEND and HALT, which merely effects the state of the CPU, it does not fully power down the unit. Perhaps I'm mistaken. Has anyone successfully enabled a laptop's "suspend to disk" type feature for FreeBSD? On 26-Feb-97 Philippe Regnauld wrote: |>Hi, |> |> I'm running 2.2-G with the 970210-PAO on a 950 Acer (P75, |> 24Mb/810Mb). |> |> I seem to remember that the oldish apm included in the non-apm |> sys files supported 'freeze' -> i.e. halt cpu, disk, screen, and |> keep power to the RAM -- the power led then blinks. This was |> activated with the Zz button above the keyboard. |> |> After installing PAO (and having looked through the sources), it |> seems that only SUSPEND is enabled, whether I use apm -z/zzz |> or the panel button. |> |> Is freeze broken ? Is there a way to (re)-enable it ? |> |> PS: I am not subscribed to -mobile. |> |>-- |> -- Phil |> |>-[ Philippe Regnauld / Systems Administrator / regnauld@prosa.dk ]- |>-[ Location.: +55.4N +11.3E PGP Key: finger regnauld@deepo.prosa.dk ]- |> Regards. ---------------------------------- Larry Marso date: 26-Feb-97 Time: 08:32:00 From owner-freebsd-mobile Wed Feb 26 08:10:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA15168 for mobile-outgoing; Wed, 26 Feb 1997 08:10:40 -0800 (PST) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA15163 for ; Wed, 26 Feb 1997 08:10:36 -0800 (PST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id JAA29171; Wed, 26 Feb 1997 09:10:24 -0700 (MST) Date: Wed, 26 Feb 1997 09:10:24 -0700 (MST) Message-Id: <199702261610.JAA29171@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: regnauld@deepo.prosa.dk (Philippe Regnauld) Cc: freebsd-mobile@freebsd.org Subject: Re: APM and suspend vs. freeze In-Reply-To: References: Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I seem to remember that the oldish apm included in the non-apm > sys files supported 'freeze' -> i.e. halt cpu, disk, screen, and > keep power to the RAM -- the power led then blinks. This was > activated with the Zz button above the keyboard. Not that I'm aware of. There are 2 types of 'sleep' supported, the 'suspend' mode (hard sleep), and 'standby' mode, (soft sleep). I have the trivial patches to do 'standby' mode, but I've never integrated them. Is that what you're thinking about? Nate From owner-freebsd-mobile Wed Feb 26 08:17:14 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA15714 for mobile-outgoing; Wed, 26 Feb 1997 08:17:14 -0800 (PST) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA15704 for ; Wed, 26 Feb 1997 08:17:09 -0800 (PST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id JAA29206; Wed, 26 Feb 1997 09:17:05 -0700 (MST) Date: Wed, 26 Feb 1997 09:17:05 -0700 (MST) Message-Id: <199702261617.JAA29206@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Larry Marso Cc: (Philippe Regnauld) , freebsd-mobile@freebsd.org Subject: Re: Suspend to disk? (was APM and suspend vs. freeze) In-Reply-To: References: Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Perhaps I'm mistaken. Has anyone successfully enabled a laptop's "suspend to > disk" type feature for FreeBSD? >From my reading of the specification, this requires 'special knowledge' that the manufacturer must provide you. It's not part of the normal APM support, nor is it documented except as some extensions manufacturers are free to do with as they please. I don't see it happening anytime soon, especially since very few laptops support it. (ThinkPads do, but the NEC's don't) Nate From owner-freebsd-mobile Wed Feb 26 11:40:21 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA28160 for mobile-outgoing; Wed, 26 Feb 1997 11:40:21 -0800 (PST) Received: from lsmarso.dialup.access.net (lsmarso.dialup.access.net [166.84.254.60]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA28137 for ; Wed, 26 Feb 1997 11:40:14 -0800 (PST) Received: (from larry@localhost) by lsmarso.dialup.access.net (8.8.5/8.8.3) id TAA00413 for mobile@FreeBSD.ORG; Wed, 26 Feb 1997 19:36:41 GMT Resent-Message-Id: <199702261936.TAA00413@lsmarso.dialup.access.net> Message-ID: X-Mailer: XFMail 1.1-alpha [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Resent-Date: Wed, 26 Feb 1997 14:09:57 -0500 (EST) Resent-From: Larry Marso Resent-To: questions@FreeBSD.ORG Date: Wed, 26 Feb 1997 14:35:51 -0500 (EST) From: Larry Marso To: mobile@FreeBSD.ORG Subject: Adeptec SlimSCSI "driver allocation failed" Sender: owner-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I understand the Adaptec SlimSCSI is the SCSI PCMCIA card most often used by FreeBSD'ers. I'm getting the error: pccardd[some#] driver allocation failed for "Adaptec, Inc.\" (device not configured). I've tried with and without PAO, at 2.2-GAMMA. Same error. The card is set to use "aic0", which I understand would be the relevent device. How is the appropriate device "configured"? I've enabled aic0 in the kernel, my pccard.conf has the appropriate entry for the card. Another PCMCIA card (a modem) works perfectly, accessing SIO2. I would appreciate any tips from current users. Regards. ---------------------------------- Larry Marso date: 26-Feb-97 Time: 14:09:57 From owner-freebsd-mobile Wed Feb 26 13:09:53 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA03516 for mobile-outgoing; Wed, 26 Feb 1997 13:09:53 -0800 (PST) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA03510 for ; Wed, 26 Feb 1997 13:09:49 -0800 (PST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id OAA00714; Wed, 26 Feb 1997 14:09:43 -0700 (MST) Date: Wed, 26 Feb 1997 14:09:43 -0700 (MST) Message-Id: <199702262109.OAA00714@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Larry Marso Cc: mobile@freebsd.org Subject: Re: Adeptec SlimSCSI "driver allocation failed" In-Reply-To: References: Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I understand the Adaptec SlimSCSI is the SCSI PCMCIA card most often used by > FreeBSD'ers. > I'm getting the error: > pccardd[some#] driver allocation failed for "Adaptec, > Inc.\" (device not configured). Note, this isn't supported in 2.2 or -current, since I haven't applied the driver/daemon changes. I'll leave the PAO question to the PAO folks. Nate From owner-freebsd-mobile Wed Feb 26 13:18:39 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA03941 for mobile-outgoing; Wed, 26 Feb 1997 13:18:39 -0800 (PST) Received: from lsmarso.dialup.access.net (lsmarso.dialup.access.net [166.84.254.60]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA03936 for ; Wed, 26 Feb 1997 13:18:35 -0800 (PST) Received: (from larry@localhost) by lsmarso.dialup.access.net (8.8.5/8.8.3) id VAA00633; Wed, 26 Feb 1997 21:14:42 GMT Message-ID: X-Mailer: XFMail 1.1-alpha [p0] on FreeBSD Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit MIME-Version: 1.0 In-Reply-To: <199702262109.OAA00714@rocky.mt.sri.com> Date: Wed, 26 Feb 1997 16:12:59 -0500 (EST) From: Larry Marso To: Nate Williams Subject: Re: Adeptec SlimSCSI "driver allocation failed" Cc: mobile@freebsd.org Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm not certain I understand this. What does it mean that you "haven't applied the driver/daemon changes"? How does this relate to aic0, which should not be a PAO issue. On 26-Feb-97 Nate Williams wrote: |>> I understand the Adaptec SlimSCSI is the SCSI PCMCIA card most often used by |>> FreeBSD'ers. |> |>> I'm getting the error: |>> pccardd[some#] driver allocation failed for "Adaptec, |>> Inc.\" (device not configured). |> |>Note, this isn't supported in 2.2 or -current, since I haven't applied |>the driver/daemon changes. |> |>I'll leave the PAO question to the PAO folks. |> |> |>Nate Regards. ---------------------------------- Larry Marso date: 26-Feb-97 Time: 16:12:59 From owner-freebsd-mobile Wed Feb 26 13:20:56 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA04067 for mobile-outgoing; Wed, 26 Feb 1997 13:20:56 -0800 (PST) Received: from deepo.prosa.dk ([193.89.187.27]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA04062 for ; Wed, 26 Feb 1997 13:20:50 -0800 (PST) Received: (from regnauld@localhost) by deepo.prosa.dk (8.8.5/8.8.4/prosa-1.1) id WAA24520; Wed, 26 Feb 1997 22:23:57 +0100 (CET) Message-ID: Date: Wed, 26 Feb 1997 22:23:57 +0100 From: regnauld@deepo.prosa.dk (Philippe Regnauld) To: nate@mt.sri.com (Nate Williams) Cc: lsmarso@panix.com (Larry Marso), freebsd-mobile@freebsd.org Subject: Re: Suspend to disk? (was APM and suspend vs. freeze) References: <199702261617.JAA29206@rocky.mt.sri.com> X-Mailer: Mutt 0.58 Mime-Version: 1.0 X-Operating-System: FreeBSD 2.2-BETA_A i386 In-Reply-To: <199702261617.JAA29206@rocky.mt.sri.com>; from Nate Williams on Feb 26, 1997 09:17:05 -0700 Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nate Williams (nate) ecrit/writes: > >From my reading of the specification, this requires 'special knowledge' > that the manufacturer must provide you. It's not part of the normal APM > support, nor is it documented except as some extensions manufacturers > are free to do with as they please. The reason I mentioned it is: 1) it worked on this machine (Acer) with the stock-2.2-B distrib apm. 2) it worked with 2.1.0 on an Olivetti Philos 20. -- -- Phil -[ Philippe Regnauld / Systems Administrator / regnauld@prosa.dk ]- -[ Location.: +55.4N +11.3E PGP Key: finger regnauld@deepo.prosa.dk ]- From owner-freebsd-mobile Wed Feb 26 13:21:57 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA04134 for mobile-outgoing; Wed, 26 Feb 1997 13:21:57 -0800 (PST) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA04127 for ; Wed, 26 Feb 1997 13:21:53 -0800 (PST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id OAA00776; Wed, 26 Feb 1997 14:21:42 -0700 (MST) Date: Wed, 26 Feb 1997 14:21:42 -0700 (MST) Message-Id: <199702262121.OAA00776@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Larry Marso Cc: Nate Williams , mobile@freebsd.org Subject: Re: Adeptec SlimSCSI "driver allocation failed" In-Reply-To: References: <199702262109.OAA00714@rocky.mt.sri.com> Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I'm not certain I understand this. What does it mean that you > "haven't applied the driver/daemon changes"? How does this relate to > aic0, which should not be a PAO issue. The aic PCMCIA specific patches haven't been applied, and the pccard daemon also needs some modifications to support the SCSI stuff. These changes (and others) are what make up the PAO patches. Nate From owner-freebsd-mobile Wed Feb 26 13:24:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA04258 for mobile-outgoing; Wed, 26 Feb 1997 13:24:12 -0800 (PST) Received: from deepo.prosa.dk ([193.89.187.27]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA04199 for ; Wed, 26 Feb 1997 13:23:38 -0800 (PST) Received: (from regnauld@localhost) by deepo.prosa.dk (8.8.5/8.8.4/prosa-1.1) id WAA24537; Wed, 26 Feb 1997 22:26:05 +0100 (CET) Message-ID: Date: Wed, 26 Feb 1997 22:26:05 +0100 From: regnauld@deepo.prosa.dk (Philippe Regnauld) To: nate@mt.sri.com (Nate Williams) Cc: freebsd-mobile@freebsd.org Subject: Re: APM and suspend vs. freeze References: <199702261610.JAA29171@rocky.mt.sri.com> X-Mailer: Mutt 0.58 Mime-Version: 1.0 X-Operating-System: FreeBSD 2.2-BETA_A i386 In-Reply-To: <199702261610.JAA29171@rocky.mt.sri.com>; from Nate Williams on Feb 26, 1997 09:10:24 -0700 Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Nate Williams (nate) ecrit/writes: > > I seem to remember that the oldish apm included in the non-apm > > sys files supported 'freeze' -> i.e. halt cpu, disk, screen, and > > keep power to the RAM -- the power led then blinks. This was > > activated with the Zz button above the keyboard. > > Not that I'm aware of. There are 2 types of 'sleep' supported, the > 'suspend' mode (hard sleep), and 'standby' mode, (soft sleep). I have > the trivial patches to do 'standby' mode, but I've never integrated > them. > > Is that what you're thinking about? Think I confused the previous message :-) Yes, this is what I'm looking for -- I often go around the customer site from one room to another, and I hate waiting for complete suspend/ resume to/from disk. See my other message. PS: Where do i get those paches :-) -- -- Phil -[ Philippe Regnauld / Systems Administrator / regnauld@prosa.dk ]- -[ Location.: +55.4N +11.3E PGP Key: finger regnauld@deepo.prosa.dk ]- From owner-freebsd-mobile Wed Feb 26 13:24:26 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA04288 for mobile-outgoing; Wed, 26 Feb 1997 13:24:26 -0800 (PST) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA04281 for ; Wed, 26 Feb 1997 13:24:24 -0800 (PST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id OAA00828; Wed, 26 Feb 1997 14:24:15 -0700 (MST) Date: Wed, 26 Feb 1997 14:24:15 -0700 (MST) Message-Id: <199702262124.OAA00828@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: regnauld@deepo.prosa.dk (Philippe Regnauld) Cc: nate@mt.sri.com (Nate Williams), freebsd-mobile@freebsd.org Subject: Re: Suspend to disk? (was APM and suspend vs. freeze) In-Reply-To: References: <199702261617.JAA29206@rocky.mt.sri.com> Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > >From my reading of the specification, this requires 'special knowledge' > > that the manufacturer must provide you. It's not part of the normal APM > > support, nor is it documented except as some extensions manufacturers > > are free to do with as they please. > > The reason I mentioned it is: > > 1) it worked on this machine (Acer) with the stock-2.2-B distrib apm. > 2) it worked with 2.1.0 on an Olivetti Philos 20. Then it was purely accidental, since the code does nothing to enable/disable that feature. Nate From owner-freebsd-mobile Wed Feb 26 13:25:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA04353 for mobile-outgoing; Wed, 26 Feb 1997 13:25:59 -0800 (PST) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA04348 for ; Wed, 26 Feb 1997 13:25:55 -0800 (PST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id OAA00830; Wed, 26 Feb 1997 14:25:46 -0700 (MST) Date: Wed, 26 Feb 1997 14:25:46 -0700 (MST) Message-Id: <199702262125.OAA00830@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: regnauld@deepo.prosa.dk (Philippe Regnauld) Cc: nate@mt.sri.com (Nate Williams), freebsd-mobile@freebsd.org Subject: Re: APM and suspend vs. freeze In-Reply-To: References: <199702261610.JAA29171@rocky.mt.sri.com> Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Not that I'm aware of. There are 2 types of 'sleep' supported, the > > 'suspend' mode (hard sleep), and 'standby' mode, (soft sleep). I have > > the trivial patches to do 'standby' mode, but I've never integrated > > them. > > Think I confused the previous message :-) > > Yes, this is what I'm looking for -- I often go around the customer > site from one room to another, and I hate waiting for complete suspend/ > resume to/from disk. See my other message. > > PS: Where do i get those paches :-) Umm, they're buried somewhere in my 'TODO' list. I don't see getting too them in the near future, but it was only 5/6 lines of code. I'll try and dig them up (remind me if you haven't seen them). Nate