public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: broken power button
@ 2004-02-06 17:17 Yu, Luming
       [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB686-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Yu, Luming @ 2004-02-06 17:17 UTC (permalink / raw)
  To: Greg Sarjeant, Scott T. Smith; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> > I applied the patch; I think ACPI should report a warning 
> in this case. 

I suspect that patch is not necessary.

IAccording to the description of ACPI spec section 4.7.2.2.1.1
there should have SCI interrupt triggered by Fixed Power Button.

To verify whether Fixed Power Button works as expected, you 
can just hit power button , and check /proc/interrupts to see whether
ACPI interrupt number get increased. 

--Luming


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: broken power button
@ 2004-02-11  8:02 Yu, Luming
  0 siblings, 0 replies; 9+ messages in thread
From: Yu, Luming @ 2004-02-11  8:02 UTC (permalink / raw)
  To: greg, Scott T. Smith; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


> 
> I can confirm this behavior on my machine as well.

You need to check:
1. Whether a fixed event can be detected  . (Please refer
acpi_ev_fixed_event_detect in drivers/acpi/events/evevent.c)
2. try to comment  out below codes in acpi_button_notify
(drivers/acpi/button.c)
	if (!button || !button->device)
		return_VOID.

--Luming


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

^ permalink raw reply	[flat|nested] 9+ messages in thread
* broken power button
@ 2004-02-06  2:55 Scott T. Smith
       [not found] ` <1076036158.4792.12.camel-3lu5YwujmwObGSPjaX/RoA@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Scott T. Smith @ 2004-02-06  2:55 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org

APM will let me suspend to RAM and restore, but the touchpad is broken
the whole time.

So I'm trying ACPI -- ACPI seems to suspend successfully, but it will
not wake up.  I have to unplug the battery and power supply for 10+
minutes to reset it.

I think it's related to the power button.  I notice that the power
button does not generate any events via acpid (but if I close the lid,
or press Fn-ESC, then I do see events).  However, if I hold the power
button down for 4 seconds, the machine does shut off immediately. 
(Holding it down for 4+ seconds while frozen does nothing).

In tracing this further, I noticed that the ASL lists the button 'PWRB',
while ACPI (via dmesg) lists the button 'PWRF'.  I think (can someone
clarify this?) that this is the difference between a "fixed hardware
power button" and a "control method power button."

I tried renaming all references to PWRB to PWRF and recompiling, but
that did no good.  I think (again, can someone clarify this?) that I
need to set the PWR_BUTTON flag, but I don't know how to do that.  There
is a reference to SLP_BUTTON in the dsdt.asl file, but it's in a
comment.

Am I on the right track here?

oh, specs:  2.6.2-rc2-mm1 (ACPI v20040116), Dell Lattitude X200 (P3M
800), patched DSDT to cope with battery issue.

	Scott



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

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

end of thread, other threads:[~2004-02-11  8:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-06 17:17 broken power button Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB686-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-02-06 17:38   ` Scott T. Smith
     [not found]     ` <1076089128.4731.1.camel-3lu5YwujmwObGSPjaX/RoA@public.gmane.org>
2004-02-06 17:53       ` greg
2004-02-06 17:53   ` Scott T. Smith
  -- strict thread matches above, loose matches on Subject: below --
2004-02-11  8:02 Yu, Luming
2004-02-06  2:55 Scott T. Smith
     [not found] ` <1076036158.4792.12.camel-3lu5YwujmwObGSPjaX/RoA@public.gmane.org>
2004-02-06  3:33   ` Greg Sarjeant
     [not found]     ` <1076038435.5849.8.camel-bi+AKbBUZKZeoWH0uzbU5w@public.gmane.org>
2004-02-06  5:07       ` Scott T. Smith
     [not found]         ` <1076044045.4744.10.camel-3lu5YwujmwObGSPjaX/RoA@public.gmane.org>
2004-02-06 12:46           ` Greg Sarjeant

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