2003-08-19 20:17:39

by Stian Jordet

[permalink] [raw]
Subject: Can't read fan-speeds from i2c

Hi,

I have a Asus CUV266-DLS, which uses the as99127f chipset. Everything
seems to work as it is supposed to, except for fan-speeds. They say 0.
Is that supposed behaviour since the as99127f doesn't have any
datasheets, or am I doing something wrong?

Best regards,
Stian


2003-08-19 20:58:08

by Stian Jordet

[permalink] [raw]
Subject: Re: Can't read fan-speeds from i2c

tir, 19.08.2003 kl. 22.53 skrev Greg KH:
> On Tue, Aug 19, 2003 at 10:16:53PM +0200, Stian Jordet wrote:
> > Hi,
> >
> > I have a Asus CUV266-DLS, which uses the as99127f chipset. Everything
> > seems to work as it is supposed to, except for fan-speeds. They say 0.
> > Is that supposed behaviour since the as99127f doesn't have any
> > datasheets, or am I doing something wrong?
>
> What kernel version are you using?

Latest bk-snapshot...

Best regards,
Stian

2003-08-19 21:04:41

by Greg KH

[permalink] [raw]
Subject: Re: Can't read fan-speeds from i2c

On Tue, Aug 19, 2003 at 10:57:13PM +0200, Stian Jordet wrote:
> tir, 19.08.2003 kl. 22.53 skrev Greg KH:
> > On Tue, Aug 19, 2003 at 10:16:53PM +0200, Stian Jordet wrote:
> > > Hi,
> > >
> > > I have a Asus CUV266-DLS, which uses the as99127f chipset. Everything
> > > seems to work as it is supposed to, except for fan-speeds. They say 0.
> > > Is that supposed behaviour since the as99127f doesn't have any
> > > datasheets, or am I doing something wrong?
> >
> > What kernel version are you using?
>
> Latest bk-snapshot...

Does 2.4 work just fine for this chip and driver and 2.6 does not? If
2.4 also doesn't work, I would suggest bringing this up on the sensors
mailing list.

thanks,

greg k-h

2003-08-19 20:55:10

by Greg KH

[permalink] [raw]
Subject: Re: Can't read fan-speeds from i2c

On Tue, Aug 19, 2003 at 10:16:53PM +0200, Stian Jordet wrote:
> Hi,
>
> I have a Asus CUV266-DLS, which uses the as99127f chipset. Everything
> seems to work as it is supposed to, except for fan-speeds. They say 0.
> Is that supposed behaviour since the as99127f doesn't have any
> datasheets, or am I doing something wrong?

What kernel version are you using?

thanks,

greg k-h

2003-08-19 21:44:10

by Stian Jordet

[permalink] [raw]
Subject: Re: Can't read fan-speeds from i2c

tir, 19.08.2003 kl. 23.02 skrev Greg KH:
> On Tue, Aug 19, 2003 at 10:57:13PM +0200, Stian Jordet wrote:
> > tir, 19.08.2003 kl. 22.53 skrev Greg KH:
> > > On Tue, Aug 19, 2003 at 10:16:53PM +0200, Stian Jordet wrote:
> > > > Hi,
> > > >
> > > > I have a Asus CUV266-DLS, which uses the as99127f chipset. Everything
> > > > seems to work as it is supposed to, except for fan-speeds. They say 0.
> > > > Is that supposed behaviour since the as99127f doesn't have any
> > > > datasheets, or am I doing something wrong?
> > >
> > > What kernel version are you using?
> >
> > Latest bk-snapshot...
>
> Does 2.4 work just fine for this chip and driver and 2.6 does not? If
> 2.4 also doesn't work, I would suggest bringing this up on the sensors
> mailing list.

Doesn't work with 2.4 neither. I'll try the list, but I don't have much
hope for them doing anything. Quoting from the their webpage:

If you have problems, please lobby Asus to release a datasheet.
Unfortunately several others have without success.
Please do not send mail to us asking for better as99127f support.

