IBM T23 volume keys handling
Ian Smith
smithi at nimnet.asn.au
Mon May 28 13:45:28 UTC 2007
On Mon, 28 May 2007, [ISO-8859-2] Micha³ Frynas wrote:
> can someone of you guys, point me a place within the kernel sources, where
> the volume up/volume down keys are handled?
> In more specific I'd like to find a place where the volume keys press event
> is being handled, and add there something like this:
>
> devctl_notify("ACPI_CUSTOM", "ACPI_VOLUME", (arg > val) ? "ACPI Volume Up" :
> "ACPI Volume Down", NULL);
Just checking .. these buttons do work on my T23 with acpi_ibm loaded,
so I guess you're wanting the event notification to do something else?
Otherwise, what Fabian said ..
Cheers, Ian
More information about the freebsd-acpi
mailing list