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

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

On Wed, May 05, 2010 at 09:34:45AM -0600, Joey Lee wrote:

> In some MSI netbook, like N034, it will need userland to call rfkill
> interface for enable/disable H/W module power and LED by using EC
> command.
> And, some MSI netbook, like N014/N051, the BIOS will change the H/W
> state when user press wifi function key.
> I am sure rfkill-input was also call .set_block and causes race
> condition with userland application or BIOS.

Any userspace rfkill agent has to disable rfkill-input first. The 
question is what to do in your case in order to consume the event before 
it's sent to userspace. Let me think about 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

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

Add to Google