All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bastien Nocera <hadess@hadess.net>
To: johannes@sipsolutions.net, linux-wireless@vger.kernel.org
Subject: How to revert RFKILL_IOC_NOINPUT ioctl?
Date: Tue, 12 Jan 2016 13:05:32 +0100	[thread overview]
Message-ID: <1452600332.17103.10.camel@hadess.net> (raw)

Hey,

I recently implemented support for rfkill multimedia/keyboard keys in
GNOME:
http://www.hadess.net/2016/01/support-for-airplane-mode-keys.html

But, as my laptop doesn't have those keys (or rather it does have them,
but they're not supported by the thinkpad kernel driver), I assigned
the functionality temporarily to other keys. It worked well enough.

I realised looking at the rfkill kernel configuration, and noticed that
it wasn't possible to disable CONFIG_RFKILL_INPUT without enabling the
expert mode. "Why" would be the first question in this mail.

See https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org/thread/FWCOCU2ODZHK7AQVOWSFJLBXL744LYNO/

To make my GNOME code work, I'd need to disable rfkill-input. But if I
still wanted to allow rfkill-input to work when GNOME isn't running,
such as when switching to a console, or another less-capable desktop
environment. But there doesn't seem to be a counterpart
for RFKILL_IOC_NOINPUT. Any reason why?

See https://bugzilla.gnome.org/show_bug.cgi?id=760517

Cheers

             reply	other threads:[~2016-01-12 12:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-12 12:05 Bastien Nocera [this message]
2016-01-12 13:05 ` How to revert RFKILL_IOC_NOINPUT ioctl? Johannes Berg
2016-01-12 13:08   ` Bastien Nocera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1452600332.17103.10.camel@hadess.net \
    --to=hadess@hadess.net \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.