public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Query regarding the linux ACPI
@ 2003-06-16 11:43 siva
  2003-06-16 11:59 ` Derek Broughton
  0 siblings, 1 reply; 7+ messages in thread
From: siva @ 2003-06-16 11:43 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


[-- Attachment #1.1: Type: text/plain, Size: 911 bytes --]

Hi all,

When I was reading the ACPI specification, I found the following information, 
The ACPI specification also allows that if the user presses the power button for more than four seconds while the system is in the working state, a hardware event is generated and the system will transition to the soft-off state. This hardware event is called a power button override. In reaction to the power button override event, the hardware clears the power button status bit (PWRBTN_STS).

I would like to know, whether this Power button override feature is available in the Linux ACPI implementation. If it is implemented, where can I find them  and how to use it?



"Ignore the Attachment"



Thanks in advance,

Siva

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Imagination is more important than Knowledge"
                               - Albert Einstein
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


[-- Attachment #1.2: Type: text/html, Size: 2309 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Query regarding the linux ACPI
  2003-06-16 11:43 Query regarding the linux ACPI siva
@ 2003-06-16 11:59 ` Derek Broughton
       [not found]   ` <012f01c333fe$c23a8270$3746028e-dP0OE4Ef7fWw5LPnMra/2Q@public.gmane.org>
  2003-06-17 10:33   ` siva
  0 siblings, 2 replies; 7+ messages in thread
From: Derek Broughton @ 2003-06-16 11:59 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

From: "siva" <sivakumar.subramani-uxC5H9eHYlcAvxtiuMwx3w@public.gmane.org>

> When I was reading the ACPI specification, I found the following information,
> The ACPI specification also allows that if the user presses the power button
for more than four seconds
> while the system is in the working state, a hardware event is generated and
the system will transition to the
> soft-off state. This hardware event is called a power button override. In
reaction to the power button
> override event, the hardware clears the power button status bit (PWRBTN_STS).
>
> I would like to know, whether this Power button override feature is available
in the Linux ACPI
> implementation. If it is implemented, where can I find them  and how to use
it?

It's a "hardware" event.  Surely ACPI isn't strictly involved.  I read this as
meaning that ACPI mustn't interfere with such function.  Certainly my Dell
Inspiron will shut off when I hold the power button down for 4 seconds without
generating an ACPI event.



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Query regarding the linux ACPI
       [not found]   ` <012f01c333fe$c23a8270$3746028e-dP0OE4Ef7fWw5LPnMra/2Q@public.gmane.org>
@ 2003-06-16 12:54     ` liste-9nAOAgdJVo4b1SvskN2V4Q
  0 siblings, 0 replies; 7+ messages in thread
From: liste-9nAOAgdJVo4b1SvskN2V4Q @ 2003-06-16 12:54 UTC (permalink / raw)
  To: Derek Broughton; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


On Mon, 16 Jun 2003, Derek Broughton wrote:
> From: "siva" <sivakumar.subramani-uxC5H9eHYlcAvxtiuMwx3w@public.gmane.org>
> Certainly my Dell
> Inspiron will shut off when I hold the power button down for 4 seconds without
> generating an ACPI event.
and thank Good, so does the TM630 ;-)))

cheers
  hartwig felger

Hartwig Felger informatics

-- 
1024D/339FD693 Hartwig Felger <hgfelger-9nAOAgdJVo4b1SvskN2V4Q@public.gmane.org>
Key fingerprint = FB2F 3EE9 345A D55B 6FF2  0EC1 F5B0 684F 339F D693
For the pulic keys, please visit my page.



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Query regarding the linux ACPI
  2003-06-16 11:59 ` Derek Broughton
       [not found]   ` <012f01c333fe$c23a8270$3746028e-dP0OE4Ef7fWw5LPnMra/2Q@public.gmane.org>
@ 2003-06-17 10:33   ` siva
       [not found]     ` <09c601c334bb$d91226c0$2a0806c0-mtNSFjsC3/e12yEdTghClg@public.gmane.org>
  1 sibling, 1 reply; 7+ messages in thread
From: siva @ 2003-06-17 10:33 UTC (permalink / raw)
  To: Derek Broughton, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

That means this option can be programmed in the BIOS and we can have it as
option in the BIOS.
Am I right ?

-Siva

---- Original Message -----
From: "Derek Broughton" <dbroughton-F3m4/jXepmf3fQ9qLvQP4Q@public.gmane.org>
To: <acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Sent: Monday, June 16, 2003 5:29 PM
Subject: Re: [ACPI] Query regarding the linux ACPI


