[ltp] Dock/undock event

Daniel Castro linux-thinkpad@linux-thinkpad.org
Sun, 1 Feb 2009 00:44:28 +0000


--0016e6d99bef957dc00461d0bd06
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hello!

A couple of days ago I asked in this list how to catch and do something with
the lid open/close event. Which at the end I managed to do by simply calling
a script from /etc/acpi/lid.sh

Now I want to catch the event of docking and undocking the computer.

Anyone knows what ACPI event needs to be catched? And how?

-- 
________________________

Daniel Castro, M.Sc.
+353 083-318-2058
dancasmo@gmail.com
castromd@tcd.ie
________________________

--0016e6d99bef957dc00461d0bd06
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello!<br><br>A couple of days ago I asked in this list how to catch and do=
 something with the lid open/close event. Which at the end I managed to do =
by simply calling a script from /etc/acpi/lid.sh<br><br>Now I want to catch=
 the event of docking and undocking the computer.<br>

<br>Anyone knows what ACPI event needs to be catched? And how?<br clear=3D"=
all"><br>-- <br>________________________<br><br>Daniel Castro, M.Sc.<br>+35=
3 083-318-2058<br><a href=3D"mailto:dancasmo@gmail.com" target=3D"_blank">d=
ancasmo@gmail.com</a><br>

<a href=3D"mailto:castromd@tcd.ie" target=3D"_blank">castromd@tcd.ie</a><br=
>________________________<br>

--0016e6d99bef957dc00461d0bd06--