• Jonathan Woithe's avatar
    Fujitsu-laptop update · 20b93734
    Jonathan Woithe authored
    Add additional capabilities to the Fujitsu-laptop driver.
    
     * Brightness hotkey actions are sent to userspace. This can be disabled
       using a module parameter if it causes issues with models which handle
       these keys transparently in the BIOS.
    
     * Actions of additional hotkeys found on some Fujitsu models (eg: the
       suspend key and the dedicated "power on passphrase" keys) are broadcast
       to userspace.
    
     * An alternative brightness control method used by some Fujitsu models
       (for example, the S6410) is now supported, enabling software brightness
       controls on models using this method.
    
     * DMI-based module aliases are configured for the S6410 and S7020.
    
     * The current LCD brightness after booting should now be reflected in the
       standard backlight interface sysfs file (previously it was always set to
       0).  The platform brightness sysfs interface has always been fine.
    
    Thanks go to Peter Gruber who provided a significant portion of this code
    and tested various iterations of the patch on his S6410.
    Signed-off-by: default avatarPeter Gruber <nokos@gmx.net>
    Signed-off-by: default avatarJonathan Woithe <jwoithe@physics.adelaide.edu.au>
    Signed-off-by: default avatarLen Brown <len.brown@intel.com>
    Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
    20b93734
fujitsu-laptop.c 26.6 KB