1. 22 4月, 2007 7 次提交
  2. 31 3月, 2007 4 次提交
  3. 26 3月, 2007 6 次提交
  4. 16 3月, 2007 1 次提交
  5. 09 3月, 2007 1 次提交
  6. 23 2月, 2007 2 次提交
  7. 20 2月, 2007 2 次提交
  8. 17 2月, 2007 1 次提交
  9. 10 2月, 2007 1 次提交
  10. 11 1月, 2007 1 次提交
  11. 21 12月, 2006 2 次提交
  12. 20 12月, 2006 2 次提交
  13. 16 12月, 2006 1 次提交
  14. 07 12月, 2006 9 次提交
    • H
      ACPI: ibm-acpi: update version and copyright · f9ff43a6
      Henrique de Moraes Holschuh 提交于
      Bump up module version, add myself to copyright and MODULE_AUTHOR.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      f9ff43a6
    • H
      ACPI: ibm-acpi: style fixes and cruft removal · 9a8e1738
      Henrique de Moraes Holschuh 提交于
      This patch just fixes style, move some #defines to enums, and removes some
      old cruft.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      9a8e1738
    • H
      ACPI: ibm-acpi: backlight device cleanup · fb87a811
      Henrique de Moraes Holschuh 提交于
      This patch cleans up the recently added backlight device support by Holger
      Macht <hmacht@suse.de> to fit well with the rest of the code, using the
      ibms struct as the other "subdrivers" in ibm-acpi.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      fb87a811
    • H
      ACPI: ibm-acpi: make non-generic bay support optional · 2df910b4
      Henrique de Moraes Holschuh 提交于
      This patch makes it possible to disable ibm-acpi non-generic bay support,
      as generic bay support already works well for a number of ThinkPads.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      2df910b4
    • H
      ACPI: ibm-acpi: add support for the ultrabay on the T60,X60 · e0298997
      Henrique de Moraes Holschuh 提交于
      This patch adds support for the ultrabay on the T60, X60 and other new
      ThinkPads that have a SATA ultrabay.
      
      I intend to keep bay and dock support in ibm-acpi working and updated until
      it finally gets deprecated and removed in favour of the generic dock and
      bay support.  But we aren't there yet.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      e0298997
    • H
      ACPI: ibm-acpi: implement fan watchdog command · 16663a87
      Henrique de Moraes Holschuh 提交于
      This patch implements a fan control safety watchdog, by request of the
      authors of userspace fan control scripts.
      
      When the watchdog timer expires, the equivalent action of a "fan enable"
      command is executed.  The watchdog timer is reset at every reception of a
      fan control command that could change the state of the fan itself.
      
      This command is meant to be used by userspace fan control daemons, to make
      sure the fan is never left set to an unsafe level because of userspace
      problems.
      
      Users of the X31/X40/X41 "speed" command are on their own, the current
      implementation of "speed" is just too incomplete to be used safely,
      anyway.  Better to never use it, and just use the "level" command instead.
      
      The watchdog is programmed using echo "watchdog <number>" > fan, where
      number is the number of seconds to wait before doing an "enable", and zero
      disables the watchdog.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      16663a87
    • H
      ACPI: ibm-acpi: workaround for EC 0x2f initialization bug · 778b4d74
      Henrique de Moraes Holschuh 提交于
      A few ThinkPads fail to initialize EC register 0x2f both in the EC
      firmware and ACPI DSDT.  If the BIOS and the ACPI DSDT also do not
      initialize it, then the initial status of that register does not
      correspond to reality.
      
      On all reported buggy machines, EC 0x2f will read 0x07 (fan level 7) upon
      cold boot, when the EC is actually in mode 0x80 (auto mode).  Since
      returning a text string ("unknown") would break a number of userspace
      programs, instead we correct the reading for the most probably correct
      answer, and return it is in auto mode.
      
      The workaround flags the status and level as unknown on module load/kernel
      boot, until we are certain at least one fan control command was issued,
      either by us, or by something else.
      
      We don't work around the bug by doing a "fan enable" at module
      load/startup (which would initialize the EC register) because it is not
      known if these ThinkPad ACPI DSDT might have set the fan to level 7
      instead of "auto" (we don't know if they can do this or not) due to a
      thermal condition, and we don't want to override that, should they be
      capable of it.
      
      We should be setting the workaround flag to "status known" upon resume, as
      both reports and a exaustive search on the DSDT tables at acpi.sf.net show
      that the DSDTs always enable the fan on resume, thus working around the
      bug.  But since we don't have suspend/resume handlers in ibm-acpi yet and
      the "EC register 0x2f was modified" logic is likely to catch the change
      anyway, we don't.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      778b4d74
    • H
      ACPI: ibm-acpi: store embedded controller firmware version for matching · 49a13cd6
      Henrique de Moraes Holschuh 提交于
      This patch changes the ThinkPad Embedded Controller DMI matching
      code to store the firmware version of the EC for later usage, e.g.
      for quirks.
      
      It also prints the firmware version when starting up.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      49a13cd6
    • H
      ACPI: ibm-acpi: fix and extend fan control functions · a12095c2
      Henrique de Moraes Holschuh 提交于
      This patch extend fan control functions, implementing enable/disable for
      all write access modes, implementing level control for all level-capable
      write access modes.
      
      The patch also updates the documentation, explaining levels auto and
      disengaged.
      
      ABI changes:
      	1. Support level 0 as an equivalent to disable
      	2. Add support for level auto and level disengaged when doing
      	   EC 0x2f fan control
      	3. Support enable/disable for all level-based write access modes
      	4. Add support for level command on FANS thinkpads, as per
      	   thinkwiki reports
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      a12095c2