[ltp] Dock/undock event

Henrique de Moraes Holschuh linux-thinkpad@linux-thinkpad.org
Sat, 31 Jan 2009 23:08:48 -0200


On Sun, 01 Feb 2009, Daniel Castro wrote:
> Now I want to catch the event of docking and undocking the computer.
> 
> Anyone knows what ACPI event needs to be catched? And how?

It is not ACPI.  It is an uevent.  Either get it through udev, or HAL.

-- 
  "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