From: "Pali Rohár" <pali.rohar@gmail.com>
To: Guenter Roeck <linux@roeck-us.net>, linux-kernel@vger.kernel.org
Subject: Re: Dell Latitude E6440 & i8k
Date: Sun, 18 May 2014 00:54:17 +0200 [thread overview]
Message-ID: <201405180054.17746@pali> (raw)
[-- Attachment #1: Type: text/plain, Size: 1688 bytes --]
On Friday 16 May 2014 21:11:17 you wrote:
> Hi Pali,
>
> On Fri, 16 May 2014 20:37:41 +0200, Pali Rohár wrote:
> > Hello,
> >
> > on Dell Latitude E6440 driver i8k reporting total nonsense
> > values
>
> That's kind of excessive wording, the output isn't that bad.
>
> > $ sensors
> > i8k-virtual-0
> > Adapter: Virtual device
> > Right Fan: 93450 RPM
> > CPU: +57.0°C
> > temp2: +57.0°C
> > temp3: +40.0°C
> > temp4: +127.0°C
> >
> > Right Fan and temp4 are for sure incorrect.
>
> Driver is reverse-engineered so this is best effort and some
> tweaking may be needed.
>
> > Value temp4 is always 127 and is never changing, but value
> > for Right Fan is increasing when fan is more noisy. So it
> > looks like value for Right Fan is not correctly normalized
> > or multiplier is incorrect.
> >
> > And name "Right" is incorrect too. Fan is on left side of
> > this notebook, not right as reported by driver.
> >
> > It is possible to fix these problems?
>
> Load the i8k driver with fan_mult=1.
>
> Add the following to /etc/sensors.d/i8k.conf:
>
> chip "i8k-virtual-0"
>
> label fan2 "Left Fan"
> ignore temp4
I have some new info about temp4.
When I read value from temp4 for first time it reports (possible)
correct value:
$ cat /sys/class/hwmon/hwmon2/temp4_input
49000
But every next call it returns 127000 which is incorrect.
So this looks like bug in BIOS or incorrect usage of SMM call...
Do you know if there is any way to extract BIOS SMM code? Or it
is something which is not possible to do from OS/kernel side?
--
Pali Rohár
pali.rohar@gmail.com
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next reply other threads:[~2014-05-17 22:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-17 22:54 Pali Rohár [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-05-16 18:37 Dell Latitude E6440 & i8k Pali Rohár
2014-05-16 19:11 ` Jean Delvare
2014-05-16 19:23 ` Pali Rohár
2014-05-17 9:44 ` Jean Delvare
2014-05-17 15:34 ` Guenter Roeck
2014-05-17 23:01 ` Pali Rohár
2014-05-18 8:23 ` Jean Delvare
2014-05-17 15:25 ` Guenter Roeck
2014-05-17 21:09 ` Jean Delvare
2014-05-17 22:18 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201405180054.17746@pali \
--to=pali.rohar@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox