From owner-freebsd-acpi@FreeBSD.ORG Tue Jul 13 20:14:41 2004 Return-Path: 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 B7B8816A4CE for ; Tue, 13 Jul 2004 20:14:41 +0000 (GMT) Received: from postman.ripe.net (postman.ripe.net [193.0.0.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8F2A43D2D for ; Tue, 13 Jul 2004 20:14:40 +0000 (GMT) (envelope-from marks@dell-laptop.6bone.nl) Received: by postman.ripe.net (Postfix, from userid 8) id 2B2DD4EC15; Tue, 13 Jul 2004 22:14:40 +0200 (CEST) Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by postman.ripe.net (Postfix) with ESMTP id C382B4E345; Tue, 13 Jul 2004 22:14:39 +0200 (CEST) Received: from dell-laptop.6bone.nl (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.12.10/8.11.6) with SMTP id i6DKEd4c016556; Tue, 13 Jul 2004 22:14:39 +0200 Received: (nullmailer pid 2413 invoked by uid 1001); Tue, 13 Jul 2004 15:27:27 -0000 Date: Tue, 13 Jul 2004 17:27:27 +0200 From: Mark Santcroos To: Anish Mistry Message-ID: <20040713152727.GA1018@laptop.6bone.nl> References: <200401121945.59585.mistry.7@osu.edu> <20040112172739.H58453@root.org> <200407021147.52966.mistry.7@osu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200407021147.52966.mistry.7@osu.edu> User-Agent: Mutt/1.4.2.1i X-Handles: MS6-6BONE, MS18417-RIPE X-RIPE-Spam-Level: X-RIPE-Spam-Status: N 0.000014 / 0.0 / 0.0 / disabled X-RIPE-Signature: e65925030fc1b5593355c5b9a3d18e6d cc: freebsd-acpi@freebsd.org Subject: Re: [acpi-jp 3000] Re: Fujitsu Function Button ACPI Module (FJEX) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 20:14:41 -0000 On Fri, Jul 02, 2004 at 11:47:36AM -0400, Anish Mistry wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Monday 12 January 2004 08:29 pm, Nate Lawson wrote: > > On Mon, 12 Jan 2004, Anish Mistry wrote: > > > I've been sitting on this for a while waiting to hear back from the > > > primary author, but no word after a few weeks, so I'm posting it to see > > > what people think. This module allows a program to receive events when > > > the function buttons are pressed. It's companion userland program > > > fujiapp hooks in and receives and event when a button is pressed and show > > > the level. It has only been tested on the Fujitsu P2000 series laptops, > > > but may work on other models with the FJEX acpi device. > > > > > > Sean's website: > > > http://www.stalker.org/~sean/freebsd-p2040/FujiApp/ > > > > > > My modifications to make it a loadable module: > > > http://am-productions.biz/docs/acpi_fjex.tgz > > > and just fujiapp without the module source included: > > > http://am-productions.biz/docs/fujiapp-1.1.tgz > > > > You should use acpi_UserNotify() to send events to userland. The events > > will appear on /dev/devctl and can be parsed by devd. If you can do what > > you want via devd.conf, fine. If you want to have your own program > > reading /dev/devctl, you'll have to implement device cloning for > > /dev/devctl first or not run devd. (A current deficiently in devctl is > > that only one reader can be present at a time.) > > > > -Nate > After much procrastination I've finally updated this module to CURRENT and > match the Toshiba driver. Test if you have a Fujitsu P2000 (I've heard this > device also appears on the P5000 and the S series). > > http://am-productions.biz/docs/acpi_fuji.tgz > > FYI: My network has been a bit flaky you might have to request it a couple of > times before it goes through. > > Opps, sent it to the old list. I know that there are some style issues, but > I'd like to get comments about anything that is wrong with the way I've done > things, or just suggestions. Hi, I forgot whether I mentioned it already, but I'm having a look at it (again). We should get it ready for import this time, I tried to get some Fujitsu laptop, but that failed, so you have to do the testing for me. Mark