1. 09 6月, 2016 1 次提交
  2. 28 5月, 2016 1 次提交
  3. 15 4月, 2016 1 次提交
  4. 24 3月, 2016 1 次提交
  5. 20 1月, 2016 1 次提交
  6. 16 1月, 2016 1 次提交
  7. 01 1月, 2016 1 次提交
  8. 07 11月, 2015 1 次提交
  9. 29 8月, 2015 1 次提交
  10. 19 6月, 2015 1 次提交
  11. 20 5月, 2015 1 次提交
  12. 06 5月, 2015 1 次提交
  13. 15 3月, 2015 2 次提交
  14. 04 3月, 2015 5 次提交
  15. 12 2月, 2015 1 次提交
  16. 11 2月, 2015 1 次提交
  17. 07 2月, 2015 1 次提交
  18. 04 12月, 2014 1 次提交
    • A
      thinkpad-acpi: Try to use full software mute control · 9a417ec0
      Andy Lutomirski 提交于
      ThinkPads have hardware volume controls and three buttons to control
      them.  (These are separate from the standard mixer.)  By default,
      the buttons are:
      
       - Mute: Mutes the hardware volume control and, on some models,
         generates KEY_MUTE.
      
       - Up: Unmutes, generates KEY_VOLUMEUP, and increases volume if
         applicable.  (Newer thinkpads only have hardware mute/unmute.)
      
       - Down: Unmutes, generates KEY_VOLUMEDOWN, and decreases volume
         if applicable.
      
      This behavior is unfortunate, since modern userspace will also
      handle the hotkeys and change the other mixer.  If the software
      mixer is muted and the hardware mixer is unmuted and you push mute,
      hilarity ensues as they both switch state.
      
      Rather than adding a lot of complex ALSA integration to fix this,
      just disable the special ThinkPad volume controls when possible.
      This turns the mute and volume buttons into regular buttons, and
      standard software controls will work as expected.
      
      ALSA already knows about the mute light on models with a mute light,
      so everything should just work.
      
      This should also allow us to remove _OSI(Linux) for all ThinkPads.
      
      For future reference: It turns out that we can ask ACPI for one of
      three behaviors directly on very new models.  They are "latch" (the
      default), "none" (no automatic control), and "toggle" (mute unmutes
      when muted).  All of the modes besides "none" seem to be a bit
      buggy, though, and there doesn't seem to be a consistent way to get
      any notification when the HW mute state is changed.
      Signed-off-by: NAndy Lutomirski <luto@mit.edu>
      Acked-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      9a417ec0
  19. 20 10月, 2014 1 次提交
  20. 14 10月, 2014 1 次提交
  21. 18 9月, 2014 1 次提交
  22. 16 8月, 2014 3 次提交
  23. 11 6月, 2014 1 次提交
  24. 10 4月, 2014 1 次提交
  25. 07 4月, 2014 4 次提交
  26. 14 2月, 2014 1 次提交
  27. 07 12月, 2013 1 次提交
    • L
      ACPI: Clean up inclusions of ACPI header files · 8b48463f
      Lv Zheng 提交于
      Replace direct inclusions of <acpi/acpi.h>, <acpi/acpi_bus.h> and
      <acpi/acpi_drivers.h>, which are incorrect, with <linux/acpi.h>
      inclusions and remove some inclusions of those files that aren't
      necessary.
      
      First of all, <acpi/acpi.h>, <acpi/acpi_bus.h> and <acpi/acpi_drivers.h>
      should not be included directly from any files that are built for
      CONFIG_ACPI unset, because that generally leads to build warnings about
      undefined symbols in !CONFIG_ACPI builds.  For CONFIG_ACPI set,
      <linux/acpi.h> includes those files and for CONFIG_ACPI unset it
      provides stub ACPI symbols to be used in that case.
      
      Second, there are ordering dependencies between those files that always
      have to be met.  Namely, it is required that <acpi/acpi_bus.h> be included
      prior to <acpi/acpi_drivers.h> so that the acpi_pci_root declarations the
      latter depends on are always there.  And <acpi/acpi.h> which provides
      basic ACPICA type declarations should always be included prior to any other
      ACPI headers in CONFIG_ACPI builds.  That also is taken care of including
      <linux/acpi.h> as appropriate.
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Matthew Garrett <mjg59@srcf.ucam.org>
      Cc: Tony Luck <tony.luck@intel.com>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Acked-by: Bjorn Helgaas <bhelgaas@google.com> (drivers/pci stuff)
      Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> (Xen stuff)
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      8b48463f
  28. 21 11月, 2013 2 次提交
  29. 17 10月, 2013 1 次提交