lkml.org 
[lkml]   [2009]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Resend] [PATCH] ACPI: New driver for Lenovo SL laptops
Hi Ike,

I'm sorry to say this, bit it looks like your design is seriously
flowed. Not any ACPI device should
require interception of EC query events.

You should register device for HID "ATK0101" and get all notifications
there, as it is done for
for ASUS ATK0100 hot key driver (drivers/platform/x86/asus-laptop.c),
and I would guess,
that driver for ASUS ATK0101 hot key driver may be either an extension
to ATK0100 driver
or based on it, if new device does not share any events.
This would be real solution, and not a hack for a single notebook/BIOS
version.
From the DSDT it is obvious that _Q numbers are not permanent and could
change even
with the next BIOS revision.

You may also contact current maintainer of asus-laptop driver, Corentin
Chary, as he might help you with design.

Regards,
Alex.

Ike Panhc пишет:
> Hi Alex,
>
> The attachment is the acpidump.
>
> I register for EC query events because it is an event source of hotkey
> press
>
> Alexey Starikovskiy wrote:
>
>> Hi,
>>
>> Could you please post acpidump from this machine, I would like to
>> understand,
>> why you need to register for EC query events.
>>
>> Thanks,
>> Alex.
>>
>>
>
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-10-23 22:59    [W:0.049 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site