Date: Tue, 20 Jul 2004 01:15:19 -0400 From: Anish Mistry <mistry.7@osu.edu> To: Mark Santcroos <marks@ripe.net> Cc: freebsd-acpi@freebsd.org Subject: Re: [acpi-jp 3000] Re: Fujitsu Function Button ACPI Module (FJEX) Message-ID: <200407200115.27009.mistry.7@osu.edu> In-Reply-To: <20040713152727.GA1018@laptop.6bone.nl> References: <200401121945.59585.mistry.7@osu.edu> <200407021147.52966.mistry.7@osu.edu> <20040713152727.GA1018@laptop.6bone.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 13 July 2004 11:27 am, you wrote: > 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 t= he > > > > 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 o= wn > > > program reading /dev/devctl, you'll have to implement device cloning > > > for /dev/devctl first or not run devd. (A current deficiently in devc= tl > > > 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 I've finally got the userland part down, it's a bit slow since it's all she= ll=20 scripts but it works for me. The following is added to my devd.conf to relay the acpi_fuji events: notify 10 { match "system" "ACPI"; match "subsystem" "FUJI"; action "/etc/rc.d/acpi_fuji_exec.sh $notify"; }; Then into /etc/rc.d I put this: http://am-productions.biz/docs/acpi_fuji_exec.sh Then from an xterm or similar run the following from an X session (This is= =20 actually good for displaying the logger event from the syslog)=20 requires /usr/ports/misc/xosd : http://am-productions.biz/docs/fuji_display.sh =2D --=20 Anish Mistry =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA/KpuxqA5ziudZT0RArX4AKC+Z0vhXiZU8HiqJuvhV3ILUozqTACglp96 03EZ06J9tybGkIuAiv0/KO8=3D =3D8I3/ =2D----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407200115.27009.mistry.7>