[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <483ac17b-705a-38c3-54ee-7f0089262c03@gmail.com>
Date: Mon, 19 Apr 2021 09:06:13 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: Linus Walleij <linus.walleij@...aro.org>,
Jonathan Cameron <jic23@...nel.org>,
"linux-iio@...r.kernel.org" <linux-iio@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Svyatoslav Ryhel <clamor95@...il.com>
Subject: BUG: iio: mpu3050: Wrong temperature scale
Hello,
Svyatoslav and me found that the MPU3050 IIO driver reports temperature
that is x10 larger than it should be on Asus Transformer TF201 and Acer
A500 tablet devices running mainline kernel. The driver uses
(x+23000)/280 formula for the conversion of raw temperature value, which
gives 82C for x=0, thus apparently formula is wrong because x=50000
should give us ~25C.
I tried to search for the datasheet with the formula, but couldn't find it.
Linus, will you be able to check whether the formula used by the driver
is correct? Thanks in advance.
Powered by blists - more mailing lists