FJEX Fujitsu Function Buttons

Anish Mistry mistry.7 at osu.edu
Wed Nov 10 20:31:05 PST 2004


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:
- Updated to match style.
- Added event serialization.
acpi_fuji-devd.patch:
- Adds a notify handler script (acpi_fuji_exec.sh) to receive the driver's 
notify event.
acpi_fuji_exec.sh:
- A handler script to send display messages to a display pipe for apps to 
read changes to the sysctl values.
fuji_display.sh:
- This reads from the pipe created by acpi_fuji_exec.sh and will show a 
nice HUD message when there is a function button event.  You have to be in 
X, so I've got it starting in my .xinitrc.
- 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

-- 
Anish Mistry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20041110/994d5b64/attachment.bin


More information about the freebsd-acpi mailing list