From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Ionescu Subject: Re: Re: Re: ibm-acpi-0.1 Date: Wed, 11 Aug 2004 12:44:26 +0300 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: References: <20040810080826.GD28939@aero.ensim.com> <20040810231129.GN28939@aero.ensim.com> <20040810233238.GB16896@hell.org.pl> <20040811074717.GB965@hell.org.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Return-path: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Wed, 11 Aug 2004 09:47:17 +0200, Karol Kozimor wrote: > Thus wrote Paul Ionescu: >> > Consider doing that from the notify handler, I'd bet that's what the >> > Windows driver does. >> But in this case I think it would be less flexible. Maybe somebody does >> not want to enable bluetooth by default with Fn-F5, but only the wlan. >> In windows you can specify what action to have for Fn-F5, like >> enable/disable for bluetooth, wlan, or bluetooth+wlan. >> If you enable/disable the bluetooth from notify handler, then >> you could not just enable/disable the wlan with Fn-F5. > > It's still easier to do that from the notify handler and provide an > interface to enable / disable the specific bits at user request. By moving > it completely to userspace you add another layer of redirection which most > users won't need (as they don't give a damn about writing and configuring > glue scripts) as opposed to having your driver do as expected for most > non-developers. As I said, it's easy to come up with an interface to change > the default behaviour if anybody should wish so. > Best regards, Well, in this case I don't have any other comments/complains for doing it in the notify handler. Thanks, Paul ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285