All of lore.kernel.org
 help / color / mirror / Atom feed
* w83l785ts inserted but no readings right away
@ 2005-05-19  6:25 Johannes Hübner
  2005-05-19  6:25 ` Jean Delvare
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Johannes Hübner @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

Hi,

I have an Asus A7N8X-X mainboard with the asb100 (bach) and the 
w83l785ts chip. Latter one reads the internal CPU-temp-diode. When all 
needed modules are loaded it works really well including fancontrol. But 
the w83l785ts doesn't always work. When the module is inserted trough 
the lm_sensors start-script it is listed when doing lsmod but there is 
no /sys/bus/i2c/devices/1-002e/ directory. After I rmmod and modprobe 
the module (sometimes several times) everything works. When using 
Windows I realized that Speed Fan also sometimes failes to detect the 
w83l785ts-chip. Is this a known problem and do you know a workaround?
There are no error-messages from modprobe, dmesg or anybody else.

Here is my configuration
System: Fedora Core 2
uname -r : 2.6.6-1.435.2.3
sensors --version :  2.8.6
cat /etc/sysconfig/lm_sensors:
-----
MODULE_0=i2c-nforce2
MODULE_1Óprom
MODULE_2=asb100
MODULE_3=w83l785ts
-----
cat /etc/fancontrol :
-----
INTERVAL\x10
FCTEMPS= 1-002d/fan1_pwm=1-002e/temp1_input
FCFANS= 1-002d/fan1_pwm=1-002d/fan1_input
MINTEMP= 1-002d/fan1_pwm%
MAXTEMP= 1-002d/fan1_pwm`
MINSTART= 1-002d/fan1_pwm\x130
MINSTOP= 1-002d/fan1_pwmê
-----

I hope this is all information you need
Thanks for your help in advance and thank you for lm_sensors!

Johannes H?bner

BTW: I had to change pwmconfig a bit for it to detect the fanX_pwm lines 
of the asb100. In it s current state it only finds pwmX . I can send it 
to you if you don't know what I mean.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* w83l785ts inserted but no readings right away
  2005-05-19  6:25 w83l785ts inserted but no readings right away Johannes Hübner
@ 2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` Johannes Hübner
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Jean Delvare @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

> I have an Asus A7N8X-X mainboard with the asb100 (bach) and the 
> w83l785ts chip. Latter one reads the internal CPU-temp-diode. When
> all needed modules are loaded it works really well including
> fancontrol.
>
> But the w83l785ts doesn't always work. When the module is inserted
> trough the lm_sensors start-script it is listed when doing lsmod but
> there is no /sys/bus/i2c/devices/1-002e/ directory. After I rmmod and
> modprobe the module (sometimes several times) everything works. When
> using Windows I realized that Speed Fan also sometimes failes to
> detect the w83l785ts-chip. Is this a known problem and do you know a
> workaround? There are no error-messages from modprobe, dmesg or
> anybody else.

This much reminds me this bug report:
http://bugzilla.kernel.org/show_bug.cgi?id(99

Please read the whole thread and confirm, or detail why your case is
different.

Next step would be to apply the proposed patch and recompile your
kernel, including "I2C chip debugging messages", then compare a working
case with a failing one, and report. I suspect that reads are sometimes
wrong with no error reported, due to the BIOS messing up with the SMBus.
If that's the case there's (unfortunately) not much we can do...

> BTW: I had to change pwmconfig a bit for it to detect the fanX_pwm
> lines of the asb100. In it s current state it only finds pwmX . I can
> send it to you if you don't know what I mean.

Yes, please provide your changes in the form of a patch. We'll review it
and see if it's acceptable.

Thanks.

-- 
Jean "Khali" Delvare
http://khali.linux-fr.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* w83l785ts inserted but no readings right away
  2005-05-19  6:25 w83l785ts inserted but no readings right away Johannes Hübner
  2005-05-19  6:25 ` Jean Delvare
@ 2005-05-19  6:25 ` Johannes Hübner
  2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` Johannes Hübner
  3 siblings, 0 replies; 5+ messages in thread
From: Johannes Hübner @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

Jean Delvare wrote:

>>I have an Asus A7N8X-X mainboard with the asb100 (bach) and the 
>>w83l785ts chip. Latter one reads the internal CPU-temp-diode. When
>>all needed modules are loaded it works really well including
>>fancontrol.
>>
>>But the w83l785ts doesn't always work. When the module is inserted
>>trough the lm_sensors start-script it is listed when doing lsmod but
>>there is no /sys/bus/i2c/devices/1-002e/ directory. After I rmmod and
>>modprobe the module (sometimes several times) everything works. When
>>using Windows I realized that Speed Fan also sometimes failes to
>>detect the w83l785ts-chip. Is this a known problem and do you know a
>>workaround? There are no error-messages from modprobe, dmesg or
>>anybody else.
>>    
>>
>
>This much reminds me this bug report:
>http://bugzilla.kernel.org/show_bug.cgi?id(99
>
>Please read the whole thread and confirm, or detail why your case is
>different.
>  
>
This matches my problem, except that I had one case where I rmmoded and 
then modprobed the w83l785ts module again it still didn't work and it 
took a second try.

