[ltp] [RFC] thinkpad-acpi: dock and bay drivers: any users left?

Peter F. Patel-Schneider linux-thinkpad@linux-thinkpad.org
Mon, 04 May 2009 10:47:36 -0400 (EDT)


I guess I'll put in an "official" response.

From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Subject: [ltp] [RFC] thinkpad-acpi: dock and bay drivers: any users left?
Date: Sun, 26 Apr 2009 12:35:58 -0300

[...]

> If you have a hotswap-capable ThinkPad (bays and dock are supported by the
> ACPI dock driver), and you still prefer to use thinkpad-acpi's dock and bay
> drivers, please tell me what doesn't work for you using the ACPI dock
> driver.

I have a T60p and an Ultrabay HDD adapter which is hotswap-capable and I
am running Fedora 11 (a 2.6.29 kernel).

What doesn't work is that the pre-eject switch (the thing that pops out
the physical eject tab) doesn't seem to be hooked into ACPI.  There are
udev events generated by the switch, but nothing in F11 appears to be
hooked to them.

[...]

> I am also interested into getting ACPI dock working perfectly on thinkpads
> so that's a secondary objective of these questions: what should be improved
> on ACPI dock?  There is already one thing on my list: add an attribute that
> gives the user an idea of WHAT dock/bay a dock.* device represents...

I'm willing to try out various things to get this pre-eject to work
perfectly.  I do have a 90% solution, which involves a udev action and
script modelled on the hotswap script in the ThinkPad Wiki, but I was
hoping that there would be a better way.

Peter F. Patel-Schneider