[ltp] Undocking?

Alex Deucher linux-thinkpad@linux-thinkpad.org
Mon, 21 Aug 2006 22:33:20 -0400


On 8/21/06, Stefan Schmidt <stefan@sostec.de> wrote:
> Hello.
>
> On Mon, 2006-08-21 at 20:34, David Abrahams wrote:
> >
> > So the computer is listening to the button.  But how can I tell if it's doing
> > 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.

Alternatively, you can use the docking station acpi driver rather than
ibm_acpi to handle docking events on the fly (including PCI buses).
OLS paper:
http://www.linuxsymposium.org/2006/linuxsymposium_procv1.pdf
and the patches:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0604.1/1004.html

Alex

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