Monday Jan 27 14:04:40 +0100 2003 Holger Waechtler <holger@convergence.de> wrote:
That's not a bug, it's a feature called power management. When no
application is using the frontend anymore it will go into sleep mode.
The RigthWayToDoIt(tm) would be to fix all applications so that they
keep the frontend file descriptor opened when they expect data from the
frontend device.
Would it be impossible (or stupid) to keep the unit powered on as long
as any of the unit's filedescriptors are open (and active). This way
one could run `cat /dev/dvb/adapter0/dvr0 ' even if the powermanagement
is not disabled.
You never know which of the adapter's subdevices are actually used.
Imagine a setup with 3 MPEG-Decoders, 3 demux-channels and 2 frontends.
You can route streams from each of the frontends to the decoders, to
harddisk or streams from disk to the decoders. The unused units don't
need to be powered all the time.