Return-path: Received: from usul.saidi.cx ([204.11.33.34]:50522 "EHLO usul.overt.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1761504AbYHFDdj (ORCPT ); Tue, 5 Aug 2008 23:33:39 -0400 Message-ID: <48991B83.5030607@overt.org> (sfid-20080806_053346_187182_D41F0FD5) Date: Tue, 05 Aug 2008 20:33:23 -0700 From: Philip Langdale MIME-Version: 1.0 To: Henrique de Moraes Holschuh CC: LKML , Matthew Garrett , toshiba_acpi@memebeam.org, Ivo van Doorn , linux-wireless@vger.kernel.org Subject: Re: [PATCH 1/1] toshiba_acpi: Add support for bluetooth toggling through rfkill (v2) References: <4894B1B4.6050003@overt.org> <20080803042613.GC6053@khazad-dum.debian.net> <48965716.6020508@overt.org> <20080805212416.GB21738@khazad-dum.debian.net> In-Reply-To: <20080805212416.GB21738@khazad-dum.debian.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: Henrique de Moraes Holschuh wrote: > > rfkill-input (now) or userspace (someday) will take care of kicking the > radio to RFKILL_STATE_UNBLOCKED when (1) issues an event that signals that > radios don't have to remain blocked. Maybe this is why you see the WLAN > going on when you deactivate the radio kill switch? It's all done behind the scenes I think (it's an ipw2200 device). There's no rfkill integration from that driver. > And rfkill-input will soon be enhanced to let the user configure it to do > something different if he wants. Your driver doesn't (and shouldn't) > hardcode policy about it. Ok, that makes things much easier for me :-) But it means that for now the user will have to manually kick the device. > > Thanks. Please take note that rfkill will, right now, try to BLOCK all > radios on suspend. That will be changed soon (2.6.28 at the latest), and > your driver will have to handle blocking radios on suspend directly if it is > needed for toshibas. Why is this necessary? Doesn't the radio power down as part of the suspend process? How would I tell what the hardware is doing? I'll update the diff when I can. --phil