2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-09-05 08:45:26 +00:00
Commit Graph

4039 Commits

Author SHA1 Message Date
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
Rudolf Marek
0e29665c65 Backport of 2.6 - Workaround the controller hang
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4042 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-06 16:32:41 +00:00
Jean Delvare
3c3999f9f0 lib/sysfs.c: Fix no sensors being reported as an error.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4041 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-06 11:23:59 +00:00
Jean Delvare
3098b38071 w83792d: Fix PWM range. Backport from Linux 2.6, patch from Yuan Mu.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4040 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-05 08:06:27 +00:00
Jean Delvare
e6ba14f1bf i2c-viapro.c: Move definition of PCI IDs before they are used.
This fixes compilation with old kernels (2.4.20 and earlier). Thanks
to Yuan Mu for reporting.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4039 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-05 07:55:07 +00:00
Jean Delvare
0fc147568d Drop out-of-date comment.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4038 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-04 06:30:04 +00:00
Jean Delvare
b74c06f0f2 prog/sensors/chips.c: Fix a memory leak in print_unknown_chip.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4037 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-03 09:22:10 +00:00
Rudolf Marek
e00d3dc353 Add W83627DHG, add the revision of W83627EHF (0xA1)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4036 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-02 20:23:21 +00:00
Jean Delvare
3643a0b2e0 Add user-space support for abituguru. Patch from Hans de Goede.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4035 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-06-02 18:49:23 +00:00
Rudolf Marek
dc0f84921f Reflect the W83792D driver update
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4034 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-31 17:39:49 +00:00
Axel Thimm
5d81b2b86b Test
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4033 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-31 15:47:13 +00:00
Frodo Looijaard
c30fbf3475 Test
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4032 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-31 15:26:12 +00:00
Frodo Looijaard
b81de6e42e Fix the subclient handling.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4031 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-31 14:31:01 +00:00
Jean Delvare
7147ec7daa Comment out all set statements. This should prevent further
reports from new users experiencing beeps, instant shutdown etc. when
just installing lm_sensors.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3312 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-27 14:53:31 +00:00
Jean Delvare
3d72c87970 Let the user know that eeprom support is going away soon.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3311 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-26 15:33:57 +00:00
Jean Delvare
1d95c24a0d Nicer header format.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3310 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-26 11:00:33 +00:00
Jean Delvare
66636b1aa1 Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3309 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-26 10:48:58 +00:00
Jean Delvare
a0816bd94b SPD revision decoding depends on memory type.
Use more user-friendly labels.
Fix HTML formatted output on checksum error.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3308 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-26 10:43:47 +00:00
Jean Delvare
c9d06d5ebc Decode latencies and timings (DDR2 SDRAM).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3307 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-26 09:55:14 +00:00
Jean Delvare
b80f29c456 Decode size (Direct Rambus and Rambus). At this point, this
script provides all the information "sensors" does for SPD eeproms, so
we're not so far from dropping eeprom support from sensors.
Code cleanups.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3306 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-26 09:23:10 +00:00
Jean Delvare
6af2009a02 Fix latencies decoding (SDRAM).
Fix CAS latency decoding (DDR SDRAM).
Decode latencies, timings and module height (DDR SDRAM).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3305 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-26 08:39:20 +00:00
Rudolf Marek
5eb8aa161d Add ICH8 support. 2.6 backport
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3304 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-23 11:23:53 +00:00
Jean Delvare
d785c0ecce Detect undefined manufacturer code and handle it properly.
Round up timing data.
Minor display adjustments.
Group cycle and access times, display the CAS value for each (SDRAM).
Refactor some bitfield tests into loops (SDRAM).
Display latencies and burst length on a single line (SDRAM).
Don't display manufacturing location when undefined.
Check that the manufacturing date is proper BCD, else fall back to
hexadecimal display.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3303 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-21 17:39:48 +00:00
Rudolf Marek
4b0db08ea2 Rename some copanies as 106T suggest, but only from 2004. I'm lazy
to check and others seems already renamed.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3302 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-20 20:29:02 +00:00
Rudolf Marek
53d8879a6f Bump the JEDEC ID codes to version 106T
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3301 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-20 20:22:49 +00:00
Mark M. Hoffman
4d2c4fd212 Previous leak fix caused multiple sensors_init() calls to break.
This patch fixes that by managing the scanner buffers manually.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3300 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-20 15:24:37 +00:00
Rudolf Marek
54423af70d Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3299 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-16 22:12:30 +00:00
Rudolf Marek
c3304ead04 Add the size computation for SDRAM, DDR and DDR2
Add the most common timing characteristics of SDRAM/DDR/DDR2 as brief output


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3298 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-16 22:08:56 +00:00
Jean Delvare
eb7eee8136 Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3297 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-16 08:26:01 +00:00
Mark M. Hoffman
9a8f962d88 Allow the config file scanner to release its buffers upon EOF.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3296 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-16 02:14:57 +00:00
Jean Delvare
bda180fcff Don't decode the revision code, manufacturing date and assembly
serial number where not set. Decode the manufacturing date to an ISO8601
date.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3295 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-15 10:52:09 +00:00
Jean Delvare
f7f58f3110 Decode the SPD data depending on the memory type. Only SDRAM is
complete for now, DDR and DDR2 need to be extended.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3294 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-15 10:19:46 +00:00
Mark M. Hoffman
e620cb652c fix 2 leaks found by valgrind - missing some free() during cleanup
(as opposed to ongoing run-time leaks)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3293 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-15 03:06:05 +00:00
Jean Delvare
fd2023d0cf Static semaphores can be initialized at declaration time. This is
a backport from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3292 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-14 14:59:37 +00:00
Jean Delvare
c72b364135 Drop a redundant semaphore. The struct i2c_adapter includes a
semaphore for the same purpose, operated by i2c-core. This is a backport
from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3291 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-05-14 14:39:50 +00:00
Jean Delvare
4bab489796 Reset the PEC bit after every transaction. This partly reverts the
previous change. This is needed by some BIOSes at reboot and resume time.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3290 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-04-22 18:06:49 +00:00
Jean Delvare
561eb551be Drop unused I2C/SMBus low-level definitions and code. In
particular, we really don't want to use SMBus write functions in this
script.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3289 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-04-22 09:06:21 +00:00
Jean Delvare
2beecd912c Updates.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3288 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-04-22 08:54:26 +00:00