[ltp] Re: Undocking?

Shem Multinymous linux-thinkpad@linux-thinkpad.org
Thu, 24 Aug 2006 00:34:10 +0300


On 8/24/06, Stefan Schmidt <stefan@sostec.de> wrote:
> > If that works, maybe it will give us a hint on how to solve the
> > analogous problem with the UltraBay: hotswapping using ibm_acpi works
> > only if you had a device inserted during boot.
>
> Right. The new docking driver lives inside the acpi, just like
> lt_hotswap. Perhaps we get a chance to merge the necessary bits form
> lt_hotswap in a clean way into this acpi-pci-hotplug-fiddling stuff.

I think the problem starts at a lower level than t_hotswap: if there
wasn't an UltraBay device inserted during boot, then
/proc/acpi/ibm/bay isn't created and no ACPI events are generated on
UltraBay insertion/removal. So it doesn't work even with the new
hotswap-capable ata_piix, which doesn't use ACPI for managing the ATA
interface.

  Shem