Jean Delvare
982afbce24
Only write integer values to pwm files.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4591 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-08 11:17:26 +00:00
Jean Delvare
cd0b8c3489
Delete fancontrol.pl. The reason given when it was added was that the
...
bash implementation was spawning too many child processes, and that
was true, but this has been addressed since. And I don't particularly
enjoy maintaining two scripts doing exactly the same thing.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4590 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-08 10:13:11 +00:00
Jean Delvare
759098c8f8
Use linear interpolation instead of quadratic to choose PWM values.
...
This is simpler and will work better in most cases. For example this
should address at least part of ticket #2224 . It seems that quadratic
was used to lower the average noise level, but I don't think this is a
valid reason. The new MINPWM and MAXPWM parameters will also let the
user control the noise level if really needed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4589 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-08 10:04:48 +00:00
Hans de Goede
caa92d7b1e
add check for /dev/MAKEDEV
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4587 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-08 05:56:43 +00:00
Jean Delvare
d33285b3b0
Cleanup the module.conf / modprobe.conf selection code.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4585 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-07 20:04:59 +00:00
Hans de Goede
15f1274aef
add f71882fg sensors.conf.eg entry
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4580 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-07 16:57:07 +00:00
Jean Delvare
3549a94232
Right-align FAULT flags.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4578 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-07 15:26:12 +00:00
Jean Delvare
2296f9b738
Add the recent donations from Observit.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4577 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-07 08:29:48 +00:00
Hans de Goede
d2c3d2d14f
try to run MAKEDEV if i2c-dev device files are missing before aborting (adapted fedora patch)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4572 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 19:40:44 +00:00
Hans de Goede
9fb93e1ff9
handle /usr/bin location of sensors command in example scripts printed by sensors-detect
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4569 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 19:24:57 +00:00
Hans de Goede
1864d90513
also recognise /etc/modprobe.conf (Fedora patch)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4567 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 19:14:18 +00:00
Hans de Goede
b1281bf669
improve generic print of temp inputs with so many limits they span 2 lines
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4564 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 13:19:00 +00:00
Jean Delvare
e17f73da24
Fix ADM1022 detection.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4562 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-06 09:54:10 +00:00
Hans de Goede
4d2fa4eadd
Better generic print fault handling
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4559 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-05 21:03:06 +00:00
Jean Delvare
83fe82736d
Prevent a potential array overrun.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4556 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-05 16:19:51 +00:00
Hans de Goede
b998b35ecc
update fintek f71882fg sensors-detect entry
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4555 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-05 16:15:27 +00:00
Jean Delvare
9cd9debba9
Add support for multiple VID values. Untested as I don't have a chip with
...
multiple VIDs, but these exist. This closes ticket #2223 .
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4554 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-05 16:09:40 +00:00
Jean Delvare
7a2ab38ecf
Move sensors_proc_read and sensors_proc_write to sysfs.c, and rename them
...
to something more in line with what they do.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4553 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-05 15:03:22 +00:00
Hans de Goede
7cb36ef6d2
add AMDSI PECI sensortype support to generic_temp_print()
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4552 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-05 11:22:57 +00:00
Hans de Goede
eeee6f9bb7
Add support for foo#_label sysfs files
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4550 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-04 07:54:37 +00:00
Hans de Goede
3e37149f04
generic in and fan print routine fixes
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4549 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 19:38:37 +00:00
Jean Delvare
b79274babd
Add some more warning flags, and fix these warnings.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4545 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 16:03:22 +00:00
Jean Delvare
c7c77845d2
Make a few libsensors functions static.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4544 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 14:26:26 +00:00
Jean Delvare
7cc03f5029
Drop VRM reporting and selection support from libsensors. Since kernel
...
2.6.9, the right VID conversion formula is selected automatically
depending on the CPU model, so the user shouldn't have to care.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4543 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 13:22:28 +00:00
Jean Delvare
e10dec5e86
Change version to 3.0.0-pre.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4540 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 11:55:12 +00:00
Jean Delvare
b525cfe011
Add missing changelog entry.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4539 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 09:35:47 +00:00
Jean Delvare
dced776a12
Use sscanf instead of regex to match the feature names. This is much faster.
...
As a side effect, this fixes a memory leak (the regex engine data was never
freed.)
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4538 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-03 08:18:21 +00:00
Jean Delvare
5b8b0a0ede
Drop a bogus comment.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4534 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-07-02 15:16:02 +00:00
Jean Delvare
0c96adf025
Clean up Savage bus driver entries: remove the unsuppored devices from
...
the list, and mention the i2c-prosavage driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4533 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-30 17:04:32 +00:00
Jean Delvare
8c92ac1096
Drop all references to non-sensor chips. We will still detect some of these
...
(in particular SPD and EDID EEPROMS) at addresses where hardware monitoring
chips are known to live, to prevent misdetections, but we no longer point
the user to drivers for these chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4529 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-30 15:21:46 +00:00
Jean Delvare
efcbddfb6b
The EEPROM decoding scripts have moved to the i2c-tools package (part 2).
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4528 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-30 14:51:51 +00:00
Jean Delvare
f19c717fa4
The EEPROM decoding scripts have moved to the i2c-tools package.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4527 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-30 14:44:37 +00:00
Jean Delvare
1ba9c1837d
Delete the matorb support script. The matorb driver was never ported to
...
Linux 2.6, and has nothing to do with sensors anyway.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4526 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-30 13:40:40 +00:00
Jean Delvare
cc1700958b
Fix the description of the mode field.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4525 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-29 12:30:58 +00:00
Jean Delvare
e780d22d03
Simplify the code setting the feature mode.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4521 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-29 12:11:43 +00:00
Jean Delvare
78d9053547
There are no sensor* sysfs files.
...
The VID value is in cpu*_vid, not vid.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4520 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-29 11:46:20 +00:00
Jean Delvare
0c46611b20
Drop two unused macros.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4519 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-29 08:21:38 +00:00
Jean Delvare
1de056f9bf
Negative magnitudes are no longer supported.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4518 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-29 08:16:24 +00:00
Jean Delvare
c1319becae
Drop references to nonexistent Makefile variables.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4517 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-29 08:13:18 +00:00
Jean Delvare
0bca3703a1
Update ignore lists.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4516 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-29 07:59:17 +00:00
Jean Delvare
c084fe78f4
kernel/include/sensors.h is no longer used; delete it.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4515 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-29 07:57:33 +00:00
Hans de Goede
184ad7e23e
long promised print_generic_chip_in() fixes
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4514 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-28 21:00:08 +00:00
Jean Delvare
e08eabe33c
We no longer need alternative sysfs file names and magnitudes, as they are
...
the real name and magnitude now.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4513 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-28 18:19:58 +00:00
Jean Delvare
4c905e1632
Drop the --generic option. This is the default now, so the option has
...
no effect.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4512 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-28 17:47:18 +00:00
Jean Delvare
a6c3c36f00
Warning fix ("index" is a standard libc function.)
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4511 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-28 14:46:08 +00:00
Jean Delvare
92b5982180
With the new dynamic chip features enumeration code, the sensors_proc_chips
...
and sensors_chip_features_list arrays tend to track the same information.
So it's much more simple, and more efficient, to have a single array. I
decided to keep sensors_proc_chips, because it already has memory management
helpers. One nice side effect is that the arbitrary limit to the number of
supported chips is now gone. Another one is that some of the memory leaks
were fixed.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4510 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-28 14:39:34 +00:00
Jean Delvare
32b1b71245
Feature names are now dynamically allocated -> no const.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4509 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-28 13:35:46 +00:00
Jean Delvare
063f4b91d4
Use complete chip names (prefix + bus + address) as the keys of
...
sensors_chip_features_list[]. Using only the prefix (as was done before)
makes it impossible to properly support multiple chips with the same prefix
but a different feature set.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4508 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-28 12:09:00 +00:00
Jean Delvare
8fdfa3f19d
Move the few lines of code remaining in chips.c to data.c, and finally
...
delete chips.c. RIP.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4507 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-28 09:53:01 +00:00
Jean Delvare
75d55dc5ae
Delete the chip-specific code from libsensors. It's about time to get
...
the generic code to work.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4506 7894878c-1315-0410-8ee3-d5d059ff63e0
2007-06-28 09:38:31 +00:00