After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 585765 - Move killswitch code to /dev/rfkill
Move killswitch code to /dev/rfkill
Status: RESOLVED FIXED
Product: gnome-bluetooth
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-bluetooth-general-maint@gnome.bugs
gnome-bluetooth-general-maint@gnome.bugs
: 578957 579474 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-06-14 18:42 UTC by Bastien Nocera
Modified: 2009-07-30 19:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2009-06-14 18:42:07 UTC
As available in the 2.6.31 kernels.
Comment 1 Bastien Nocera 2009-06-14 19:22:15 UTC
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.
Comment 2 Bastien Nocera 2009-07-22 04:24:49 UTC
*** Bug 578957 has been marked as a duplicate of this bug. ***
Comment 3 Bastien Nocera 2009-07-22 04:24:50 UTC
*** Bug 579474 has been marked as a duplicate of this bug. ***
Comment 4 Bastien Nocera 2009-07-30 19:55:02 UTC
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.