From owner-freebsd-acpi@FreeBSD.ORG Thu Oct 12 16:02:26 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D45D16A47E for ; Thu, 12 Oct 2006 16:02:26 +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 738F543E47 for ; Thu, 12 Oct 2006 16:01:05 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1GY2z9-00020T-00; Thu, 12 Oct 2006 18:00:39 +0200 Date: Thu, 12 Oct 2006 18:00:39 +0200 To: Nate Lawson Message-ID: <20061012160039.GY4945@poupinou.org> References: <26332441-4BC5-4392-806A-0179464E8D59@utzweb.net> <452D161A.5040509@root.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <452D161A.5040509@root.org> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: John Utz , freebsd-acpi@freebsd.org Subject: Re: if i was porting a linux kernel module that wrote out to /proc, where should i point it at in freebsd? X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2006 16:02:26 -0000 On Wed, Oct 11, 2006 at 09:04:42AM -0700, Nate Lawson wrote: > John Utz wrote: > >i've been working on i8k utils off and on for several months. > > > >(lately it's been what i've been doing whilst i sit at my daughter's > >gymnastics class) > > > >so several of the api's work, ie turning the fans on and off, etc. > > > >buttons *still* dont work. :-( > > > >at this point, i want to start working on hXRing the kernel module. > > > >as currently coded, it writes to /proc. > > > >i would prefer to not have to require the proc lkm for this to work, i'd > >rather do it the bsd way. > > > >so, umm, what *is* the bsd way ? :-) > > It looks like "i8k" is the Dell hotkeys/PM driver. Use sysctl as the > interface. See the other drivers in /sys/dev/acpi_support for a good > template (i.e., acpi_toshiba.c). > i8k is not an ACPI driver. I'm working on a acpi_dell one but I'm waiting a D620 (hint, hint :) -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care.