mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* rfkill events from kernel space
@ 2010-03-25 18:29 Pavan Savoy
  2010-03-25 18:53 ` Pavan Savoy
  0 siblings, 1 reply; 2+ messages in thread
From: Pavan Savoy @ 2010-03-25 18:29 UTC (permalink / raw)
  To: Johannes Berg, Dmitry Torokhov, linux-kernel

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: rfkill events from kernel space
  2010-03-25 18:29 rfkill events from kernel space Pavan Savoy
@ 2010-03-25 18:53 ` Pavan Savoy
  0 siblings, 0 replies; 2+ messages in thread
From: Pavan Savoy @ 2010-03-25 18:53 UTC (permalink / raw)
  To: Johannes Berg, Dmitry Torokhov, linux-kernel

--- On Thu, 25/3/10, Pavan Savoy <pavan_savoy@yahoo.co.in> wrote:

> From: Pavan Savoy <pavan_savoy@yahoo.co.in>
> Subject: rfkill events from kernel space
> To: "Johannes Berg" <johannes@sipsolutions.net>, "Dmitry Torokhov" <dmitry.torokhov@gmail.com>, linux-kernel@vger.kernel.org
> 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@vger.kernel.org
> 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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-25 18:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-25 18:29 rfkill events from kernel space Pavan Savoy
2010-03-25 18:53 ` Pavan Savoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®