public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Button problems
@ 2005-04-09 22:19 Hadmut Danisch
       [not found] ` <20050409221927.GA28709-kdZ+H/N/Ve2ELgA04lAiVw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Hadmut Danisch @ 2005-04-09 22:19 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,

I have two more problems (kernel 2.4.11.7, intel based notebooks), 
with buttons:


- HP nx7000:

  suspend to ram works. To wake the computer up I have to 
  press the main power button. The computer wakes up. But as
  soon as everything is restored the ACPI routines detect 
  that the power button had been pressed (the one to wake it up) and 
  act as if the power button was pressed: The linux is shut down
  (halt), which is obviously not what was expected. 



- MSI S260:

  The S260 has three buttons: Power button, Lid button, and 
  Sleep button (Fn+F12 "Zz"). /proc/acpi/button says that 
  all three buttons are recognized under ACPI. Power and Lid work, 
  but when the sleep button is pressed just nothing happens. 
  No log entry, no event, the acpid does not even wake up.

  Any idea?  (under WindowsXP it works...)



regards
Hadmut





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

* Re: Button problems
       [not found] ` <20050409221927.GA28709-kdZ+H/N/Ve2ELgA04lAiVw@public.gmane.org>
@ 2005-04-10 11:30   ` Stefan Dösinger
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Dösinger @ 2005-04-10 11:30 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: Hadmut Danisch


> - HP nx7000:
>
>   suspend to ram works. To wake the computer up I have to
>   press the main power button. The computer wakes up. But as
>   soon as everything is restored the ACPI routines detect
>   that the power button had been pressed (the one to wake it up) and
>   act as if the power button was pressed: The linux is shut down
>   (halt), which is obviously not what was expected.
You have to edit your acpid scripts(the one which handle the power button and 
the sleep button)
Method A is to disable any actions done on power button events. Method B is to 
create some marker in the suspend script, e.g. a file in /tmp or /dev/shm, 
before suspend. The power button handler checks for this file. If it's there 
it delets it, otherwise it shuts down the system

>
> - MSI S260:
>
>   The S260 has three buttons: Power button, Lid button, and
>   Sleep button (Fn+F12 "Zz"). /proc/acpi/button says that
>   all three buttons are recognized under ACPI. Power and Lid work,
>   but when the sleep button is pressed just nothing happens.
>   No log entry, no event, the acpid does not even wake up.
>
>   Any idea?  (under WindowsXP it works...)
No Idea here. Sorry. Broken DSDT?

Stefan


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

end of thread, other threads:[~2005-04-10 11:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-09 22:19 Button problems Hadmut Danisch
     [not found] ` <20050409221927.GA28709-kdZ+H/N/Ve2ELgA04lAiVw@public.gmane.org>
2005-04-10 11:30   ` Stefan Dösinger

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