Acpi dock

This article describes the setup of an ACPI based docking stations and media bays.

Installation
You need to activate the following kernel options:

Usage
After the driver is loaded, for each docking station or media bay a directory /sys/devices/plattform/dock.0, .../dock.1 et cetera will be created. The files and their informations can be used in scripts.