All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Starikovskiy <aystarik@gmail.com>
To: "andreas pålsson" <andreas.palsson+acpi@gmail.com>
Cc: linux-acpi@vger.kernel.org
Subject: Re: ACPI events for laptop special buttons
Date: Sun, 25 Oct 2009 02:17:06 +0400	[thread overview]
Message-ID: <4AE37CE2.9040304@gmail.com> (raw)
In-Reply-To: <477df590910241512v3ecc3b0dj7d0d115cdaea7f7e@mail.gmail.com>

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

  reply	other threads:[~2009-10-24 22:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-24 22:12 ACPI events for laptop special buttons andreas pålsson
2009-10-24 22:17 ` Alexey Starikovskiy [this message]
2009-10-24 23:06   ` andreas pålsson
2009-10-25 12:01     ` Corentin Chary

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AE37CE2.9040304@gmail.com \
    --to=aystarik@gmail.com \
    --cc=andreas.palsson+acpi@gmail.com \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.