Re: Tachometer speed returned rather than absolute fan speed?

From: Laszlo Papp
Date: Fri Mar 07 2014 - 10:08:12 EST


On Fri, Mar 7, 2014 at 2:48 PM, Laszlo Papp <lpapp@xxxxxxx> wrote:
> Hi,
>
> In medias res, I find this interface cumbersome:
> http://lxr.free-electrons.com/source/Documentation/hwmon/max6650#L31
>
> It returns tachometer speed rather than actual fan speed when you deal
> with the fan1_target interface. That would be way more convenient for
> end users like me.
>
> Is there any reason for not returning absolute fan speed? I guess,
> this would break the behavior now. However, that would be a really
> useful convenient feature. Is it possible to add a new interface for
> that?

It might also just well be a sloppy documentation... 'cause I am
currently struggling to understand how to get the actual fan speed out
of that value ... or is it just so it already returns the absolute fan
speed and there is some logic in the driver (get_fan) function that I
do not understand?
--
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/