[linux-dvb] Power management and dvb framework
devin.heitmueller at gmail.com
Sun Sep 14 00:28:16 CEST 2008
On Sat, Sep 13, 2008 at 5:53 PM, Steven Toth <stoth at linuxtv.org> wrote:
> I looked at some power stuff for the au0828 recently. I added a couple of
> callbacks in the USB_register struct IIRC, I had those drive the gpios. I
> don't recall the details but if you look at the definition of the structure
> you should see some power related callbacks. Actually, I'm not even sure if
> those patches got merged.
> Also, the demod _init() and _sleep() callbacks get called by dvb-core when
> the demod is required (or not). These might help.
> Lastly, depending on how the driver implements DVB, is might use videobuf -
> or it might do it's own buffer handing. In case of the latter, look at the
> feed_start() feed_stop() functions and the struct specific feed counter that
> usually accompanies this... you could probably add some useful power related
> stuff with these indications.
Thanks for the suggestions. At this point my best bet is to just
litter the code with some printk() messages so I can see what the
complete workflow is for the life of a device. That will help alot
with figuring out where at what point which hooks get called.
Devin J. Heitmueller
More information about the linux-dvb