* function keys
@ 2006-03-16 5:56 Franklin Marmon
2006-03-17 1:04 ` Garry Williams
0 siblings, 1 reply; 2+ messages in thread
From: Franklin Marmon @ 2006-03-16 5:56 UTC (permalink / raw)
To: linux-acpi
I am currently using an acpi driver for sony laptops (sony_acpi.c) which
provides an interface for reading that last pressed function key by means of
a /proc interface file. When read this file will show either 0 or the last
function key combination that was typed. It provides this value by using the
acpi_evaluate_object() function to obtain the value of "GHKE". A user space
program is currently used to read this value every N seconds and check for
events.
Is there an interrupt generated when one of these function keys is pressed and
is this interrupt currently handled by the acpi subsystem? If so, is there a
way to add this acpi device driver into a wait queue for this type of event
so that a proper char device may be created and polled, rather than reading
the /proc file system every N seconds?
Is there a better way to handle this type of thing in the kernel already that
I've missed?
Thank you,
frm
--
Franklin Marmon
freenode nic: Agathezol
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: function keys
2006-03-16 5:56 function keys Franklin Marmon
@ 2006-03-17 1:04 ` Garry Williams
0 siblings, 0 replies; 2+ messages in thread
From: Garry Williams @ 2006-03-17 1:04 UTC (permalink / raw)
To: marmon; +Cc: linux-acpi
On Wed, 2006-03-15 at 22:56 -0700, Franklin Marmon wrote:
> I am currently using an acpi driver for sony laptops (sony_acpi.c) which
> provides an interface for reading that last pressed function key by means of
> a /proc interface file. When read this file will show either 0 or the last
> function key combination that was typed. It provides this value by using the
> acpi_evaluate_object() function to obtain the value of "GHKE". A user space
> program is currently used to read this value every N seconds and check for
> events.
>
> Is there an interrupt generated when one of these function keys is pressed and
> is this interrupt currently handled by the acpi subsystem? If so, is there a
> way to add this acpi device driver into a wait queue for this type of event
> so that a proper char device may be created and polled, rather than reading
> the /proc file system every N seconds?
http://developer.berlios.de/projects/fsfn/
--
Garry Williams -- +1 (678) 656-4579
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-17 1:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-16 5:56 function keys Franklin Marmon
2006-03-17 1:04 ` Garry Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).