[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090612101200.3fe6d494@hyperion.delvare>
Date: Fri, 12 Jun 2009 10:12:00 +0200
From: Jean Delvare <khali@...ux-fr.org>
To: Tomaz Mertelj <tomaz.mertelj@...st.arnes.si>,
Harald Welte <HaraldWelte@...tech.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, lm-sensors@...sensors.org
Subject: Re: [lm-sensors] [PATCH] hwmon: Add driver for VIA CPU core
temperature
On Thu, 11 Jun 2009 15:32:55 -0700, Andrew Morton wrote:
> On Wed, 10 Jun 2009 17:40:31 +0000 (UTC)
> Tomaz Mertelj <tomaz.mertelj@...st.arnes.si> wrote:
>
> > Harald Welte <HaraldWelte <at> viatech.com> writes:
> >
> > >
> > > This is a driver for the on-die digital temperature sensor of
> > > VIA's recent CPU models.
> > >
> > > Signed-off-by: Harald Welte <HaraldWelte <at> viatech.com>
> > >
> >
> > Harald,
>
> You carefully removed Harald from Cc: so he probably didn't read your
> email.
>
> > I tested it on 2.6.28.3 kernel on VIA VB7002 motherboard and it does not work
> > correctly.
> >
> > Output form sensors:
> >
> > via-cputemp-isa-0000
Harald, dashes in hwmon chip names are _prohibited_. Please change to
via_cputemp or similar.
> > Adapter: ISA adapter
> > Core 0: +0.0 C
> >
> > On the other hand
> > cat '/sys/class/hwmon/hwmon2/device/driver/via-cputemp.0/temp1_input' outputs
> > numbers between 25-27.
> >
Temperature values are supposed to be expressed in millidegrees C, not
degrees C as it seems to be doing (although 25 degrees C seems pretty
low for a CPU temperature?) The drivers needs to multiply values by
1000 before exporting them to sysfs. Then "sensors" will report the
correct temperature value.
--
Jean Delvare
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists