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





--- Comment #1 from Christian Borntraeger <borntrae...@de.ibm.com>  2009-05-25 
18:10:12 ---
Created an attachment (id=21542)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=21542)
dmesg output

Got this dmesg output of a working kernel (2.6.30-rc6-git-00026-g0f6f49a + this
hunk)
@@ -110,8 +110,13 @@ static int pnpacpi_disable_resources(struct pnp_dev *dev)

        /* acpi_unregister_gsi(pnp_irq(dev, 0)); */                           
        ret = 0;                                                              
-       if (acpi_bus_power_manageable(handle))
-               acpi_bus_set_power(handle, ACPI_STATE_D3);
+       if (acpi_bus_power_manageable(handle)) {
+               ret =acpi_bus_set_power(handle, ACPI_STATE_D3);
+               if (ret) {
+                       printk("--------acpi pnp returned %d\n", ret);
+                       return ret;
+               }
+       }
                /* continue even if acpi_bus_set_power() fails */
        if (ACPI_FAILURE(acpi_evaluate_object(handle, "_DIS", NULL, NULL)))
                ret = -ENODEV;


Please note that the printk does not trigger. Since dmesg contains 
"ACPI handle has no context!" the first if might be even false - will check.
In that case we have a change in behaviour:

in one case acpi_evaluate_object is called, in the other case it is not. Dont
know if that matters.

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to