Re: Why rfkill interface doesn't have show() hook

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux