1. 16 12月, 2016 1 次提交
  2. 14 12月, 2016 5 次提交
  3. 09 6月, 2016 1 次提交
  4. 28 5月, 2016 1 次提交
  5. 15 4月, 2016 1 次提交
  6. 24 3月, 2016 1 次提交
  7. 20 1月, 2016 1 次提交
  8. 16 1月, 2016 1 次提交
  9. 01 1月, 2016 1 次提交
  10. 07 11月, 2015 1 次提交
  11. 29 8月, 2015 1 次提交
  12. 19 6月, 2015 1 次提交
  13. 20 5月, 2015 1 次提交
  14. 06 5月, 2015 1 次提交
  15. 15 3月, 2015 2 次提交
  16. 04 3月, 2015 5 次提交
  17. 12 2月, 2015 1 次提交
  18. 11 2月, 2015 1 次提交
  19. 07 2月, 2015 1 次提交
  20. 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
  21. 20 10月, 2014 1 次提交
  22. 14 10月, 2014 1 次提交
  23. 18 9月, 2014 1 次提交
  24. 16 8月, 2014 3 次提交
  25. 11 6月, 2014 1 次提交
  26. 10 4月, 2014 1 次提交
  27. 07 4月, 2014 3 次提交
    • B
      x86, acpi: LLVMLinux: Remove nested functions from Thinkpad ACPI · a4d44ba1
      Behan Webster 提交于
      The only real change is passing in event_mask to the formerly nested functions.
      Otherwise it's just moving around function and macro code.
      
      This is the only place in the Linux kernel where nested functions are still in
      use. Nested functions aren't part of the C standards, and complicate the
      generated code. Although the Linux Kernel has never set out to be entirely C
      standard compliant, it is increasingly compliant to the standard which is
      supported by other compilers such as Clang. The LLVMLinux project is working on
      being able to compile the Linux kernel with Clang. The use of nested functions
      blocks this effort.
      Signed-off-by: NBehan Webster <behanw@converseincode.com>
      Signed-off-by: NJan-Simon Möller <dl9pf@gmx.de>
      
      CC: David Woodhouse <David.Woodhouse@intel.com>
      CC: Matthew Garrett <matthew.garrett@nebula.com>
      CC: ibm-acpi-devel@lists.sourceforge.net
      CC: platform-driver-x86@vger.kernel.org
      CC: linux-kernel@vger.kernel.org
      Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
      a4d44ba1
    • S
      save and restore adaptive keyboard mode for suspend and,resume · 330947b8
      Shuduo Sang 提交于
      Dan Aloni has submitted a patch to set adaptive mode to function mode
      when system resume back. Thanks Dan. :)
      
      Following patch can make it to be restored to previous mode like What
      Windows does.
      
      Thanks,
      Shuduo
      
      >From 0ca960138518ceab23110141a0d7c0cafd54a859 Mon Sep 17 00:00:00 2001
      From: Shuduo Sang <shuduo.sang@canonical.com>
      Date: Thu, 27 Mar 2014 17:51:24 +0800
      Subject: [PATCH] save and restore adaptive keyboard mode for suspend and
       resume
      
      The mode of adaptive keyboard on X1 Carbon need be saved first before
      suspend then it can be restored after resume. Otherwise it will be
      unusable.
      Signed-off-by: NBruce Ma <bruce.ma@canonical.com>
      Signed-off-by: NShuduo Sang <shuduo.sang@canonical.com>
      Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
      330947b8
    • S
      support Thinkpad X1 Carbon 2nd generation's adaptive keyboard · 3a9d20bd
      Shuduo Sang 提交于
      Submit patch V4 to support Adaptive Keyboard on Thinkpad X1 Carbon 2nd
      generation according to Tobias's comments.
      
      Thanks,
      Shuduo
      
      >From b153a7b14791c6e01892c0e274e23eefd625fb8d Mon Sep 17 00:00:00 2001
      From: Shuduo Sang <shuduo.sang@canonical.com>
      Date: Mon, 3 Mar 2014 14:29:32 +0800
      Subject: [PATCH] support thinkpad X1 Carbon's adaptive keyboard
      
      Thinkpad X1 Carbon's adaptive keyboard has five modes including Home
      mode, Web browser mode, Web conference mode, Function mode and Lay-flat
      mode. We support Home mode and Function mode currently.
      Signed-off-by: NBruce Ma <bruce.ma@canonical.com>
      Signed-off-by: NShuduo Sang <shuduo.sang@canonical.com>
      Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
      3a9d20bd