public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: No events when pressing power button
@ 2002-08-13 18:33 Grover, Andrew
       [not found] ` <EDC461A30AC4D511ADE10002A5072CAD0236DD85-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Grover, Andrew @ 2002-08-13 18:33 UTC (permalink / raw)
  To: 'Sérgio Monteiro Basto', Tony Glader; +Cc: acpi-devel

> From: Sérgio Monteiro Basto [mailto:sergiomb-5ng0By4jB+/QUPosyRRdSA@public.gmane.org] 
> > I patched my kernel (2.4.18) today with latest version of 
> acpi-patch 
> > (acpi-20020726-2.4.18.diff). My power button gets detected 
> but I dont get 
> > any events from it. I have a ABit BP6 with dual celeron processors.
> > ACPI: Power Button (FF) [PWRF]
> > What could be wrong? I tried latest acpid rpm and 'cat 
> /proc/acpi/event' 
> > without results. Acpid doesn't write nothing to 
> /var/log/acpid when I 
> > press power button. 
> > 
> had you try kacpid patch 
> that detects lost acpi events

Hi,

The problem *may* be that the ACPI interrupt is not being set to active-low,
level-triggered properly (we do this for PCI irqs but not our own ;-)

Is your acpi interrupt shared with any PCI devices? If the above hypothesis
is true, the answer should be "no".

I don't know about people's comfort level with the code, but you might try
adding a call to eisa_set_level_irq(<ACPI irq #>) and seeing if that gets
interrupts happening properly. kacpid should not be necessary but obviously
until SCIs work 100% it remains useful for some people.

Regards -- Andy


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1

^ permalink raw reply	[flat|nested] 14+ messages in thread
* RE: No events when pressing power button
@ 2002-08-15 15:00 Grover, Andrew
       [not found] ` <EDC461A30AC4D511ADE10002A5072CAD0236DD94-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Grover, Andrew @ 2002-08-15 15:00 UTC (permalink / raw)
  To: 'Martin Platter', acpi-devel

> From: Martin Platter [mailto:mxp1-hi6Y0CQ0nG0@public.gmane.org] 
> Hi!
> 
> It works on my Gericom M6T. I have added 
> "eisa_set_level_irq(9);" in the 
> pci_irq.c at line 365.
> Now I get events from LID, Powerbutton and I can even use the special 
> function keys to set the backlight :-)

Very cool.

I think handling both PIC and IOAPIC will make fixing this a little bit of
work, but thanks for confirming the source of the problem.

Thanks -- Regards -- Andy


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: No events when pressing power button
@ 2002-08-03 19:44 tierra.y.libertad-hi6Y0CQ0nG0
  0 siblings, 0 replies; 14+ messages in thread
From: tierra.y.libertad-hi6Y0CQ0nG0 @ 2002-08-03 19:44 UTC (permalink / raw)
  To: Linux ACPI Devel Mailing List
  Cc: Tony.Glader-cP9NhJtB8odr1ooMESYBxBZCeNDtXRbv

On  2 Aug, Tony Glader wrote:
> On Fri, 2 Aug 2002, Aaron Gaudio wrote:
> 
>> If you want to read from /proc/acpi/event directly, kill acpid.
>> Otherwise, the event will be consumed by acpid and you'll never see
>> anything on
>> /proc/acpi/event.
> 
> Of course I killed acpid. Otherwise I just got something like 'Device
> or resource busy'.

Have you already tried an UP kernel without IOAPIC support?
My Dual PII board has the same problem but events are working without
IOAPIC interrupt routing.

> I also noticed that ACPI doesn't power off everytime my computer when
> I shutdown it. About in 50% shutdowns it powers off and 50% doesn't.

Same problem with my board. I posted it here several times, but it seems
that nobody has an idea about its solution.

-- 
Rüdiger
--------------------------------------------------
pgp/gpg public-key at
http://home.htp-tel.de/ruedigerotte/key.html



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 14+ messages in thread
* No events when pressing power button
@ 2002-08-01 21:11 Tony Glader
       [not found] ` <Pine.LNX.4.44.0208020007200.7699-100000-cP9NhJtB8odr1ooMESYBxBZCeNDtXRbv@public.gmane.org>
  2002-08-06  3:27 ` Sérgio Monteiro Basto
  0 siblings, 2 replies; 14+ messages in thread
From: Tony Glader @ 2002-08-01 21:11 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


Hi!

I patched my kernel (2.4.18) today with latest version of acpi-patch 
(acpi-20020726-2.4.18.diff). My power button gets detected but I dont get 
any events from it. I have a ABit BP6 with dual celeron processors.

Acpi reports at boot:

ACPI: Power Button (FF) [PWRF]
ACPI: Processor [CPU] (supports C1)
ACPI: Processor [CPU1] (supports C1)
ACPI: Thermal Zone [THRM] (46 C)

What could be wrong? I tried latest acpid rpm and 'cat /proc/acpi/event' 
without results. Acpid doesn't write nothing to /var/log/acpid when I 
press power button. 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

end of thread, other threads:[~2002-08-16 20:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-13 18:33 No events when pressing power button Grover, Andrew
     [not found] ` <EDC461A30AC4D511ADE10002A5072CAD0236DD85-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
2002-08-13 21:01   ` Arndt Schoenewald
2002-08-15 13:42     ` Martin Platter
     [not found]       ` <3D5BAFD5.2030500-hi6Y0CQ0nG0@public.gmane.org>
2002-08-15 15:12         ` Arndt Schoenewald
     [not found]           ` <20020815151250.GC21746-dzH3swnhYuu5cqaZGqYS/O8dC6aEkcuFVpNB7YpNyf8@public.gmane.org>
2002-08-15 20:23             ` tierra.y.libertad-hi6Y0CQ0nG0
2002-08-15  7:30   ` Tony Glader
  -- strict thread matches above, loose matches on Subject: below --
2002-08-15 15:00 Grover, Andrew
     [not found] ` <EDC461A30AC4D511ADE10002A5072CAD0236DD94-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
2002-08-16  8:04   ` Ducrot Bruno
     [not found]     ` <20020816080416.GB10248-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-08-16 20:58       ` Andreas Koenecke
2002-08-03 19:44 tierra.y.libertad-hi6Y0CQ0nG0
2002-08-01 21:11 Tony Glader
     [not found] ` <Pine.LNX.4.44.0208020007200.7699-100000-cP9NhJtB8odr1ooMESYBxBZCeNDtXRbv@public.gmane.org>
2002-08-02  6:26   ` Aaron Gaudio
     [not found]     ` <20020802022638.A10668-2LEdZMXKCZJeeLb3ft/vUmD2FQJk+8+b@public.gmane.org>
2002-08-02  6:36       ` Tony Glader
2002-08-06  3:27 ` Sérgio Monteiro Basto

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