[ltp] Advanced Dock Mini

Tino Keitel linux-thinkpad@linux-thinkpad.org
Wed, 23 Apr 2008 11:31:13 +0200


On Sat, Apr 19, 2008 at 17:02:18 +0200, Nils Kanning wrote:
> Hi,
> i'm using a Thinkpad T60 with Debian unstable and kernel 2.6.24. My
> problem is that i cannot execute scripts automatically when the laptop
> is docked or undocked from an an Advanced Dock Mini.
> 
> The dock module (modinfo says: "ACPI Dock Station Driver
> ") is loaded and in /var/log/messages i find things like:
> ACPI: \_SB_.GDCK - docking
> or
> ACPI: \_SB_.GDCK - undocking
> 
> However using acpi_listen I see no acpi events when docking or
> undocking.
> 
> Any ideas how I can execute something when the laptop is docked?

Maybe hotplug events are generated, so that udev could be used similar
to UltraBay hotplug? This is explained on
http://www.thinkwiki.org/wiki/How_to_hotswap_UltraBay_devices.

Regards,
Tino