Re: [PATCH v2 1/2] i8k: Autodetect maximal fan speed and fan RPM multiplier

From: Guenter Roeck
Date: Sat Dec 20 2014 - 13:08:21 EST


On 12/20/2014 09:27 AM, Steven Honeyman wrote:
On 20 December 2014 at 17:20, Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
I would think that it should be relatively safe
to assume that the first fan always exists

That would be a bad idea, as this is definitely not the case:

i8k-virtual-0
Adapter: Virtual device
fan2: 3181 RPM
CPU: +43.0ÂC
Ambient: +42.0ÂC
SODIMM: +36.0ÂC


Well, then he'll have to loop through fans until finding one which exists.

Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/