[ltp] [RFC] thinkpad-acpi: dock and bay drivers: any users
left?
Peter F. Patel-Schneider
linux-thinkpad@linux-thinkpad.org
Tue, 05 May 2009 07:27:30 -0400 (EDT)
From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Subject: Re: [ltp] [RFC] thinkpad-acpi: dock and bay drivers: any users left?
Date: Tue, 5 May 2009 00:29:40 -0300
> On Mon, 04 May 2009, Peter F. Patel-Schneider wrote:
>> 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.
>
> Yeah, the usual problem :(
>
>> > 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.
>
> Well, there is HAL. I don't know whether it would do the right thing or not
> if you make it understand that uevent as a eject request.
I know next-to-nothing about HAL. If you tell me the incantation (or
where to find it), I'll try and see whether it does anything useful.
[...]
peter