Skip to contentSkip to conversation

Ticket number 1467

DISCUSSION Jean Delvare 3 participants 9 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines

Version 2.8.0:
(...)
-12V: -12.13 V (min = -13.21 V, max = -10.90 V)
-5V: -5.10 V (min = -5.26 V, max = -4.76 V)
(...)
Version 2.8.1:
(...)

-12V:      -2.15 V  (min = -13.23 V, max = -10.73 V)
-5V:       -1.25 V  (min =  -5.25 V, max =  -4.74 V)

Strange. (Did I already mentioned how I hate Asus chips?)

Took a look at the w83781d driver changes between 2.8.0 and 2.8.1, I don't see anything that could explain this.

Two more things I'd like you to try if possible:

1* CVS version of lm_sensors (works with the i2c-2.8.1 patch).
http://secure.netroedge.com/~lm78/download.html#cvs

2* Provide the readings from /proc/sys/dev/sensors/as99127f-i2c-0-2d/in5 and in6 with both 2.8.0 and 2.8.1. The problem could be in the library, not the driver. If the readings from the /proc files are similar using 2.8.0 and 2.8.1, then the problem isn't in the driver itself.

Thanks.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#1 lore raw
Quoted 10 lines

< clip >

Quoted 2 lines

Version 2.8.0:
w83782d-i2c-0-2d

<clip>

Quoted 2 lines

Version 2.8.1:
as99127f-i2c-0-2d

Just wanted to point out that the 2.8.0 printout was for w83782d, while 2.8.1 was for as99127f. So different compute rules in sensors.conf were applied.

Stupid me. Thanks for the notice.

Richard, do you confirm that recent versions of sensors-detect tell you you have a revision 2 AS99127F?

I've checked an improved version of sensors.conf in our CVS repository. Get it here:
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/etc/sensors.conf.eg

Copy it to /etc/sensors.conf, and edit the "as99127f-*" section. You'll find commented out lines for AS99127F rev.2 in5 and in6. Uncomment them and you're (hopefully) done.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#2 lore raw
In reply to Jean Delvare
Quoted 3 lines

2) For version 2.8.0 I did manage to realise that I needed
/proc/sys/dev/sensors w83782d-i2c-0-2d (why not w83781d....?
- beyond me!) so I attach results from there.

The w83781d driver handles more than only the W83781D driver. It also supports, among others, the W83782D and the AS99127F (revisions 1 and 2). The W83782 and the AS99127F revision 2 are almost the same chip and can be handled almost the same way. In 2.8.0 we weren't differenciating them (which is why your AS99127F was detected as a W83782D).

Quoted 9 lines

Version 2.8.0 - from /proc/sys/dev/sensors/w83782d-i2c-0-2d:

in5:   0.33 0.78 0.54
in6:   0.78 0.94 0.83

Version 2.8.1 - from /proc/sys/dev/sensors/as99127f-i2c-0-2d:

in5:   2.70 3.33 0.54
in6:   3.15 3.49 0.83

As you can see, the readings (last value for each input) are the same - which confirms it was a problem with how conversions are done by the library, and not a driver issue.

Quoted 8 lines

3) I downloaded the lm_sensors2... stuff from the site you
gave me - the lm_sensors.. stuff was marked as old code. I managed to compile it, after commenting out some chip IDs which were not recognised and to install it in /lib/modules but could not run sensors -s. The error message was

Error: Line 2: Invalid keyword.
General parse error.

I don't understand what you did. All I told you to get was the updated configuration file. You were not supposed to download a full package nor to compile anything.

Quoted 2 lines

Many thanks for your help - it is really appreciated. Please let me know if I have picked up the wrong code!

You obviously did. The file you need is this one only:
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/etc/sensors.conf.eg
Download it, copy it to /etc/sensors.conf and you are done.

BTW, version 2.8.2 has been released today, if you want to give it a try. If you do, you don't even have to get the file above.

Good luck.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#3 lore raw
In reply to Jean Delvare

Quoting myself:

Quoted 1 line

The w83781d driver handles more than only the W83781D driver.

                                                        ^^^^^^

I of course meant "chipset", not "driver", sorry.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#4 lore raw
In reply to Jean Delvare
Quoted 7 lines

