On 15/02/06, Sable Keech <[EMAIL PROTECTED]> wrote:

> TEMP1 is not shown when calling sysctl hw.sensors.
> If I combine the command with 'openssl speed'
> it shows the temperature.

> Bad hardware? (new board, didn't run openbsd on it before,
> so i dont know if it ever worked.)

> viasio0 at isa0 port 0x2e/2: VT1211 rev 0x02: HM WDG: not activated

Yes, bad design (of the available datasheet for VT1211).

VIA does not seem to provide an adequate documentation for the chip,
which is needed in order know on how to convert the raw data into
Kelvins. Their datasheet for VT1211 dated 2002-01-08, Revision 1.0
goes around the net (google VT1211 filetype:pdf), but it does not seem
to contain the magic formula.

And as there is no formula, the conversion table is thus guessed; so I
guess what you experience is the lack of conversion values for the
lower temperatures that the board has whilst idling.

tvc:sys {1134} grep -A3 uK /usr/src/sys/dev/isa/viasio.c
        /* Convert to uK */
        /* XXX: conversion function is guessed */
        val = viasio_raw2temp(val);
        if (val == -1) {

Also, some comments are available at
http://www.almico.com/foruminfo.php?id=879461

Cheers,
Constantine.

Reply via email to