Lt hotswap

From ThinkWiki
Revision as of 21:57, 6 April 2006 by Jimduchek (Talk | contribs) (Supported models)

Jump to: navigation, search


The lt_hotswap kernel module enables hot-swapping for disk drives with full DMA support under Linux. It should work on any ThinkPad with hot-swappable bays and ACPI support. The driver needs ibm-acpi to be running.


  • enable hotswapping of UltraBay drives
  • automatic IDE unregistering on ibm-acpi eject event
  • leaves DMA support intact


  • does not work with APM

Project Homepage / Availability

Development and discussion of lt_hotswap is currently being held in Linux-ThinkPad Mailinglist.


In order to use the driver you must use ACPI and also have the ibm-acpi driver linked to your kernel (module or compiled).

When loading the hotswap module, you can use the module parameter: auto_eject=1 to automatically unregister the drives IDE interface. This will happen upon popping out the UltraBay lever.

Supported models

The driver has been explicitly reported to work on the following models. It should work on many others as well:

The lt_hotswap driver will not work if you use the ata_piix driver rather than the generic IDE driver (ata_piix is necessary on some models to get DMA support, see problems with SATA and Linux).