Skip to content
  1. Nov 21, 2007
  2. Nov 20, 2007
  3. Nov 19, 2007
  4. Oct 25, 2007
  5. Sep 27, 2007
  6. Sep 05, 2007
  7. Aug 31, 2007
  8. Aug 24, 2007
  9. Aug 14, 2007
  10. Aug 12, 2007
  11. Aug 04, 2007
  12. Aug 03, 2007
  13. Jul 23, 2007
  14. Jun 23, 2007
  15. May 10, 2007
    • Lennart Poettering's avatar
      acpi,msi-laptop: Fall back to EC polling mode for MSI laptop specific EC commands · 00eb43a1
      Lennart Poettering authored
      
      
      The ACPI EC that is used in MSI laptops knows some non-standard
      commands for changing the screen brighntess and a few other things,
      which are used by the msi-laptop.c driver. Unfortunately for these
      commands no GPE events for IBF and OBF are triggered. Since nowadays
      the EC code uses the ec_intr=1 mode by default, this causes these
      operations to timeout, although they don't fail. In result, all
      operations that you can do with the msi-laptop.c driver take more or
      less 1s to complete, which is awfully slow.
      
      In one of the more recent kernels (2.6.20?) the EC subsystem has been
      revamped. With that change the EC timeout has been increased. before
      that increase the MSI EC accesses were slow -- but not *that* slow,
      hence I took notice of this limitation of the MSI EC hardware only very
      recently.
      
      The standard EC operations on the MSI EC as defined in the ACPI spec
      support GPE events properly.
      
      The following patch adds a new argument "force_poll" to the
      ec_transaction() function (and friends). If set to 1, the function
      will poll for IBF/OBF even if ec_intr=1 is enabled. If set to 0 the
      current behaviour is used. The msi-laptop driver is modified to make
      use of this new flag, so that OBF/IBF is polled for the special MSI EC
      transactions -- but only for them.
      
      Signed-off-by: default avatarLennart Poettering <mzxreary@0pointer.de>
      Acked-by: default avatarAlexey Starikovskiy <aystarik@gmail.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      00eb43a1
  16. Mar 10, 2007
Loading