On Wed, Dec 10, 2008 at 07:05:43PM +0100, Johannes Berg wrote: > Does the wireless driver get the notification about this from the > hardware, like it would if this was a real physical switch? Yes. > Then it's probably pretty simple: provide a rfkill struct from the > driver that updates hard-kill and provide a second rfkill struct for > the platform device that doesn't get hard-killed, but also provide a > soft-kill input form the platform device. That way, you can toggle > that button, but you can also software-enable the platform rfkill > device and that in turn re-enables the wifi-rfkill "hw" switch device. Right. That's prety close to the current situation. > If we need to tie them together in software it gets more complicated > though. I think we can avoid that, thankfully. -- Matthew Garrett | mjg59@xxxxxxxxxxxxx -- 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