Commit Graph
489 Commits
Author SHA1 Message Date
Jean Delvare 1d97d5c041 decode-edid.pl: Append /usr/sbin or /usr/local/sbin to $PATH if needed.
This is needed because parse-edid is typically installed in one of these
directories, even though any user can use it.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4126 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-09-01 07:44:54 +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 fd1ed9de03 Attempt to make sensors-detect slightly more user-friendly, part one.
* Kill the annoying blank space in front of half of the messages.
* Stop frightening the user with problems which might have happened some
  years ago, but are very rare nowadays.
* Skip some messages on 2.6 kernels where they do not apply.
* Don't even mention i2c-dev if it is already loaded or build into the
  kernel.
* Reword some messages.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4120 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-29 09:17:56 +00:00
Jean Delvare 2e795e09dc sensors-detect: Exit immediately if user isn't root. It makes very little
sense to try and continue as a non-root user, as we won't be able to load
modules, nor to probe i2c busses, nor to access the ISA ports. It's way
less confusing for the user to clearly state he/she needs to be root,
and stop.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4119 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-28 21:19:59 +00:00
Jean Delvare 08a1bd9684 The original adm1026 driver numbered the fans from 0 to 7, and so does
libsensors. The Linux 2.6 adm1026 driver uses the standard numebring
(from 1 to 8). Map fan0 to fan8 to make things work while keeping
confusion to the minimum (hopefully.)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4118 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-28 19:15:28 +00:00
Jean Delvare e8f0bc718a sensors-detect: Add Analog Devices ADM1033, ADM1034, ADT7462, ADT7466,
ADT7470, ADT7473 and ADT7475 detection.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4116 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-27 19:51:38 +00:00
Jean Delvare 8c235d29a9 Add userspace support for the Winbond W83793. Patch contributed by
Yuan Mu (Winbond.)


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4109 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-24 18:13:20 +00:00
Jean Delvare 3927246f86 sensors-detect: Simplify detection of SiS5595, VIA686 and VT8231.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4108 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-23 18:52:46 +00:00
Jean Delvare 751f337660 sensors-detect: Add AMD K8 thermal sensors detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4106 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-23 18:14:09 +00:00
Jean Delvare 62365c568b Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4105 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-23 15:10:10 +00:00
Jean Delvare b963378e7f sensors-detect: Add Intel ICH8 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4104 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-23 14:41:42 +00:00
Jean Delvare f7fb55a8a8 Revert previous Makefile change (Silent errors on missing dependency files)
as it appears to break with GNU make 3.81.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4102 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-08-20 08:46:38 +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 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 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 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 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 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 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
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
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 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 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
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 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
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
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
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
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
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
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
Jean Delvare 4798dea54f Big update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3278 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-03-28 21:34:01 +00:00
Philip Edelbrock 82dfdcd401 Prep for next release
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3257 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-02-15 01:48:36 +00:00
Philip Edelbrock 4850355cfb Tag and release 2.10.0
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3255 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-02-15 01:40:35 +00:00
Jean Delvare 676c7c3b7a Update.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3254 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-02-11 18:55:48 +00:00
Jean Delvare f2ef2f833e Updates.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3249 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-29 16:16:09 +00:00
Jean Delvare f73ee701a0 Drop the generic CVS help at the top of the file. CVS is not
exactly a new technology anymore.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3239 7894878c-1315-0410-8ee3-d5d059ff63e0
2006-01-19 20:44:48 +00:00