Re: Poll rate change and closing indication to polled input device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 09, 2009 at 03:02:59PM +0300, Onkalo Samu wrote:

> I would like to change the polling rate of the polled input device
> on the fly depending on the use case. One possible way is to directly
> modify poll_interval from my driver. However, I would like to introduce
> functions which can be used to set / get polling rate like 

> input_polled_device_set_rate(...)

> input_polled_device_get_rate(...)

> Another missing thing is an indication when the polled device is closed.
> This can be used to turn off the HW which is not used anymore.

> What do you think, is it ok to introduce these additions to the polled
> input device?

It'd be really good to have this control exposed to user space in a
standard fashion.  Other devices that generate constant data rates like
touchscreens could also benefit from it, changing their output rate
depending on the needs of user space to give a power saving.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux