Commit Graph
3326 Commits
Author SHA1 Message Date
Rudolf Marek 9aaa09c40e Add PCI bus support - forgot to commit with last changeset
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4099 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-19 15:29:55 +00:00
Rudolf Marek 3027d75a12 Add PCI bus support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4098 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-19 15:23:10 +00:00
Jean Delvare a73b6b8ac6 doc/developers/sysfs-interface: Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4097 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-19 09:03:52 +00:00
Jean Delvare 2396d5cab7 Enhance w83791d support. Add output for in7, in8, in9, fan4 and fan5.
Also update to display the (beep) properly due to the fact that the
w83791d beep enable mask is different than the alarm mask.
Patch from Sven Anders and Charles Spirakis.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4096 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-18 16:06:55 +00:00
Jean Delvare 0d15763f81 Restore errors on it87 in3 and in7, I misread the datasheets, these inputs
are always present, although different pins may be used.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4095 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-13 14:28:30 +00:00
Jean Delvare e554f90d33 Rewrite the bank switching code in a slightly different way to keep
some compilers quiet.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4094 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-12 21:02:54 +00:00
Jean Delvare c8ae77bdc6 No error on missing it87 in3, in5, in6 or in7. These inputs are shared
with other functions on some IT87xxF variants so the Linux 2.6 driver may
not present them forever.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4093 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-12 18:03:13 +00:00
Jean Delvare 79a7acacec Fix the detection function calls, so that we no more need to declare
these functions separately.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4092 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-11 12:42:52 +00:00
Jean Delvare 9bebd47af0 Rename "DDC monitor" to "EDID EEPROM" so users don't think it has
anything to do with hardware monitoring.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4091 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-11 12:26:16 +00:00
Jean Delvare 00980f98fd i2c-isa will soon be gone.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4090 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-11 07:34:32 +00:00
Jean Delvare 0e3ba1d1a1 Add support for the ITE IT8718F Super-I/O chip (prefix: it8718).
Unsurprisingly, it is very similar to the IT8716F.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4089 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-09 07:20:54 +00:00
Jean Delvare 45bc29eb71 More .PHONY targets.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4088 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-09 06:55:59 +00:00
Jean Delvare c352815e5d Some more it8716 voltage configuration.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4087 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-09 06:51:06 +00:00
Jean Delvare 0d09dd4dfe sensors-detect: Check i2c adapter functionalities before probing, so that
we don't use SMBus transactions the adapter doesn't support. This could
be extended to the transactions used during detection itself.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4086 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-09 06:45:48 +00:00
Jean Delvare 6e2060e7ad sensors-detect: Drop the ISA IT87xxF detection. Super-I/O detection is
more reliable.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4085 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-08 07:01:40 +00:00
Jean Delvare ec617129c6 Detect the upcoming IT8718F Super-I/O chip. Support will most certainly go
into the it87 driver at some point.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4084 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-04 11:42:52 +00:00
Jean Delvare 79817f34ce Add support for the IT8716F (prefix it8716). It is mostly similar to the
IT8712F so there's not much to do. The most significant difference is that
fan speeds are now reported as 16-bit values, without fan clock dividers.
For this reason, I made the fan_divs optional in sensors. I also made the
fans themselves optional, as I noticed that a number of motherboards don't
use (and don't enable) fan3.

I've made a separate section (chip "it8716-*") in sensors.conf.eg, because
new motherboards tend to have different wirings (e.g. negative voltage
lines are not monitored) so this will make for saner defaults.

Thanks to Stian Oksavik for testing.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4083 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-03 20:28:20 +00:00
Jean Delvare 0da02179e0 Kill some dead code, which dealt with the case where a driver probes
less I2C addresses by default than the script itself does. The feature
was never used, and I don't think it's particuarly useful, so removing
it for simpler code makes sense.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4082 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-02 19:53:20 +00:00
Jean Delvare a526a4a690 Check for fscanf() failure when reading sysfs attributes.
Also drop a redundant return.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4081 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-01 09:48:42 +00:00
Jean Delvare 4c211d81d9 prog/dump/*.c, prog/detect/*.c: Handle possible error in fgets().
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4080 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-01 09:46:50 +00:00
Jean Delvare dd7848c788 Typo fix, thanks to Brian C for reporting.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4079 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-29 16:21:54 +00:00
Jean Delvare b7ba72c716 sensors-detect: Do not scan i2c-isa as if it were a regular i2c bus.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4078 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-29 16:05:13 +00:00
Jean Delvare 22e6b03e94 sensors-detect: Get driver information for busy addresses from
sysfs (2.6 only).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4077 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-29 15:58:26 +00:00
Jean Delvare ff013b4ffd EEPROMs are not sensors.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4076 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-28 13:58:46 +00:00
Jean Delvare b040372834 sensors-detect: Add NatSemi/Winbond PC87427 detection. The chip is quite
complex and may require a custom detection function.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4075 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-28 12:20:25 +00:00
Jean Delvare 9530bd113c sensors.conf: Kill redundant set line in lm85 section.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4074 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-26 10:02:07 +00:00
Mark M. Hoffman 0705e4d581 Reformat of lib/access.c:
First ran .../scripts/Lindent from Linux 2.6.x, then fixed up some
things that were particularly ugly.  Verified the final result by
rebuilding and running 'objdump -d' on the before and after; there
were no differences.



git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4073 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-25 02:12:37 +00:00
Jean Delvare 05ef6df32d Oops, revert a change which I did not intend to commit at this point.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4070 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-24 19:38:38 +00:00
Jean Delvare dee46838bb Makefile: Silent errors on missing dependency files.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4069 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-24 19:34:09 +00:00
Jean Delvare adf4130ad1 Pending update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4067 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-23 14:57:38 +00:00
Rudolf Marek e8e2f84152 Add the IT8716 detection
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4066 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-12 18:06:34 +00:00
Jean Delvare 2b7ecb1f9b Drop duplicate udevdb file test.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4065 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-04 22:05:35 +00:00
Rudolf Marek 74a7992f19 Transion to new website, part2 - move more links, fix the CVS->SVN
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4064 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-02 20:15:09 +00:00
Rudolf Marek 7e1836636c Migrate links to new site and system
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4063 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-07-02 19:50:05 +00:00
Jean Delvare d3fa65e9f6 sensors-detect: Add AMD Geode devices detection
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4062 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 21:37:40 +00:00
Jean Delvare 47bd9a6501 Various cleanups to the i2c-i801 driver:
* Fix self file name reference.
* i801_setup can be marked __devinit.
* Drop useless error local variable and label in i801_setup.
* Use symbolic names for SMBHSTCFG bits.
* Transmit the error code returned by i801_setup instead of forcing it
  to an arbitrary value.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4061 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 21:05:37 +00:00
Jean Delvare 21a1be7e49 i2c-i801: Remove PCI function check
Remove the PCI function number check when probing devices.
This check is redundant, each function has a separate PCI device
ID, so checking for that ID is sufficient.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4060 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 19:10:41 +00:00
Jean Delvare d98d0c0185 i2c-i801: Fix block transaction poll loops
Two of the three poll loops have the poll and sleep swapped,
causing an extra sleep to occur after the polled condition is
fulfilled. In practice, this doubles the amount of sleep time for
every block transaction.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4059 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 18:39:51 +00:00
Rudolf Marek 4538a94a5f Revert the last bus hang fix. Further research neccessary.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4057 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 17:43:54 +00:00
Jean Delvare 97dd8eeac4 One more motherboard confirmed to have an LM83 temperature sensor chip.
Thanks to Steven Hardy for reporting.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4056 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 17:10:55 +00:00
Jean Delvare ddbf42960f sensors-detect: Add nForce4 MCP04, MCP51 and MCP55 detection
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4055 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 16:00:04 +00:00
Jean Delvare 0ed4b1e3f3 Add support for the new nForce4 MCP51 (also known as nForce 410 or
430) and nForce4 MCP55 to the i2c-nforce2 driver. Some code changes
were required because the base I/O address registers have changed in
these versions. Standard BARs are now being used, while the original
nForce2 chips used non-standard ones. (2.6 backport)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4054 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 15:53:26 +00:00
Jean Delvare cff7834fe4 Properly document on which systems the i2c-piix4 SMBus driver will
refuse to load. Hopefully this will make it clearer for users, which
were often wondering why their destop or server systems were detected
as laptops.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4053 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 15:08:03 +00:00
Jean Delvare 22fb337837 Fix typo.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4052 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 14:40:36 +00:00
Jean Delvare 4e98d0d9f2 i2c-piix4: Drop the fix_hstcfg parameter (2.6 backport)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4051 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 14:36:15 +00:00
Jean Delvare c33a248478 i2c-piix4: Add ATI IXP200, IXP300, IXP400 support (2.6 backport)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4050 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 13:45:08 +00:00
Jean Delvare 39ee1091d0 Add lm82 features table.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4049 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 13:36:03 +00:00
Jean Delvare c7ce94770a lm83: Add LM82 support (2.6 backport)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4048 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-23 13:16:09 +00:00
Jean Delvare b78bf75922 sensors-detect: Handle the W83791D driver difference between kernels.
Patch from Charles Spirakis.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4044 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-18 16:53:02 +00:00
Rudolf Marek 7d09149f50 Fix my stupid error (par was missing)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4043 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-18 16:42:31 +00:00