Re your remark about Asus chips in your first message - when I
bought the board I basically had no criterion to choose between Asus and Abit, which were the two which seemed most attractive. If I had realised how troublesome using the as99127f was going to be I would have gone the other way! You only find these things out when you actually buy a piece of kit - at that time the board was too new for there to be anything relevant on the sensors support page.

I myself have such a chip on one of my boards (an A7V133-C). I didn't know about Asus not releasing data sheets at the time I bought it (I wasn't very active on the LM Sensors project back then). That said, I have to admit that the problem you encountered wasn't really related to this lack of data sheet. Still I won't buy anything from Asus for sure until they change their policy, and I usually recommend people wanting their hardware fully supported under Linux to do the same.

Quoted 4 lines

Next time I buy I may go to a Xeon cpu (for the sake of the large memory support on Xeon motherboards) or if the IA64/AMD 64 bit processors look attractive in both specification and price I may go that way

Specification, price *and support*. This is now how I choose my hardware. I select products being supported under Linux (or those support could be easily added because they are similar to another supported piece of hardware and/or data sheets are available) and within my range of price. Then, and only then, I start wondering which one product in the list will perform the best for the use I have.

And thanks for your nice comments :)

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#5 lore raw
In reply to Jean Delvare
Quoted 4 lines

Date: Wed, 10 Dec 2003 20:01:55 +0000 (GMT)
From: Richard James <[email protected]>

< clip >

Quoted 3 lines

Version 2.8.0:

w83782d-i2c-0-2d

<clip>

Quoted 3 lines

Version 2.8.1:

as99127f-i2c-0-2d

Just wanted to point out that the 2.8.0 printout was for w83782d, while 2.8.1 was for as99127f. So different compute rules in sensors.conf were applied.

Signature · 1 line
  Ky?sti M?lkki  <[email protected]>
#6 lore raw
In reply to Jean Delvare

Dear Jean,

Thanks for your message - the results of your
suggestions are below:

1) Yes - the relevant extract from sensors-detect is copied
(manually!) below:

Driver 'w83781d' (should be inserted)
Detects correctly:
* Bus 'SMBus I801 adapter at e800' (Non-I2C SMBus adapter)

    Busdriver 'i2c-i801', I2C address 0x2d (and 0x48, 0x49)
    Chip 'Asus AS99127F (rev 2)' (confidence: 8)

2) For version 2.8.0 I did manage to realise that I needed
/proc/sys/dev/sensors w83782d-i2c-0-2d (why not w83781d....?
- beyond me!) so I attach results from there.

Version 2.8.0 - from /proc/sys/dev/sensors/w83782d-i2c-0-2d:

in5:   0.33 0.78 0.54
in6:   0.78 0.94 0.83

Version 2.8.1 - from /proc/sys/dev/sensors/as99127f-i2c-0-2d:

in5:   2.70 3.33 0.54
in6:   3.15 3.49 0.83

3) I downloaded the lm_sensors2... stuff from the site you
gave me - the lm_sensors.. stuff was marked as old code. I managed to compile it, after commenting out some chip IDs which were not recognised and to install it in /lib/modules but could not run sensors -s. The error message was

Error: Line 2: Invalid keyword.
General parse error.

I have no idea which file generated this message. I plan to look at the site again and check that there are no more recent packages to download.

Many thanks for your help - it is really appreciated.
Please let me know if I have picked up the wrong code!

Best wishes,

Richard James.

Quoted 28 lines · Jean Delvare
Quoted 10 lines

< clip >

Quoted 2 lines

Version 2.8.0:
w83782d-i2c-0-2d

<clip>

Quoted 2 lines

Version 2.8.1:
as99127f-i2c-0-2d

Just wanted to point out that the 2.8.0 printout was for w83782d, while 2.8.1 was for as99127f. So different compute rules in sensors.conf were applied.

Stupid me. Thanks for the notice.

Richard, do you confirm that recent versions of sensors-detect tell you you have a revision 2 AS99127F?

I've checked an improved version of sensors.conf in our CVS repository. Get it here:
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/etc/sensors.conf.eg

