Mailing List archive

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

[linux-dvb] Re: acpi sleep mode



>The av7110 firmware reloading stuff (for ARM crash recovery) in dvb_ttpci
>is broken anyway (Oopses most of the time), mayby it can get fixed while
>you're at it ;-)

I don't think so! I don't know anything about the av7110 spec.
I'll be happy with fixing module architecture for 2.6 kernel.
Anyway are you referring to reset_arm or what?

>There's a warning at module load time which needs to be taken care of:
>Dec 16 21:29:30 heck vmunix: videodev: "av7110" has no release callback.  
>Please fix your driver for proper sysfs support

The two thinks are similar but not directly related:

the release callback should be passed in 

saa7146_fops.c : static struct video_device device_template

maybe this line alone can work (I didn't try it yet):

static struct video_device device_template =
{
        .hardware        = VID_HARDWARE_SAA7146,
        .fops                = &video_fops,
+      .release           = video_device_release,
        .minor                = -1,
};


regarding to power suspend the very first problem is that
sysfs info and callbacks for suspend and resume are located in the
pci_driver 
struct but av7110_init() and av7110_exit() don't use new struct pci_driver 
and pci_module_init()

The second and biggest problem is the actual writing of suspend and resume 
functions! ;)
I hope that one can use activation and deactivation code at first.

>And I suspect that there is stuff missing for udev support (2.6's devfs
>replacement).

AFAIK udev use sysfs info, anyway udev it's still in developing.

>BTW: Last time I tested 2.6 on my laptop USB power management was
>broken, too. You better check that essential parts of your system
>work with power mgmt. before you try to fix DVB.

Maybe someone else will fix them in meanwhile! 
Usb guys are quite active, I'm worried about lirc too but one has to start 
somewhere. ;) 

Bye Uberto


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index