[ltp] Undocking?
Stefan Schmidt
linux-thinkpad@linux-thinkpad.org
Mon, 21 Aug 2006 22:41:07 +0200
--mxv5cy4qt+RJ9ypb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hello.
On Mon, 2006-08-21 at 20:34, David Abrahams wrote:
>=20
> So the computer is listening to the button. But how can I tell if it's d=
oing
> anything sensible in response? And if it's not, how do I make it safe to=
eject
> the machine from the dock?
You need the ibm-acpi driver. Should be inside the standard ubuntu
kernel.
With the acpi event you can trigger a shell script doing the
following, and perhaps some more tasks.
echo undock > /proc/acpi/ibm/dock
For a longer description of this feature please refer to the ibm-acpi
README, docking section.
http://ibm-acpi.sourceforge.net/README
regards
Stefan Schmidt
--mxv5cy4qt+RJ9ypb
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: http://www.datenfreihafen.org/contact.html
iD8DBQFE6hpjbNSsvd31FmURAkjxAKC0z61WOqq2FFJN/bGKVK74EZ1/QgCeIX7M
IyVNkZhpgJe4Y6cFZrOuWDs=
=VysB
-----END PGP SIGNATURE-----
--mxv5cy4qt+RJ9ypb--