GNOME Bugzilla – Bug 585765
Move killswitch code to /dev/rfkill
Last modified: 2009-07-30 19:55:02 UTC
As available in the 2.6.31 kernels.
See example code in rfkill.c: http://git.sipsolutions.net/gitweb.cgi?p=rfkill.git;a=summary This would need to be wrapped in GObject, and with the mainloop for events. The current API in lib/bluetooth-killswitch.[ch] should be re-usable.
*** Bug 578957 has been marked as a duplicate of this bug. ***
*** Bug 579474 has been marked as a duplicate of this bug. ***
commit 822c0ba3d02183cbac571dcc01f1b234d355c851 Author: Bastien Nocera <hadess@hadess.net> Date: Thu Jul 30 20:47:15 2009 +0100 Bug 585765 – Move killswitch code to /dev/rfkill Port the killswitch code to using rfkill sub-system in newer kernels. Note that your distribution will need to ship udev rules to allow normal users to change the killswitch state.