Mark D. Studebaker
f7230a198e
fix compile errors; patch from
...
Sergey Vlasov <vsu@altlinux.ru >
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2988 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-04 21:12:08 +00:00
Mark D. Studebaker
16f4429f8c
(mds)
...
On 5/1/05, Sergey Vlasov <vsu@altlinux.ru > wrote:
>> Hello!
>>
>> http://openipmi.sourceforge.net/ provides patches for 2.4.x kernels
>> with updated IPMI code. However, these patches change the IPMI driver
>> API by adding an additional argument to ipmi_request():
>>
>> int ipmi_request(ipmi_user_t user,
>> struct ipmi_addr *addr,
>> long msgid,
>> struct ipmi_msg *msg,
>> + void *user_msg_data,
>> int priority);
>>
>> (user_msg_data is later returned in the struct ipmi_recv_msg field).
>> This API change breaks compilation of some lm_sensors drivers
>> (i2c-ipmb, i2c-ipmi).
>>
>> The patch below adds compatibility with the new IPMI API to i2c-ipmb
>> and i2c-ipmi drivers. <linux/ipmi.h> does not provide a real
>> API-version #define, therefore IPMI_RESPONSE_RESPONSE_TYPE (also added
>> by the openipmi.sf.net patch) is (ab)used as a new API indicator.
>>
>> Compile tested only due to lack of hardware.
(Yani I.):
Hi Sergey,
Actually there was a patch to the 2.6 i2c-ipmi/bmcsensors for this
problem (after Bene Martin notified me of the problem and how to fix
it), but from what I understand Corey re-included the ipmi_request
method in the next version once he learned of a driver using it (it
was removed because there was thought to be no usage). He was eager to
learn when bmcsensors would make it into the kernel so that he could
stop being nagged by the 'unused function police' as he put it .
It might be wise to apply a patch like this in 2.4 to support the
openipmi that went 'wrong', I changed the 2.6 driver to use the
ipmi_request_settime function to no ill effect, but you should
consider that Corey notes that it is preferred to use the old one:
(extract from some e-mail between Corey, Martin and I about the problem):
>>>>>>Interestingly enough the ipmi_request_settime still has a comment in
>>>>>>the header "Don't use this unless you *really* have to.", making me
>>>>>>wonder if there is a reason not to be using it instead of ipmi_request
>>>>>>if its re-incorporated into the kernel.
>>>>>>
>>>>>>
>>
>>>>
>>>>I guess the only one qualified to answer that one would be corey.
>>>>
>>>>Bye, Martin
>>>>
>>>>
>
>>You wouldn't generally use it because it sets the timeouts and for most
>>purposes the timeouts are defined by the spec (sort of).
>>
>>Do you have any feeling when the BMC sensors package will go into the
>>mainstream kernel? That would be the time to coordinate adding the
>>normal function back in so I'm not constantly fighting the unused
>>function police.
>>
>>-Corey
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2987 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-04 20:21:01 +00:00
Philip Edelbrock
26f168e949
(Phil) Added link and description to the GNOME Sensors Applet project.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2986 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-03 18:02:03 +00:00
Jean Delvare
9a50485742
Fix synopsis line (patch from Sergey Vlasov). Fix typo. Update
...
date.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2985 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-05-01 16:52:21 +00:00
Jean Delvare
8d84271843
Add a few notes about dual-CPU AS99127F setups, based on a report
...
from Jan "Slimak" Gorski.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2984 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-30 19:38:23 +00:00
Mark D. Studebaker
72f0d86a39
add phpsysinfo and hddtemp. Both highly recommended.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2983 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-25 15:17:31 +00:00
Mark D. Studebaker
65d7993fc0
support 2.6 kernels
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2982 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-24 19:50:37 +00:00
Jean Delvare
f922d71607
Fix PWM polarity on read, hopefully for good this time.
...
Fix broken comment about PWM enable bit.
Clean up the PWM enable/disable code.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2981 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-24 18:22:10 +00:00
Jean Delvare
f5cce4c8f1
No more needed. The web search page is just as efficient. Anyway,
...
who still uses netscape these days?
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2980 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-23 21:20:23 +00:00
Jean Delvare
beea4cb8a3
No error on missing pc87360 fan2, as this can happen with the
...
Linux 2.6 version of the driver. Reported by Christian Schwamborn.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2979 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-22 18:08:06 +00:00
Jean Delvare
a57ef088c0
Add missing sign on max voltage limits of pc87360.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2978 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-19 19:53:08 +00:00
Mark D. Studebaker
5359162b07
w83792d doc from Chunhao/Winbond; SUMMARY entry by me.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2977 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-18 20:19:19 +00:00
Jean Delvare
ed7efcf02d
The w83792d driver is now included by mkpatch.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2976 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-16 13:23:24 +00:00
Jean Delvare
c9f660bc79
Clear temporary file on exit.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2975 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-16 13:21:45 +00:00
Jean Delvare
dec9a0754d
Support the new i2c-ali1563 and w83792d drivers.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2974 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-16 13:12:06 +00:00
Mark D. Studebaker
44ac4fa958
add advice for 2.6 kernels, from Rudolf's mail
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2973 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-15 16:54:22 +00:00
Jean Delvare
b136cf2c1a
The W83792D chip now has a driver: w83792d. Reported by
...
Chunhao Huang.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2972 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-14 18:03:33 +00:00
Mark D. Studebaker
e74dbb2dbb
Backport from 2.6 by Chunhao Huang/Winbond as recvd 4/8/05
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2971 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-14 15:24:28 +00:00
Jean Delvare
3668680d4a
Add detection of the SMSC LPC47M15x/LPC47M192 hardware monitoring
...
block (SMBus).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2970 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-13 20:06:40 +00:00
Philip Edelbrock
3582411092
(Phil) Prep for 2.9.2
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2969 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-12 18:31:53 +00:00
Philip Edelbrock
e66dcdba95
(phil) Tag and release 2.9.1
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2967 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-12 18:13:16 +00:00
Jean Delvare
37b65044fe
Do not assume anything on subclient addresses.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2966 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-11 21:06:48 +00:00
Mark D. Studebaker
c3464984a1
update links. Claim TMP100/101 support.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2965 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-10 01:16:17 +00:00
Jean Delvare
eedd785bab
Asus TUSL2-C comment update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2964 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-04-09 18:47:55 +00:00
Jean Delvare
605b95eb6b
Update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2963 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-30 17:18:42 +00:00
Jean Delvare
e30676f006
Update list of supported chips.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2962 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-30 17:16:57 +00:00
Jean Delvare
78d71d5ccd
Add EMC6D102 support. Original patch by Rafael Espindola.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2961 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-30 16:57:01 +00:00
Mark D. Studebaker
3c842108c4
negative temperatures fix from Chunhao
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2960 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-29 06:49:34 +00:00
Jean Delvare
0a2fe18ba7
Default configuration section for w83627ehf. Thanks to Leon Moonen
...
for sharing his configuration data.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2959 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-28 12:59:53 +00:00
Mark D. Studebaker
7717ea57c6
return undef instead of 0 in vt1211 i2c detect. found by Khali.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2958 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 23:10:52 +00:00
Jean Delvare
d21508f62f
EMC6D102 support. Patch from Rafael Avila de Espindola.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2957 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 15:44:53 +00:00
Jean Delvare
357caef4be
The ADT7461, MAX6657 and MAX6658 chips are now supported by the
...
lm90 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2956 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 14:53:44 +00:00
Jean Delvare
1d8749bb59
The lm90 driver now supports the ADT7461 chip (when in
...
compatibility mode).
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2955 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 13:35:35 +00:00
Jean Delvare
4d165ff285
Backport ADT7461 support from Linux 2.6.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2954 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 13:34:47 +00:00
Jean Delvare
09804db12d
Prevent repeated resets on new variants of the VIA Pro (KT800).
...
This is done by not taking care of additional status bits. This is a
backport from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2953 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 12:38:59 +00:00
Jean Delvare
5204524572
Trailing spaces cleanup.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2952 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 12:19:40 +00:00
Jean Delvare
351f76ed67
Update.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2951 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 12:18:29 +00:00
Jean Delvare
f10ddad667
Add preliminary support for the w83627ehf.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2950 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 12:11:03 +00:00
Jean Delvare
352655ff7d
Skip fan_div initialization for disabled fans. This is a
...
backport from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2949 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 11:58:23 +00:00
Jean Delvare
506fee471d
Kill useless ALARMS_FROM_REG macro. This is a backport from
...
Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2948 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 11:56:29 +00:00
Jean Delvare
24c4f308b4
Use s8 instead of u8 for temperature. This simplifies the
...
temperature conversion macros quite a bit, and fixes a bug with negative
temperatures as a side effect.
This is a backport from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2947 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 10:48:27 +00:00
Jean Delvare
5916574d33
Backport Vaio EEPROM detection bug from Linux 2.6.
...
http://archives.andrew.net.au/lm-sensors/msg30047.html
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2946 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 10:42:44 +00:00
Jean Delvare
ba1dcff82d
Misc cleaups.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2945 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 10:34:52 +00:00
Jean Delvare
7f4d4d32f1
Add detection for the nForce3 250Gb and nForce4 SMBus masters.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2944 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 10:21:15 +00:00
Mark D. Studebaker
dfd9bea03e
Updates
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2943 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 02:24:02 +00:00
Mark D. Studebaker
d2c47f4f5d
add delay loops everywhere, as recommended by the ALI 1535 Bios Programming Guide.
...
Should fix stability problems.
Patch by Ubel Walter <ubel@heidenhain.de >
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2942 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 02:22:10 +00:00
Mark D. Studebaker
9ac1d40ae6
fix negative fan values. Patch from Chunhao.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2941 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-27 01:44:27 +00:00
Jean Delvare
72a3c7ac3b
Stop updating non-existent vid on IT8705F.
...
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2940 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-25 20:23:22 +00:00
Jean Delvare
a7fe97cf1d
Search for the udev db file/directory location in
...
/etc/udev/udev.conf. Should be more efficient that regularly adding
new possible names. Too bad distributions didn't agree on one name.
Hopefully the Linux Standard Base will address the issue soon.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2939 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-20 21:10:24 +00:00
Jean Delvare
a20ea3611f
On my system (Slackware 10.1), /dev/.udev.tdb is a directory,
...
not a file. Let's only check for its existence and not type.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2938 7894878c-1315-0410-8ee3-d5d059ff63e0
2005-03-20 12:20:10 +00:00