[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201412181734.56353@pali>
Date: Thu, 18 Dec 2014 17:34:56 +0100
From: Pali Rohár <pali.rohar@...il.com>
To: Valdis.Kletnieks@...edu
Cc: Gabriele Mazzotta <gabriele.mzt@...il.com>,
Guenter Roeck <linux@...ck-us.net>,
Arnd Bergmann <arnd@...db.de>,
"Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
Jean Delvare <jdelvare@...e.de>,
Steven Honeyman <stevenhoneyman@...il.com>,
Jochen Eisinger <jochen@...guin-breeder.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] i8k: Remove laptop specific config data (fan_mult, fan_max) from driver
On Thursday 18 December 2014 16:08:51 Valdis.Kletnieks@...edu
wrote:
> On Thu, 18 Dec 2014 12:08:58 +0100, Pali Rohár said:
> > So your BIOS cannot report nominal_rpm and because your
> > machine=20 is not in dmi list, all 3 patches do nothing for
> > your machine.
> >
> > But you need to set multiplier to 1, right?
> >
> > What about this patch? (on top of 3/3)
> >
> > --- a/drivers/char/i8k.c
> > +++ b/drivers/char/i8k.c
> > @@ -850,6 +850,10 @@ static int __init i8k_probe(void)
> >
> > */
> >
> > for (fan = 0; fan < I8K_FAN_COUNT; ++fan) {
> >
> > i8k_fan_mult[fan] = I8K_FAN_DEFAULT_MULT;
> >
> > + if (i8k_get_fan_rpm(fan) > I8K_FAN_MAX_RPM) {
> > + i8k_fan_mult[fan] = 1;
> > + continue;
> > + }
> >
> > for (val = 0; val < 256; ++val) {
>
> Dell Latitude E6530, linux-next 20141208 plus the 3 patches
> you posted on Nov 30 (support labels), plus the 4 of 3
> patches in this go around, and sensors reports:
>
> i8k-virtual-0
> Adapter: Virtual device
> fan2: 2774 RPM
>
> and under CPU load, that number rises to 3200 or so, so it
> seems to be working....
>
> So you probably should fold this into the current set of
> patches, and feel free to put this in there:
>
> Tested-By: Valdis Kletnieks <valdis.kletnieks@...edu>
Thanks for testing. Anyway I would like to know if your dell
machine supports i8k_get_fan_nominal_rpm(). Can you test without
above 4 lines patch?
--
Pali Rohár
pali.rohar@...il.com
Download attachment "signature.asc " of type "application/pgp-signature" (199 bytes)
Powered by blists - more mailing lists