linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PATCH] rkfill improvements for -next
@ 2008-06-04  3:10 Henrique de Moraes Holschuh
  2008-06-04  3:10 ` [PATCH 01/12] rfkill: clarify meaning of rfkill states Henrique de Moraes Holschuh
                   ` (11 more replies)
  0 siblings, 12 replies; 43+ messages in thread
From: Henrique de Moraes Holschuh @ 2008-06-04  3:10 UTC (permalink / raw)
  To: John W. Linville; +Cc: Ivo van Doorn, linux-wireless


Hello John,

This patch series contains what is ready so far of my rfkill rework
effort, all of them fully ack'ed by Ivo.

It enhances rfkill to the point that it is actually completely useable
by platform drivers such as thinkpad-acpi, and it also fixes some issues
that plague the way some drivers like b43 use rfkill.

Note that some of these patches are preparatory work.  No drivers are
broken by it, but currently broken drivers are not fixed either (drivers
like b43 need to be reworked to take advantage of the now proper
read-write rfkill device support, and notifier chain support).

These patches went through a lot of discursion already, available at
http://thread.gmane.org/gmane.linux.kernel/664500 and a more recent
thread at http://thread.gmane.org/gmane.linux.kernel/682233.

This series is available as a git branch at:
git://repo.or.cz/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git rfkill

It is based on top of Linus mainline.  It requires commit
5adad0133907790c50283bf03271d920d6897043, which was recently merged.

Here's the shortlog:

Henrique de Moraes Holschuh (12):
      rfkill: clarify meaning of rfkill states
      rfkill: fix minor typo in kernel doc
      rfkill: handle SW_RFKILL_ALL events
      rfkill: add parameter to disable radios by default
      rfkill: add read-write rfkill switch support
      rfkill: add the WWAN radio type
      rfkill: rework suspend and resume handlers
      rfkill: add notifier chains support
      rfkill: add type string helper
      rfkill: add uevent notifications
      rfkill: do not allow userspace to override ALL RADIOS OFF
      rfkill: document rw rfkill switches and clarify input subsystem interactions

I'd very much like to see this merged in the -next tree, so that it can
make it to mainline for 2.6.27 when the merge window opens again.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

