Commit Graph
1285 Commits
Author SHA1 Message Date
Jean Delvare ca3f53c26d lm90: Use generic i2c reads during detection (2.6 backport).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5120 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-08 19:10:35 +00:00
Jean Delvare 15d2b1d2a6 gl518sm: Fix fan speed reading (2.6 backport).
gl520sm: Fix fan speed reading (2.6 backport).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5119 7894878c-1315-0410-8ee3-d5d059ff63e0
2008-02-08 10:34:10 +00:00
Jean Delvare 3433b8d9ed adm1026: Various cleanups.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5054 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-01 10:50:40 +00:00
Jean Delvare f16b6923bd Drop outdated URL.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5053 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-12-01 10:42:58 +00:00
Jean Delvare 53622c0a2e Discard dead e-mail address.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5042 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-24 16:58:08 +00:00
Jean Delvare 9df95ebdee Recognize VGN as a valid Sony Vaio name prefix. This is a backport from
Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5021 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-16 09:08:44 +00:00
Jean Delvare b5f0bc5e6c eeprom: Drop useless and possibly unsafe debugging log messages.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5020 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-16 09:02:12 +00:00
Jean Delvare 7294b74b97 Hide Sony Vaio serial number and UUID to regular users. This is a backport
from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5019 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-11-16 08:48:06 +00:00
Jean Delvare 551652eec1 i2c-nforce2: Declare PEC as supported. This is a backport from Linux 2.6.
Kill dead code.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4953 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-14 12:35:10 +00:00
Jean Delvare c681f7c79c Rename I2C_FUNC_SMBUS_HWPEC_CALC to I2C_FUNC_SMBUS_PEC, as was done
in the Linux 2.6 kernel.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4950 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-14 11:42:41 +00:00
Jean Delvare f0c355da8c Add support for the Intel Tolapai to i2c-i801. This is a backport from
Linux 2.6, original patch by Jason Gaston.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4946 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-10-14 10:23:09 +00:00
Jean Delvare b21ea865ec Clean up alarm bit definitions.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4891 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-26 18:15:47 +00:00
Jean Delvare 82197ef51e Fix ATI SB700 SMBus support, add SB800 support (backport from Linux 2.6,
original patch by Shane Huang).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4739 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-09-01 08:19:13 +00:00
Jean Delvare aa52221779 Add a missing register read in fscher. Original patch from Hans de Goede,
backported from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4659 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-12 17:03:09 +00:00
Jean Delvare 1b69a84283 Fix an array overrun in lm93. Original patch by Hans J. Koch, backported
from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4658 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-12 16:55:35 +00:00
Jean Delvare 1d059ab3e0 Delete dead code.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4652 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-11 17:22:20 +00:00
Jean Delvare 3a59a49011 Add missing new line at end of log messages. Indirectly reported
by Joe Perches.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4651 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-08-11 07:30:31 +00:00
Jean Delvare 7429bc0191 Fix the writing of the temperature interrupt configuration.
The old code was working only by accident. Backport from Linux 2.6.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4634 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-21 08:36:54 +00:00
Jean Delvare d69b87bb74 Use PCI_REVISION_ID instead of our own define (backport from Linux 2.6.)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4633 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-21 08:35:40 +00:00
Jean Delvare 226dffd064 Whitespace cleaups (backport from Linux 2.6).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4625 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-18 21:02:42 +00:00
Jean Delvare 57e38757f1 Add ATI SB700 support to the i2c-piix4 driver. This is a backport from
a Linux 2.6 patch by Henry Su.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4624 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-18 21:01:35 +00:00
Jean Delvare 7e3b183eab Delete many unused defines. Backport from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4623 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-18 20:58:12 +00:00
Jean Delvare 8eaa3767b1 Warning fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4614 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-14 18:55:14 +00:00
Jean Delvare f2f170a903 Warning fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4613 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-14 17:19:47 +00:00
Jean Delvare e251c94f60 Warning fix.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4612 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-14 16:59:50 +00:00
Jean Delvare 44b541a1e8 Fix broken links to datasheets.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4608 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-13 14:57:31 +00:00
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