On 2010-11-18 07:43, Jeremy Kerr wrote:
Currently, the cx88-input code unconditionally establishes an input device for IR events. On some cards, this sets up a hrtimer to poll the IR status frequently - I get around 200 wakeups per second from this polling, and don't use the IR ports. Although the hrtimer is only run when the input device is opened, the device is actually unconditionally opened by kbd_connect, because we have the EV_KEY bit set in the input device descriptor. In effect, the IR device is always opened (and so polling) if CONFIG_VT. This change adds a module parameter, 'ir_disable' to disable the IR code, and not register this input device at all. This drastically reduces the number of wakeups per second for me.
AFAIK we have disable support in cx88: http://git.linuxtv.org/media_tree.git?a=commit;h=89c3bc78075042ae1f4452687f626acce06b3b21 isn't it related with your patch? -- Mariusz BiaÅoÅczyk jabber/e-mail: manio@xxxxxxxxxx http://manio.skyboo.net -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html