From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: Renzo Dani <arons7@gmail.com>
Cc: rdunlap@xenotime.net, o.endriss@gmx.de, awalls@radix.net,
crope@iki.fi, manu@linuxtv.org, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH 1/2] Added Technisat Skystar USB HD CI
Date: Sat, 10 Jul 2010 09:04:42 -0300 [thread overview]
Message-ID: <4C3861DA.7080604@infradead.org> (raw)
In-Reply-To: <1278411798-6437-1-git-send-email-arons7@gmail.com>
Em 06-07-2010 07:23, Renzo Dani escreveu:
> From: Renzo Dani <arons7@gmail.com>
>
>
> Signed-off-by: Renzo Dani <arons7@gmail.com>
> ---
> drivers/media/dvb/dvb-usb/az6027.c | 14 ++++++++++++--
> 1 files changed, 12 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/media/dvb/dvb-usb/az6027.c b/drivers/media/dvb/dvb-usb/az6027.c
> index d7290b2..445851a 100644
> --- a/drivers/media/dvb/dvb-usb/az6027.c
> +++ b/drivers/media/dvb/dvb-usb/az6027.c
> @@ -1103,13 +1103,23 @@ static struct dvb_usb_device_properties az6027_properties = {
> .rc_query = az6027_rc_query,
> .i2c_algo = &az6027_i2c_algo,
>
> - .num_device_descs = 1,
> + .num_device_descs = 3,
Your patch is not based on the current verson of az6027 driver. It currently have
5 devices, and it includes 2 Terratec and 2 Technisat USB ID's:
static struct usb_device_id az6027_usb_table[] = {
{ USB_DEVICE(USB_VID_AZUREWAVE, USB_PID_AZUREWAVE_AZ6027) },
{ USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_DVBS2CI_V1) },
{ USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_DVBS2CI_V2) },
{ USB_DEVICE(USB_VID_TECHNISAT, USB_PID_TECHNISAT_USB2_HDCI_V1) },
{ USB_DEVICE(USB_VID_TECHNISAT, USB_PID_TECHNISAT_USB2_HDCI_V2) },
{ },
};
The corresponding USB ID's for those devices, according with
drivers/media/dvb/dvb-usb/dvb-usb-ids.h, are:
#define USB_PID_TERRATEC_DVBS2CI_V1 0x10a4
#define USB_PID_TERRATEC_DVBS2CI_V2 0x10ac
#define USB_PID_TECHNISAT_USB2_HDCI_V1 0x0001
#define USB_PID_TECHNISAT_USB2_HDCI_V2 0x0002
> .devices = {
> {
> .name = "AZUREWAVE DVB-S/S2 USB2.0 (AZ6027)",
> .cold_ids = { &az6027_usb_table[0], NULL },
> .warm_ids = { NULL },
> },
> + {
> + .name = " Terratec DVB 2 CI",
> + .cold_ids = { &az6027_usb_table[1], NULL },
Your patch should be adding a new USB ID entry at az6027_usb_table.
> + .warm_ids = { NULL },
> + },
> + {
> + .name = "TechniSat SkyStar USB 2 HD CI (AZ6027)",
> + .cold_ids = { &az6027_usb_table[2], NULL },
> + .warm_ids = { NULL },
> + },
> { NULL },
> }
> };
> @@ -1118,7 +1128,7 @@ static struct dvb_usb_device_properties az6027_properties = {
> static struct usb_driver az6027_usb_driver = {
> .name = "dvb_usb_az6027",
> .probe = az6027_usb_probe,
> - .disconnect = az6027_usb_disconnect,
> + .disconnect = az6027_usb_disconnect,
> .id_table = az6027_usb_table,
> };
>
Please check if the existing USB ID's correspond to the devices that you're
adding. If not, please rebase your patch against devel/for_v2.6.36 branch of my
git tree, at http://git.linuxtv.org/v4l-dvb.git.
Cheers,
Mauro
prev parent reply other threads:[~2010-07-10 12:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-06 10:23 [PATCH 1/2] Added Technisat Skystar USB HD CI Renzo Dani
2010-07-10 12:04 ` Mauro Carvalho Chehab [this message]
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=4C3861DA.7080604@infradead.org \
--to=mchehab@infradead.org \
--cc=arons7@gmail.com \
--cc=awalls@radix.net \
--cc=crope@iki.fi \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=manu@linuxtv.org \
--cc=o.endriss@gmx.de \
--cc=rdunlap@xenotime.net \
/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