Re: [PATCH] toshiba_acpi: Additional TOS1900 devices support

From: Azael Avalos
Date: Wed Jan 19 2011 - 16:05:19 EST


Hi,

Here's version 2 of the previous patch.

So far I've found 2 types of TOS1900 devices:

1 - The ones that need the EC handle to access the NTFY method
(Satellite X205 series, Satellite A135 series, NB600, among others)
and send events via KBC (called HCI type 2)

2 - Another kind sending events via ACPI (called HCI type 3)

Both TOS1900 kinds need the HCI_HOTKEY_EVENTS call to work,
however, HCI type 3 needs also the ENAB method executed.


>> -static const struct key_entry toshiba_acpi_keymap[] __initconst = {
>> +static struct key_entry toshiba_acpi_keymap[] Â= {
>
> Why are we losing constness here?

Sorry, my bad, corrected on this one.