Commit Graph
3924 Commits
Author SHA1 Message Date
Jean Delvare 8cc806b298 sensors-detect: Add support for the ATI SB700 SMBus controller.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4409 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-17 12:07:20 +00:00
Jean Delvare 835c00d1bc Fix Super-I/O exit sequence for Winbond/Fintek chips. isadump
now uses the same sequence as sensors-detect uses.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4407 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-16 09:13:50 +00:00
Jean Delvare 9f98b33019 Fix busy flag detection. Some Super-I/O chips (W83627THF) can't read
back from the address port, so the value 0xff is returned, causing
a false positive with the original test. Testing explicitly for 0x80
instead of only testing that bit 7 is set, works around it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4406 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-16 09:11:37 +00:00
Jean Delvare 5a38143c5e libsensors: Drop support for non-sensor drivers: ddcmon and eeprom.
These should never have been supported to start with, and no longer
are in practice with recent 2.6 kernels.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4403 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-13 15:02:44 +00:00
Jean Delvare 314c674660 Legacy hotplug modules and documentation: Delete. These modules no
longer work with 2.6 kernels.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4402 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-13 08:22:47 +00:00
Jean Delvare 9232f4eb43 Delete all kernel chip drivers, documentation and references. We are
moving to a user-space-only package, all the drivers are maintained in
the Linux kernel tree itself.

I tried to update the documentation a bit, but there's still a lot to
go. In fact, a complete rewrite seems to be needed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4397 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-09 13:00:30 +00:00
Jean Delvare 448c4a70e9 Ignore generated files.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4392 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-08 11:06:35 +00:00
Jean Delvare b170e0be99 Delete all kernel bus drivers, documentation and references. We are
moving to a user-space-only package, all the drivers are maintained in
the Linux kernel tree itself.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4386 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-05 12:43:03 +00:00
Jean Delvare adb328263c doc/version-2: Delete, obsolete.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4385 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-05 10:07:36 +00:00
Jean Delvare a34b480cfe README.patches: Delete, obsolete.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4384 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-05 09:47:54 +00:00
Jean Delvare 95996b4638 Delete mkpatch and all references thereto. The kernel modules will soon
be removed from the tree so there won't be anything left to generate a
patch from.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4383 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-02 10:35:14 +00:00
Jean Delvare 1d4796cfbc Really delete lm_sensors.sysconfig.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4382 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-27 20:27:58 +00:00
Jean Delvare d10c5f218b pwmconfig: Use smaller steps for low PWM values. Inspired from a patch
from the openSuse sensors package. This is a good idea because the
PWM/speed relation isn't linear, and it is frequent that the speed
changes are concentrated in the low PWM range.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4381 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-27 13:41:32 +00:00
Jean Delvare e893292b18 init scripts:
* Delete sample lm_sensors.sysconfig file, it is now generated by
  sensors-detect.
* Fix several occurences of the configuration file name.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4379 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-27 12:34:17 +00:00
Jean Delvare 0f479b535c Fix alignment of lm85 voltages.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4376 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-26 08:54:39 +00:00
Jean Delvare 6642539697 sensors-detect: Add /usr/sbin to the PATH. i2cdetect might be there instead
of in /usr/local/sbin. Many users have been complaining and several
distribtions were (rightly) modifying sensors-detect because of this.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4375 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-20 13:38:59 +00:00
Jean Delvare e8861069b2 sensors.conf.8: Update the chip statement section.
* Drop outdated reference to /proc/sys/dev/sensors
* Bus type can be pci
* Make the examples more realistic


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4374 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-20 13:36:43 +00:00
Jean Delvare ba7cb8eeca rrd: Misc updates
* More hwmon class changes
* Look for rrd in /usr/bin by default
* Add missing shell declarations
* Update URI


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4372 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-20 13:09:41 +00:00
Jean Delvare 0aa2104341 sens_update_rrd: Drop support for 2.4 kernels, add support for hwmon
class devices (kernels >= 2.6.14). Original patch by Jeff Kosowsky.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4371 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-20 05:47:23 +00:00
Hans de Goede bd74aa2390 -rewrite dyn chip code, it now uses sensors_feature_get_type() to
identify sysfs entries. Reasons for this rewrite / bugs fixed:
 -Don't give features like alarms / sensor type / fault flag a
  compute mapping only a normal mapping
 -Don't generate features for sysfs entries like uvent, modalias, etc.
  instead only generate features for features known by
  sensors_feature_get_type()
 -Sort the list of found features logically instead of sorted in alphabet order
  of the sysfs entry. So now it starts with all in entries, then all fan and
  then all temp. Just like the order of most entries in lib/chips.c. Also
  this means that it now contains in0 - in10 in that order and not in0, in10,
  in1 - in9


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4368 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-10 11:51:07 +00:00
Hans de Goede 16408d8665 -comment abituguru entry in lib/chips.c and prog/sensors/main.c, as the
abituguru seems to work well with the new dynamic chip support and generic
 chip printroutines. note: the abituguru code should be completly removed in
 the future.
-comment k8temp entry in lib/chips.c and prog/sensors/main.c, as the
 k8temp seems to work well with the new dynamic chip support and generic
 chip printroutines. note: the k8temp code should be completly removed in
 the future.
-make the match for the subtype exact instead of a strncmp, otherwise
 an alarm_enable flag gets classified as an alarm, leading to all sensors who
 have their alarm enabled getting an alarm reported, as the alarm_enabled gets
 read as alarm.
