Lt hotswap

From ThinkWiki
Revision as of 21:59, 26 April 2006 by Jimduchek (Talk | contribs) (Project Homepage / Availability)
Jump to: navigation, search

lt_hotswap

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.

Features

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

Limitations

  • does not work with APM

Project Homepage / Availability

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

Installation

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).