Re: [PATCHv2 00/10] RFKill airplane-mode indicator

From: Dan Williams
Date: Mon Feb 22 2016 - 12:00:27 EST


On Mon, 2016-02-22 at 11:36 -0500, JoÃo Paulo Rechi Vita wrote:
> This series implements an airplane-mode indicator LED trigger, which
> can be
> used by platform drivers. The default policy have have airplane-mode
> set when
> all the radios known by RFKill are OFF, and unset otherwise. This
> policy can be
> overwritten by one single userspace application at a time using the
> operations
> _AIRPLANE_MODE_INDICATOR_ACQUIRE and _AIRPLANE_MODE_INDICATOR_CHANGE.
>
Double-check your commit messages on some of these patches; they didn't
get updated to add INDICATOR.

Dan

> When the
> airplane-mode indicator state changes, userspace gets notifications
> through the
> RFKill control misc device (/dev/rfkill).
>
> The series also contains a few general fixes and improvements to the
> subsystem.
>
> Additionally, I have a couple of patches to have this feature
> supported by the
> userspace tool 'rfkill' [1]. Should I use a different subject prefix
> to help
> separate those from kernel patches in linux-wireless?
>
> [1] https://wireless.wiki.kernel.org/en/users/documentation/rfkill
>
> JoÃo Paulo Rechi Vita (10):
> Â rfkill: Improve documentation language
> Â rfkill: Remove extra blank line
> Â rfkill: Point to the correct deprecated doc location
> Â rfkill: Move "state" sysfs file back to stable
> Â rfkill: Factor rfkill_global_states[].cur assignments
> Â rfkill: Add documentation about LED triggers
> Â rfkill: Create "rfkill-airplane-mode" LED trigger
> Â rfkill: Use switch to demux userspace operations
> Â rfkill: Userspace control for airplane mode
> Â rfkill: Notify userspace of airplane-mode state changes
>
> ÂDocumentation/ABI/obsolete/sysfs-class-rfkill |ÂÂ20 ----
> ÂDocumentation/ABI/stable/sysfs-class-rfkillÂÂÂ|ÂÂ27 ++++-
> ÂDocumentation/rfkill.txtÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ17 +++
> Âinclude/uapi/linux/rfkill.hÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂ6 +
> Ânet/rfkill/core.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ| 162
> ++++++++++++++++++++------
> Â5 files changed, 173 insertions(+), 59 deletions(-)
> Âdelete mode 100644 Documentation/ABI/obsolete/sysfs-class-rfkill
>