-and do the same for the _input match to check if this is a main or subfeature


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4367 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-09 18:07:07 +00:00
Hans de Goede ba5140b3d8 Generic chip support / get featuretype fixes just received from Bob Schlarmann, as the version I committed wasn't the latest version
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4366 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-09 17:48:57 +00:00
Hans de Goede 1b65a96744 Dynamicly determine the maximum used label length in the generic chip printing routine
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4365 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-09 14:54:05 +00:00
Hans de Goede 78a521b1a8 Some fixes for problems with the dyn chip support / generic printing routines which showed up while testing with the abituguru driver
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4364 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-09 14:52:28 +00:00
Hans de Goede be3ec092a5 generic chip printing routine for sensors prog, by Bob Schlarmann and Luuk Kleiweg
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4363 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-09 14:43:57 +00:00
Hans de Goede d871e17ccf generic chip printing routine for sensors prog, by Bob Schlarmann and Luuk Kleiweg
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4362 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-09 14:43:29 +00:00
Hans de Goede 99c2d0194c generic in/temp/fan printing routines for sensors prog, by Bob Schlarmann and Luuk Kleiweg
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4361 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-09 14:41:52 +00:00
Hans de Goede 05087736f8 add sensors_feature_get_type method, by Bob Schlarmann and Luuk Kleiweg
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4360 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-09 14:40:05 +00:00
Hans de Goede 666fe95cdb dynamicly generate a sensors_chip_features_list entry for unknown chips based on their sysfs entries, by Bob Schlarmann and Luuk Kleiweg
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4359 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-09 14:09:21 +00:00
Mark M. Hoffman c5ffa7b635 Merge from trunk (4303:4355) out to 3.0.0 branch.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4357 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-03 12:55:30 +00:00
Mark M. Hoffman 2bb6b1859a Create a branch for 3.0.0.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4303 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-23 14:02:28 +00:00
Philip Edelbrock 0dd54f3e6a Put back in placeholder versions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4301 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-16 00:00:08 +00:00
Philip Edelbrock b71ee14a2d Prep for 2.10.2 release.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4297 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-15 23:30:51 +00:00
Jean Delvare 63228c12b3 Strip unneeded whitespace on configuration load.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4296 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-14 15:42:33 +00:00
Jean Delvare 0662aaa299 fancontrol.pl:
* Disable debugging by default
* Add support for non-i2c drivers
* More tolerant config file parsing (for some reason pwmconfig
  adds unneeded spaces, it should probably be fixed but it's always
  better to be tolrant nevertheless)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4295 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-14 15:20:06 +00:00
Jean Delvare e37c58cccd Warn the user that using the unhide_ICH_SMBus script breaks system
suspend/resume.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4294 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-14 12:17:46 +00:00
Jean Delvare a4d79953bd Bump version to 2.10.2.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4293 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-14 12:06:50 +00:00
Jean Delvare 0fe1b27538 vid_from_reg: Trim the VID value to the correct number of bits for each VRM.
Original patch by Rudolf Marek, backported from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4292 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-12 12:30:22 +00:00
Jean Delvare 26483311f4 sensors: Hide error on missing w83793 temp. Patch from Gong Jun (Winbond).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4291 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-12 10:29:25 +00:00
Jean Delvare 0600fe6293 decode-dimms: Remove spaces at end of lines.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4290 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-12 10:25:07 +00:00
Jean Delvare 140bc22947 Make sure that the ICH chip is one of the supported models. Otherwise
we would write to a random register with unpredictable results.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4289 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-11 21:11:05 +00:00
Jean Delvare 2387b4cd73 Drop commented out code.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4288 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-09 07:58:52 +00:00
Mark M. Hoffman 6968eb16fe The sensors library relied on one structure having an identical layout in
memory as part of another structure.  This rather large patch fixes that by
making the smaller piece an explicit member of the larger.

I brought this patch into sync with the latest SVN, and tested it by comparing
objects files from the tree pre- and post- patch.

The remaining 99% of the credit goes to Bob Schlärmann <bob2@dsv.nl> for
creating the original patch... thanks Bob!

* Bob Schlärmann <bob2@dsv.nl> [2006-12-24 18:29:39 +0100]:
> The following patch changes all of the lib/chips.c entries and any function
> that uses sensors_chip_feature. Most of the conversion was done through a
> perl script, so if you don't agree with the syntax it'll be easy to change.



git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4287 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-09 02:46:13 +00:00
Jean Delvare b162d642a9 pwmconfig, fancontrol: Add support for non-i2c drivers. So far the
scripts were assuming that all drivers were i2c-based. As we want to
get rid of i2c-isa in Linux 2.6 soon, it's important to ensure that
platform drivers are handled properly.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4286 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-07 22:10:02 +00:00
Jean Delvare 13541ab5c4 unhide_ICH_SMBus: New features!
* check that the user is root
* check if the SMBus is already there
* only load i2c-i801 if needed
* show the SMBus device line on success


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4285 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-07 18:33:23 +00:00
Jean Delvare 6c8dde0740 Add missing w83627ehf in9.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4284 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-06 22:38:37 +00:00
Rudolf Marek d43c1d23bd Add the unhide_ICH_SMBus script
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4283 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-06 22:18:39 +00:00
Jean Delvare dc9d483940 p4b_smbus: Add support for the ICH5. The Asus P4P800-X motherboard that
was given to our project by Winbond has its SMBus hidden and needs this.
Also update the documentation a bit.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4282 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-06 10:55:02 +00:00
Jean Delvare ddd9ba2baf sensord: Add support for the k8temp driver and for the voltage inputs
of the w83627ehf driver. Patch from Dave Platt.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4281 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-06 08:49:59 +00:00
Jean Delvare 55e8649c0d pwmconfig, fancontrol: Gracefully handle errors when writing to
sysfs files, as bash 3.1 otherwise displays them and this tends to
frighten the user.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4280 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-05 16:34:32 +00:00