Mailing List archive

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

[linux-dvb] Re: Some progress on Siemens DVB-C analog TV module



Dominik Strasser wrote:
Johannes Stezenbach wrote:

Michael Klapproth wrote:

I've updated with cvs -z3 update -dAP and now i have no picture for
analog tv :-(


Which means it did work before?
Hi Johannes and Michael,
as it was raining, my weekend was boring, too :-).
So I dug into the driver why xawtv didn't work for me (while it had worked at some time).

What I found out is, that xawtv queries the device for its capabilities, but (at least for my card) the driver claimed to not to have a tuner, so xawtv didn't tune.

The patch below works around this (however I am not sure that it is the right place)

Index: av7110.c
===================================================================
RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/ttpci/av7110.c,v
retrieving revision 1.80
diff -u -3 -p -r1.80 av7110.c
--- av7110.c 28 Sep 2003 21:33:03 -0000 1.80
+++ av7110.c 5 Oct 2003 14:24:43 -0000
@@ -4673,6 +4673,7 @@ static int av7110_attach (struct saa7146
printk("av7110(%d): DVB-C analog module detected, "
"initializing MSP3400\n",
av7110->dvb_adapter->num);
+ dev->ext_vv_data->capabilities |= V4L2_CAP_TUNER;
av7110->adac_type = DVB_ADAC_MSP;
dvb_delay(100); // the probing above resets the msp...
msp_readreg(av7110, MSP_RD_DSP, 0x001e, &version1);

Following up myself:
This patch doesn't seem to be right, as vdr doesnÄt work with (only xawtv).
OTOH, I am not quite sure what to do. xawtv checks the driver for its capabilites. Does a DVB-C with the analog module have V4L2_CAP_TUNER ?
Or is it just the input "Television" ?

Maybe someone with a better insight on the intrinsics of V4L should answer this.

Regards

Dominik



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



Home | Main Index | Thread Index