Re: bisected regression in tuner-xc2028 on DVICO dual digital 4

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

 



On Thu, Nov 5, 2009 at 12:23 AM, Robert Lowery <rglowery@xxxxxxxxxxxxxx> wrote:
> Hi Devin,
>
> Thanks for your reply.
>
> I don't think your suggestion to use disable_power_mgmt will work as I
> already tried setting the no_poweroff=1 kernel module without success (and
> even tried recompiling with xc2028_sleep returning 0 immediately, but
> until I stopped the .sleep being set at all in xc2028_dvb_tuner_ops, the
> problem kept happening.
>
> The only thing that fixed it without code change was to set
> dvb_powerdown_on_sleep=0.
>
> Looking at the below code from dvb_frontend.c, the only difference I could
> see between setting no_poweroff=1 and not setting .sleep is the latter
> stops i2c_gate_ctrl being called.
>
>        if (dvb_powerdown_on_sleep) {
>                if (fe->ops.set_voltage)
>                        fe->ops.set_voltage(fe, SEC_VOLTAGE_OFF);
>                if (fe->ops.tuner_ops.sleep) {
>                        if (fe->ops.i2c_gate_ctrl)
>                                fe->ops.i2c_gate_ctrl(fe, 1);
>                        fe->ops.tuner_ops.sleep(fe);
>                        if (fe->ops.i2c_gate_ctrl)
>                                fe->ops.i2c_gate_ctrl(fe, 0);
>                }
>                if (fe->ops.sleep)
>                        fe->ops.sleep(fe);
>        }
>
> I'm not very familiar with this code.  Am I missing something?
>
> -Rob

Could you please clarify exactly which card you have (PCI/USB ID)?

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
--
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

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux