public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PM]No ACPI interrupts after resume from S1
       [not found]     ` <20031020184750.GA26154-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
@ 2003-10-23  8:24       ` Pavel Machek
  0 siblings, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2003-10-23  8:24 UTC (permalink / raw)
  To: M?ns Rullg?rd, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

Hi!


> > working.  Normally, they will generate an ACPI event, that is
> > processed by acpid etc.  After a suspend, each button will work once.
> > If I then close and open the lid, they will work one more time, and so
> > on.  Any way I can help?
> 
> Please specify the type of suspend. The situation I described only occurs
> for S1 (or, echo -n standby, more specifically), and only in certain kernel
> versions.

Find out which versions break it, pay special atetion to
hwsleep.c.
-- 
				Pavel
Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...



-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/

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

* Re: [PM]No ACPI interrupts after resume from S1
       [not found]                     ` <1067039997.2114.16.camel-udXHSmD1qAy4CTf7w+cZoA@public.gmane.org>
@ 2003-10-25 19:58                       ` Pavel Machek
  0 siblings, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2003-10-25 19:58 UTC (permalink / raw)
  To: Nigel Cunningham; +Cc: M?ns Rullg?rd, Linux Kernel Mailing List, ACPI List

Hi!

> Some modules cause problems. If I suspend with the intel-agp driver
> loaded, for example, the computer reboots when copying the original
> kernel back, because the hardware state doesn't match. I can suspend and
> resume my i830 based laptop just fine without it. Once the right changes
> are made to the driver, the module will work, but not yet.
> 
> Pavel, excuse me for jumping in here.

No problem, I'm actually tired of replying to all those mails myself
;-).

									Pavel

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/

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

* RE: [PM][ACPI] No ACPI interrupts after resume from S1
@ 2003-10-27  8:56 Yu, Luming
       [not found] ` <3ACA40606221794F80A5670F0AF15F8401720B67-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Yu, Luming @ 2003-10-27  8:56 UTC (permalink / raw)
  To: Karol Kozimor
  Cc: Pavel Machek, M?ns Rullg?rd,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

I made a mistake in using base_number. Would you please have updated patch a try?
Thanks a lot. --Luming


-----Original Message-----
From: Karol Kozimor [mailto:sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org]
Sent: 2003?10?27? 5:41
To: Yu, Luming
Cc: Pavel Machek; M?ns Rullg?rd; acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org; linux-kernel@vger.kernel.org
Subject: Re: [PM][ACPI] No ACPI interrupts after resume from S1


Thus wrote Yu, Luming:
> Would you please try patch at http://bugme.osdl.org/show_bug.cgi?id=1409

Hi,
The patch makes my kernel oops on resume:
hdc: completing PM  request, resume
  hwregs-0760 [56] hw_low_level_read     : Unsupported address space: 90
  hwregs-0760 [56] hw_low_level_read     : Unsupported address space: A0
  hwregs-0760 [56] hw_low_level_read     : Unsupported address space: 24
  hwregs-0760 [56] hw_low_level_read     : Unsupported address space: C8
  hwregs-0760 [56] hw_low_level_read     : Unsupported address space: E0
  hwregs-0760 [56] hw_low_level_read     : Unsupported address space: F0
  hwregs-0760 [56] hw_low_level_read     : Unsupported address space:  4
Unable to handle kernel paging request at virtual address 70677679
 printing eip:
c020c44c
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<c020c44c>]   Not tainted
EFLAGS: 00010206
EIP is at acpi_hw_lowlevel_read+0x30/0x122
eax: c02e6344   ebx: cffd6408   ecx: cfc51e88   edx: 00000010
esi: 70677671   edi: cfc51e90   ebp: 00000008   esp: cfc51e58
ds: 007b   es: 007b   ss: 0068
Process bash (pid: 304, threadinfo=cfc50000 task=c1368a0)
Stack: 00000130 c021c9b8 00000002 c02e6499 c02e6344 c02f6720 cffd6408 cfe3b228
       000001e0 00000001 c020b6b2 00000008 cfc51e90 70677671 c0311650 00000018
       c020b9c2 cffd6408 00000010 00000000 00000000 cfc51ebc c02da521 00000001
Call Trace:
 acpi_ut_acquire_mutex+0xc0/0x16b
 acpi_hw_enable_gpe+0x1e/0x44
 acpi_hw_enable_ec_gpes+0x7f0x85
 acpi_leave_sleep_state+0x119/0x13e
 dpm_resume+0x34/0x5a
 acpi_pm_finish+0xb/0x38
 [...]

Code: 8b 56 08 8b 46 04 89 d1 09 c1 75 0a 31 c0 83 c4 18 5b 5c 5f
[hand typed, but at least the traces should be OK]

Best regards,

-- 
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org

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

* Re: [PM]No ACPI interrupts after resume from S1
       [not found] ` <3ACA40606221794F80A5670F0AF15F8401720B67-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2003-10-27 17:02   ` Karol Kozimor
  0 siblings, 0 replies; 4+ messages in thread
From: Karol Kozimor @ 2003-10-27 17:02 UTC (permalink / raw)
  To: Yu, Luming
  Cc: Pavel Machek, M?ns Rullg?rd,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

Thus wrote Yu, Luming:
> I made a mistake in using base_number. Would you please have updated patch a try?
> Thanks a lot. --Luming

The updated patch fixes the issue, the interrupts now still occur after S1
resume.
Thanks,

-- 
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/

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

end of thread, other threads:[~2003-10-27 17:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-27  8:56 [PM][ACPI] No ACPI interrupts after resume from S1 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401720B67-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2003-10-27 17:02   ` [PM]No " Karol Kozimor
  -- strict thread matches above, loose matches on Subject: below --
2003-10-20 14:15 [PM][ACPI] No " Karol Kozimor
2003-10-20 14:32 ` Måns Rullgård
2003-10-20 18:47   ` Karol Kozimor
2003-10-20 19:08     ` Måns Rullgård
2003-10-23  8:25       ` Pavel Machek
2003-10-24  9:11         ` Måns Rullgård
2003-10-24 10:24           ` Nick Piggin
2003-10-24 15:14             ` Måns Rullgård
2003-10-24 22:23               ` Pavel Machek
2003-10-24 22:45                 ` Måns Rullgård
2003-10-24 23:59                   ` Nigel Cunningham
     [not found]                     ` <1067039997.2114.16.camel-udXHSmD1qAy4CTf7w+cZoA@public.gmane.org>
2003-10-25 19:58                       ` [PM]No " Pavel Machek
     [not found]     ` <20031020184750.GA26154-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2003-10-23  8:24       ` Pavel Machek

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