Re: No events when pressing power button
From: Arndt Schoenewald <hidden>
Date: 2002-08-15 15:12:50
Hi Andy, great, another ACPI problem/mystery solved! We are making progress! Now that we found out that calling eisa_set_level_irq(ACPI_IRQ_NUMBER) does turn on ACPI event reporting for some machines, would you please include this call into the ACPI patch proper? I am really looking forward to the current ACPI implementation making it into the 2.4 kernel baseline! Thank you very much for your ongoing efforts! Arndt Andy Grover wrote some days ago:
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.
Arndt Schoenewald wrote yesterday:
I own one of those machines that need eisa_set_level_irq() for some builtin devices, and I have never seen any events coming out of /var/log/acpid so far. The ACPI interrupt is not shared with anything. So I really guess you are right and eisa_set_level_irq(9) might be needed to turn ACPI interrupt reporting on. I'll add this call next time I build a kernel. [The machine is a Gericom 1st Supersonic M6-T (FIC A380 OEM).]
Martin Platter wrote today:
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 :-) Martin
------------------------------------------------------- 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