Copy it to /etc/sensors.conf, and edit the "as99127f-*" section. You'll find commented out lines for AS99127F rev.2 in5 and in6. Uncomment them and you're (hopefully) done.

--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/

#7 lore raw
In reply to Jean Delvare

Dear Jean,

I have just checked out your last suggestion in the message below
- it works! Very many thanks for all your help. I have learned a great deal about how the sensors package works over this problem, thanks to your guidance.

Re your remark about Asus chips in your first message - when I
bought the board I basically had no criterion to choose between Asus and Abit, which were the two which seemed most attractive. If I had realised how troublesome using the as99127f was going to be I would have gone the other way! You only find these things out when you actually buy a piece of kit - at that time the board was too new for there to be anything relevant on the sensors support page. Next time I buy I may go to a Xeon cpu (for the sake of the large memory support on Xeon motherboards) or if the IA64/AMD 64 bit processors look attractive in both specification and price I may go that way - I expect a whole new can of worms then! We will of course be on 2.6.x kernels by then.

Anyway, very many thanks for all your help. I suppose I would
have been able to sort this out if I had known more about systems, but regrettably I don't, my interests being in large numerical applications.

All the very best,

Richard James.

Quoted 28 lines · Jean Delvare
Quoted 10 lines

< clip >

Quoted 2 lines

Version 2.8.0:
w83782d-i2c-0-2d

<clip>

Quoted 2 lines

Version 2.8.1:
as99127f-i2c-0-2d

Just wanted to point out that the 2.8.0 printout was for w83782d, while 2.8.1 was for as99127f. So different compute rules in sensors.conf were applied.

Stupid me. Thanks for the notice.

Richard, do you confirm that recent versions of sensors-detect tell you you have a revision 2 AS99127F?

I've checked an improved version of sensors.conf in our CVS repository. Get it here:
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/etc/sensors.conf.eg

Copy it to /etc/sensors.conf, and edit the "as99127f-*" section. You'll find commented out lines for AS99127F rev.2 in5 and in6. Uncomment them and you're (hopefully) done.

--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/

#8 lore raw
In reply to Jean Delvare

Dear Jean,

Thanks for your message - 2.8.2 works "out of the box", albeit
after I edited the sensors.conf file that came with it to select rev 2 rather than rev 1. I find it comforting that the selection of the chip is more precise in the new version.

Very best wishes,

Richard.

Quoted 53 lines · Jean Delvare
Quoted 3 lines

2) For version 2.8.0 I did manage to realise that I needed
/proc/sys/dev/sensors w83782d-i2c-0-2d (why not w83781d....?
- beyond me!) so I attach results from there.

The w83781d driver handles more than only the W83781D driver. It also supports, among others, the W83782D and the AS99127F (revisions 1 and 2). The W83782 and the AS99127F revision 2 are almost the same chip and can be handled almost the same way. In 2.8.0 we weren't differenciating them (which is why your AS99127F was detected as a W83782D).

Quoted 9 lines

Version 2.8.0 - from /proc/sys/dev/sensors/w83782d-i2c-0-2d:

in5:   0.33 0.78 0.54
in6:   0.78 0.94 0.83

Version 2.8.1 - from /proc/sys/dev/sensors/as99127f-i2c-0-2d:

in5:   2.70 3.33 0.54
in6:   3.15 3.49 0.83

As you can see, the readings (last value for each input) are the same - which confirms it was a problem with how conversions are done by the library, and not a driver issue.

Quoted 8 lines

3) I downloaded the lm_sensors2... stuff from the site you
gave me - the lm_sensors.. stuff was marked as old code. I managed to compile it, after commenting out some chip IDs which were not recognised and to install it in /lib/modules but could not run sensors -s. The error message was

Error: Line 2: Invalid keyword.
General parse error.

I don't understand what you did. All I told you to get was the updated configuration file. You were not supposed to download a full package nor to compile anything.

Quoted 2 lines

Many thanks for your help - it is really appreciated. Please let me know if I have picked up the wrong code!

You obviously did. The file you need is this one only:
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/etc/sensors.conf.eg
Download it, copy it to /etc/sensors.conf and you are done.

BTW, version 2.8.2 has been released today, if you want to give it a try. If you do, you don't even have to get the file above.

Good luck.

--
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/