Re: rfkill events from kernel space

From: Pavan Savoy
Date: Thu Mar 25 2010 - 14:54:12 EST


--- On Thu, 25/3/10, Pavan Savoy <pavan_savoy@xxxxxxxxxxx> wrote:

> From: Pavan Savoy <pavan_savoy@xxxxxxxxxxx>
> Subject: rfkill events from kernel space
> To: "Johannes Berg" <johannes@xxxxxxxxxxxxxxxx>, "Dmitry Torokhov" <dmitry.torokhov@xxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx
> Date: Thursday, 25 March, 2010, 11:59 PM
> How do I send an rfkill event upon
> device /dev/rfkill from kernel space ?
>
> An action upon my driver, should break the poll on
> /dev/rfkill from a user-space daemon, but sending an
> OP_CHANGE event.
>
> As I've seen only writing blocked/non-blocked on the sysfs
> entry of an rfkill device generates an rfkill event.
>
>
>       Your Mail works best with the New
> Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/


Please ignore the above message, if you haven't already.
set_sw_state or set_hw_state should have called set_events.



The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/