ACPI events for laptop special buttons
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.
Signature · 5 lines
andreas pålsson -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
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 пишет:
Quoted 18 lines
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)?
Quoted 8 lines
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
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!
Quoted 38 lines · Alexey Starikovskiy
Hi,
There is driver to handle events from eeePC hardwaredrivers/platform/x86/eeepc-laptop.c
You should probably start from making sure you have this one loaded.Regards,
Alex.andreas pålsson пишет:
Quoted 27 lines
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.
Signature · 5 lines
andreas pålsson -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines · andreas pålsson
That is absolutely wonderful!
I was digging around indrivers/acpi/*but had trouble to make sense of things, buteeepc-laptop.cseems to be right on the spot of what I was thinking of doing. :)
Quoted 7 lines
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
Signature · 6 lines
Corentin Chary http://xf.iksaif.net -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html