[ltp] Undocking?

Richard linux-thinkpad@linux-thinkpad.org
Mon, 21 Aug 2006 22:34:51 +0100 (BST)


> When I press the undock button on my Advanced Mini-Dock, /var/log/acpid shows:
>
> [Mon Aug 21 16:32:20 2006] received event "ibm/dock GDCK 00000003 00000001"
> [Mon Aug 21 16:32:20 2006] notifying client 4776[0:0]
> [Mon Aug 21 16:32:20 2006] notifying client 4813[108:108]
> [Mon Aug 21 16:32:20 2006] completed event "ibm/dock GDCK 00000003 00000001"
>
> 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?


Do you have any scripts in /etc/acpi/actions ? Otherwise, the chances are 
that nothing is configured.

Depending on the devices supported by your dock...

    Just port replicator => You need do nothing

    Optical Drive => EITHER use lt_hotswap, OR
       unmount the drive, then use idectl to stop it.

    PCMCIA => cardctl eject.

More info on thinkwiki.org

Best wishes,

Richard