[ltp] ACPI dock/undock events?
Henrique de Moraes Holschuh
linux-thinkpad@linux-thinkpad.org
Sun, 24 Feb 2008 20:09:29 -0300
On Sun, 24 Feb 2008, David Abrahams wrote:
> on Sun Feb 24 2008, Henrique de Moraes Holschuh <hmh-AT-hmh.eng.br> wrote:
> > On Sun, 24 Feb 2008, David Abrahams wrote:
> >> support, I've been unable to find an ACPI event that will tell me that
> >> I've docked or undocked. Is there such an event hiding somewhere? I'd
> >
> > Yes. Look at uevents, using udev.
>
> Hey, thanks. I just barely got the hang of ACPI -- can you give any
> more details?
udevmonitor will show you the events, and you will need to add scripts to
udev to connect to them. Look for a udev tutorial through google :)
Actually, I think there is some info in thinkwiki about how to do it
already, but I am not sure.
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh