* Proper way to enable ACPI_DEBUGGER; debugging lack of ac online/offline updates
@ 2006-08-05 0:22 Eric Anderson
2006-08-05 10:20 ` Alexey Starikovskiy
0 siblings, 1 reply; 2+ messages in thread
From: Eric Anderson @ 2006-08-05 0:22 UTC (permalink / raw)
To: linux-acpi
I've been trying to figure out what is going wrong with Linux ACPI
support on the HP nw9440. One of the problems that I've had is that
when the AC adapter is removed, the acpi status doesn't get updated.
I have discovered that if I boot with 2.6.14, wait for it to hang, and
then reboot with 2.6.17.7, I have functional notification of the AC
adapter state changes.
I'm attempting to work out what the difference is between these two
runs, and I have found a first difference that in the non-working
case, acpi_ex_opcode_2A_0T_0R is called which queues a deferred
execution, and prints out the message "bus_get_device: No context for
object [...]". In the working case, that path is never executed.
I'm trying to figure out what the difference is between the AML that
gets executed along the two paths, and near as I can tell, if I could
enable ACPI_DEBUGGER, I would get the trace of executed AML, and I
could start working out what is going wrong. However, I can't find
any kernel config option to enable ACPI_DEBUGGER, and all of my google
searches around that haven't found anything that describes how it
should work, nor has wandering around the acpi4linux wiki, other
acpi4linux web pages, nor the mailing list archives.
I therefore have three questions:
a) what is the proper way to enable ACPI_DEBUGGER option
b) will it print out a trace of executed AML as I'm expecting
c) is there some other debugging path that I should be trying to get
this to work?
Thanks, please CC me directly as I'm not subscribed to the linux-acpi
mailing list.
-Eric
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Proper way to enable ACPI_DEBUGGER; debugging lack of ac online/offline updates
2006-08-05 0:22 Proper way to enable ACPI_DEBUGGER; debugging lack of ac online/offline updates Eric Anderson
@ 2006-08-05 10:20 ` Alexey Starikovskiy
0 siblings, 0 replies; 2+ messages in thread
From: Alexey Starikovskiy @ 2006-08-05 10:20 UTC (permalink / raw)
To: Eric Anderson; +Cc: linux-acpi
You might as well check if bugzilla.kernel.org bug #5534 is related to your problem.
Enabling ACPI_DEBUG
1. you enable ACPI debugging in ACPI menu of kernel config
2. you write different values to /proc/acpi/acpi_debug_layer and acpi_debug_level.
Regards,
Alex.
Eric Anderson wrote:
> I've been trying to figure out what is going wrong with Linux ACPI
> support on the HP nw9440. One of the problems that I've had is that
> when the AC adapter is removed, the acpi status doesn't get updated.
> I have discovered that if I boot with 2.6.14, wait for it to hang, and
> then reboot with 2.6.17.7, I have functional notification of the AC
> adapter state changes.
>
> I'm attempting to work out what the difference is between these two
> runs, and I have found a first difference that in the non-working
> case, acpi_ex_opcode_2A_0T_0R is called which queues a deferred
> execution, and prints out the message "bus_get_device: No context for
> object [...]". In the working case, that path is never executed.
>
> I'm trying to figure out what the difference is between the AML that
> gets executed along the two paths, and near as I can tell, if I could
> enable ACPI_DEBUGGER, I would get the trace of executed AML, and I
> could start working out what is going wrong. However, I can't find
> any kernel config option to enable ACPI_DEBUGGER, and all of my google
> searches around that haven't found anything that describes how it
> should work, nor has wandering around the acpi4linux wiki, other
> acpi4linux web pages, nor the mailing list archives.
>
> I therefore have three questions:
> a) what is the proper way to enable ACPI_DEBUGGER option
> b) will it print out a trace of executed AML as I'm expecting
> c) is there some other debugging path that I should be trying to get
> this to work?
>
> Thanks, please CC me directly as I'm not subscribed to the linux-acpi
> mailing list.
> -Eric
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-05 10:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-05 0:22 Proper way to enable ACPI_DEBUGGER; debugging lack of ac online/offline updates Eric Anderson
2006-08-05 10:20 ` Alexey Starikovskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).