On Thu, Apr 29, 2010 at 05:40:34AM +0800, joeyli wrote: > It causes userland application (e.g. OSD) need wait 5 seconds safely > time before show up OSD when user press wifi/bluetooth function key. > Why rfkill interface doesn't have show() hook can modify the rfkill > state immediately, don't need wait 5 seconds? Because that implies that userspace has to poll the device in order to get any updates. The intention is that the rfkill interface be event driven. Is there no way to get an event in the driver when the switch status is changed? See dell-laptop.c and hp-wmi.c for examples of this. -- Matthew Garrett | mjg59@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html