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



Hello Dominik,

So I dug into the driver why xawtv didn't work for me (while it had worked at some time).
Please submit a bug report then. "Didn't work" isn't very precise. ;-)

"xawtv -v 2" gives a very detailed description of what's happening. If this does not help, load the driver with "av7110_debug=255" and/or the saa7146 driver with "saa7146_debug=247", try again and have a look at the syslog. It'll show you what's called in what order.

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.
Hm, did you use a recent version of the driver? Mine says in "av7110.c":

static int av7110_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_data *pci_ext)
{
[...]
/* special case DVB-C: these cards have an analog tuner
plus need some special handling, so we have separate
saa7146_ext_vv data for these... */
if (dev->pci->subsystem_vendor == 0x110a) {
ret = saa7146_vv_init(dev, &av7110_vv_data_c);

and later on in the actual structure:

static struct saa7146_ext_vv av7110_vv_data_c = {
.inputs = 1,
.audios = 1,
.capabilities = V4L2_CAP_TUNER,
[...]

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" ?
You have to distinguish between the overall card capabilities and the input capabilities. V4L2_CAP_TUNER means: has some sort of tuner.
Have a look at http://bytesex.org/v4l/spec/vidioc-querycap.html

Each input has to describe if it has a tuner or not in the "type" field.
http://bytesex.org/v4l/spec/vidioc-enuminput.html#V4L2-INPUT

Maybe someone with a better insight on the intrinsics of V4L should answer this.
Please post the above informations or find it by yourself what's not working correctly. It might be that some programs (xawtv, vdr) are now more strict about these kinds of informations as they used to be.

Regards
Dominik
CU
Michael.



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



Home | Main Index | Thread Index