[ltp] Re: UltraBay hotplug not working with T23

Xavier Cremaschi linux-thinkpad@linux-thinkpad.org
Tue, 15 Jan 2008 17:59:52 +0100


Tino Keitel a écrit :
> On Sun, Jan 13, 2008 at 21:47:52 +0100, 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. 
>>>       
>> 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.
>>     
>
> Hi,
>
> with CONFIG_ACPI_BAY (which is new in 2.6.23), I get an ACPI event when
> I insert the optical device after booting with an empty Ultrabay. I can
> then use the ultrabay_insert script from
> http://www.thinkwiki.org/wiki/How_to_hotswap_UltraBay_devices to make
> the kernel detect the drive, so it seems to work now as intended.
>
> Regards,
> Tino
>   

In recent kernels, docking features have been removed from thinkpad_acpi 
because these features are now managed by the kernel.
IIRC this is also true for bay features.
In 2.6.23 I made a 'modprobe dock' to enable the support of docking 
station, maybe there is a similar mechanism for ultrabay...

Xavier.