From owner-freebsd-mobile@FreeBSD.ORG Thu Jul 13 12:09:29 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DED9316A4DA; Thu, 13 Jul 2006 12:09:29 +0000 (UTC) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A03543D53; Thu, 13 Jul 2006 12:09:29 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1G100S-0000Nb-00; Thu, 13 Jul 2006 14:09:24 +0200 Date: Thu, 13 Jul 2006 14:09:24 +0200 To: Eric Anderson Message-ID: <20060713120924.GK17014@poupinou.org> References: <20060711.104708.1159134898.imp@bsdimp.com> <200607111338.01412.mistry.7@osu.edu> <44B3EDA6.8050608@centtech.com> <20060713094816.GI17014@poupinou.org> <44B6333C.5090303@centtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44B6333C.5090303@centtech.com> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: Daniel Eischen , freebsd-mobile@freebsd.org Subject: Re: Dell laptops X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jul 2006 12:09:30 -0000 On Thu, Jul 13, 2006 at 06:49:16AM -0500, Eric Anderson wrote: > >I don't know how to contact Dell in order to get that fixed. > > I might be able to help you get in contact with someone, or maybe get > the right information to the right people. I don't completely > understand everything above, so you'll have to explain to me (or to > them) what needs fixing.. Suppose you wrote something like that under C: void f1(void) { unsigned int local0; local0 = smi(0x96, 0); if (local0 & FLAG_1) do_something(); if (local0 & FLAG_2) { /* local0 will change here */ local0 = smi(0x62, 0); ... } /* *local0 could possibly be changed by the above if() statement */ if (local0 & FLAG_3) { ... } } Is that clarify what I have in mind? > > >Second, there is a method called \SMI(), taking 2 arguments and > >returning a value. This method will actually trigger a SMI handler > >in order to perform almost all power management stuff, as for > >example getting fan status, controlling fan speed, controlling > >docking and so on. There is a specific kernel module under linux > >called i8k, that can be found here : > >http://people.debian.org/~dz/i8k/ > >Even though I think this driver could have possibly "funny" effect > >if ACPI is enabled under Linux (it will actually share the same > >IO with the SMI() method, and that must be serialized for obvious > >reason), looking onto that driver we learn for example that > >SMI(0x25, 0) will likely return the FN key status for almost > >all Dell Laptop. > > > >Therefore it should be somewhat easy to write a simple ACPI > >driver for Dell laptops, at least for FN key (if those still > >don't work). > > > >ATM I don't have time for writing such support. > > Would this driver be akin to the asus, fujitsu, and ibm drivers that exist? Something like that, though I don't know exactly what feature provides those drivers. -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care.