Commit Graph
1259 Commits
Author SHA1 Message Date
Jean Delvare 5fa737e5e1 Add support for the EMC6D102 extra resolution bits. The chip offers
4 extra resolution bits per voltage and temperature channel, but I
chose to use only 2 bits per channel because that's what the ADM1027
has so it made the changes smaller. The EMC6D102 has a 10-bit ADC
anyway, the 2 remaining bits are obtained from averaging so they are
not so important.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4574 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-07 08:09:38 +00:00
Jean Delvare ae007f5831 Clean up needless casts and initializations.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4573 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-07 07:55:35 +00:00
Jean Delvare ba665c528e Add user-space support for it87 fan4 and fan5. Closes half of ticket #2227.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4565 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 15:44:28 +00:00
Jean Delvare 6689a949c5 thmc50: Fix the i2c address range.
Add link to the datasheets.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4558 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-05 20:51:51 +00:00
Jean Delvare 90c1efe606 lm85: Fix setting the fan speed min limit to 0.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4557 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-05 20:44:31 +00:00
Jean Delvare 0bf7088ebe Don't redefine vid_from_reg().
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4542 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 13:09:56 +00:00
Jean Delvare f28266b7c4 Optimizations: we don't need to initialize fan_min values, and we don't
need to call w83627ehf_update_client() for disabled fans.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4457 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-18 15:32:53 +00:00
Jean Delvare 106eb3a3e1 Add support for the w83627ehf thermal sensor types. I made them read-only,
as the BIOS is supposed to set them up properly. This information makes it
easier to find out which temperature channel corresponds to the CPU.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4456 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-18 15:17:43 +00:00
Jean Delvare 750f943973 If VBAT monitoring is disabled, enable it. Original patch from an
anonymous contributor in ticket #2218.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4455 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-18 12:17:05 +00:00
Jean Delvare 2362e26b04 Really preserve the fan speed reading when changing the fan clock divider.
Changeset r4452 was incomplete.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4454 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-17 18:52:53 +00:00
Jean Delvare 971d793d02 Add support for the w83627ehf VID function.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4453 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-17 16:50:57 +00:00
Jean Delvare 5769166303 Really preserve the fan speed reading when changing the fan clock divider.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4452 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-17 13:00:02 +00:00
Jean Delvare 9befc96918 Disable debugging by default.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4448 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-15 09:21:06 +00:00
Jean Delvare 4efcb0a736 New w83627ehf driver, for the W83627EHF/EHG chip. Backported from Linux 2.6,
based on preliminary work by Yuan My (Winbond). Thanks to Bernardo Motta
at Observit for providing the hardware that made it possible.
Note that support for the W83627DHG isn't included, but it could easily be
added later is anyone needs it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4447 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-15 09:15:18 +00:00
Jean Delvare e768f807d1 Support and use the new I2C block read with variable length which will
be available in Linux kernel 2.6.23. Binary compatibility is guaranteed,
source code compatibility isn't, but the incompatibility will be
spotted quickly as the prototype of the helper function
i2c_smbus_read_i2c_block_data() changed. The only problem would be if
a program is calling i2c_smbus_access() directly. Hopefully this should
be a rare case. The py-smbus binding code is in this case and will be
adjusted soon.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4417 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-28 08:57:41 +00:00
Mark M. Hoffman 0b0888128f Bugfix: report current prochot value properly.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4401 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-13 03:43:05 +00:00
Jean Delvare 110b165ddb Delete useless files.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4396 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-09 12:48:28 +00:00
Jean Delvare 74b4f3f82e Minor cleanup to the "clean" target.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4395 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-09 12:47:20 +00:00
Jean Delvare 461e812881 i2c-nforce2: Add support for the nForce MCP61 and MCP65. This is a
backport from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4389 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-05-05 15:41:38 +00:00
Jean Delvare d7521f982b Spelling fix: explicitly.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4348 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-18 09:45:21 +00:00
Jean Delvare 946fc47468 smsc47m1: Get rid of a useless semaphore (backport from Linux 2.6).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4332 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-23 14:48:54 +00:00
Jean Delvare 820bd2eda7 Add support for the SMSC LPC47M292 fans.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4331 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-23 14:33:32 +00:00
Jean Delvare 745df245fa Cleanup a legacy comment that has been replicated to many drivers
but is no longer true. Backported from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4328 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-20 09:40:08 +00:00
Jean Delvare 86da07df5b Drop unused mutexes in 3 drivers. Backport from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4327 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-20 09:32:55 +00:00
Jean Delvare 567c1e3e3a i2c-ali1563: Fix device initialization (backported from Linux 2.6)
The i2c-ali1563 initialization looks quite broken to me:
* If the I/O space isn't enabled, we forcibly set 3 bits in
  the PCI configuration space instead of just the one enabling
  the I/O space.
