09 May, 2013

1 commit

  • The patch adds support for fan control button on Ideapad Z580. This is
    the same button as on Z570, but it raises different bit in
    VPCCMD_R_SPECIAL_BUTTONS. Also add message to dmesg when unknown button
    press detected, it will help adding support for new special buttons.

    Signed-off-by: Maxim Mikityanskiy
    Tested-by: Ivan Vojtko
    Signed-off-by: Matthew Garrett

    Maxim Mikityanskiy
     

26 Jan, 2013

1 commit

  • The second argument of ACPI driver .remove() operation is only used
    by the ACPI processor driver and the value passed to that driver
    through it is always available from the given struct acpi_device
    object's removal_type field. For this reason, the second ACPI driver
    .remove() argument is in fact useless, so drop it.

    Signed-off-by: Rafael J. Wysocki
    Reviewed-by: Jiang Liu
    Acked-by: Toshi Kani
    Acked-by: Yinghai Lu

    Rafael J. Wysocki
     

04 Jan, 2013

1 commit

  • CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
    markings need to be removed.

    This change removes the use of __devinit, __devexit_p, __devinitdata,
    __devinitconst, and __devexit from these drivers.

    Based on patches originally written by Bill Pemberton, but redone by me
    in order to handle some of the coding style issues better, by hand.

    Cc: Bill Pemberton
    Cc: Joey Lee
    Cc: Matthew Garrett
    Cc: Peter Feuerer
    Cc: Corentin Chary
    Cc: Cezary Jackiewicz
    Cc: Robert Gerlach
    Cc: Ike Panhc
    Cc: Henrique de Moraes Holschuh
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

22 Sep, 2012

1 commit


21 Aug, 2012

3 commits

  • The patch adds support for Lenovo IdeaPad Z570 laptop. It makes all special
    keys working, adds possibility to control fan like Windows does, controls
    Touchpad Disabled LED, toggles touchpad state via keyboard controller and
    corrects touchpad behavior on resume from suspend. It is new, modified
    version of patch. Now it does not depend on psmouse and does not need patching
    of input subsystem.

    Signed-off-by: Maxim Mikityanskiy

    This is the part 3 for fan control

    Signed-off-by: Ike Panhc
    Signed-off-by: Matthew Garrett

    Maxim Mikityanskiy
     
  • The patch adds support for Lenovo IdeaPad Z570 laptop. It makes all special
    keys working, adds possibility to control fan like Windows does, controls
    Touchpad Disabled LED, toggles touchpad state via keyboard controller and
    corrects touchpad behavior on resume from suspend. It is new, modified
    version of patch. Now it does not depend on psmouse and does not need patching
    of input subsystem.

    Signed-off-by: Maxim Mikityanskiy

    This is part 2 for touchpad toggle

    Signed-off-by: Ike Panhc
    Signed-off-by: Matthew Garrett

    Maxim Mikityanskiy
     
  • The patch adds support for Lenovo IdeaPad Z570 laptop. It makes all special
    keys working, adds possibility to control fan like Windows does, controls
    Touchpad Disabled LED, toggles touchpad state via keyboard controller and
    corrects touchpad behavior on resume from suspend. It is new, modified
    version of patch. Now it does not depend on psmouse and does not need patching
    of input subsystem.

    Signed-off-by: Maxim Mikityanskiy

    This is part 1 for special button handling.

    Signed-off-by: Ike Panhc
    Signed-off-by: Matthew Garrett

    Maxim Mikityanskiy
     

27 Jun, 2012

1 commit


01 Jun, 2012

2 commits


04 Jan, 2012

1 commit


24 Oct, 2011

6 commits


06 Aug, 2011

4 commits


28 May, 2011

1 commit


12 Mar, 2011

1 commit

  • BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=25922

    On ideapad Y530, the brightness key notify will be blocked if the last notify
    is not responsed by getting the brightness value. Read value when we get the
    notify shall fix the problem and will not have any difference on other ideapads.

    Signed-off-by: Ike Panhc
    Signed-off-by: Matthew Garrett

    Ike Panhc
     

08 Jan, 2011

6 commits

  • Passing ideapad_priv as argument and try not to using too much global variable.
    This is part 2 for rfkill.

    Signed-off-by: Ike Panhc
    Signed-off-by: Matthew Garrett

    Ike Panhc
     
  • Passing ideapad_priv as argument and try not to using too much global variable.
    This is part 1 for platform driver and input device.

    Signed-off-by: Ike Panhc
    Signed-off-by: Matthew Garrett

    Ike Panhc
     
  • 1. Add markups on init and exit functions
    2. Unify the comments in the same style
    3. Return result when module initial

    Signed-off-by: Ike Panhc
    Signed-off-by: Matthew Garrett

    Ike Panhc
     
  • Hotkey enabled by this patch:
    Fn+F3: Video mode switch
    Fn+F5: software rfkill for wifi

    For some ideapad when push Fn+F3, hardware generates Super-P keys, those key
    will not be enabled by this patch.

    Thanks for Dave Hansen report the problem. If CONFIG_INPUT_SPARSEKMAP is not
    set, when building, you will have error message:

    ERROR: "sparse_keymap_setup" [drivers/platform/x86/ideapad-laptop.ko] undefined!
    ERROR: "sparse_keymap_free" [drivers/platform/x86/ideapad-laptop.ko] undefined!
    ERROR: "sparse_keymap_report_event" [drivers/platform/x86/ideapad-laptop.ko] undefined!

    To select INPUT_SPARSEKMAP solve this issue.

    Ref: http://lkml.org/lkml/2010/12/2/340

    Signed-off-by: Ike Panhc
    Signed-off-by: Matthew Garrett

    Ike Panhc
     
  • The entry was at /sys/devices/LNXSYSTM:00/../VPC2004:00/camera_power
    move to /sys/devices/platform/ideapad/camera_power

    Add document about usage of ideapad node in sysfs.

    Signed-off-by: Ike Panhc
    Signed-off-by: Matthew Garrett

    Ike Panhc
     
  • Create /sys/devices/platform/ideapad for nodes of ideapad landing.

    Signed-off-by: Ike Panhc
    Signed-off-by: Matthew Garrett

    Ike Panhc
     

21 Oct, 2010

2 commits

  • Add new module parameter that force module not to register bluetooth rfkill.

    There is report that saying using this bluetooth rfkill to enable/disable
    bluetooth will let bluetooth device initial failed when enable on Lenovo
    ideapad S12. Fortunately there is another rfkill registered by bluetooth
    driver for S12 and user can shutdown the bluetooth by either bluetooth driver
    or HW RF switch.

    For dual OS user, it may have some trouble that using Linux after turning off
    bluetooth with another OS if we do not register bluetooth rfkill at all. So
    we will force bluetooth enable when no_bt_rfkill=1.

    Signed-off-by: Ike Panhc
    Tested-by: Mario 'BitKoenig' Holbe
    Signed-off-by: Matthew Garrett

    Ike Panhc
     
  • Since the platform drivers doing more for laptops than just using specific
    ACPI device. It will be good to change the name from *_acpi to *-laptop.

    Reference: http://lkml.org/lkml/2010/8/14/154

    Signed-off-by: Ike Panhc
    Acked-by: Len Brown
    Signed-off-by: Matthew Garrett

    Ike Panhc