1. 22 7月, 2012 3 次提交
    • H
      hwmon: (applesmc) Allow negative temperature values · b6e5122f
      Henrik Rydberg 提交于
      There are many userland reports of sensors with unreasonably small and
      large temperatures. There seem to be several reasons for this:
      
      Firstly, the major sensor type (sp78) is actually a signed number.
      This explains why some sensors show very small or large values - they
      are in fact all small, but of different sign.
      
      Secondly, the other sensor type (1-hex) is not properly understood; it
      may be that it is not a temperature after all.
      
      Thirdly, some sensors are differential in nature, showing changes over
      time rather than absolute numbers.  This explains why those values are
      small and of varying sign.
      
      This patch interprets the sp78 type as signed short, but keeps the
      original scaling. For other types, -EINVAL is returned, since the
      nature of those sensors is unknown.
      Signed-off-by: NHenrik Rydberg <rydberg@euromail.se>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      b6e5122f
    • H
      hwmon: (applesmc) Shorten minimum wait time · a332bf9a
      Henrik Rydberg 提交于
      The 2012 series of MacBooks have a faster SMC, and the current driver
      timings do not work at all. Tests show that decreasing the minimum
      wait time, from 64 us to 16 us, works well. Since this is still larger
      than the original minimum of 10 us used before 2008, there is nothing
      inherently problematic with changing it. The fail frequency on older
      machines seems to increase slightly, but not enough to be noticeable.
      
      Tested on MBA11, MBA31, MBA5,2, MBP9,2.
      
      The patch was originally written by adamski99 (ubuntuforums.org) and
      later tested by janhouse (bbs.archlinux.org).
      Signed-off-by: NHenrik Rydberg <rydberg@euromail.se>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      a332bf9a
    • H
      hwmon: (applesmc) Skip sensor mapping · edf48f3a
      Henrik Rydberg 提交于
      The special motion sensor mapping is unnecessary; remove it.
      Signed-off-by: NHenrik Rydberg <rydberg@euromail.se>
      Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
      edf48f3a
  2. 25 6月, 2012 1 次提交
  3. 18 6月, 2012 1 次提交
  4. 19 3月, 2012 2 次提交
  5. 06 1月, 2012 1 次提交
  6. 24 1月, 2011 1 次提交
  7. 09 1月, 2011 12 次提交
  8. 28 5月, 2010 4 次提交
  9. 11 5月, 2010 1 次提交
  10. 14 4月, 2010 1 次提交
  11. 16 12月, 2009 1 次提交
  12. 22 9月, 2009 1 次提交
  13. 15 9月, 2009 1 次提交
  14. 30 1月, 2009 1 次提交
  15. 16 1月, 2009 1 次提交
  16. 07 1月, 2009 1 次提交
  17. 02 12月, 2008 1 次提交
  18. 20 11月, 2008 2 次提交
  19. 13 11月, 2008 1 次提交
  20. 07 11月, 2008 3 次提交