From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karol Kozimor Subject: Re: Re: Re: ibm-acpi-0.1 Date: Wed, 11 Aug 2004 09:47:17 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20040811074717.GB965@hell.org.pl> References: <20040810080826.GD28939@aero.ensim.com> <20040810231129.GN28939@aero.ensim.com> <20040810233238.GB16896@hell.org.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Return-path: Content-Disposition: inline In-Reply-To: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Paul Ionescu Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org 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, -- Karol 'sziwan' Kozimor sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org ------------------------------------------------------- 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