http://bugzilla.kernel.org/show_bug.cgi?id=11428





------- Comment #9 from [EMAIL PROTECTED]  2008-08-27 10:21 -------
Created an attachment (id=17482)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=17482&action=view)
dmesg

(In reply to comment #2)
> Will you please try the attached debug patch on the latest kernel and see
> whether the LID event can be triggered when the LID switch is pressed?
> 
> After the system is booted, please do the following test.
>   a. kill the process who is using the /proc/acpi/event ( use the command of
> "lsof /proc/acpi/event" to get who is using the /proc/acpi/event)
>   b. cat /proc/acpi/event 
>   c. press the LID switch several times and see whether the LID event is
> triggered.

(In reply to comment #4)
> Sorry that I attach the incorrect patch in comment #2.
> Please try the debug patch and see whether the problem still exists.

I patched 2.6.27-rc4 with the patch from comment #4. I compiled the kernel with
CONFIG_ACPI_DEBUG=y configuration option. I booted with parameters
"acpi.debug_layer=0x00090004 acpi.debug_level=0x01f".

The result is that I get several "BUG: scheduling while atomic" messages and
when I press the LID switch and hold it down at least for 5 seconds, the event
is not reported using "cat /proc/acpi/event". However, when I press the power
buotton shortly this event is reported through "cat /proc/acpi/event" (acpid
was killed before).

The "cat /proc/acpi/button/lid/LID/state" still works correctly, I guess this
use a different mechanism.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to