Dan Williams wrote :
On Tue, 2008-06-24 at 19:06 +0200, Fabien Crespel wrote:
Indeed, I think it would be better to let the driver choose the default state
(initialization) instead of forcing it when registering. This would allow drivers
to restore the device state after a reboot or shutdown (provided the firmware
stores it, which is the case at least on my ASUS F3JC laptop).
Do you mean your laptop BIOS stores the value in nvram somewhere? What
specific driver reads that value back out?
Dan
Yes, the laptop BIOS stores the value. Reading it back is done the same
way as reading the WLAN/BT status later (through an ACPI method), so the
driver only has to read and write the status at initialization to
restore the device status & LEDs (because the reported status doesn't
reflect the hardware status at boot time).
- Fabien.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html