• Karol Kozimor's avatar
    [PATCH] acpi4asus update from Karol 'sziwan' Kozimor · 651f8c98
    Karol Kozimor authored
    The attached patch updates the acpi4asus driver to 0.27 through the
    following changes:
    - add support for M1300A, S5200N, L8400L,
    - remove WLED support for certain models, since it is not controlled by
      AML,
    - add LCD backlight switching for L2E / L3H,
    - C99 initializers,
    - generic LED handlers,
    - the output of ASYM method to provide battery state information (might be
      more accurate under certain conditions) in /proc/acpi/asus/info,
    - fix several oddities, various clean-ups and other minor changes.
    
    The patch itself is quite big, which is mostly due to the C99 initializers
    and the fact that diff doesn't like moving code around.
    
    This has been compile-tested in various configurations, the substantive
    changes were discussed on the acpi4asus mailing list.
    
    The code should apply to current bk (both for 2.4 and 2.6). The patch is
    also available here:
    http://hell.org.pl/~sziwan/asus/acpi4asus-0.26-0.27.diff
    
    Thanks to all the contributors (notably Pontus Fuchs) to this release.
    651f8c98
asus_acpi.c 32.4 KB