> From: "siva" <sivakumar.subramani-uxC5H9eHYlcAvxtiuMwx3w@public.gmane.org>
>
> > When I was reading the ACPI specification, I found the following
information,
> > The ACPI specification also allows that if the user presses the power
button
> for more than four seconds
> > while the system is in the working state, a hardware event is generated
and
> the system will transition to the
> > soft-off state. This hardware event is called a power button override.
In
> reaction to the power button
> > override event, the hardware clears the power button status bit
(PWRBTN_STS).
> >
> > I would like to know, whether this Power button override feature is
available
> in the Linux ACPI
> > implementation. If it is implemented, where can I find them  and how to
use
> it?
>
> It's a "hardware" event.  Surely ACPI isn't strictly involved.  I read
this as
> meaning that ACPI mustn't interfere with such function.  Certainly my Dell
> Inspiron will shut off when I hold the power button down for 4 seconds
without
> generating an ACPI event.
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now! Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Query regarding the linux ACPI
       [not found]     ` <09c601c334bb$d91226c0$2a0806c0-mtNSFjsC3/e12yEdTghClg@public.gmane.org>
@ 2003-06-17 11:25       ` Adachi, Kenichi
  2003-06-20  3:40         ` Keybaord and power button siva
  0 siblings, 1 reply; 7+ messages in thread
From: Adachi, Kenichi @ 2003-06-17 11:25 UTC (permalink / raw)
  To: 'siva', 'Derek Broughton',
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,

> That means this option can be programmed in the BIOS and we
> can have it as
> option in the BIOS.
> Am I right ?
>

Power button override is done at hardware level as Derek pointed out and
what you have to look into is the Datasheet of your chipset. 

For example, ICH4 Datasheet says:

  2.10 Power Management Interface
  Table 2-10. Power Management Interface Signals

  <Quote>
  PWRBTN#
      :
  If PWRBTN# is pressed for more than 4 seconds, this causes an
unconditional transition (power button override) to the S5 state with
only the PWRBTN# available as a wake event. Override occurs even if the
system is in the S1-S4 states. This signal has an internal pull-up
resistor.
  </Quote>

Thanks,
- Adachi, Kenichi 



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Keybaord and power button.
  2003-06-17 11:25       ` Adachi, Kenichi
@ 2003-06-20  3:40         ` siva
  2003-06-20 12:53           ` Derek Broughton
  0 siblings, 1 reply; 7+ messages in thread
From: siva @ 2003-06-20  3:40 UTC (permalink / raw)
  To: Adachi, Kenichi, 'Derek Broughton',
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,

I have doubt regarding the power button.
With out keyboard connected to the linux machine, Is it possible to do
gracefull shutdown of my machine by just pressing the Power button.

Thanks,
Siva



----- Original Message -----
From: "Adachi, Kenichi" <adachi-fvZ7ij+YLgEZc9YY0SgeQc8NsWr+9BEh@public.gmane.org>
To: "'siva'" <sivakumar.subramani-uxC5H9eHYlcAvxtiuMwx3w@public.gmane.org>; "'Derek Broughton'"
<dbroughton-F3m4/jXepmf3fQ9qLvQP4Q@public.gmane.org>; <acpi-devel@lists.sourceforge.net>
Sent: Tuesday, June 17, 2003 4:55 PM
Subject: RE: [ACPI] Query regarding the linux ACPI


> Hi,
>
> > That means this option can be programmed in the BIOS and we
> > can have it as
> > option in the BIOS.
> > Am I right ?
> >
>
> Power button override is done at hardware level as Derek pointed out and
> what you have to look into is the Datasheet of your chipset.
>
> For example, ICH4 Datasheet says:
>
>   2.10 Power Management Interface
>   Table 2-10. Power Management Interface Signals
>
>   <Quote>
>   PWRBTN#
>       :
>   If PWRBTN# is pressed for more than 4 seconds, this causes an
> unconditional transition (power button override) to the S5 state with
> only the PWRBTN# available as a wake event. Override occurs even if the
> system is in the S1-S4 states. This signal has an internal pull-up
> resistor.
>   </Quote>
>
> Thanks,
> - Adachi, Kenichi
>



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Keybaord and power button.
  2003-06-20  3:40         ` Keybaord and power button siva
@ 2003-06-20 12:53           ` Derek Broughton
  0 siblings, 0 replies; 7+ messages in thread
From: Derek Broughton @ 2003-06-20 12:53 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

From: "siva" <sivakumar.subramani-uxC5H9eHYlcAvxtiuMwx3w@public.gmane.org>
>
> I have doubt regarding the power button.
> With out keyboard connected to the linux machine, Is it possible to do
> gracefull shutdown of my machine by just pressing the Power button.

Usually.  If you have ACPI enabled in the kernel, and you install the acpid
daemon, acpid monitors /proc/acpi/events and, by default, shuts the system down
with  your standard shutdown sequence on a short button press (ie, less than 4
seconds).  ACPI doesn't do this itself, it just sends events and lets something
else choose how to handle them.  Note, the acpid script may need to be tweaked,
as it doesn't necessarily know the correct names of the button events.

In future, please address questions like this to the
acpi-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org list.



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-06-20 12:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-16 11:43 Query regarding the linux ACPI siva
2003-06-16 11:59 ` Derek Broughton
     [not found]   ` <012f01c333fe$c23a8270$3746028e-dP0OE4Ef7fWw5LPnMra/2Q@public.gmane.org>
2003-06-16 12:54     ` liste-9nAOAgdJVo4b1SvskN2V4Q
2003-06-17 10:33   ` siva
     [not found]     ` <09c601c334bb$d91226c0$2a0806c0-mtNSFjsC3/e12yEdTghClg@public.gmane.org>
2003-06-17 11:25       ` Adachi, Kenichi
2003-06-20  3:40         ` Keybaord and power button siva
2003-06-20 12:53           ` Derek Broughton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox