[acpi-jp 3000] Re: Fujitsu Function Button ACPI Module (FJEX)
Anish Mistry
mistry.7 at osu.edu
Fri Jul 2 09:24:13 PDT 2004
-----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.
Thanks,
- --
Anish Mistry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFA5YOoxqA5ziudZT0RAiiVAJ4gzKf/sSWvU2a3LPuG6ejOgn2b/ACgkUBi
rdEqgNqHxdnLIDwkunE9Jxk=
=JGAJ
-----END PGP SIGNATURE-----
More information about the freebsd-acpi
mailing list