From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Steve Kerrison <steve@stevekerrison.com>
Cc: Andreas Oberritter <obi@linuxtv.org>,
linux-media@vger.kernel.org, Antti Palosaari <crope@iki.fi>
Subject: Re: [git:v4l-dvb/for_v2.6.40] [media] Sony CXD2820R DVB-T/T2/C demodulator driver
Date: Fri, 06 May 2011 12:30:17 -0300 [thread overview]
Message-ID: <4DC41409.4000705@redhat.com> (raw)
In-Reply-To: <20110506125542.ADA1D162E7@stevekerrison.com>
Em 06-05-2011 09:55, Steve Kerrison escreveu:
> If antti doesn't do this before me, I will look at this over the weekend and generate a patch against antti's current code... if that's appropriate of course (I'm new at this ;))
Feel free to do it. I suspect that Antti won't work on it during this weekend. From
what I understood, he's travelling in vacations.
It helps if you could also add the bits into the frontend API DocBook:
Documentation/DocBook/dvb/dvbproperty.xml
The chapter that describes DVBv5 extensions is at:
http://linuxtv.org/downloads/v4l-dvb-apis/FE_GET_PROPERTY.html
As you may realize, this chapter were originally written with a description
of the ISDB-T extensions. I've imported it from a .txt file, and did just
some small adjustments to glue it into the specs, but I didn't have time to
make it generic enough.
So, the descriptions there for FE_[GET|SET]_PROPERTY are focused on ISDB-T.
Yet, it shouldn't be hard to make it generic.
I'm sending right now a patch I just made that will better document those two
calls. I'm not adding the other non-documented properties. So, there are still
lots of other DVBv5 property types not documented there (feel free to send us
patches if you have time for that), and there are other missing changes
from DVB APIv3 time, but at least we reduce a little bit the differences between
the code and the spec [1].
In the past, the specs were shipped on a separate tree, using LaTex format,
and outside the kernel. So, they weren't changed when new code were added.
Now that we have it together with the kernel, we should only extend the API
together with API specs, to avoid increasing the specs gap.
With the specs at the kernel, all that needs to do to re-generate is to change
the xml files and run:
$ make htmldocs
Then look at the specs using your favourite browser with an URL like:
file:///home/myhome/media-tree/Documentation/DocBook/media/FE_GET_SET_PROPERTY.html
[1] From DVB API v3 to v5, the differences are at the FE_[GET/SET]_PROPERTY ioctls.
Thanks!
Mauro.
>
> Regards,
> Steve Kerrison.
>
> ----- Reply message -----
> From: "Andreas Oberritter" <obi@linuxtv.org>
> Date: Fri, May 6, 2011 13:36
> Subject: [git:v4l-dvb/for_v2.6.40] [media] Sony CXD2820R DVB-T/T2/C demodulator driver
> To: "Mauro Carvalho Chehab" <mchehab@redhat.com>
> Cc: "Steve Kerrison" <steve@stevekerrison.com>, <linux-media@vger.kernel.org>, "Antti Palosaari" <crope@iki.fi>
>
>
> On 05/06/2011 02:23 PM, Mauro Carvalho Chehab wrote:
>> Em 06-05-2011 07:42, Steve Kerrison escreveu:
>>> Hi Andreas,
>>>
>>> From cxd2820r_priv.h:
>>>
>>>> +/*
>>>> + * FIXME: These are totally wrong and must be added properly to the API.
>>>> + * Only temporary solution in order to get driver compile.
>>>> + */
>>>> +#define SYS_DVBT2 SYS_DAB
>>>> +#define TRANSMISSION_MODE_1K 0
>>>> +#define TRANSMISSION_MODE_16K 0
>>>> +#define TRANSMISSION_MODE_32K 0
>>>> +#define GUARD_INTERVAL_1_128 0
>>>> +#define GUARD_INTERVAL_19_128 0
>>>> +#define GUARD_INTERVAL_19_256 0
>>>
>>>
>>> I believe Antti didn't want to make frontent.h changes until a consensus
>>> was reached on how to develop the API for T2 support.
>>
>> Yeah.
>>
>> Andreas/Antti,
>>
>> It seems more appropriate to remove the above hack and add Andreas patch.
>> I've reviewed it and it seemed ok on my eyes, provided that we also update
>> DVB specs to reflect the changes.
>>
>> In special, the new DVB command should be documented:
>> +#define DTV_DVBT2_PLP_ID 43
>
> In addition to the patch, the PLP ID needs to be stored in struct
> dtv_frontend_properties and used by property cache functions in
> dvb_frontend.c.
>
> Antti, could you please complete the patch and test it with your device?
> This patch was adapted from an older kernel and only compile-tested few
> weeks ago.
>
> Regards,
> Andreas
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
next prev parent reply other threads:[~2011-05-06 15:30 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20110506125542.ADA1D162E7@stevekerrison.com>
2011-05-06 13:46 ` [git:v4l-dvb/for_v2.6.40] [media] Sony CXD2820R DVB-T/T2/C demodulator driver Antti Palosaari
2011-05-06 15:30 ` Mauro Carvalho Chehab [this message]
2011-05-06 15:46 ` Mauro Carvalho Chehab
2011-05-08 15:51 ` [PATCH 0/6] DVB-T2 API updates, documentation and accompanying small fixes Steve Kerrison
2011-05-08 16:04 ` Mauro Carvalho Chehab
2011-05-08 19:17 ` [PATCH v2 0/5] " Steve Kerrison
2011-05-08 19:17 ` [PATCH v2 1/5] DVB: Add basic API support for DVB-T2 and bump minor version Steve Kerrison
2011-05-08 22:22 ` Andreas Oberritter
2011-05-08 22:38 ` Andreas Oberritter
2011-05-12 21:11 ` [PATCH v3] " Steve Kerrison
2011-05-08 19:17 ` [PATCH v2 2/5] drxd: Fix warning caused by new entries in an enum Steve Kerrison
2011-05-08 22:10 ` Andreas Oberritter
2011-05-09 9:15 ` Steve Kerrison
2011-05-09 9:25 ` Mauro Carvalho Chehab
2011-05-08 19:17 ` [PATCH v2 3/5] mxl5005: " Steve Kerrison
2011-05-08 22:11 ` Andreas Oberritter
2011-05-08 19:17 ` [PATCH v2 4/5] cxd2820r: Update frontend capabilities to advertise QAM-256 Steve Kerrison
2011-05-09 21:45 ` Antti Palosaari
2011-05-08 19:17 ` [PATCH v2 5/5] Documentation: Update to include DVB-T2 additions Steve Kerrison
2011-05-12 21:18 ` Steve Kerrison
[not found] ` <1304875061.2920.13.camel@ares>
2011-05-08 22:26 ` [PATCH 0/6] DVB-T2 API updates, documentation and accompanying small fixes Andreas Oberritter
2011-05-09 3:10 ` Mauro Carvalho Chehab
2011-05-12 22:06 ` Antti Palosaari
2011-05-08 15:51 ` [PATCH 1/6] DVB: Add basic API support for DVB-T2 and bump minor version Steve Kerrison
2011-05-08 15:51 ` [PATCH 2/6] cxd2820r: Remove temporary T2 API hack Steve Kerrison
2011-05-08 16:06 ` Mauro Carvalho Chehab
2011-05-08 15:51 ` [PATCH 3/6] drxd: Fix warning caused by new entries in an enum Steve Kerrison
2011-05-08 15:51 ` [PATCH 4/6] mxl5005: " Steve Kerrison
2011-05-08 15:51 ` [PATCH 5/6] cxd2820r: Update frontend capabilities to advertise QAM-256 Steve Kerrison
2011-05-08 15:51 ` [PATCH 6/6] Documentation: Update to include DVB-T2 additions Steve Kerrison
2011-05-08 16:20 ` Mauro Carvalho Chehab
2011-05-08 19:13 ` Steve Kerrison
2011-05-08 22:05 ` Andreas Oberritter
[not found] <E1QHwSm-0006hA-A9@www.linuxtv.org>
2011-05-06 10:01 ` [git:v4l-dvb/for_v2.6.40] [media] Sony CXD2820R DVB-T/T2/C demodulator driver Andreas Oberritter
2011-05-06 10:42 ` Steve Kerrison
2011-05-06 12:23 ` Mauro Carvalho Chehab
2011-05-06 12:36 ` Andreas Oberritter
2011-05-06 14:35 ` Antti Palosaari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DC41409.4000705@redhat.com \
--to=mchehab@redhat.com \
--cc=crope@iki.fi \
--cc=linux-media@vger.kernel.org \
--cc=obi@linuxtv.org \
--cc=steve@stevekerrison.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox