Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1312483

Re: [PATCH 5/8] rfkill: Remove obsolete "state" sysfs interface

From Johannes Berg <johannes@sipsolutions.net>
Newsgroups linux.kernel
Subject Re: [PATCH 5/8] rfkill: Remove obsolete "state" sysfs interface
Date 2016-01-19 21:20 +0100
Message-ID <qSKUW-4lv-13@gated-at.bofh.it> (permalink)
References <qSGHE-1px-5@gated-at.bofh.it> <qSGHE-1px-3@gated-at.bofh.it> <qSKUW-4lv-15@gated-at.bofh.it> <qSGHE-1px-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 2016-01-19 at 10:42 -0500, João Paulo Rechi Vita wrote:
> This was schedule to be removed in 2014 by:

> -For details to this subsystem look at Documentation/rfkill.txt.
> -
> -What:		/sys/class/rfkill/rfkill[0-9]+/state
> -Date:		09-Jul-2007
> -KernelVersion	v2.6.22
> -Contact:	linux-wireless@vger.kernel.org
> -Description: 	Current state of the transmitter.
> -		This file is deprecated and scheduled to be removed
> in 2014,
> -		because its not possible to express the 'soft and
> hard block'
> -		state of the rfkill driver.
> -Values: 	A numeric value.
> -		0: RFKILL_STATE_SOFT_BLOCKED
> -			transmitter is turned off by software
> -		1: RFKILL_STATE_UNBLOCKED
> -			transmitter is (potentially) active
> -		2: RFKILL_STATE_HARD_BLOCKED
> -			transmitter is forced off by something
> outside of
> -			the driver's control.

I suspect that nevertheless, we can't just remove it - Googling around
shows quite a bit of (e.g. Android) code using it.

johannes

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 5/8] rfkill: Remove obsolete "state" sysfs interface "João Paulo Rechi Vita" <jprvita@gmail.com> - 2016-01-19 16:50 +0100
  Re: [PATCH 5/8] rfkill: Remove obsolete "state" sysfs interface Johannes Berg <johannes@sipsolutions.net> - 2016-01-19 21:20 +0100
    Re: [PATCH 5/8] rfkill: Remove obsolete "state" sysfs interface João Paulo Rechi Vita <jprvita@gmail.com> - 2016-01-19 21:40 +0100
      Re: [PATCH 5/8] rfkill: Remove obsolete "state" sysfs interface Johannes Berg <johannes@sipsolutions.net> - 2016-01-19 21:50 +0100

csiph-web