1. 17 12月, 2016 1 次提交
  2. 20 10月, 2016 1 次提交
  3. 12 10月, 2016 1 次提交
  4. 09 6月, 2016 1 次提交
  5. 28 5月, 2016 1 次提交
  6. 24 3月, 2016 1 次提交
  7. 25 1月, 2016 1 次提交
  8. 20 1月, 2016 1 次提交
  9. 10 11月, 2015 3 次提交
    • H
      ideapad-laptop: Add Lenovo Yoga 900 to no_hw_rfkill dmi list · f71c882d
      Hans de Goede 提交于
      Like some of the other Yoga models the Lenovo Yoga 900 does not have a
      hw rfkill switch, and trying to read the hw rfkill switch through the
      ideapad module causes it to always reported blocking breaking wifi.
      
      This commit adds the Lenovo Yoga 900 to the no_hw_rfkill dmi list, fixing
      the wifi breakage.
      
      BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1275490
      Cc: stable@vger.kernel.org
      Reported-and-tested-by: NKevin Fenzi <kevin@scrye.com>
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      f71c882d
    • A
      ideapad-laptop: include Yoga 3 1170 in add rfkill whitelist · c789fffc
      Arnd Bergmann 提交于
      This changes the entry to the whitelist of machines that do not have
      a physical rfkill switch. Unfortunately, the Yoga 3 generation seems
      to use upper-case letters for the YOGA 3 Pro-1370, while it uses normal
      capitalization for its Yoga 3 1170 and 1470 siblings.
      
      In order to catch all variants of the Yoga 3, I'm changing both
      the entry for the 1470 (using "Yoga" as the name) and the entry for
      the Pro 1370 (using all-caps "YOGA") to not match the exact model number
      but only the generation. This way, the 1170 and 1470 models share one
      entry, but if the firmware changes from one format to the other, it will
      still work.
      
      The second entry for Yoga 2 Pro that was recently added for some
      reason ended up not being added in alphanumeric order, and I'm
      moving the Yoga 3 1470 entry down while making the change, so they
      are sorted more logically.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      c789fffc
    • A
      ideapad-laptop: add support for Yoga 3 ESC key · 74caab99
      Arnd Bergmann 提交于
      The ideapad-laptop handles most special keys on various Lenovo Laptops
      including the Yoga line. Unfortunately, the Yoga 3 11/13/14 models have
      one important exception, which is the Fn-ESC combination.
      
      On other Lenovo Laptops, this is FnLock, which switches the function keys
      between the primary (Mute, Vol down, Vol up, ...) and the secondary (F1,
      F2, F3, ...) behavior. On the new machines, FnLock is only available
      through BIOS setup (possibly through a yet-to-be-implemented feature
      in this driver) but not through Fn-ESC, but instead the ESC key itself
      switched between ESC and a "Paper Display" app for Windows.
      
      Unfortunately, that means that you can never have both ESC *and* the
      function keys working at the same time without needing to press Fn on
      one of them.
      As pointed out in the official Lenovo Forum by dozens of users, this
      makes the machine rather useless for any serious work [1].
      
      I have now studied the ACPI DSDT one more time and found the event
      that is generated for the ESC key. Unlike all other key events on this
      machine, it is actually a WMI, while the other ones are read from the
      embedded controller.
      
      I am now installing a WMI notifier that uses the event number from the
      WMI subsystem as the scancode. The only event number generated here is
      '128', and that fits in nicely with the two existing ranges of scancodes
      used by the EC: 0-15 for the 16-bit VPCCMD_R_VPC register, 16-17 for
      the VPCCMD_R_NOVO register and 64-67 for VPCCMD_R_SPECIAL_BUTTONS.
      
      The only sane way to handle this button (in absence of the Windows Paper
      Display driver) seems to be to have it emit KEY_ESC, so that is what
      I use as the default. Should any user ever want to overwrite the default,
      they can install their own keymap.
      
      To ensure that we can still build the driver without adding a CONFIG_WMI
      dependency, all new code is enclosed in #ifdef.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      
      [1] https://forums.lenovo.com/t5/Lenovo-Yoga-Series-Notebooks/YOGA-3-14-How-to-reclaim-my-Esc-key-and-permanently-disable/td-p/2070816Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      74caab99
  10. 11 8月, 2015 2 次提交
  11. 19 6月, 2015 1 次提交
  12. 16 6月, 2015 1 次提交
    • A
      ideapad: fix software rfkill setting · 4b200b46
      Arnd Bergmann 提交于
      This fixes a several year old regression that I found while trying
      to get the Yoga 3 11 to work. The ideapad_rfk_set function is meant
      to send a command to the embedded controller through ACPI, but
      as of c1f73658, it sends the index of the rfkill device instead
      of the command, and ignores the opcode field.
      
      This changes it back to the original behavior, which indeed
      flips the rfkill state as seen in the debugfs interface.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: c1f73658 ("ideapad: pass ideapad_priv as argument (part 2)")
      Cc: stable@vger.kernel.org # v2.6.38+
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      4b200b46
  13. 02 6月, 2015 1 次提交
  14. 04 5月, 2015 1 次提交
  15. 04 12月, 2014 1 次提交
  16. 28 10月, 2014 1 次提交
  17. 20 10月, 2014 1 次提交
  18. 03 9月, 2014 1 次提交
  19. 28 8月, 2014 1 次提交
  20. 16 8月, 2014 3 次提交
  21. 11 6月, 2014 2 次提交
  22. 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
  23. 21 11月, 2013 1 次提交
  24. 26 9月, 2013 5 次提交
  25. 09 5月, 2013 1 次提交
  26. 26 1月, 2013 1 次提交
  27. 04 1月, 2013 1 次提交
    • G
      Drivers: platform: x86: remove __dev* attributes. · b859f159
      Greg Kroah-Hartman 提交于
      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 <wfp5p@virginia.edu>
      Cc: Joey Lee <jlee@novell.com>
      Cc: Matthew Garrett <mjg@redhat.com>
      Cc: Peter Feuerer <peter@piie.net>
      Cc: Corentin Chary <corentin.chary@gmail.com>
      Cc: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
      Cc: Robert Gerlach <khnz@gmx.de>
      Cc: Ike Panhc <ike.pan@canonical.com>
      Cc: Henrique de Moraes Holschuh <ibm-acpi@hmh.eng.br>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b859f159
  28. 22 9月, 2012 1 次提交
  29. 21 8月, 2012 2 次提交