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

Guenter Roeck
2014-12-20T18:08:17Z

On 12/20/2014 09:27 AM, Steven Honeyman wrote:
> On 20 December 2014 at 17:20, Guenter Roeck <linux@roeck-us.net> 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