* ACPI events for laptop special buttons
@ 2009-10-24 22:12 andreas pålsson
2009-10-24 22:17 ` Alexey Starikovskiy
0 siblings, 1 reply; 4+ messages in thread
From: andreas pålsson @ 2009-10-24 22:12 UTC (permalink / raw)
To: linux-acpi
Hello.
I recently bought a cute little Eee PC and of course I decided to run
Linux on it.
But some special buttons/keys doesn't work, like the "special FN key +
F3" which disables touchpad.
I did some research and if I understand it correctly, pressing those
buttons generate "ACPI events" which could (until it was recently
deprecated) be read from "/proc/acpi/events".
So now to my question, how do I catch those events?
Is it possible to read them from user-mode (like to have a nice graph
showing if touchpad/wifi is online or offline)?
I've not been digging around in the kernel before so I don't have yet
much understanding how things work, but one has to start somewhere and
a simple task like "is button pressed?" seems like the right thing. :)
Thank you.
PS. Apologies if this is the wrong list for questions like this.
--
andreas pålsson
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ACPI events for laptop special buttons
2009-10-24 22:12 ACPI events for laptop special buttons andreas pålsson
@ 2009-10-24 22:17 ` Alexey Starikovskiy
2009-10-24 23:06 ` andreas pålsson
0 siblings, 1 reply; 4+ messages in thread
From: Alexey Starikovskiy @ 2009-10-24 22:17 UTC (permalink / raw)
To: andreas pålsson; +Cc: linux-acpi
Hi,
There is driver to handle events from eeePC hardware
drivers/platform/x86/eeepc-laptop.c
You should probably start from making sure you have this one loaded.
Regards,
Alex.
andreas pålsson пишет:
> Hello.
>
> I recently bought a cute little Eee PC and of course I decided to run
> Linux on it.
> But some special buttons/keys doesn't work, like the "special FN key +
> F3" which disables touchpad.
>
> I did some research and if I understand it correctly, pressing those
> buttons generate "ACPI events" which could (until it was recently
> deprecated) be read from "/proc/acpi/events".
>
>
> So now to my question, how do I catch those events?
>
> Is it possible to read them from user-mode (like to have a nice graph
> showing if touchpad/wifi is online or offline)?
>
>
> I've not been digging around in the kernel before so I don't have yet
> much understanding how things work, but one has to start somewhere and
> a simple task like "is button pressed?" seems like the right thing. :)
>
> Thank you.
>
> PS. Apologies if this is the wrong list for questions like this.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ACPI events for laptop special buttons
2009-10-24 22:17 ` Alexey Starikovskiy
@ 2009-10-24 23:06 ` andreas pålsson
2009-10-25 12:01 ` Corentin Chary
0 siblings, 1 reply; 4+ messages in thread
From: andreas pålsson @ 2009-10-24 23:06 UTC (permalink / raw)
To: Alexey Starikovskiy; +Cc: linux-acpi
That is absolutely wonderful!
I was digging around in drivers/acpi/* but had trouble to make sense
of things, but eeepc-laptop.c seems to be right on the spot of what I
was thinking of doing. :)
Now I just need to figure out how to talk to it from user-mode, and I
should be all set.
I suppose this is not the list to ask questions related to it?
Thanks!
On Sun, Oct 25, 2009 at 00:17, Alexey Starikovskiy <aystarik@gmail.com> wrote:
> Hi,
> There is driver to handle events from eeePC hardware
> drivers/platform/x86/eeepc-laptop.c
> You should probably start from making sure you have this one loaded.
>
> Regards,
> Alex.
>
> andreas pålsson пишет:
>>
>> Hello.
>>
>> I recently bought a cute little Eee PC and of course I decided to run
>> Linux on it.
>> But some special buttons/keys doesn't work, like the "special FN key +
>> F3" which disables touchpad.
>>
>> I did some research and if I understand it correctly, pressing those
>> buttons generate "ACPI events" which could (until it was recently
>> deprecated) be read from "/proc/acpi/events".
>>
>>
>> So now to my question, how do I catch those events?
>>
>> Is it possible to read them from user-mode (like to have a nice graph
>> showing if touchpad/wifi is online or offline)?
>>
>>
>> I've not been digging around in the kernel before so I don't have yet
>> much understanding how things work, but one has to start somewhere and
>> a simple task like "is button pressed?" seems like the right thing. :)
>>
>> Thank you.
>>
>> PS. Apologies if this is the wrong list for questions like this.
>>
>
>
--
andreas pålsson
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ACPI events for laptop special buttons
2009-10-24 23:06 ` andreas pålsson
@ 2009-10-25 12:01 ` Corentin Chary
0 siblings, 0 replies; 4+ messages in thread
From: Corentin Chary @ 2009-10-25 12:01 UTC (permalink / raw)
To: andreas pålsson; +Cc: Alexey Starikovskiy, linux-acpi
On Sun, Oct 25, 2009 at 12:06 AM, andreas pålsson
<andreas.palsson+acpi@gmail.com> wrote:
> That is absolutely wonderful!
> I was digging around in drivers/acpi/* but had trouble to make sense
> of things, but eeepc-laptop.c seems to be right on the spot of what I
> was thinking of doing. :)
>
> Now I just need to figure out how to talk to it from user-mode, and I
> should be all set.
> I suppose this is not the list to ask questions related to it?
>
>
> Thanks!
>
Hi
You can use this list, or directly acpi4asus mailing list / bug
tracker at http://acpi4asus.sf.net
--
Corentin Chary
http://xf.iksaif.net
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-25 12:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-24 22:12 ACPI events for laptop special buttons andreas pålsson
2009-10-24 22:17 ` Alexey Starikovskiy
2009-10-24 23:06 ` andreas pålsson
2009-10-25 12:01 ` Corentin Chary
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.