1. 18 6月, 2009 3 次提交
    • H
      thinkpad-acpi: support the second fan on the X61 · d7377247
      Henrique de Moraes Holschuh 提交于
      Support reading the tachometer of the auxiliary fan of a X60/X61.
      
      It was found out by sheer luck, that bit 0 of EC register 0x31
      (formely HBRV) selects which fan is active for tachometer readings
      through EC 0x84/0x085: 0 for fan1, 1 for fan2.
      
      Many thanks to Christoph Kl??nter, to Whoopie, and to weasel, who
      helped confirm that behaviour.
      
      Fan control through EC HFSP applies to both fans equally, regardless
      of the state of bit 0 of EC 0x31.  That matches the way the DSDT uses
      HFSP.
      
      In order to better support the secondary fan, export a second
      tachometer over hwmon, and add defensive measures to make sure we are
      reading the correct tachometer.
      
      Support for the second fan is whitelist-based, as I have not found
      anything obvious to look for in the DSDT to detect the presence of
      the second fan.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      d7377247
    • H
      thinkpad-acpi: forbid the use of HBRV on Lenovo ThinkPads · d7880f10
      Henrique de Moraes Holschuh 提交于
      Forcing thinkpad-acpi to do EC-based brightness control (HBRV) on a
      X61 has very... interesting effects, instead of doing nothing (since
      it doesn't have EC-based backlight control), it causes "weirdness" in
      the fan tachometer readings, for example.
      
      This means the EC register that used to be HBRV has been reused by
      Lenovo for something else, but they didn't remove it from the DSDT.
      
      Make sure the documentation reflects this data, and forbid the user
      from forcing the driver to access HBRV on Lenovo ThinkPads.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      d7880f10
    • H
      thinkpad-acpi: enhance led support · f21179a4
      Henrique de Moraes Holschuh 提交于
      Add support for extra LEDs on recent ThinkPads, and avoid registering
      with the led class the LEDs which are not available for a given
      ThinkPad model.
      
      All non-restricted LEDs are always available through the procfs
      interface, as the firmware doesn't care if an attempt is made to
      access an invalid LED.
      Signed-off-by: NHenrique de Moraes Holschuh <hmh@hmh.eng.br>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      f21179a4
  2. 18 4月, 2009 1 次提交
  3. 04 4月, 2009 8 次提交
  4. 16 1月, 2009 3 次提交
  5. 06 1月, 2009 1 次提交
  6. 29 8月, 2008 1 次提交
  7. 21 7月, 2008 2 次提交
  8. 12 6月, 2008 1 次提交
  9. 29 4月, 2008 6 次提交
  10. 16 2月, 2008 5 次提交
  11. 09 2月, 2008 1 次提交
  12. 02 2月, 2008 7 次提交
  13. 06 11月, 2007 1 次提交