public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Wrong button event reported when waking up from S1
@ 2003-04-05 15:40 stef
  0 siblings, 0 replies; 4+ messages in thread
From: stef @ 2003-04-05 15:40 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

        Hello,

        I have a problem with 2.4.21pre6+acpi 20030328, when I do
'echo -n 1 >/proc/acpi/sleep' and wake my laptop with the sleep
button, acpi gives a power button (PWRF) event instead of a sleep
button event (SBTN).

cat /proc/acpi/event
button/power PWRF 00000080 00000007
button/power PWRF 00000080 00000008
button/power PWRF 00000080 00000009
button/power PWRF 00000080 0000000a
button/power PWRF 00000080 0000000b
button/power PWRF 00000080 0000000c
button/power PWRF 00000080 0000000d
button/power PWRF 00000080 0000000e
button/power PWRF 00000080 0000000f
button/power PWRF 00000080 00000010
button/power PWRF 00000080 00000011
button/power PWRF 00000080 00000012
button/sleep SBTN 00000080 0000001a <- last button pressed before 
entering S1
button/power PWRF 00000080 00000013 <- event reported

from dmesg:

[ACPI Debug] String: __________________________________
[ACPI Debug] String:
[ACPI Debug] String: Sleep button be pressed: -----
[ACPI Debug] String: __________________________________
 hwsleep-0257 [75] acpi_enter_sleep_state: Entering sleep state [S1]
[ACPI Debug] String: Wake up
   evgpe-0396: *** Error: acpi_ev_gpe_dispatch: No handler or method for 
GPE[D1], disabling event
   evgpe-0396: *** Error: acpi_ev_gpe_dispatch: No handler or method for 
GPE[12], disabling event
   evgpe-0396: *** Error: acpi_ev_gpe_dispatch: No handler or method for 
GPE[13], disabling event
   evgpe-0396: *** Error: acpi_ev_gpe_dispatch: No handler or method for 
GPE[30], disabling event
   evgpe-0396: *** Error: acpi_ev_gpe_dispatch: No handler or method for 
GPE[11], disabling event

Regards,
    Stef



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

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

* RE: Wrong button event reported when waking up from S1
@ 2003-04-07 18:40 Grover, Andrew
  0 siblings, 0 replies; 4+ messages in thread
From: Grover, Andrew @ 2003-04-07 18:40 UTC (permalink / raw)
  To: stef, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> From: stef [mailto:stef-listes-39ZsbGIQGT5GWvitb5QawA@public.gmane.org] 
>         I have a problem with 2.4.21pre6+acpi 20030328, when 
> I do 'echo -n 1 >/proc/acpi/sleep' and wake my laptop with 
> the sleep button, acpi gives a power button (PWRF) event 
> instead of a sleep button event (SBTN).
> 
> cat /proc/acpi/event
> button/power PWRF 00000080 00000007
> button/power PWRF 00000080 00000008
> button/power PWRF 00000080 00000009
> button/power PWRF 00000080 0000000a
> button/power PWRF 00000080 0000000b
> button/power PWRF 00000080 0000000c
> button/power PWRF 00000080 0000000d
> button/power PWRF 00000080 0000000e
> button/power PWRF 00000080 0000000f
> button/power PWRF 00000080 00000010
> button/power PWRF 00000080 00000011
> button/power PWRF 00000080 00000012
> button/sleep SBTN 00000080 0000001a <- last button pressed before 
> entering S1
> button/power PWRF 00000080 00000013 <- event reported

Hmm the button event count makes me think this is somehow a left-over
event from before we entered S1. Thoughts?

Regards -- Andy


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/

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

