[Kde-hardware-devel] Review Request 102983: Added support for rfkill

RĂ¼diger Sonderfeld ruediger at c-plusplus.de
Mon Jul 13 21:35:32 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/102983/
-----------------------------------------------------------

(Updated jul. 13, 2015, 9:35 p.m.)


Status
------

This change has been discarded.


Review request for Plasma and Solid.


Repository: libbluedevil


Description
-------

rfkill is a subsystem of the Linux Kernel to disable radio transmitters (including Bluetooth). This patch adds support for rfkill to libbluedevil. An interface is added to the Manager class.

rfkill support is important because gnome uses rfkill to deactivate bluetooth. Therefore if bluetooth is currently disabled in the gnome-control-center it can not be used by kde. With this patch the proper API to reenable bluetooth is provided.

Disabling bluetooth with rfkill has the advantage that some computers switch off the bluetooth LED. Which does not happen (at least on my Thinkpad) if it's just powered off (as kde does at the moment).

rfkill can also detect if bluetooth has been deactivated by a hardware switch.

btw. please mark https://gitorious.org/libbluedevil/libbluedevil as obsolete and update http://projects.ufocoders.com/projects/libbluedevil/wiki. I used the old gitorious code base at first.


Diffs
-----

  bluedevil/bluedevilmanager.h 0386b8e 
  bluedevil/bluedevilmanager.cpp 594d3bd 
  bluedevil/test/bluedeviltest.cpp 2d3d0e2 

Diff: https://git.reviewboard.kde.org/r/102983/diff/


Testing
-------

I added a test to bluedeviltest and it works for me.


Thanks,

RĂ¼diger Sonderfeld

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20150713/3658a2fe/attachment.html>


More information about the Kde-hardware-devel mailing list