Comment 5 for bug 180598

Revision history for this message
Steve Langasek (vorlon) wrote :

The reason for assuming a device is off by default is that this function's purpose is to check whether there are wireless devices powered on *that can be turned off*. If the device can't be powered off because there's no interface for doing so, then reporting it as being "on" gives the wrong results and will prevent acpi-support from ever powering any /other/ wireless devices in the system back on.

This is a corner case; nevertheless it's one that the previous code handles correctly and the new code does not.

The code should also probably not try to check the status of hardware kill switches, since attempting to honor them would also break the "toggle" functionality here in acpi-support - after all, you can't toggle a hardware kill switch from software. :)