1. 28 9月, 2007 3 次提交
  2. 19 9月, 2007 1 次提交
  3. 28 8月, 2007 1 次提交
    • H
      reverse CONFIG_ACPI_PROC_EVENT default · 721ebe00
      Hugh Dickins 提交于
      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 14e04fb3 ("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: NHugh Dickins <hugh@veritas.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Len Brown <len.brown@intel.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      721ebe00
  4. 24 8月, 2007 1 次提交
    • L
      ACPI: Schedule /proc/acpi/event for removal · 14e04fb3
      Len Brown 提交于
      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: NLen Brown <len.brown@intel.com>
      14e04fb3
  5. 01 8月, 2007 1 次提交
  6. 30 7月, 2007 2 次提交
    • L
      ACPI: restore CONFIG_ACPI_SLEEP · 673d5b43
      Len Brown 提交于
      Restore the 2.6.22 CONFIG_ACPI_SLEEP build option, but now shadowing the
      new CONFIG_PM_SLEEP option.
      Signed-off-by: NLen Brown <len.brown@intel.com>
      [ Modified to work with the PM config setup changes. ]
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      673d5b43
    • R
      Introduce CONFIG_SUSPEND for suspend-to-Ram and standby · 296699de
      Rafael J. Wysocki 提交于
      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: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      296699de
  7. 27 7月, 2007 1 次提交
  8. 25 7月, 2007 1 次提交
  9. 24 7月, 2007 3 次提交
    • L
      ACPI: Kconfig: always enable CONFIG_ACPI_SLEEP on X86 · 7c5aa664
      Len Brown 提交于
      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: NLen Brown <len.brown@intel.com>
      7c5aa664
    • L
      ACPI: Kconfig: fold /proc/acpi/sleep under CONFIG_ACPI_PROCFS · 43532c8a
      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: NLen Brown <len.brown@intel.com>
      43532c8a
    • L
      ACPI: Kconfig: CONFIG_ACPI_PROCFS now defaults to N · fb804714
      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: NLen Brown <len.brown@intel.com>
      fb804714
  10. 22 7月, 2007 1 次提交
    • T
      ACPI: create CONFIG_ACPI_DEBUG_FUNC_TRACE · 798d9103
      Thomas Renninger 提交于
      Split ACPI_DEBUG into function trace enabled and not enabled.
      
      Function trace is most of the ACPI_DEBUG costs, but is
      not much of use for kernel ACPI debugging.
      
      Size of kernel image increased on test compile:
      + 48k  (Full ACPI_DEBUG)
      + 35k  (ACPI_DEBUG with function trace compiled out)
      
      Performance without function trace is also much better.
      
      Also remove ACPI_LV_DEBUG_OBJECT from default debug level as
      a lot vendors let Store (value, debug) in their code and this
      might confuse users when it pops up in syslog.
      Signed-off-by: NThomas Renninger <trenn@suse.de>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      798d9103
  11. 03 7月, 2007 1 次提交
  12. 10 5月, 2007 1 次提交
    • L
      ACPI: video: output switch sysfs support · 23b0f015
      Luming Yu 提交于
      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: NLuming Yu <Luming.yu@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      23b0f015
  13. 26 4月, 2007 1 次提交
  14. 26 3月, 2007 1 次提交
  15. 22 3月, 2007 1 次提交
  16. 10 3月, 2007 1 次提交
  17. 02 3月, 2007 1 次提交
  18. 23 2月, 2007 1 次提交
  19. 17 2月, 2007 1 次提交
  20. 16 2月, 2007 1 次提交
  21. 13 2月, 2007 3 次提交
  22. 03 2月, 2007 3 次提交
  23. 30 1月, 2007 1 次提交
  24. 29 1月, 2007 3 次提交
  25. 11 1月, 2007 1 次提交
  26. 21 12月, 2006 1 次提交
  27. 20 12月, 2006 1 次提交
  28. 07 12月, 2006 1 次提交
  29. 09 11月, 2006 1 次提交
    • D
      ACPI: button: register with input layer · c0968f0e
      Dmitry Torokhov 提交于
      In addition to signalling button/lid events through /proc/acpi/event,
      create separate input devices and report KEY_POWER, KEY_SLEEP and
      SW_LID through input layer.  Also remove unnecessary casts and variable
      initializations, clean up formatting.
      
      Sleep button may autorepeat but userspace will have to filter duplicate
      sleep requests anyway (and discard unprocessed events right after
      wakeup).
      
      Unlike /proc/acpi/event interface input device corresponding to LID
      switch reports true lid state instead of just a counter. SW_LID is
      active when lid is closed.
      
      The driver now depends on CONFIG_INPUT.
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      c0968f0e