On Saturday 12 January 2008, Reinhard Nissl wrote:
> Ville Skyttä schrieb:
> > Also, somewhat off topic: when running powertop on my VDR box, I see
> > lircd waking up the CPU from idle about 1000 times a second while VDR is
> > connected to it:
> > Top causes for wakeups:
> > 54.3% (988.1) lircd : schedule_timeout (process_timeout)
> > 28.5% (518.4) vdr : futex_wait (hrtimer_wakeup)
> > [...]
> > I already tried adding some cCondWait::SleepMs's to VDR's lirc action
> > loop but it didn't seem to have any effect. Any ideas whether this is
> > something that VDR could do anything about, or if it's a LIRC internal
> > thing?
> Well VDR's lirc action loop uses a timeout only when it needs to
> generate a keyup event after a key repeat event. Otherwise it
> blocks in cFile::FileReady's select() until a button gets pressed
> on the remote.
> Try running irw instead of VDR and check powertop again.
Yep, same thing with irw so I suppose this needs to be addressed in LIRC, not
vdr mailing list