28 Aug, 2007

1 commit

  • Sigh. Again an ACPI assault on the Thinkpad's Fn+F4 to suspend to RAM.
    The default and text for CONFIG_THINKPAD_ACPI_INPUT_ENABLED were fixed
    in -rc3, but now commit 14e04fb34ffa82ee61ae69f98d8fca12d2e8e31c ("ACPI:
    Schedule /proc/acpi/event for removal") introduces the ACPI_PROC_EVENT
    config entry, and defaults it to 'n' to disable it again.

    Change default to y, and add comment to make it clearer that n is for
    future distros.

    Signed-off-by: Hugh Dickins
    Cc: Andrew Morton
    Cc: Len Brown
    Signed-off-by: Linus Torvalds

    Hugh Dickins
     

24 Aug, 2007

1 commit

  • Schedule /proc/acpi/event for removal in 6 months.

    Re-name acpi_bus_generate_event() to acpi_bus_generate_proc_event()
    to make sure there is no confusion that it is for /proc/acpi/event only.

    Add CONFIG_ACPI_PROC_EVENT to allow removal of /proc/acpi/event.
    There is no functional change if CONFIG_ACPI_PROC_EVENT=y

    Signed-off-by: Len Brown

    Len Brown
     

01 Aug, 2007

1 commit

  • CONFIG_ACPI_PROCFS_SLEEP is a NO-OP -- delete it (again).

    Apparently 296699de6bdc717189a331ab6bbe90e05c94db06 creating CONFIG_SUSPEND
    and CONFIG_PM_SLEEP was based on an out-dated version of drivers/acpi/Kconfig,
    as it erroneously restored this recently deleted config option.

    Signed-off-by: Len Brown
    Signed-off-by: Linus Torvalds

    Len Brown
     

30 Jul, 2007

2 commits

  • Restore the 2.6.22 CONFIG_ACPI_SLEEP build option, but now shadowing the
    new CONFIG_PM_SLEEP option.

    Signed-off-by: Len Brown
    [ Modified to work with the PM config setup changes. ]
    Signed-off-by: Linus Torvalds

    Len Brown
     
  • Introduce CONFIG_SUSPEND representing the ability to enter system sleep
    states, such as the ACPI S3 state, and allow the user to choose SUSPEND
    and HIBERNATION independently of each other.

    Make HOTPLUG_CPU be selected automatically if SUSPEND or HIBERNATION has
    been chosen and the kernel is intended for SMP systems.

    Also, introduce CONFIG_PM_SLEEP which is automatically selected if
    CONFIG_SUSPEND or CONFIG_HIBERNATION is set and use it to select the
    code needed for both suspend and hibernation.

    The top-level power management headers and the ACPI code related to
    suspend and hibernation are modified to use the new definitions (the
    changes in drivers/acpi/sleep/main.c are, mostly, moving code to reduce
    the number of ifdefs).

    There are many other files in which CONFIG_PM can be replaced with
    CONFIG_PM_SLEEP or even with CONFIG_SUSPEND, but they can be updated in
    the future.

    Signed-off-by: Rafael J. Wysocki
    Signed-off-by: Linus Torvalds

    Rafael J. Wysocki
     

27 Jul, 2007

1 commit


25 Jul, 2007

1 commit


24 Jul, 2007

3 commits

  • The SMP dependency on HOTPLUG_CPU and SUSPEND_SMP
    caused more harm than good -- making ACPI sleep
    support vanish for configs missing those options.
    So simply select them on the (ACPI && SMP && X86) systems
    that need them.

    Also, remove the prompt for ACPI_SLEEP,
    virtually nobody (intentionally) enables ACPI without it.

    Signed-off-by: Len Brown

    Len Brown
     
  • /proc/acpi/sleep has had its own "default n" option,
    ACPI_SLEEP_PROC_SLEEP, for many months.
    Time to delete ACPI_SLEEP_PROC_SLEEP.

    Users that still need /proc/acpi/sleep can still get it
    along with the other deprecated /proc/acpi files
    by enabling CONFIG_ACPI_PROCFS.

    Also delete ACPI_SLEEP_PROC_FS, which was an umbrella
    for /proc/acpi/sleep, wakeup, alarm, because it was
    effectively just a synonym for ACPI_SLEEP.

    Signed-off-by: Len Brown

    Len Brown
     
  • delete "default y" from CONFIG_ACPI_PROCFS
    (effectively making the default 'N')

    List exactly what /proc files this option controls,
    and clarify that it doesn't change non-deprecated files.

    Signed-off-by: Len Brown

    Len Brown
     

22 Jul, 2007

3 commits


03 Jul, 2007

1 commit


10 May, 2007

1 commit

  • Requires CONFIG_VIDEO_OUTPUT_CONTROL and CONFIG_ACPI_VIDEO.

    After loading output.ko and video.ko, you would have
    /sys/class/video_output and several device acpi_videoNum there.

    For example, I got acpi_video0, acpi_video1,acpi_video2,and acpi_video3
    under /sys/class/video_output on my T40.
    I can query the status of output device0 by running " cat
    /sys/class/video_output/acpi_video0
    " The return value is defined in ACPI SPEC B.5.5 _DCS(Return the
    Status of Output Device). Also you can turn off video1 and turn on
    video0 by " echo 0 > acpi_video1; echo 0x80000000 > acpi_video0".
    Please reference ACPI SPEC B.5.7 _DSS for the parameter definition.

    Please note that it may or may NOT works purely depending on if
    your vendor providing correct ACPI video extension support in bios.
    the driver output.ko and video.ko just works like a interface to
    invoke BIOS.

    Signed-off-by: Luming Yu
    Signed-off-by: Len Brown

    Luming Yu
     

29 Apr, 2007

2 commits


26 Apr, 2007

1 commit


26 Mar, 2007

1 commit


22 Mar, 2007

1 commit


10 Mar, 2007

3 commits


02 Mar, 2007

1 commit


23 Feb, 2007

1 commit


17 Feb, 2007

2 commits


16 Feb, 2007

1 commit


03 Feb, 2007

8 commits


30 Jan, 2007

1 commit

  • Adds the new driver and make ASUS_LAPTOP and ACPI_ASUS
    incompatible. It may be strange to use ASUS_CREATE_DEVICE_ATTR
    and ASUS_SET_DEVICE_ATTR now, but these macro will be very
    usefull in next patchs. ASUS_HANDLE and ASUS_HANDLE_INIT comes
    from IBM_HANDLE and IBM_HANDLE_INIT, with some modification,
    and will also be used in next patchs.

    Signed-off-by: Corentin Chary
    Signed-off-by: Len Brown

    Corentin Chary
     

29 Jan, 2007

3 commits

  • Add an ACPI attribute to indicate ACPICA version.
    /proc/acpi/version is deprecated by /sys/module/acpi/parameters/acpica_version.

    Signed-off-by: Zhang Rui
    Signed-off-by: Len Brown

    Zhang Rui
     
  • Add ACPI debug attributes in sysfs.
    /proc/acpi/debug_layer && debug_level are deprecated by
    /sys/module/acpi/parameters/debug_layer && debug_level.

    NOTE: The operations to them are quite the same.
    E.g. if you want to enable ACPI_DB_INFO, ACPI_DB_WARN,
    ACPI_DB_ERROR and disable the others,
    #echo 0x13 >/sys/module/acpi/parameters/debug_level is OK,
    and a boot option "acpi.debug_level = 0x13" also works.

    Signed-off-by: Zhang Rui
    Signed-off-by: Len Brown

    Zhang Rui
     
  • Add a kconfig option CONFIG_ACPI_PROCFS to make procfs interface
    a configurable attribute of ACPI.

    No procfs interface is actually deprecated,
    and no sysfs interface is added in this patch.

    CONGI_ACPI_PROCFS is used to mark procfs interface as deprecated
    once the same function is duplicated in sysfs.

    Signed-off-by: Zhang Rui
    Signed-off-by: Len Brown

    Zhang Rui