* Receiving ACPI notifications generically
@ 2005-06-05 11:59 Matthew Garrett
2005-06-06 15:59 ` Yu, Luming
0 siblings, 1 reply; 4+ messages in thread
From: Matthew Garrett @ 2005-06-05 11:59 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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?
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Receiving ACPI notifications generically
2005-06-05 11:59 Receiving ACPI notifications generically Matthew Garrett
@ 2005-06-06 15:59 ` Yu, Luming
[not found] ` <20050606155913.GB5067-qYCAlGQNbcFrdx17CPfAsdBPR1lH4CV8@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Yu, Luming @ 2005-06-06 15:59 UTC (permalink / raw)
To: Matthew Garrett; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-06-07 6:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-05 11:59 Receiving ACPI notifications generically Matthew Garrett
2005-06-06 15:59 ` Yu, Luming
[not found] ` <20050606155913.GB5067-qYCAlGQNbcFrdx17CPfAsdBPR1lH4CV8@public.gmane.org>
2005-06-06 16:07 ` Matthew Garrett
2005-06-07 6:38 ` Yu, Luming
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox