Skip to contentSkip to conversation

rfkill events from kernel space

DISCUSSION Pavan Savoy 1 participant 2 messages Mar 25, 2010

lore
Share & tools
lore
#0 lore raw

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/

#1 lore raw
Quoted 15 lines · Pavan Savoy

From: Pavan Savoy <[email protected]>
Subject: rfkill events from kernel space
To: "Johannes Berg" <[email protected]>, "Dmitry Torokhov" <[email protected]>, [email protected]
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.

Quoted 8 lines

      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 [email protected]
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/