Return-path: Received: from cavan.codon.org.uk ([93.93.128.6]:38856 "EHLO vavatch.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750944AbYLMR54 (ORCPT ); Sat, 13 Dec 2008 12:57:56 -0500 Date: Sat, 13 Dec 2008 17:57:45 +0000 From: Matthew Garrett To: Henrique de Moraes Holschuh Cc: Tony Vroon , Len Brown , Ivo van Doorn , linux-acpi@vger.kernel.org, jwoithe@physics.adelaide.edu.au, Peter Gruber , linux-wireless@vger.kernel.org Subject: Re: Fuijtsu Lifebook RFKILL support Message-ID: <20081213175745.GA6825@srcf.ucam.org> (sfid-20081213_185805_425142_1A44889F) References: <1228957506.4045.11.camel@localhost> <20081211165247.GA4844@khazad-dum.debian.net> <1229016827.6446.6.camel@localhost> <20081211194734.GA18132@khazad-dum.debian.net> <1229046602.4030.13.camel@localhost> <20081212195331.GA12679@khazad-dum.debian.net> <1229172465.4010.11.camel@localhost> <20081213132857.GA11428@khazad-dum.debian.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20081213132857.GA11428@khazad-dum.debian.net> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Sat, Dec 13, 2008 at 11:28:57AM -0200, Henrique de Moraes Holschuh wrote: > > Len, I would still like to export the 3 values learned about in this > > event to userspace. Is it alright for me to create 3 read-only files on > > the platform device? (docked, lid, radios) > > It would if anything simplify the code. > > FWIW, I think this is also the way to go. It is much easier for > userspace to deal with sysfs attributes. HAL can deal with more > complex stuff, but shell script writers often don't know how to, nor > care to, deal with HAL. I feel like I'm missing something here, but surely what we're talking about is simply a single rfkill device that affects all radios and as such should have a new RFKILL_TYPE_ALL type associated with it? I'd read this as there being a software control that affected all radios. If there's no software control at all then I agree that providing an rfkill class here isn't appropriate. -- Matthew Garrett | mjg59@srcf.ucam.org