[ltp] T60 no bay lever acpi event?

Aidan Marks linux-thinkpad@linux-thinkpad.org
Wed, 20 Jun 2007 08:06:18 +1000


Hi Adam

you are right, this patch worked. thanks!

On 20/06/07 07:50 AEST, Adam Sloboda wrote:

> On Wed, 20 Jun 2007 07:38:19 +1000
> Aidan Marks <aidan@cisco.com> wrote:
> 
>> I am using the sata driver only, the ultrabay cdrom is at /dev/sr0 -
>> won't this patch only help those with ide? i.e. isn't
>> _SB.PCI0.SATA.SCND.MSTR what i need?
>>
>> CONFIG_ACPI_IBM_BAY=y and that line is in ibm_acpi.c in my kernel src.
>>
>> thanks
>> Aidan
>>
>> On 19/06/07 23:51 AEST, Adam Sloboda wrote:
>>
>>> On Tue, 19 Jun 2007 23:00:31 +1000
>>> Aidan Marks <aidan@cisco.com> wrote:
>>>
>>>> Hello
>>>>
>>>>
>>>> 2.6.21-suspend2-r6 on new T60 loading ibm_acpi with
>>>> hotkey=enable,0xffff experimental=1
>>>>
>>>> bios rev: 2.13
>>>>
>>>> I see acpi events for most function keys, however when i
>>>> eject/insert the ultrabay lever, no event is generated.
>>>>
>>>> anybody have this working?
>>>>
>>>> thanks
>>>> Aidan
>>> I think you're looking for this patch:
>>> http://www.mail-archive.com/linux-acpi@vger.kernel.org/msg04716.html
>>>
>>> The IDE0.PRIM.MSTR line also worked on Z61m and bay is now
>>> recognised, events are generated and ejecting also works (ejecting
>>> works with new ACPI bay driver too but it does not generate events).
>>>
>>> Adam
> 
> 
> I have cdrom on /dev/sr0 (scd0) too and it worked.  Well, it's worth the
> try :)
> 
> Adam