Messages in this thread | | | From | Peter Feuerer <> | Subject | Re: [Patch] acerhdf: Return temperature in milidegree | Date | Mon, 19 Oct 2009 23:11:07 +0200 |
| |
Hi Boris,
Borislav Petkov writes:
> Hi, > > On Mon, Oct 19, 2009 at 10:21 AM, Peter Feuerer <peter@piie.net> wrote: >> what do you think about this patch? > > I don't think it is worth the trouble. Just compare the changes your > patch introduces with a simple > > temp * 1000 > > you can do in userspace. > > If this were a standard interface then maybe the changes could be > warranted but it doesn't seem like so... >
I just had a look at the documentation concerning this topic:
Documentation/thermal/sysfs-api.txt:162
temp Current temperature as reported by thermal zone (sensor) Unit: millidegree Celsius RO Required
It is expected to be in millidegree, so I think we should discuss, modify and apply the patch.
regards, --peter
| |