Hans de Goede
ba5140b3d8
Generic chip support / get featuretype fixes just received from Bob Schlarmann, as the version I committed wasn't the latest version
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4366 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-09 17:48:57 +00:00
Hans de Goede
1b65a96744
Dynamicly determine the maximum used label length in the generic chip printing routine
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4365 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-09 14:54:05 +00:00
Hans de Goede
78a521b1a8
Some fixes for problems with the dyn chip support / generic printing routines which showed up while testing with the abituguru driver
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4364 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-09 14:52:28 +00:00
Hans de Goede
be3ec092a5
generic chip printing routine for sensors prog, by Bob Schlarmann and Luuk Kleiweg
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4363 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-09 14:43:57 +00:00
Hans de Goede
d871e17ccf
generic chip printing routine for sensors prog, by Bob Schlarmann and Luuk Kleiweg
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4362 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-09 14:43:29 +00:00
Hans de Goede
99c2d0194c
generic in/temp/fan printing routines for sensors prog, by Bob Schlarmann and Luuk Kleiweg
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4361 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-09 14:41:52 +00:00
Hans de Goede
05087736f8
add sensors_feature_get_type method, by Bob Schlarmann and Luuk Kleiweg
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4360 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-09 14:40:05 +00:00
Hans de Goede
666fe95cdb
dynamicly generate a sensors_chip_features_list entry for unknown chips based on their sysfs entries, by Bob Schlarmann and Luuk Kleiweg
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4359 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-09 14:09:21 +00:00
Jean Delvare
0db2710999
sensors-detect: Add /usr/sbin to the PATH. i2cdetect might be there instead
...
of in /usr/local/sbin. Many users have been complaining and several
distribtions were (rightly) modifying sensors-detect because of this.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4358 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-04 19:24:39 +00:00
Mark M. Hoffman
c5ffa7b635
Merge from trunk (4303:4355) out to 3.0.0 branch.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4357 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-04-03 12:55:30 +00:00
Jean Delvare
df35b2d189
Add user-space support for the SMSC DME1737. Patch from Juerg Haefliger.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4355 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-27 15:46:14 +00:00
Jean Delvare
a3e5a4d228
libsensors: Clean up pwm symbol names translation.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4354 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-25 17:08:20 +00:00
Jean Delvare
628e9ffba4
sensors-detect: Probe the Super-I/O families from the shorter enter
...
sequence to the longer one, and stop as soon as one enter sequence worked.
This avoids false positives.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4353 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-25 15:25:57 +00:00
Jean Delvare
2f1bfd2e6b
sensors: Drop ddcmon and eeprom support. This had been announced some time
...
ago already. These are not sensors, they don't belong there.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4352 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-25 15:19:09 +00:00
Jean Delvare
cbdca6d91a
isadump: In addr/data-style mode, detect when bit 7 of the address port
...
is a busy flag, and automatically adjust the range from 256 to 128 bytes
in that case.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4351 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-25 15:16:12 +00:00
Philip Edelbrock
1f4ebca0c9
Prep for 2.10.3 release.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4349 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-19 23:42:19 +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
572723411f
sensors-detect: Make the LM78 and W83781D detection safer.
...
If we find that the register at offset 5 doesn't behave as it would for
an LM78 or W83781D chip, attempt to restore its 8 original bits rather
than just the 7 LSB.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4347 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-17 21:07:54 +00:00
Jean Delvare
4139fb3407
Fix repeated typo in chip name.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4346 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-17 13:23:02 +00:00
Jean Delvare
11976a4391
libsensors: Fix max1619 support.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4345 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-17 13:15:35 +00:00
Jean Delvare
e3f004eedc
libsensors: Fix support of Linux 2.6's max6650 driver.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4344 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-17 12:57:34 +00:00
Jean Delvare
3542faf771
Change the MAX6900 driver from "to-be-written" to "not-a-sensor". This is
...
a RTC chip. We detect it only because it lives at address 0x50, which is
also used by some hardware monitoring chips and most notoriously EEPROMs.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4343 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-16 09:36:42 +00:00
Jean Delvare
8ef87e8737
sensors-detect: Add SMSC SCH5504 Super-I/O detection (no sensors). Patch
...
contributed by Corentin Labbe.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4342 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-11 12:50:55 +00:00
Jean Delvare
11be56d092
fancontrol.pl: Fix pwmN_enable access ( #2190 ).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4341 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-11 10:21:46 +00:00
Jean Delvare
121fc83822
sensors-detect: Add National Semiconductor (now Winbond) PC8347L
...
Super-I/O detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4340 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-10 18:40:00 +00:00
Jean Delvare
bd03b54046
Compile libsensors with -D_REENTRANT.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4339 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-10 18:38:16 +00:00
Rudolf Marek
3d6526249e
Fix the TYAN site link
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4338 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-04 22:29:32 +00:00
Jean Delvare
560d6cc458
library: Handle the i2c-isa case properly even after the class_dev
...
removal. In recent kernels we can detect i2c-isa devices by checking
the i2c bus number: i2c-isa always uses 9191 as its bus number.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4337 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-03 15:58:21 +00:00
Jean Delvare
bb954ebf0e
Warning fixes.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4336 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-03 15:07:00 +00:00
Jean Delvare
217c7bbaff
i2cdump: Cleaner output in SMBus block read mode (s).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4335 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-03 14:57:56 +00:00
Jean Delvare
49a1b7a503
sensors: Do not print adapter errors when -A is used.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4334 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-03-03 14:10:39 +00:00
Jean Delvare
4da00e38a6
Fix ADM1028 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4333 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-24 18:13:41 +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
a1559d82f8
sensors-detect: Add nVidia MCP61 and MCP65 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4330 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-23 13:50:49 +00:00
Jean Delvare
026737e683
Add SMSC LPC47M292 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4329 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-20 19:41:37 +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
a0d41dc880
libsensors: Do not skip i2c adapters with only a class device and no
...
physical device. This change is required to survive the planned struct
class_dev removal from future 2.6 kernels.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4326 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-15 11:58:53 +00:00
Jean Delvare
8e64f3890e
sensors-detect: Add Dallas DS75 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4325 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-15 10:45:49 +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
0545ac0ba3
Drop function hexchar(). What was the point of reinventing printf?
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4317 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-04 21:03:12 +00:00
Jean Delvare
a441a7710c
i2cdetect, i2cdump, isadump: Flush the output in real time. That way it's
...
easier to find out which specific address causes problem if the system
freezes or the SMBus locks itself, for example.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4316 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-04 20:54:02 +00:00
Jean Delvare
669ce901d1
i2cdetect.8: Update to mention the optional parameters that can be passed
...
to restrict the scanning range.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4315 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-02-04 20:50:11 +00:00