19 Oct, 2006

7 commits


04 Oct, 2006

1 commit


01 Oct, 2006

1 commit

  • Support hdaps on Lenovo ThinkPad T60. It was tested with pivot utility
    from http://www.kernel.org/pub/linux/kernel/people/rml/hdaps and it seems
    to be OK.

    Cc: Jean Delvare
    Cc: Greg Kroah-Hartman
    Cc: Robert Love
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Soos Peter
     

29 Sep, 2006

31 commits

  • hwmon: Remove Yuan Mu's address

    Yuan Mu no longer works at Winbond.

    I wish to publicly thank Yuan for his help with Winbond hardware
    monitoring chips support during the past 10 months.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • hwmon: Fix unchecked return status, SMSC chips

    Fix up 2 more hwmon drivers so that they no longer ignore return
    status from device_create_file().

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • hwmon: Fix unchecked return status, batch 6

    Fix up 5 more hwmon drivers so that they no longer ignore return status
    from device_create_file().

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • w83792d: Fix unchecked return status

    Fix the w83792d driver. Add error checking to device_create_file
    and also care to destroy the files upon exit.

    Signed-off-by: Rudolf Marek
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Rudolf Marek
     
  • w83l785ts: Fix unchecked return status

    Fix the w83l785ts driver. Add error checking to device_create_file
    and also care to destroy the files upon exit.

    Signed-off-by: Rudolf Marek
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Rudolf Marek
     
  • w83781d: Fix unchecked return status

    Add 2 attr-file groups (for base and model-specific attrs respectively),
    create the base group with single call to sysfs_create_group,
    check the return code on individual calls to device_create_file for each
    of the model-specific attr-files.

    Signed-off-by: Jim Cromie
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jim Cromie
     
  • vt8231: Fix unchecked return status

    Check the return status from device_create_file() and also use
    the newer and cleaner sysfs creation functions.

    Signed-off-by: Roger Lucas
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Roger Lucas
     
  • hwmon: Fix unchecked return status, batch 5

    Fix up some hwmon drivers so that they no longer ignore return status
    from device_create_file().

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • hwmon: Fix unchecked return status, batch 4

    Fix up some hwmon drivers so that they no longer ignore return status
    from device_create_file().

    Note: f71805f actually checked the status from device_create_file
    already. However it did not remove the files on device destruction.
    It was also an opportunity to use sysfs_create/remove_group instead
    of hand-made loops. This makes the changes much more important but
    I think the result is worth it.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • hwmon: Fix unchecked return status, batch 3

    Fix up some hwmon drivers so that they no longer ignore return status
    from device_create_file().

    Signed-off-by: Mark M. Hoffman
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Mark M. Hoffman
     
  • hwmon: Fix unchecked return status, batch 2

    Fix up some hwmon drivers so that they no longer ignore return status
    from device_create_file().

    Signed-off-by: Mark M. Hoffman
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Mark M. Hoffman
     
  • w83627ehf: Fix unchecked return status

    Fix: check return value from device_create_file()
    Fix: call device_remove_file() on error and module unload
    Fix: call hwmon_device_register() after device_create_file() to eliminate race

    Signed-off-by: David Hubbard
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    David Hubbard
     
  • pc87360: Check for error on sysfs files creation

    Use sysfs_create_group() for 2 sensor-types which are chip-model
    invariant, i.e. all-or-nothing attribute groups.
    Other 2 groups vary too much due to configuration, etc, so we keep the
    loops of device_create_file(), but now check their returns.

    Signed-off-by: Jim Cromie
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jim Cromie
     
  • pc87360: Delete sysfs files on device deletion

    Add 4 explicit attribute groups for the 5 sensor types:
    voltage (in), therm, temp, and fan & pwm (together in one group).
    Use sysfs_remove_group() to drop them, but keeps the existing
    startup code, which calls device_create_file in loops.

    Signed-off-by: Jim Cromie
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jim Cromie
     
  • pc87360: Move some code around

    Moves code for get-set-decl tuples for 3 items: cpu0_vid, vrm, alarms_in
    up, to just after the get-set-decl tuple for voltages.
    These items are already 'activated' together with the rest of the
    voltage attributes, so the move tightens the grouping that's made
    explicit in next patch.

    Signed-off-by: Jim Cromie
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jim Cromie
     
  • hwmon: Fix unchecked return status, batch 1

    Fix up some hwmon drivers so that they no longer ignore return status
    from device_create_file().

    Signed-off-by: Mark M. Hoffman
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Mark M. Hoffman
     
  • hwmon: New driver for the VIA VT1211

    This is a new driver for the VIA VT1211 Super-IO chip. It is a rewrite
    of the existing vt1211 driver (by Mark D. Studebaker and Lars Ekman)
    which has been around for a while but never made it into the main
    kernel tree.

    It is implemented as a platform driver and therefore requires
    lm_sensors 2.10.1 to function properly.

    Signed-off-by: Juerg Haefliger
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Juerg Haefliger
     
  • w83791d: Documentation update

    The alarm bits and the beep enable bits are in different positions in
    the hardware. Document the problem and leave it to the user-space code
    to handle the situation. When this driver is updated to the standardized
    sysfs alarm/beep methodology, this won't be a problem.

    This is a documentation only change.

    Signed-off by: Charles Spirakis
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Charles Spirakis
     
  • hwmon: Add individual alarm files to 4 drivers

    Add individual sysfs files for all f71805f, lm63, lm83 and lm90 alarm
    and fault conditions. This is a requirement for the planned
    chip-independent libsensors. Almost all other hwmon drivers will need
    the same improvement.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • hwmon: Make a dozen drivers no more experimental

    Remove the EXPERIMENTAL tag from a dozen hardware monitoring drivers.
    They are in the tree for quite a long time, so we would know by now if
    they were causing trouble.

    Also make it clearer that the VT8231 is a VIA chip.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • This patch contains rudimentary suspend / resume support for the uguru,
    this protects the uguru and the driver against suspend / resume cycles,
    so there is no reason to unload the driver in your suspend / resume
    scripts.

    Only include suspend / resume functions when CONFIG_PM is set.

    Signed-off-by: Hans de Goede
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Hans de Goede
     
  • Let the k8temp driver load automatically.

    Signed-off-by: Jean Delvare
    Cc: Rudolf Marek
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • Add support for the temperature sensor(s) found in AMD K8 CPUs.

    Signed-off-by: Rudolf Marek
    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Rudolf Marek
     
  • it87: Copyright update

    I think my contributions to the it87 driver over the past two
    years qualify me as a co-author of this driver.

    Also drop old comments of dubious usefulness.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • it87: Overwrite broken default limits

    Some IT8716F chips where seen with unreasonable defaults for low
    voltage and high temperature limits. Overwrite them with sane defaults
    so as to not generate meaningless alarms.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • it87: Add support for the IT8718F

    The IT8718F is a Super-I/O chip with integrated hardware monitoring
    functions. It is very similar to the IT8716F, so adding support to the
    it87 driver was pretty straightforward. The most significant difference
    is that the IT8718F has up to 8 VID pins, instead of 6 for the older
    chips.

    For the IT8718F, the VID value can only be read from Super-I/O space.

    Userspace support is already in lm_sensors SVN (to be soon released
    as 2.10.1.)

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • it87: Cleanup set_fan_div

    We only change one fan clock divider at a time, so there is only one
    fan min which needs to be saved and restored.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • it87: in8 has no limit registers

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • it87: Prevent overflow on fan clock divider write

    The highest possible clock divider for fan1 and fan2 is 128.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • it87: No sysfs files for disabled fans

    Only create the fan attributes for enabled fan tachometers. Some
    motherboards have a nice BIOS which only enables the fan inputs which
    are wired to a fan header on the board. This makes the configuration
    easier for the user.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     
  • it87: Add support for the IT8716F

    The IT8716F is a Super-I/O chip with integrated hardware monitoring
    functions. It is very similar to the IT8712F, so adding support to the
    it87 driver was pretty straightforward. The most significant change here
    is that the IT8716F has 16-bit fan speed counters, so the user no more
    needs to tweak the fan clock dividers to get the best readings.

    Userspace support is already in lm_sensors SVN (to be soon released
    as 2.10.1.)

    Thanks to Stian Oksavik, Olivier Nicolas, Prakash Punnoor and
    Juergen Kilb for testing the early versions of this patch.

    Thanks also to ITE for providing datasheets and answering my questions.

    Signed-off-by: Jean Delvare
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare