I think it needs a much bigger change i.e need to move the framework to kernel space to control this from user space.
In short, I need to get this done in kernel as I want this module to fit in the current framework. Please suggest if you have any implementation specific idea for this.

Thanks,
Sid


On Thu, Feb 2, 2017 at 10:57 AM, Greg KH <greg@kroah.com> wrote:
On Thu, Feb 02, 2017 at 10:32:56AM -0600, Siddhartha Baral wrote:
> We have a separate cooling device for HDD.

Why aren't you controlling that from userspace as well?