All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergey Yanovich <ynvich@gmail.com>
To: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Mattia Dongili <malattia@linux.it>, Len Brown <lenb@kernel.org>,
	linux-acpi@vger.kernel.org
Subject: Re: [PATCH 6/7] [sony-laptop] add control over wifi power in Sony laptops
Date: Mon, 03 Nov 2008 12:55:50 +0200	[thread overview]
Message-ID: <490ED8B6.8000206@gmail.com> (raw)
In-Reply-To: <20081103103218.GA28263@srcf.ucam.org>

Matthew Garrett wrote:
> On Mon, Nov 03, 2008 at 06:41:19PM +0900, Mattia Dongili wrote:
> 
>> Sony laptops have a single hardware rfkill switch, which controls
>> several wireless devices: wifi, bluetooth, wwan. The code to
>> selectively control bluetooth and wwan is already present. This
>> patch adds handling of wifi.

My Vaio VGN-TX770P has ipw2200, which IIUC understands hardware rfkill 
switch state. At the same time, when there is no wifi network around and 
I am on internal GRPS modem link, I would like global switch to be on, 
but wifi to be off. The main reason is to save power. The device has a 
dedicated key combination for this, on which Windows drivers by Sony 
operates.

> Please don't add more custom radio control switches. It'd be better to 
> add rfkill support. Otherwise we have even more stuff in /sys to carry 
> around for ages before deprecating.

Do you mean that the patch should use some other file instead of 
/sys/devices/platform/sony-laptop/wifipower for input/output?

If so, could you please provide some pointers on what should be done, 
and where in the source tree to look for references?

-- 
Cheers,
Sergey Yanovich

  reply	other threads:[~2008-11-03 10:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-03  9:41 [PATCH 0/7] sony-laptop for acpi-test Mattia Dongili
2008-11-03  9:41 ` [PATCH 1/7] [sony-laptop] merge Type4 into Type3 Mattia Dongili
2008-11-03  9:41   ` [PATCH 2/7] [sony-laptop] VGN-A317M hotkey support Mattia Dongili
2008-11-03  9:41     ` [PATCH 3/7] [sony-laptop] Eliminate BKL in ioctls Mattia Dongili
2008-11-03  9:41       ` [PATCH 4/7] [sony-laptop] detect the ICH9 chipset as Type3 Mattia Dongili
2008-11-03  9:41         ` [PATCH 5/7] [sony-laptop] call the extra enable function for SNC on Vaio Z Mattia Dongili
2008-11-03  9:41           ` [PATCH 6/7] [sony-laptop] add control over wifi power in Sony laptops Mattia Dongili
2008-11-03  9:41             ` [PATCH 7/7] [sony-laptop] notify the hardware of a state change in wwanpower Mattia Dongili
2008-11-03 10:32             ` [PATCH 6/7] [sony-laptop] add control over wifi power in Sony laptops Matthew Garrett
2008-11-03 10:55               ` Sergey Yanovich [this message]
2008-11-03 10:57                 ` Matthew Garrett
2008-11-04  8:22         ` [PATCH 4/7] [sony-laptop] detect the ICH9 chipset as Type3 ISHIKAWA Mutsumi
2008-11-04 13:21           ` Mattia Dongili
2008-11-03 11:17 ` [PATCH 0/7] sony-laptop for acpi-test Norbert Preining
2008-11-03 12:48   ` Mattia Dongili
2008-11-03 13:02     ` Norbert Preining

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=490ED8B6.8000206@gmail.com \
    --to=ynvich@gmail.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=malattia@linux.it \
    --cc=mjg59@srcf.ucam.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.