* RE: Wrong button event reported when waking up from S1
@ 2003-04-16  6:42 Yu, Luming
       [not found] ` <3ACA40606221794F80A5670F0AF15F8427228F-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Yu, Luming @ 2003-04-16  6:42 UTC (permalink / raw)
  To: stef, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Give me 
1)	boot log
2)	/proc/acpi/dsdt
3)	lspci -v
4)	/proc/interrupts
5)	the machine name, motherboard name ..,

Thanks,
Luming

-----Original Message-----
From: stef [mailto:stef-listes-39ZsbGIQGT5GWvitb5QawA@public.gmane.org]
Sent: 2003?4?5? 23:40
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [ACPI] Wrong button event reported when waking up from S1


        Hello,

        I have a problem with 2.4.21pre6+acpi 20030328, when I do
'echo -n 1 >/proc/acpi/sleep' and wake my laptop with the sleep
button, acpi gives a power button (PWRF) event instead of a sleep
button event (SBTN).

cat /proc/acpi/event
button/power PWRF 00000080 00000007
button/power PWRF 00000080 00000008
button/power PWRF 00000080 00000009
button/power PWRF 00000080 0000000a
button/power PWRF 00000080 0000000b
button/power PWRF 00000080 0000000c
button/power PWRF 00000080 0000000d
button/power PWRF 00000080 0000000e
button/power PWRF 00000080 0000000f
button/power PWRF 00000080 00000010
button/power PWRF 00000080 00000011
button/power PWRF 00000080 00000012
button/sleep SBTN 00000080 0000001a <- last button pressed before 
entering S1
button/power PWRF 00000080 00000013 <- event reported

from dmesg:

[ACPI Debug] String: __________________________________
[ACPI Debug] String:
[ACPI Debug] String: Sleep button be pressed: -----
[ACPI Debug] String: __________________________________
 hwsleep-0257 [75] acpi_enter_sleep_state: Entering sleep state [S1]
[ACPI Debug] String: Wake up
   evgpe-0396: *** Error: acpi_ev_gpe_dispatch: No handler or method for 
GPE[D1], disabling event
   evgpe-0396: *** Error: acpi_ev_gpe_dispatch: No handler or method for 
GPE[12], disabling event
   evgpe-0396: *** Error: acpi_ev_gpe_dispatch: No handler or method for 
GPE[13], disabling event
   evgpe-0396: *** Error: acpi_ev_gpe_dispatch: No handler or method for 
GPE[30], disabling event
   evgpe-0396: *** Error: acpi_ev_gpe_dispatch: No handler or method for 
GPE[11], disabling event

Regards,
    Stef



-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
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:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Wrong button event reported when waking up from S1
       [not found] ` <3ACA40606221794F80A5670F0AF15F8427228F-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2003-04-16 22:03   ` stef
  0 siblings, 0 replies; 4+ messages in thread
From: stef @ 2003-04-16 22:03 UTC (permalink / raw)
  To: Yu, Luming; +Cc: stef, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 1901 bytes --]

On Wed, Apr 16, 2003 at 02:42:17PM +0800, Yu, Luming wrote:
> Give me 
> 1)	boot log
> 2)	/proc/acpi/dsdt
> 3)	lspci -v
> 4)	/proc/interrupts
> 5)	the machine name, motherboard name ..,
> 
> Thanks,
> Luming
> 

	Hello,

1+2)	here's boot log (with a S1/wake up event) and raw dsdt

3)
00:00.0 Host bridge: ALi Corporation M1647 Northbridge [MAGiK 1 / MobileMAGiK 1] (rev 04)
00:01.0 PCI bridge: ALi Corporation PCI to AGP Controller
00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:04.0 CardBus bridge: Texas Instruments PCI1420
00:04.1 CardBus bridge: Texas Instruments PCI1420
00:06.0 Bridge: ALi Corporation M7101 PMU
00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
00:08.0 Multimedia audio controller: ESS Technology ES1988 Allegro-1 (rev 12)
00:08.1 Communication controller: ESS Technology ESS Modem (rev 12)
00:0f.0 IDE interface: ALi Corporation M5229 IDE (rev c3)
00:10.0 Ethernet controller: Accton Technology Corporation EN-1216 Ethernet Adapter (rev 11)
01:00.0 VGA compatible controller: Trident Microsystems CyberBlade/XP (rev 63)

4)
           CPU0       
  0:     392759          XT-PIC  timer
  1:       2635          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  5:          2          XT-PIC  Allegro
  8:          3          XT-PIC  rtc
  9:         17          XT-PIC  acpi
 11:      13899          XT-PIC  Texas Instruments PCI1420, Texas Instruments PCI1420 (#2), eth0
 12:      23861          XT-PIC  PS/2 Mouse
 14:       8222          XT-PIC  ide0
 15:         35          XT-PIC  ide1
NMI:          0 
LOC:     392566 
ERR:       5346
MIS:          0

5) It's an HP Pavilion Notebook Model GD, model number N5441


	I also discovered that while in S0, the "multimedia keys" close to
power and sleep buttons do not send any event, but can be used to wake up the
notebook and all send PWRF events.

Regards,
	Stef

[-- Attachment #2: dsdt.gz --]
[-- Type: application/x-gunzip, Size: 4063 bytes --]

[-- Attachment #3: dmesg.gz --]
[-- Type: application/x-gunzip, Size: 4343 bytes --]

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

end of thread, other threads:[~2003-04-16 22:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-05 15:40 Wrong button event reported when waking up from S1 stef
  -- strict thread matches above, loose matches on Subject: below --
2003-04-07 18:40 Grover, Andrew
2003-04-16  6:42 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8427228F-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2003-04-16 22:03   ` stef

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