Which I do ofcourse understand. I just wondered if there was some voodoo
I didnt' understand. Works fine with Motherboard Monitor 5 in Windows.

Thanks :)

Best regards,
Stian

2003-08-19 22:40:56

by Greg KH

[permalink] [raw]
Subject: Re: Can't read fan-speeds from i2c

On Tue, Aug 19, 2003 at 11:34:36PM +0200, Stian Jordet wrote:
> tir, 19.08.2003 kl. 23.02 skrev Greg KH:
> > On Tue, Aug 19, 2003 at 10:57:13PM +0200, Stian Jordet wrote:
> > > tir, 19.08.2003 kl. 22.53 skrev Greg KH:
> > > > On Tue, Aug 19, 2003 at 10:16:53PM +0200, Stian Jordet wrote:
> > > > > Hi,
> > > > >
> > > > > I have a Asus CUV266-DLS, which uses the as99127f chipset. Everything
> > > > > seems to work as it is supposed to, except for fan-speeds. They say 0.
> > > > > Is that supposed behaviour since the as99127f doesn't have any
> > > > > datasheets, or am I doing something wrong?
> > > >
> > > > What kernel version are you using?
> > >
> > > Latest bk-snapshot...
> >
> > Does 2.4 work just fine for this chip and driver and 2.6 does not? If
> > 2.4 also doesn't work, I would suggest bringing this up on the sensors
> > mailing list.
>
> Doesn't work with 2.4 neither. I'll try the list, but I don't have much
> hope for them doing anything. Quoting from the their webpage:
>
> If you have problems, please lobby Asus to release a datasheet.
> Unfortunately several others have without success.
> Please do not send mail to us asking for better as99127f support.
>
> Which I do ofcourse understand. I just wondered if there was some voodoo
> I didnt' understand. Works fine with Motherboard Monitor 5 in Windows.

Ah, then it isn't a 2.6 issue, so I'm happy :)

Good luck trying to get a spec sheet from them.

greg k-h

2003-08-20 02:48:18

by Charles Lepple

[permalink] [raw]
Subject: Re: Can't read fan-speeds from i2c

Stian Jordet wrote:
> I have a Asus CUV266-DLS, which uses the as99127f chipset. Everything
> seems to work as it is supposed to, except for fan-speeds. They say 0.
> Is that supposed behaviour since the as99127f doesn't have any
> datasheets, or am I doing something wrong?

Have you tried adjusting the fan divisors (fan_div* in
/sys/bus/i2c/devices/*)? Keep multiplying the fan divisor by two, and
check the fan_input* devices-- you may have slow fans (or divide-by-two
speed sensors), and you might need a longer sampling interval to see the
lower speed.

Another option is to start the Windows monitoring program, perform a
warm reboot into Linux, and use i2cdump to see how they configured the
registers. Be sure to prevent your i2c drivers from loading, as a number
of them initialize the chips to default settings.

--
Charles Lepple <ghz.cc!clepple>
http://www.ghz.cc/charles/


2003-08-20 14:24:08

by Stian Jordet

[permalink] [raw]
Subject: Re: Can't read fan-speeds from i2c

ons, 20.08.2003 kl. 04.48 skrev Charles Lepple:
> Stian Jordet wrote:
> > I have a Asus CUV266-DLS, which uses the as99127f chipset. Everything
> > seems to work as it is supposed to, except for fan-speeds. They say 0.
> > Is that supposed behaviour since the as99127f doesn't have any
> > datasheets, or am I doing something wrong?
>
> Have you tried adjusting the fan divisors (fan_div* in
> /sys/bus/i2c/devices/*)? Keep multiplying the fan divisor by two, and
> check the fan_input* devices-- you may have slow fans (or divide-by-two
> speed sensors), and you might need a longer sampling interval to see the
> lower speed.

Wow, that worked! Thank you very much :) I would never have found this
out without you :) My fans are rather slow, so that might have been the
problem. Anyway, thank you :)

Best regards,
Stian