* After that we pretend to check if the write worked, but we
  don't actually read the new value from the register.
* It's probably not a good idea to enable the I/O space if no
  base address has been set.

So I propose the following changes to that part of the driver:
* Merge ali1563_enable() into ali1563_setup().
* Check the base address before the I/O space enabled bit.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4324 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-15 10:42:43 +00:00
Jean Delvare 529b3a0d08 Improve the status messages printed by the i2c-ali1563 driver.
This is a backport from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4323 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-15 10:36:29 +00:00
Jean Delvare 3979540106 bmcsensors: Fix debugging messages.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4322 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-15 10:17:37 +00:00
Jean Delvare 4967880163 i2c-nforce2: Drop unused reference to pci_dev. (2.6 backport)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4321 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-15 10:16:08 +00:00
Jean Delvare 7946ac235d Add ATI SB600 SMBus support, backported from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4320 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-15 10:05:43 +00:00
Jean Delvare 1376ab22c5 Add VIA CX700 SMBus support, backported from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4319 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-15 09:56:04 +00:00
Jean Delvare 4d2fbe0740 i2c-amd8111: Cleanups and fixes backported from Linux 2.6.
* Add an explicit mask when writing the low byte of a word.
* Use I2C_SMBUS_BLOCK_MAX instead of hardcoding 32.
* Use boolean not instead of bitwise not for bit tests, it's clearer.
* Return proper error values rather than -1.
* Fix a race on device registration, initialization should be done
  before the bus is registered.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4318 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-15 09:34:08 +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 ac08de0cd3 Fix typo: successful.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4278 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-02 18:42:54 +00:00
Jean Delvare e0dfabe9f2 bmcsensors: Fix fragile structure initialization.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4277 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-02 18:41:52 +00:00
Jean Delvare 4a82f3e86c bmcsensors: Fix several compilation warnings.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4276 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-01-02 18:35:41 +00:00
Jean Delvare 84d4715bc6 f71805f: Fix the device address decoding
The lowest 3 bits are ignored, and the chip decodes all 8 addresses,
not only the 2 it needs. This is a backport from Linux 2.6.20.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4263 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-15 09:25:45 +00:00
Jean Delvare f298680633 Add Intel ICH9 support.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4252 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-12-03 15:08:15 +00:00
Jean Delvare 8e305c484f List the SMSC LPC47M112 as supported.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4218 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-10-19 09:55:14 +00:00
Jean Delvare 4626fc46e6 Delete the icspll driver. It was rather useless, not built by default,
supposedly dangerous, and has nothing to do with sensors.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4197 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-10-06 14:39:58 +00:00
Jean Delvare a4fc9253af vt1211: Rework the voltage and temperature conversions and the temperature
input order to match the Linux 2.6 driver.
libsensors: Change vt1211 temp3-7 magnitude from 1 to 3.
sensors.conf.eg: Adjust the vt1211 section to match the new driver
                 interface.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4168 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-23 09:32:29 +00:00
Jean Delvare 73413d0d92 Remove empty include directories on make user_uninstall.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4163 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-20 15:47:04 +00:00
Rudolf Marek c9bd83748b Fix the homepage address
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4157 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-17 21:01:35 +00:00
Jean Delvare 09bd83fa7d vt1211 fixes:
* No in6
* More inputs can be missing (depends on UCH config)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4154 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-07 19:51:25 +00:00
Rudolf Marek c857b40f7a Backport VT8237A and VT8251 support
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4125 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-31 21:00:44 +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 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
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
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