^ permalink raw reply	[flat|nested] 43+ messages in thread
* [GIT PATCH] rfkill rework for 2.6.27 (v2)
@ 2008-06-22 15:38 Henrique de Moraes Holschuh
  2008-06-22 15:38 ` [PATCH 01/12] rfkill: clarify meaning of rfkill states Henrique de Moraes Holschuh
  0 siblings, 1 reply; 43+ messages in thread
From: Henrique de Moraes Holschuh @ 2008-06-22 15:38 UTC (permalink / raw)
  To: John Linville
  Cc: linux-wireless, Ivo van Doorn, Matthew Garrett, Dan Williams,
	Thomas Renninger


Hello John,

Here is the revised patchset to bring rfkill up to shape enough that it
becomes useable for platform drivers like thinkpad-acpi.

There are some very minor changes:
 * Added a check for illegal states on rfkill_force_state() since
   it is an exported function and someone might call it with wrong
   parameters;
 * Fix use of %u instead of %d on uevent generation for RFKILL_STATE
   to match the type for enum rfkill_state;
 * Minor documentation wording changes;

All the patches in this patchset have been ACKed by Ivo, the rfkill
maintainer.  They're based on wireless-testing master branch, but they
apply cleanly on top of 2.6.26-rc7 as well.

No real problem was found on any of the patches in the thread they
generated last time I posted, AFAIK all doubts regarding these patches
have been explained to the satisfaction of everyone involved, and they
dealt far more with the rfkill subsystem itself than with anything any
of the patches was doing.

True, there are still shortcomings in the rfkill subsystem even after
this patchset, but that's not a problem with the patches but rather
missing features and changes that should be done on further patches.
Some of these patches are ready (e.g. extra documentation) and others (a
new hardlocked rfkill state for rfkill-state) are being tested, and will
be send to linux-wireless soon.

Please merge this patchset on wireless-testing to get it on its way to
linux-next, so that it can go to 2.6.27 when the merge window opens.
This patchset is extremely important for my thinkpad-acpi work, and for
other drivers like hp-wmi.

Note that these patches are backwards-compatible in API and ABI.  No
in-tree drivers are broken by it, but it doesn't magically fixes their
rfkill support either.  It just makes it possible to write drivers using
rfkill that actually work properly.

These patches went through a lot of discursion already, available at
http://thread.gmane.org/gmane.linux.kernel/664500 and a more recent
thread at http://thread.gmane.org/gmane.linux.kernel/682233 and
http://thread.gmane.org/gmane.linux.kernel.wireless.general/15677.


This series is available as a git branch at:
git://repo.or.cz/linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git for-upstream/rfkill

Shortlog:

Henrique de Moraes Holschuh (12):
      rfkill: clarify meaning of rfkill states
      rfkill: fix minor typo in kernel doc
      rfkill: handle SW_RFKILL_ALL events
      rfkill: add parameter to disable radios by default
      rfkill: add read-write rfkill switch support
      rfkill: add the WWAN radio type
      rfkill: rework suspend and resume handlers
      rfkill: add notifier chains support
      rfkill: add type string helper
      rfkill: add uevent notifications
      rfkill: do not allow userspace to override ALL RADIOS OFF
      rfkill: document rw rfkill switches and clarify input subsystem interactions

Thank you.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

^ permalink raw reply	[flat|nested] 43+ messages in thread

end of thread, other threads:[~2008-06-22 15:38 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-04  3:10 [GIT PATCH] rkfill improvements for -next Henrique de Moraes Holschuh
2008-06-04  3:10 ` [PATCH 01/12] rfkill: clarify meaning of rfkill states Henrique de Moraes Holschuh
2008-06-04  3:32   ` Pavel Roskin
2008-06-04  3:39     ` Henrique de Moraes Holschuh
2008-06-04 20:27   ` Dan Williams
2008-06-04 20:32     ` Dan Williams
2008-06-04 23:07     ` Tomas Winkler
2008-06-05  0:38       ` Henrique de Moraes Holschuh
2008-06-05  8:33         ` Tomas Winkler
2008-06-05 12:38           ` Henrique de Moraes Holschuh
2008-06-05 12:12         ` Dan Williams
2008-06-05 13:03           ` Henrique de Moraes Holschuh
2008-06-05 14:46             ` Dan Williams
2008-06-05 20:13               ` Henrique de Moraes Holschuh
2008-06-06  3:26                 ` Dan Williams
2008-06-06 13:24                   ` Dan Williams
2008-06-06 14:14                     ` Henrique de Moraes Holschuh
2008-06-06 14:27                       ` Dan Williams
2008-06-07 12:09                         ` Tomas Winkler
2008-06-08 20:16                       ` Matthew Garrett
2008-06-10  4:11                         ` Henrique de Moraes Holschuh
2008-06-11 17:10                           ` Tomas Winkler
2008-06-12 18:03                             ` Henrique de Moraes Holschuh
2008-06-12 15:43                           ` Dan Williams
2008-06-12 16:31                             ` Henrique de Moraes Holschuh
2008-06-05 16:03         ` Ivo van Doorn
2008-06-05 16:36           ` Tomas Winkler
2008-06-05 17:42             ` Henrique de Moraes Holschuh
2008-06-05 17:54               ` Tomas Winkler
2008-06-05 20:16                 ` Henrique de Moraes Holschuh
2008-06-05 17:53           ` Henrique de Moraes Holschuh
2008-06-04  3:10 ` [PATCH 02/12] rfkill: fix minor typo in kernel doc Henrique de Moraes Holschuh
2008-06-04  3:10 ` [PATCH 03/12] rfkill: handle SW_RFKILL_ALL events Henrique de Moraes Holschuh
2008-06-04  3:10 ` [PATCH 04/12] rfkill: add parameter to disable radios by default Henrique de Moraes Holschuh
2008-06-04  3:10 ` [PATCH 05/12] rfkill: add read-write rfkill switch support Henrique de Moraes Holschuh
2008-06-04  3:10 ` [PATCH 06/12] rfkill: add the WWAN radio type Henrique de Moraes Holschuh
2008-06-04  3:10 ` [PATCH 07/12] rfkill: rework suspend and resume handlers Henrique de Moraes Holschuh
2008-06-04  3:10 ` [PATCH 08/12] rfkill: add notifier chains support Henrique de Moraes Holschuh
2008-06-04  3:10 ` [PATCH 09/12] rfkill: add type string helper Henrique de Moraes Holschuh
2008-06-04  3:10 ` [PATCH 10/12] rfkill: add uevent notifications Henrique de Moraes Holschuh
2008-06-04  3:10 ` [PATCH 11/12] rfkill: do not allow userspace to override ALL RADIOS OFF Henrique de Moraes Holschuh
2008-06-04  3:10 ` [PATCH 12/12] rfkill: document rw rfkill switches and clarify input subsystem interactions Henrique de Moraes Holschuh
  -- strict thread matches above, loose matches on Subject: below --
2008-06-22 15:38 [GIT PATCH] rfkill rework for 2.6.27 (v2) Henrique de Moraes Holschuh
2008-06-22 15:38 ` [PATCH 01/12] rfkill: clarify meaning of rfkill states Henrique de Moraes Holschuh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).