From owner-freebsd-acpi@FreeBSD.ORG Wed Oct 11 17:07:25 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 98CEE16A407 for ; Wed, 11 Oct 2006 17:07:25 +0000 (UTC) (envelope-from john@utzweb.net) Received: from marley.grokthis.net (marley.grokthis.net [69.93.78.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A3AB44016 for ; Wed, 11 Oct 2006 17:01:40 +0000 (GMT) (envelope-from john@utzweb.net) Received: from utzweb.net (marley.grokthis.net [127.0.0.1]) by marley.grokthis.net (Postfix) with ESMTP id D311FF1024; Wed, 11 Oct 2006 13:01:13 -0400 (EDT) Received: from 69.93.78.27 (proxying for 216.254.62.194) (SquirrelMail authenticated user john-utzweb-net); by utzweb.net with HTTP; Wed, 11 Oct 2006 13:01:17 -0400 (EDT) Message-ID: <35862.69.93.78.27.1160586077.squirrel@69.93.78.27> In-Reply-To: <452D161A.5040509@root.org> References: <26332441-4BC5-4392-806A-0179464E8D59@utzweb.net> <452D161A.5040509@root.org> Date: Wed, 11 Oct 2006 13:01:17 -0400 (EDT) From: john@utzweb.net To: "Nate Lawson" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: 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: Wed, 11 Oct 2006 17:07:25 -0000 > 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. yah, i forgot to mention that. sorry. > Use sysctl as the interface. hokydoky! > See the other drivers in /sys/dev/acpi_support for a good > template (i.e., acpi_toshiba.c). i shall look again at that, tnx! johnu > -- > Nate > >