>Next step would be to apply the proposed patch and recompile your
>kernel, including "I2C chip debugging messages", then compare a working
>case with a failing one, and report. I suspect that reads are sometimes
>wrong with no error reported, due to the BIOS messing up with the SMBus.
>If that's the case there's (unfortunately) not much we can do...
>  
>
Reads have been fine so far. Unfortunatly I'm not using a self compiled 
vanilla kernel but maybe I can quickly compile one tomorrow or so (after 
a math examination). I have now changed the configuration to first load 
the w83l785ts module and then the asb100 module, after a few reboots 
I'll see if it helped. I will report if it does.

>>BTW: I had to change pwmconfig a bit for it to detect the fanX_pwm
>>lines of the asb100. In it s current state it only finds pwmX . I can
>>send it to you if you don't know what I mean.
>>    
>>
>
>Yes, please provide your changes in the form of a patch. We'll review it
>and see if it's acceptable.
>
>Thanks.
>  
>
It looks like the script has been corrected in lm_sensors 2.8.7 so 
nevermind about this.

Thank you for your help
Johannes H?bner

^ permalink raw reply	[flat|nested] 5+ messages in thread

* w83l785ts inserted but no readings right away
  2005-05-19  6:25 w83l785ts inserted but no readings right away Johannes Hübner
                   ` (2 preceding siblings ...)
  2005-05-19  6:25 ` Jean Delvare
@ 2005-05-19  6:25 ` Johannes Hübner
  3 siblings, 0 replies; 5+ messages in thread
From: Johannes Hübner @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

Hi,

I wrote a while ago because of problems with the w83l785ts. I think the 
problem is solved since I swapped the order in which  the modules are 
loaded: First i2c-nforce2, then w83l785ts, and then asb100. I also 
updated my BIOS from 1007 to 1010 but the problem was gone before that.

Thank you
Johannes H?bner

Jean Delvare wrote:

>>I have an Asus A7N8X-X mainboard with the asb100 (bach) and the 
>>w83l785ts chip. Latter one reads the internal CPU-temp-diode. When
>>all needed modules are loaded it works really well including
>>fancontrol.
>>
>>But the w83l785ts doesn't always work. When the module is inserted
>>trough the lm_sensors start-script it is listed when doing lsmod but
>>there is no /sys/bus/i2c/devices/1-002e/ directory. After I rmmod and
>>modprobe the module (sometimes several times) everything works. When
>>using Windows I realized that Speed Fan also sometimes failes to
>>detect the w83l785ts-chip. Is this a known problem and do you know a
>>workaround? There are no error-messages from modprobe, dmesg or
>>anybody else.
>>    
>>
>
>This much reminds me this bug report:
>http://bugzilla.kernel.org/show_bug.cgi?id(99
>
>Please read the whole thread and confirm, or detail why your case is
>different.
>
>Next step would be to apply the proposed patch and recompile your
>kernel, including "I2C chip debugging messages", then compare a working
>case with a failing one, and report. I suspect that reads are sometimes
>wrong with no error reported, due to the BIOS messing up with the SMBus.
>If that's the case there's (unfortunately) not much we can do...
>
>  
>
>>BTW: I had to change pwmconfig a bit for it to detect the fanX_pwm
>>lines of the asb100. In it s current state it only finds pwmX . I can
>>send it to you if you don't know what I mean.
>>    
>>
>
>Yes, please provide your changes in the form of a patch. We'll review it
>and see if it's acceptable.
>
>Thanks.
>
>  
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* w83l785ts inserted but no readings right away
  2005-05-19  6:25 w83l785ts inserted but no readings right away Johannes Hübner
  2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` Johannes Hübner
@ 2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` Johannes Hübner
  3 siblings, 0 replies; 5+ messages in thread
From: Jean Delvare @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

On Wed, 01 Sep 2004 12:17:35 +0200, Johannes H?bner wrote

> I wrote a while ago because of problems with the w83l785ts. I think the
> problem is solved since I swapped the order in which  the modules are
> loaded: First i2c-nforce2, then w83l785ts, and then asb100. I also
> updated my BIOS from 1007 to 1010 but the problem was gone before that.

Thanks for reporting. I've updated the relevant bug (#2899 [1]) in the kernel
bugzilla base.

I'm a bit suspicious that changing the order will solve the problem in all
cases, because you said earlier that you sometimes had to cycle the w83l785ts
driver more than once to get it to work. And, as a matter of fact, it did not
solve the problem for the bug submitter. So I think there are two different
causes of failure, possibly linked.

Please let us know if you experience difficulties again despite the modules
load order change.

Thanks.

[1] http://bugzilla.kernel.org/show_bug.cgi?id(99

-- 
Jean Delvare
http://khali.linux-fr.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-05-19  6:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  6:25 w83l785ts inserted but no readings right away Johannes Hübner
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Johannes Hübner
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Johannes Hübner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.