From: "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Matthew Garrett <mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Receiving ACPI notifications generically
Date: Mon, 6 Jun 2005 23:59:13 +0800 [thread overview]
Message-ID: <20050606155913.GB5067@linux.sh.intel.com> (raw)
In-Reply-To: <1117972742.6648.122.camel@tyrosine>
On 2005.06.05 12:59:02 +0100, Matthew Garrett wrote:
> It seems that Acer laptops send an ACPI notification when bay devices
> are hotplugged (Notify (\_SB.PCI0.IDE0.SECN.BAY1, 0x01)). Obviously,
> I /could/ catch this by writing a small driver that hooks the
> notification and then use that to send an ACPI event. Is there any way
> to do this from userspace? Can the generic hotkey driver be subverted in
> this way?
Please send me output of acpidmp, then I can show you an example how to configure generic-hotkey-driver for this case. BTW, we need to add battery-hotplug code to respond this event.
Thanks,
Luming
>
> --
> Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
> a projector? How fast can you ride your desk chair down the office luge track?
> If you want to score the big prize, get to know the little guy.
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> _______________________________________________
> Acpi-devel mailing list
> Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/acpi-devel
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
next prev parent reply other threads:[~2005-06-06 15:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-05 11:59 Receiving ACPI notifications generically Matthew Garrett
2005-06-06 15:59 ` Yu, Luming [this message]
[not found] ` <20050606155913.GB5067-qYCAlGQNbcFrdx17CPfAsdBPR1lH4CV8@public.gmane.org>
2005-06-06 16:07 ` Matthew Garrett
2005-06-07 6:38 ` Yu, Luming
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=20050606155913.GB5067@linux.sh.intel.com \
--to=luming.yu-ral2jqcrhueavxtiumwx3w@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox