[ltp] Re: UltraBay hotplug not working with T23

Simon Williams linux-thinkpad@linux-thinkpad.org
Mon, 14 Jan 2008 19:30:26 +0000


Tino Keitel wrote:
> On Sun, Jan 13, 2008 at 21:34:22 +0100, Joerg Platte wrote:
> 
> [...]
> 
>> IIRC hotplugging does not work if no drive was in the bay while booting. Try 
>> to put the optical drive in the bay and reboot and then remove it. 

Works fine for me, using the "hotswap" program and a script which echos 
eject to /proc/acpi/ibm/bay. This file is still present when I only have 
an ultrabay battery.

> That's bad, as my intention was to boot with the battery inserted, and
> insert the optical drive later. Otherwise, I won't have battery status
> for the UltraBay battery.

That is a bit of a pain. Have you read the entry in thinkwiki on 
ultrabay batteries (some written by me)?
http://www.thinkwiki.org/wiki/How_to_use_UltraBay_batteries

The solution is to ignore acpi and use tp_smapi for battery info.