On Thu, Apr 29, 2010 at 06:06:39AM +0800, joeyli wrote: > And I want do the same thing in msi-laptop driver, but MSI BIOS send > keycode but not wmi event. So, I think I will reference the > rfkill-input.c to add a simply input handler to msi-laptop driver. > When it capture the RFKILL_TYPE_WLAN/RFKILL_TYPE_BLUETOOTH, it will > query the -REAL- hardware block then update rfkill state. Does the firmware automatically update the state when the key is pressed and the keycode sent? If so, check out the i8042_filter code in dell-laptop.c. -- 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