Commit Graph

  • 6a49d8c88a Discard legacy comment. Jean Delvare 2007-08-12 19:54:40 +00:00
  • a7ce0efcda Discard legacy comment. Jean Delvare 2007-08-12 19:54:00 +00:00
  • 625e4944c5 Add detection of the Winbond W83L786NR/NG/R/G and W83L771W/G chips. Jean Delvare 2007-08-12 19:41:33 +00:00
  • a4d0b4681a Add detection of the Winbond W83L786NR/NG/R/G and W83L771W/G chips. Jean Delvare 2007-08-12 19:39:43 +00:00
  • aa52221779 Add a missing register read in fscher. Original patch from Hans de Goede, backported from Linux 2.6. Jean Delvare 2007-08-12 17:03:09 +00:00
  • 1b69a84283 Fix an array overrun in lm93. Original patch by Hans J. Koch, backported from Linux 2.6. Jean Delvare 2007-08-12 16:55:35 +00:00
  • bd31c1ece8 List the upcoming adt7470 driver. Jean Delvare 2007-08-12 16:32:47 +00:00
  • a98987dcc6 List the upcoming adt7470 driver. Jean Delvare 2007-08-12 16:31:43 +00:00
  • fbdb5dba87 The libsensors test suite doesn't use iconv. Jean Delvare 2007-08-12 15:44:35 +00:00
  • bd3913c04f Fix thmc50 analog output symbol. Jean Delvare 2007-08-12 13:39:01 +00:00
  • cfc5fda3c5 Fix support for the Linux 2.6 thmc50 driver. Patch from Krzysztof Helt. Jean Delvare 2007-08-12 13:33:50 +00:00
  • 1d059ab3e0 Delete dead code. Jean Delvare 2007-08-11 17:22:20 +00:00
  • 3a59a49011 Add missing new line at end of log messages. Indirectly reported by Joe Perches. Jean Delvare 2007-08-11 07:30:31 +00:00
  • e689752228 Don't probe i2c-isa as if it were a regular i2c bus. This bug was introduced when getting rid of the i2cdetect dependency. I had forgotten that i2c-isa was not listed in class i2c-dev but was still listed in class i2c-adapter. Jean Delvare 2007-08-10 17:33:43 +00:00
  • 8ade2b33fc Don't probe i2c-isa as if it were a regular i2c bus. This bug was introduced when getting rid of the i2cdetect dependency. I had forgotten that i2c-isa was not listed in class i2c-dev but was still listed in class i2c-adapter. Jean Delvare 2007-08-10 16:45:21 +00:00
  • 1b51800541 Delete sensors_do_all_sets(). I couldn't find any application using it, and sensors_do_chip_sets() can be used instead if really needed. Jean Delvare 2007-08-09 08:43:40 +00:00
  • 5fb9a1689f Don't export sensors_chip_name_has_wildcards(). I don't know of any application using it, and I can't think of any use case for it outside of libsensors. I'm not even sure if the inside calls are all legitimate. Jean Delvare 2007-08-09 08:39:41 +00:00
  • eaec35491e Now that sensors_get_ignored() is an internal function, we can change its prototype to suit our needs better. Jean Delvare 2007-07-24 08:22:03 +00:00
  • 9896986247 We no longer need sensors_get_label_and_valid(), as it does hardly more than sensors_get_label(). This allows for some cleanups. Jean Delvare 2007-07-24 08:21:23 +00:00
  • e9c8c5fb06 Let libsensors handle ignore statements by itself, rather than delegating the task to the user applications. Jean Delvare 2007-07-24 08:20:53 +00:00
  • 6505fef0fd The way we build the feature lists guarantees that subfeatures always immediately follow their main feature. This makes it possible to simplify sensors_get_all_features() quite a bit. We no longer need to maintain separate pointers for the last main feature and the last subfeature, we can simply walk the list linearly. Jean Delvare 2007-07-24 08:19:59 +00:00
  • a62ee5bac2 Speed up sensors_get_ignored() a bit. We can return as soon as an ignore statement is found to match, even if it isn't an exact match. Jean Delvare 2007-07-22 12:51:57 +00:00
  • 72ffb67a83 Typo. Jean Delvare 2007-07-22 12:45:59 +00:00
  • db2c145d9d Speed up sensors_get_ignored() a bit. We can return as soon as an ignore statement is found to match, even if it isn't an exact match. Jean Delvare 2007-07-22 12:45:43 +00:00
  • 462e7d81df Unify error reporting messages. Fix a memory leak in error path. Jean Delvare 2007-07-22 12:25:15 +00:00
  • 4c88142226 No need to explicitly discard subclients. With the hwmon class, they won't even be found. For earlier kernels, they will be discarded anyway because they expose zero feature. Jean Delvare 2007-07-22 10:13:19 +00:00
  • 98110858fe Discard devices with zero feature. Jean Delvare 2007-07-21 09:28:12 +00:00
  • f302998cd2 Fix a memory leak in sensors_read_one_sysfs_chip() when an error occurs. Jean Delvare 2007-07-21 08:44:31 +00:00
  • 5611ffe6d1 Fix a memory leak in sensors_read_one_sysfs_chip() when an error occurs. Jean Delvare 2007-07-21 08:40:26 +00:00
  • 7429bc0191 Fix the writing of the temperature interrupt configuration. The old code was working only by accident. Backport from Linux 2.6. Jean Delvare 2007-07-21 08:36:54 +00:00
  • d69b87bb74 Use PCI_REVISION_ID instead of our own define (backport from Linux 2.6.) Jean Delvare 2007-07-21 08:35:40 +00:00
  • 834cd70e14 Drop redundant test. Jean Delvare 2007-07-20 19:09:00 +00:00
  • 5d33dd3e68 Minor optimizations to sensors_feature_get_type(): * We no longer support any single type, so no need to handle this case. * We can start looking for "_" at offset 3 rather than the beginning of the string (the shortest valid prefix is "in0", 3 characters.) Jean Delvare 2007-07-19 20:50:17 +00:00
  • c5b2eabf08 Now that sensors_feature_get_type() is an internal function, we can adjust it to fit our needs better: Jean Delvare 2007-07-19 20:49:29 +00:00
  • 70317e1a0e The way we use sensors_feature_get_type() is rather suboptimal. It is first called during the library initialization to generate the feature tables. Then it is called again by sensors itself. This is because we do not store the result the first time. I propose that we add a type field to struct sensors_feature_data, where libsensors would store the result of sensors_feature_get_type(). That way, the application can get the information without calling sensors_feature_get_type() again. Jean Delvare 2007-07-19 20:46:09 +00:00
  • ac5ae18fe7 Drop the package target. Jean Delvare 2007-07-19 16:59:16 +00:00
  • ee8268e390 Don't sort the same list twice. Jean Delvare 2007-07-19 07:30:51 +00:00
  • 3ac6681d72 Fix the 'ALARM' text alignment in the dme1737 print temp routine. Patch from Juerg Haefliger. Jean Delvare 2007-07-18 21:04:50 +00:00
  • 226dffd064 Whitespace cleaups (backport from Linux 2.6). Jean Delvare 2007-07-18 21:02:42 +00:00
  • 57e38757f1 Add ATI SB700 support to the i2c-piix4 driver. This is a backport from a Linux 2.6 patch by Henry Su. Jean Delvare 2007-07-18 21:01:35 +00:00
  • 7e3b183eab Delete many unused defines. Backport from Linux 2.6. Jean Delvare 2007-07-18 20:58:12 +00:00
  • 6820cf3eca Create tag 'V2-10-4'. V2-10-4 Philip Edelbrock 2007-07-17 05:13:00 +00:00
  • d4e5a7cf44 Bump up version in version.h Philip Edelbrock 2007-07-17 05:11:47 +00:00
  • fa9a8b9958 Bump up minor version. Philip Edelbrock 2007-07-17 05:07:40 +00:00
  • 707bff78ad Prep for 2.10.4 Philip Edelbrock 2007-07-17 05:05:33 +00:00
  • fd6fc535ab No special treatment is needed for the name attribute. Jean Delvare 2007-07-16 12:08:00 +00:00
  • 4c2f4416fb Explicitly silent eeprom and ddcmon. libsensors still supports them and will present them to us for older kernels (<= 2.6.13). We don't want to display them as unknown chips. Jean Delvare 2007-07-14 19:18:37 +00:00
  • 8eaa3767b1 Warning fix. Jean Delvare 2007-07-14 18:55:14 +00:00
  • f2f170a903 Warning fix. Jean Delvare 2007-07-14 17:19:47 +00:00
  • e251c94f60 Warning fix. Jean Delvare 2007-07-14 16:59:50 +00:00
  • d73a25b166 Don't sort the same list twice. Jean Delvare 2007-07-14 16:32:56 +00:00
  • c100b4f38b Don't add non-sensor I2C chips to the list of detected I2C chips. Even if we discard them later, their presence in the list can prevent the "no sensors found" event from triggering. It also causes the script to suggest loading i2c bus drivers which are not needed for hardware monitoring. Jean Delvare 2007-07-14 16:29:52 +00:00
  • 7659b47112 Don't add non-sensor I2C chips to the list of detected I2C chips. Even if we discard them later, their presence in the list can prevent the "no sensors found" event from triggering. It also causes the script to suggest loading i2c bus drivers which are not needed for hardware monitoring. Jean Delvare 2007-07-14 16:28:39 +00:00
  • 44b541a1e8 Fix broken links to datasheets. Jean Delvare 2007-07-13 14:57:31 +00:00
  • 91d6d664ed Fix broken links to Analog Devices website. Jean Delvare 2007-07-13 14:53:31 +00:00
  • 7033c61200 Fix broken links to Analog Devices website. Jean Delvare 2007-07-13 14:52:44 +00:00
  • 356e03f000 Add missing static marker. Jean Delvare 2007-07-13 11:05:43 +00:00
  • 02b58be2e8 Add Fintek F71806FG and F71862FG detection. Jean Delvare 2007-07-10 21:09:32 +00:00
  • 0a90b248d2 Add Fintek F71806FG and F71862FG detection. Jean Delvare 2007-07-10 21:08:36 +00:00
  • 7b8fdf0188 Advertise and document libsensors_version. Jean Delvare 2007-07-10 19:55:06 +00:00
  • f905e5f242 Delete LM_DATE and libsensors_date. Jean Delvare 2007-07-10 19:38:14 +00:00
  • d5d0476273 remove f71882fg example config fan2-4 ignore lines and add labels, fix typo in Battery label Hans de Goede 2007-07-09 12:54:54 +00:00
  • cb5d52fccd remove f71882fg example config fan2-4 ignore lines and add labels, fix typo in Battery label Hans de Goede 2007-07-09 12:53:20 +00:00
  • e45b873981 Delete unused function sensors_get_sub_feature_by_type(). Jean Delvare 2007-07-09 11:20:47 +00:00
  • 867b8453f2 Add more known SMSC Super IO chips to sensors-detect. Also sort the list of SMSC chips by chip name. Patch from Juerg Haefliger. Jean Delvare 2007-07-08 20:54:33 +00:00
  • 7655f7fb97 Adds more known SMSC Super IO chips to sensors-detect. Also sort the list of SMSC chips by chip name. Patch from Juerg Haefliger. Jean Delvare 2007-07-08 20:48:03 +00:00
  • 712748f659 Handle chips who return the beta value as temp sensor type Hans de Goede 2007-07-08 18:59:16 +00:00
  • a2b7c5b0b1 Drop reference to mkdev.sh. Jean Delvare 2007-07-08 12:01:23 +00:00
  • a83ef92c9a Delete mkdev.sh. i2c device nodes are created by devfs or udev on most 2.6 kernel-based systems, for others they should have been created at system installation time. If they are missing, sensors-detect will run MAKEDEV to create them. Jean Delvare 2007-07-08 12:00:55 +00:00
  • 6b18074f92 Only write integer values to pwm files. Jean Delvare 2007-07-08 11:19:10 +00:00
  • 982afbce24 Only write integer values to pwm files. Jean Delvare 2007-07-08 11:17:26 +00:00
  • 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. Jean Delvare 2007-07-08 10:13:11 +00:00
  • 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. Jean Delvare 2007-07-08 10:04:48 +00:00
  • fd9077bd03 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. Jean Delvare 2007-07-08 10:01:50 +00:00
  • caa92d7b1e add check for /dev/MAKEDEV Hans de Goede 2007-07-08 05:56:43 +00:00
  • f51cffe559 add check for /dev/MAKEDEV Hans de Goede 2007-07-08 05:55:17 +00:00
  • d33285b3b0 Cleanup the module.conf / modprobe.conf selection code. Jean Delvare 2007-07-07 20:04:59 +00:00
  • cc286d3091 Cleanup the module.conf / modprobe.conf selection code. Jean Delvare 2007-07-07 19:56:58 +00:00
  • 2df9dce47d ommit not reported types from f71882fg temp print routine Hans de Goede 2007-07-07 17:37:19 +00:00
  • 15f1274aef add f71882fg sensors.conf.eg entry Hans de Goede 2007-07-07 16:57:07 +00:00
  • cb08148e9e add f71882fg sensors.conf.eg entry, add f71882fg and abituguru3 support to CHANGES Hans de Goede 2007-07-07 16:55:47 +00:00
  • 3549a94232 Right-align FAULT flags. Jean Delvare 2007-07-07 15:26:12 +00:00
  • 2296f9b738 Add the recent donations from Observit. Jean Delvare 2007-07-07 08:29:48 +00:00
  • 41d39284d8 Add the recent donations from Observit. Jean Delvare 2007-07-07 08:27:47 +00:00
  • 8f50fd32b4 Minor optimization in print_lm85(). Jean Delvare 2007-07-07 08:11:09 +00:00
  • 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. Jean Delvare 2007-07-07 08:09:38 +00:00
  • ae007f5831 Clean up needless casts and initializations. Jean Delvare 2007-07-07 07:55:35 +00:00
  • d2c3d2d14f try to run MAKEDEV if i2c-dev device files are missing before aborting (adapted fedora patch) Hans de Goede 2007-07-06 19:40:44 +00:00
  • a2d5a5f60d try to run MAKEDEV if i2c-dev device files are missing before aborting (adapted fedora patch) Hans de Goede 2007-07-06 19:39:39 +00:00
  • c435d6c807 fix single & instead of && logical test in eepromer (fedora patch) Hans de Goede 2007-07-06 19:27:33 +00:00
  • 9fb93e1ff9 handle /usr/bin location of sensors command in example scripts printed by sensors-detect Hans de Goede 2007-07-06 19:24:57 +00:00
  • 31a36c2c9b handle /usr/bin location of sensors command in example scripts printed by sensors-detect Hans de Goede 2007-07-06 19:24:39 +00:00
  • 1864d90513 also recognise /etc/modprobe.conf (Fedora patch) Hans de Goede 2007-07-06 19:14:18 +00:00
  • 7d80e62400 also recognise /etc/modprobe.conf (Fedora patch) Hans de Goede 2007-07-06 19:13:50 +00:00
  • ba665c528e Add user-space support for it87 fan4 and fan5. Closes half of ticket #2227. Jean Delvare 2007-07-06 15:44:28 +00:00
  • b1281bf669 improve generic print of temp inputs with so many limits they span 2 lines Hans de Goede 2007-07-06 13:19:00 +00:00
  • f7568cc281 Add fintek f71882fg support to libsensors & sensors Hans de Goede 2007-07-06 12:16:34 +00:00
  • e17f73da24 Fix ADM1022 detection. Jean Delvare 2007-07-06 09:54:10 +00:00
  • 85634eab57 Fix ADM1022 detection. Jean Delvare 2007-07-06 09:52:32 +00:00
  • 04d8373812 update fintek f71882fg sensors-detect entry Hans de Goede 2007-07-06 08:37:08 +00:00