17 Jan, 2012

1 commit


13 Jan, 2012

1 commit


06 Jan, 2012

1 commit


26 Jul, 2011

1 commit


18 Jul, 2011

1 commit

  • A copy-and-paste error caused it87_attributes_vid to be referenced
    where it87_attributes_label should be. Thankfully the group is only
    used for attribute removal, not attribute creation, so the effects of
    this bug are limited, but let's fix it still.

    Signed-off-by: Jean Delvare
    Cc: stable@kernel.org
    Acked-by: Guenter Roeck

    Jean Delvare
     

26 May, 2011

1 commit

  • Serialize access to the hardware by using "request_muxed_region" macro
    defined by Alan Cox. Call to this macro will hold off the requestor if
    the resource is currently busy. "superio_enter" will return an error
    if call to "request_muxed_region" fails. Rest of the code change is to
    ripple an error return from superio_enter to the top level.

    Signed-off-by: Nat Gurumoorthy
    Acked-by: Guenter Roeck
    Signed-off-by: Jean Delvare

    Nat Gurumoorthy
     

13 Jan, 2011

1 commit


08 Dec, 2010

1 commit


29 Oct, 2010

2 commits

  • Add support for the IT8721F/IT8758E. These new chips differ from the
    older IT87xxF chips in the following ways:
    * ADC LSB is 12 mV instead of 16 mV.
    * PWM values are 8-bit instead of 7-bit.
    There are other minor changes we don't have to care about in the
    driver.

    Another change is that we will handle internal voltage scaling in the
    driver instead of delegating the work to user-space.

    Signed-off-by: Jean Delvare

    Jean Delvare
     
  • Move conversion functions until after structure defintions. This is
    needed for future changes which make use of the structures in the
    conversion funtcions.

    Signed-off-by: Jean Delvare

    Jean Delvare
     

15 Aug, 2010

1 commit


09 Jul, 2010

1 commit

  • The IT8720F has no VIN7 pin, so VCCH should always be routed
    internally to VIN7 with an internal divider. Curiously, there still
    is a configuration bit to control this, which means it can be set
    incorrectly. And even more curiously, many boards out there are
    improperly configured, even though the IT8720F datasheet claims that
    the internal routing of VCCH to VIN7 is the default setting. So we
    force the internal routing in this case.

    It turns out that all boards with the wrong setting are from Gigabyte,
    so I suspect a BIOS bug. But it's easy enough to workaround in the
    driver, so let's do it.

    Signed-off-by: Jean Delvare
    Cc: Jean-Marc Spaggiari
    Cc: stable@kernel.org

    Jean Delvare
     

14 Apr, 2010

3 commits


06 Mar, 2010

9 commits


10 Dec, 2009

2 commits


24 Oct, 2009

1 commit

  • Comparing apples to bananas doesn't seem right. Consistently use the
    chips enum for chip type comparisons, to avoid such bugs in the
    future.

    The bug has been there since support for the IT8718F was added, so
    VID never worked for this chip nor for the similar IT8720F.

    Signed-off-by: Jean Delvare

    Jean Delvare
     

15 Sep, 2009

1 commit


12 Mar, 2009

1 commit


07 Jan, 2009

3 commits

  • Signed-off-by: Jean Delvare
    Acked-by: Hans de Goede
    Acked-by: David Hubbard

    Jean Delvare
     
  • Check for ACPI resource conflicts in hwmon drivers. I've included
    all Super-I/O and PCI drivers.

    I've voluntarily left out:
    * Vendor-specific drivers: if they conflicted on any system, this would
    pretty much mean that they conflict on all systems, and we would know
    by now.
    * Legacy ISA drivers (lm78 and w83781d): they only support chips found
    on old designs were ACPI either wasn't supported or didn't deal with
    thermal management.
    * Drivers accessing the I/O resources indirectly (e.g. through SMBus):
    the checks are already done where they belong, i.e. in the bus drivers.

    Signed-off-by: Jean Delvare
    Acked-by: David Hubbard

    Jean Delvare
     
  • Allow it87.c to handle IT8720 chipset like IT8718 in order to
    retrieve voltage, temperatures and fans speed from sensors
    tools. Also updating the related documentation.

    Signed-off-by: Jean-Marc Spaggiari
    Signed-off-by: Jean Delvare

    Jean-Marc Spaggiari
     

17 Oct, 2008

1 commit

  • The it87 driver doesn't follow the standard sensor type values as
    documented in Documentation/hwmon/sysfs-interface. It uses value 2 for
    thermistors instead of value 4. This causes "sensors" to tell the user
    that the chip is setup for a transistor while it is actually setup for
    a thermistor.

    Using value 4 for thermistors solves the problem. For compatibility
    reasons, we still accept value 2 but emit a warning message so that
    users update their configuration files.

    Signed-off-by: Jean Delvare
    Acked-by: Hans de Goede

    Jean Delvare
     

09 Oct, 2008

1 commit

  • On the Shuttle SN68PT, FAN_CTL2 is apparently not connected to a fan,
    but to something else. One user has reported instant system power-off
    when changing the PWM2 duty cycle, so we disable it.

    I use the board name string as the trigger in case the same board is
    ever used in other systems.

    This closes lm-sensors ticket #2349:
    pwmconfig causes a hard poweroff
    http://www.lm-sensors.org/ticket/2349

    Signed-off-by: Jean Delvare

    Jean Delvare
     

20 Sep, 2008

1 commit


07 Aug, 2008

2 commits


08 Feb, 2008

3 commits