Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759704AbYG1Cz5 (ORCPT ); Sun, 27 Jul 2008 22:55:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756486AbYG1Czt (ORCPT ); Sun, 27 Jul 2008 22:55:49 -0400 Received: from out4.smtp.messagingengine.com ([66.111.4.28]:36916 "EHLO out4.smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751849AbYG1Czs (ORCPT ); Sun, 27 Jul 2008 22:55:48 -0400 X-Sasl-enc: 9WazAR54S6ZunEpZaEQLfMruImtko2tKw/eX8mKwkIJ5 1217213746 Date: Sun, 27 Jul 2008 23:55:43 -0300 From: Henrique de Moraes Holschuh To: Philip Langdale Cc: LKML , Matthew Garrett , toshiba_acpi@memebeam.org, Ivo van Doorn , linux-wireless@vger.kernel.org Subject: Re: [PATCH 0/1] toshiba_acpi: Add support for bluetooth toggling through rfkill Message-ID: <20080728025543.GB10672@khazad-dum.debian.net> References: <488CBBA0.2050106@overt.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <488CBBA0.2050106@overt.org> X-GPG-Fingerprint: 1024D/1CDB0FE3 5422 5C61 F6B7 06FB 7E04 3738 EE25 DE3F 1CDB 0FE3 User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1207 Lines: 23 On Sun, 27 Jul 2008, Philip Langdale wrote: > different objects. I couldn't find one for the hardware kill switch itself but I > did manage to find one that's emitted when the bluetooth device enters the > equivalent of the SOFT_BLOCKED state. This is useful for noticing that the > hardware switch has been released, but it also fires on transitions from UNBLOCKED > to SOFT_BLOCKED - so I had to try and avoid turning around and unblocking the > device! I'm not particularly happy with how I did it (ignore-the-next-event) > but I can't think of a better way. Can it be used as an event that you just take as a hint to READ the state of the switch? I.e. as "switch may have changed state, you better check" instead of "switch changed state"? -- "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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/