From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nate Lawson Subject: EC SCI model? Date: Tue, 24 Jun 2003 16:40:23 -0700 (PDT) Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20030624163306.N70961@root.org> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org I am a FreeBSD developer but this is a more general question with ACPI. I looked through the spec (especially 13 Embedded Controller) and I have a question regarding the IBF/OBF stuff. Testing has shown that I get multiple callbacks of my EcGpeHandler() routine even when IBF and OBF have not changed. Isn't the GPE only supposed to trigger when they change (and only once)? I've gotten more reliability by waiting for the GPE, checking the status and if it isn't what I'm waiting for, go back to sleep. Also, what is the procedure for sleeping while holding the ACPI Global Lock? I need to sleep while waiting for the GPE to trigger between each phase of read and write (i.e. command, address, data). I'm not using burst mode but may consider implementing it to make this easier and avoid the sleep altogether. Thanks, -Nate ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php