Re: [eug-lug]Power Down

2003-11-24 Thread Bob Miller
Bob Crandell wrote:

> I think we have that same P4 and it works for me too.  I have a
> client with a dual 233.  It's never worked with that.  I was hoping
> that the kernel had progressed enough to be able to power it off
> also.  Maybe 2.6.1?

Ah.  The new motherboards that support P4C's also support ACPI.
Recent 2.4 kernels support power control through ACPI, even w/ SMP.

Your client's old motherboard wouldn't have ACPI.

If you look at /usr/src/linux/arch/i386/kernel/apm.c, you'll see
this comment.  (I'm looking at vanilla 2.4.21.)

/*
 * See Documentation/Config.help for the configuration options.
 *
 * Various options can be changed at boot time as follows:
 * (We allow underscores for compatibility with the modules code)
 *  apm=on/off  enable/disable APM
 *  [no-]allow[-_]ints  allow interrupts during BIOS calls
 *  [no-]broken[-_]psr  BIOS has a broken GetPowerStatus call
 *  [no-]realmode[-_]power[-_]off   switch to real mode before
 *  powering off
 *  [no-]debug  log some debugging messages
 *  [no-]power[-_]off   power off on shutdown
 *  [no-]smpUse apm even on an SMP box
 *  bounce[-_]interval=  number of ticks to ignore suspend
 *  bounces
 *  idle[-_]threshold=   System idle percentage above which to
 *  make APM BIOS idle calls. Set it to
 *  100 to disable.
 *  idle[-_]period=  Period (in 1/100s of a second) over
 *  which the idle percentage is
 *  calculated.
 */

There are some other comments in that file worth reading, too.

I don't have access to a pre-ACPI SMP motherboard anymore, so I can't
try this.  It looks, from a cursory reading of the code in that file,
like you should boot with apm=smp,power-off or
apm=smp,power-off,realmode-power-off.

If apm is a module, you can pass the right options in when you load
it.

# insmod apm power_off=1 smp=1
or
# insmod apm power_off=1 smp=1 realmode_power_off=1


> The coffee hasn't kicked in yet so I'm having trouble the English
> language.

You should do what I do.  Until you've finished your morning coffee,
compose all your email in classical Latin. (-:

-- 
Bob Miller  K
kbobsoft software consulting
http://kbobsoft.com [EMAIL PROTECTED]
___
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug


Re: [eug-lug]Power Down

2003-11-22 Thread Bob Crandell
Hi,

I think we have that same P4 and it works for me too.  I have a client with a dual
233.  It's never worked with that.  I was hoping that the kernel had progressed
enough to be able to power it off also.  Maybe 2.6.1?

The power off capability is in the kernel.  The right combination will turn off a
single CPU system when you type halt.  The wrong combination will either do nothing
or lock it up.  The coffee hasn't kicked in yet so I'm having trouble the English
language.

Thanks

Bob Miller ([EMAIL PROTECTED]) wrote:
>
>Bob Crandell wrote:
>
>> Has anyone gotten powerdown to work on a Dual CPU system yet?
>
>I have it working on a hyperthreaded P4, which is sort of like a dual
>CPU system.  Unfortunately, I don't know the magic incantation.  When
>I installed gentoo-sources, it Just Worked[TM].
>
>I suspect the Gentooers added a kernel patch to make it work.
>
>[EMAIL PROTECTED]
>http://mailman.efn.org/cgi-bin/listinfo/eug-lug
>

--
Assured Computing
When you need to be sure.
[EMAIL PROTECTED]
www.assuredcomp.com
Voice - 541-868-0331
FAX - 541-463-1627
Eugene, Oregon


___
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug


Re: [eug-lug]Power Down

2003-11-21 Thread Bob Miller
Bob Crandell wrote:

> Has anyone gotten powerdown to work on a Dual CPU system yet?

I have it working on a hyperthreaded P4, which is sort of like a dual
CPU system.  Unfortunately, I don't know the magic incantation.  When
I installed gentoo-sources, it Just Worked[TM].

I suspect the Gentooers added a kernel patch to make it work.

-- 
Bob Miller  K
kbobsoft software consulting
http://kbobsoft.com [EMAIL PROTECTED]
___
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug


[eug-lug]Power Down

2003-11-19 Thread Bob Crandell
Hi,

Has anyone gotten powerdown to work on a Dual CPU system yet?

Thanks

--
Assured Computing
When you need to be sure.
[EMAIL PROTECTED]
www.assuredcomp.com
Voice - 541-868-0331
FAX - 541-463-1627
Eugene, Oregon


___
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug


Re: [eug-lug]Power down

2003-11-07 Thread Jacob Meuser
On Thu, Nov 06, 2003 at 09:47:19PM -0800, Cory Petkovsek wrote:
> On Thu, Nov 06, 2003 at 06:33:38PM -0800, Dirk Ouellette wrote:
> > Is there a way to put my RH 9 box in a standby mode like Windows does?
> > Dirk
> short answer: apm -s or apm -S
> 
> If that doesn't work, make sure apm support is in your kernel and 
> check out the man page for apm.

And make sure apmd is running ...

-- 
<[EMAIL PROTECTED]>
___
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug


Re: [eug-lug]Power down

2003-11-06 Thread Cory Petkovsek
On Thu, Nov 06, 2003 at 06:33:38PM -0800, Dirk Ouellette wrote:
> Is there a way to put my RH 9 box in a standby mode like Windows does?
> Dirk
short answer: apm -s or apm -S

If that doesn't work, make sure apm support is in your kernel and 
check out the man page for apm.

Cory

-- 
Cory Petkovsek   Adapting Information
Adaptable IT ConsultingTechnology to your   
(541) 914-8417   business
[EMAIL PROTECTED]  www.AdaptableIT.com
___
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug


[eug-lug]Power down

2003-11-06 Thread Dirk Ouellette
Is there a way to put my RH 9 box in a standby mode like Windows does?
Dirk

___
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug