1. 20 1月, 2016 3 次提交
  2. 04 10月, 2015 1 次提交
    • A
      platform/x86: Toshiba WMI Hotkey Driver · 14991fc7
      Azael Avalos 提交于
      Toshiba laptops that feature WMI events for hotkeys were left unsupported
      by the toshiba_acpi driver, however, commit a88bc06e ("toshiba_acpi:
      Avoid registering input device on WMI event laptops") added hardware
      support for such laptops, but the hotkeys are not handled there.
      
      This driver adds support for hotkey monitoring on certain Toshiba laptops
      that manage the hotkeys via WMI events instead of the Toshiba
      Configuration Interface (TCI).
      
      The toshiba_acpi driver and this one can co-exist, as this only takes
      care of hotkeys, while the proper takes care of hardware related stuff.
      
      Currently the driver is under the EXPERIMENTAL flag, as the keymap
      and the notify function are incomplete (due to lack of hardware to test).
      Signed-off-by: NAzael Avalos <coproscefalo@gmail.com>
      Signed-off-by: NDarren Hart <dvhart@linux.intel.com>
      14991fc7
  3. 26 8月, 2015 1 次提交
  4. 30 6月, 2015 1 次提交
  5. 11 6月, 2015 1 次提交
  6. 16 8月, 2014 1 次提交
  7. 11 6月, 2014 1 次提交
  8. 07 4月, 2014 2 次提交
  9. 21 1月, 2014 2 次提交
    • A
    • D
      X86 platform: New BayTrail IOSF-SB MBI driver · 997ab407
      David E. Box 提交于
      Current Intel SOC cores use a MailBox Interface (MBI) to provide access to unit
      devices connected to the system fabric. This driver implements access to this
      interface on BayTrail platforms. This is a requirement for drivers that need
      access to unit registers on the platform (e.g. accessing the PUNIT for power
      management features such as RAPL). Serialized access is handled by all exported
      routines with spinlocks.
      
      The API includes 3 functions for access to unit registers:
      
      int bt_mbi_read(u8 port, u8 opcode, u32 offset, u32 *mdr)
      int bt_mbi_write(u8 port, u8 opcode, u32 offset, u32 mdr)
      int bt_mbi_modify(u8 port, u8 opcode, u32 offset, u32 mdr, u32 mask)
      
      port:	indicating the unit being accessed
      opcode:	the read or write port specific opcode
      offset:	the register offset within the port
      mdr:	the register data to be read, written, or modified
      mask:	bit locations in mdr to change
      
      Returns nonzero on error
      
      Note: GPU code handles access to the GFX unit. Therefore access to that unit
      with this driver is disallowed to avoid conflicts.
      Signed-off-by: NDavid E. Box <david.e.box@linux.intel.com>
      Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
      997ab407
  10. 21 11月, 2013 1 次提交
  11. 11 7月, 2013 2 次提交
    • M
      Add trivial driver to disable Intel Smart Connect · 5c7f80f7
      Matthew Garrett 提交于
      Intel Smart Connect is an Intel-specific ACPI interface for configuring
      devices to wake up at regular intervals so they can pull down mail or other
      internet updates, and then go to sleep again. If a user enables this in
      Windows and then reboots into Linux, the device may wake up if it's put to
      sleep. Since there's no Linux userland support for any of this, the machine
      will then remain awake until something else puts it back to sleep.
      
      I haven't figured out all that much about how this works (there's a bunch
      of different ACPI calls available on the device), but this seems to be
      enough to turn it off. We can add more features to this driver if anyone
      ever cares about figuring out what the rest of the calls do or writing some
      Linux userspace to implement the rest of it.
      Signed-off-by: NMatthew Garrett <mjg59@srcf.ucam.org>
      Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
      5c7f80f7
    • M
      Add support driver for Intel Rapid Start Technology · 34a956db
      Matthew Garrett 提交于
      Intel Rapid Start Technology is a firmware-based suspend-to-disk
      implementation. Once placed in S3, the device will wake once either a
      timeout elapses or the battery reaches a critical level. It will then resume
      to the firmware and copy the contents of RAM to a specialised partition, and
      then power off the machine. If the user turns the machine back on the
      firmware will copy the contents of the partition back to RAM and then resume
      from S3 as normal.
      
      This driver provides an interface for configuring the wakeup events and
      timeout. It still requires firmware support and an appropriate suspend
      partition.
      Signed-off-by: NMatthew Garrett <mjg59@srcf.ucam.org>
      Signed-off-by: NMatthew Garrett <matthew.garrett@nebula.com>
      34a956db
  12. 09 5月, 2013 1 次提交
  13. 25 2月, 2013 1 次提交
  14. 27 3月, 2012 1 次提交
  15. 22 3月, 2012 1 次提交
    • S
      toshiba_acpi: Refuse to load on machines with buggy INFO implementations · f11f999e
      Seth Forshee 提交于
      Several Satellite models have a buggy implementation of the INFO method
      that causes ACPI exceptions when executed:
      
       ACPI Error: Result stack is empty! State=ffff88012d70f800 (20110413/dswstate-98)
       ACPI Exception: AE_AML_NO_RETURN_VALUE, Missing or null operand (20110413/dsutils-646)
       ACPI Exception: AE_AML_NO_RETURN_VALUE, While creating Arg 0 (20110413/dsutils-763)
       ACPI Error: Method parse/execution failed [\_SB_.VALZ.GETE] (Node ffff880131175eb0), AE_AML_NO_RETURN_VALUE (20110413/psparse-536)
       ACPI Error: Method parse/execution failed [\_SB_.VALZ.INFO] (Node ffff880131175ed8), AE_AML_NO_RETURN_VALUE (20110413/psparse-536)
       toshiba_acpi: ACPI INFO method execution failed
       toshiba_acpi: Failed to query hotkey event
      
      All known machines with this implementation also have a WMI interface
      with event GUID 59142400-C6A3-40FA-BADB-8A2652834100 which is not seen
      on any other models. Refuse to load toshiba_acpi on machines with this
      guid.
      Signed-off-by: NSeth Forshee <seth.forshee@canonical.com>
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      f11f999e
  16. 21 3月, 2012 2 次提交
  17. 12 3月, 2012 2 次提交
  18. 06 3月, 2012 1 次提交
  19. 06 8月, 2011 1 次提交
  20. 28 5月, 2011 2 次提交
  21. 04 5月, 2011 1 次提交
  22. 28 3月, 2011 8 次提交
  23. 22 3月, 2011 1 次提交
  24. 08 1月, 2011 1 次提交
  25. 21 10月, 2010 1 次提交
    • V
      IBM Real-Time "SMI Free" mode driver -v7 · 35f0ce03
      Vernon Mauery 提交于
      After a period of RFC for this driver, I think it is ready
      for inclusion in the platform-driver-x86 tree, hopefully to
      be staged in the next merge window into Linus's tree.
      
      --Vernon
      
      ------------------------------------------------------------
      
      IBM Real-Time "SMI Free" mode driver
      
      This driver supports the Real-Time Linux (RTL) BIOS feature.
      The RTL feature allows non-fatal System Management Interrupts
      (SMIs) to be disabled on supported IBM platforms and is
      intended to be coupled with a user-space daemon to monitor
      the hardware in a way that can be prioritized and scheduled
      to better suit the requirements for the system.
      
      The Device is presented as a special "_RTL_" table to the OS
      in the Extended BIOS Data Area.  There is a simple protocol
      for entering and exiting the mode at runtime.  This driver
      creates a simple sysfs interface to allow a simple entry and
      exit from RTL mode in the UFI/BIOS.
      
      Since the driver is specific to IBM SystemX hardware (x86-
      based servers) it only builds on x86 builds.  To reduce the
      risk of loading on the wrong hardware, the module uses DMI
      information and checks a list of servers that are known to
      work.
      Signed-off-by: NVernon Mauery <vernux@us.ibm.com>
      Signed-off-by: NMatthew Garrett <mjg@redhat.com>
      35f0ce03