From owner-freebsd-acpi@FreeBSD.ORG Thu Nov 11 04:31:04 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 D355616A4CE for ; Thu, 11 Nov 2004 04:31:04 +0000 (GMT) Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net [66.42.172.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 211B843D41 for ; Thu, 11 Nov 2004 04:31:04 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.0.5] (adsl-68-250-184-205.dsl.wotnoh.ameritech.net [68.250.184.205]) (authenticated bits=0)iAB4C7UJ014902 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 10 Nov 2004 23:12:11 -0500 (EST) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: Nate Lawson Date: Wed, 10 Nov 2004 23:33:23 -0500 User-Agent: KMail/1.7 References: <200408021725.02891.mistry.7@osu.edu> <200411081712.53121.mistry.7@osu.edu> <418FEFC9.4060507@root.org> In-Reply-To: <418FEFC9.4060507@root.org> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_luukBClNETVX4J3" Message-Id: <200411102333.41502.mistry.7@osu.edu> X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on crumpet.united-ware.com X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-acpi@freebsd.org Subject: Re: FJEX Fujitsu Function Buttons 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: Thu, 11 Nov 2004 04:31:05 -0000 --Boundary-00=_luukBClNETVX4J3 Content-Type: multipart/signed; boundary="nextPart1747039.0ZUDA2O5bI"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1747039.0ZUDA2O5bI Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 08 November 2004 05:14 pm, you wrote: > Anish Mistry wrote: > > On Monday 08 November 2004 04:58 pm, you wrote: > >>Anish Mistry wrote: > >>>On Wednesday 04 August 2004 06:23 pm, Nate Lawson wrote: > >>>>Anish Mistry wrote: > >>>>>On Monday 02 August 2004 05:24 pm, Anish Mistry wrote: > >>>>>>I've cleaned up the acpi_fuji module. Please comment on what > >>>>>> needs to be changed for it to be committed. Thanks. > >>>>>> > >>>>>>http://am-productions.biz/docs/acpi_fjex.tgz > >>>>> > >>>>>Wow, I'm a moron. Correct link: > >>>>>http://am-productions.biz/docs/acpi_fuji.tgz > >>>> > >>>>Thanks for the update. We'll definitely review it, make comments, > >>>>etc. However, no new drivers should be imported before 5.3-RELEASE. > >>>>We need to spend time cleaning up existing drivers and bugfixing. > >>> > >>>Now that 5.3 is out the door what do I need to do to get this > >>>committed? > >> > >>Thanks for pinging me. I'd like to see it match style(9) (i.e. 8 > >> space > > > > Ok. > > > >>tabs.) All new code in acpi has done this. Also, it could use > >> locking (serialization would be fine since this code isn't in any > >> fast path). > > > > Which driver would have a good example of this? > > Try acpi_toshiba.c > > >>Also, I assume you have a script for driving it? > > > > Yes, should I include that along with a relevant devd.conf patch too? > > Sure. I'll probably genericize it for a hotkey driver though. Ok, I'm attaching the files and linking to them on my website. acpi_fuji.tgz: =2D Updated to match style. =2D Added event serialization. acpi_fuji-devd.patch: =2D Adds a notify handler script (acpi_fuji_exec.sh) to receive the driver'= s=20 notify event. acpi_fuji_exec.sh: =2D A handler script to send display messages to a display pipe for apps to= =20 read changes to the sysctl values. fuji_display.sh: =2D This reads from the pipe created by acpi_fuji_exec.sh and will show a=20 nice HUD message when there is a function button event. You have to be in= =20 X, so I've got it starting in my .xinitrc. =2D Requires xosd installed http://am-productions.biz/docs/acpi_fuji.tgz http://am-productions.biz/docs/fuji_display.sh http://am-productions.biz/docs/acpi_fuji_exec.sh http://am-productions.biz/docs/acpi_fuji-devd.patch =2D-=20 Anish Mistry --nextPart1747039.0ZUDA2O5bI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBkuulxqA5ziudZT0RAqSkAKCqLFHckg7jGpLqIVYdTb58m0q5nACgheCv yj6kGU5IOsyFlfrWicz2Nq4= =fQuB -----END PGP SIGNATURE----- --nextPart1747039.0ZUDA2O5bI-- --Boundary-00=_luukBClNETVX4J3--