# Re: \[RESEND PATCH 1/3\] rfkill: Create "rfkill-airplane-mode" LED trigger

- From: Pavel Machek \<hidden\>
- Date: 2016-05-04 07:29:42 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2016/05/4745186
- Thread: https://ratatoskr.run/linux-wireless/2016/05/4743428/t.md

```text
Hi!

> This creates a new LED trigger to be used by platform drivers as a
> default trigger for airplane-mode indicator LEDs.
> 
> By default this trigger will fire when RFKILL_OP_CHANGE_ALL is called
> for all types (RFKILL_TYPE_ALL), setting the LED brightness to LED_FULL
> when the changing the state to blocked, and to LED_OFF when the changing
> the state to unblocked. In the future there will be a mechanism for
> userspace to override the default policy, so it can implement its
> own.

If userspace wants to control the manually, it can do just that --
control it manually. There should not be a need to "override the
default policy".
								Pavel
								
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
```
