<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Op do 27 okt. 2016 om 11:59 schreef Mika Westerberg <<a href="mailto:mika.westerberg@linux.intel.com">mika.westerberg@linux.intel.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Oct 27, 2016 at 09:42:28AM +0000, Rick Kerkhof wrote:<br class="gmail_msg">
> No, there are not. Here is the recursive directory listing:<br class="gmail_msg">
<br class="gmail_msg">
Are you able to try the following patch and send me dmesg (or attach it<br class="gmail_msg">
to that bug)? It should show if the ACPI core even tries to add those<br class="gmail_msg">
power resources.<br class="gmail_msg">
<br class="gmail_msg">
diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c<br class="gmail_msg">
index fcd4ce6f78d5..af9c3e15dd74 100644<br class="gmail_msg">
--- a/drivers/acpi/power.c<br class="gmail_msg">
+++ b/drivers/acpi/power.c<br class="gmail_msg">
@@ -444,6 +444,9 @@ void acpi_power_add_remove_device(struct acpi_device *adev, bool add)<br class="gmail_msg">
if (!adev->power.flags.power_resources)<br class="gmail_msg">
return;<br class="gmail_msg">
<br class="gmail_msg">
+ acpi_handle_info(adev->handle, "Adding power resources for %s\n",<br class="gmail_msg">
+ dev_name(&adev->dev));<br class="gmail_msg">
+<br class="gmail_msg">
for (state = ACPI_STATE_D0; state <= ACPI_STATE_D3_HOT; state++)<br class="gmail_msg">
acpi_power_expose_hide(adev,<br class="gmail_msg">
&adev->power.states[state].resources,<br class="gmail_msg"></blockquote><div><br></div><div>Thank you for the patch, I have applied it to the kernel sources but I'm not sure how to proceed from now on. Should I compile the whole kernel or can I just build an out-of-tree acpi module?</div></div></div>