From patchwork Sun Mar 29 02:36:18 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?SnVhbiBKZXPDg8K6cyBHYXJjw4PCrWEgZGUgU29yaWEgTHVjZW5h?= X-Patchwork-Id: 14947 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n2T2aOR0028875 for ; Sun, 29 Mar 2009 02:36:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756719AbZC2CgW (ORCPT ); Sat, 28 Mar 2009 22:36:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756248AbZC2CgW (ORCPT ); Sat, 28 Mar 2009 22:36:22 -0400 Received: from fk-out-0910.google.com ([209.85.128.188]:10669 "EHLO fk-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756719AbZC2CgV convert rfc822-to-8bit (ORCPT ); Sat, 28 Mar 2009 22:36:21 -0400 Received: by fk-out-0910.google.com with SMTP id 18so668113fkq.5 for ; Sat, 28 Mar 2009 19:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=Qw/XKfjDJfVeauHnZUGpnKdS1FN/OlJm4w4EoDKZ4RE=; b=L1+qfBa0meC8D/piNjnHqJIJhUeMUhVkyrubC6iDWJ9g2+qf/bcWIxbdzITd4i1WwV e6DrBuuQD6zd/sCK5KOvskONDYnO5DrD31aYaRAbNfqLJ0usq14QllBZ6I/lXhjWt3Xh SR3NZs/3b4JMD4LgF0hH11YLAVTd9n5NUtqu8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=MgqvDx5LCv7yxakY50bufwrJ3zBIWUAbMo5kRF7eL2aMsBwn/Uw/mRMi9JEzWiL7aa dDi6LV2yPUHHCKLquz7x073+o94Oc6xiVBEpx1lV7FoXnF4Y131WoB7BpkpOWhYwerRG vur69eX+WpbHTIBy0mMJIv+O8T6vqkb4WpM30= MIME-Version: 1.0 Received: by 10.103.161.16 with SMTP id n16mr1056900muo.79.1238294178757; Sat, 28 Mar 2009 19:36:18 -0700 (PDT) Date: Sun, 29 Mar 2009 04:36:18 +0200 Message-ID: Subject: [PATCH] Add AVerMedia A310 USB IDs to CE6230 driver. From: =?ISO-8859-1?Q?Juan_Jes=FAs_Garc=EDa_de_Soria_Lucena?= To: Mauro Carvalho Chehab Cc: Antti Palosaari , linux-media@vger.kernel.org Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org El día 28 de marzo de 2009 22:05, Mauro Carvalho Chehab escribió: > So, please send the patch you did for analysis. Please submit it as explained at [1]. > > [1] http://linuxtv.org/hg/v4l-dvb/raw-file/tip/README.patches Add AVerMedia A310 USB IDs to CE6230 driver. From: Juan Jesús García de Soria Lucena The CE6230 DVB USB driver works correctly for the AVerMedia A310 USB2.0 DVB-T tuner. Add the required USB ID's and hardware names so that the driver will handle it. Priority: normal Signed-off-by: Juan Jesús García de Soria Lucena diff -r b1596c6517c9 -r 71dd4cff4eb6 linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h --- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h Thu Mar 26 20:47:48 2009 +0000 +++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h Sun Mar 29 04:27:54 2009 +0200 @@ -166,6 +166,7 @@ #define USB_PID_AVERMEDIA_VOLAR_X 0xa815 #define USB_PID_AVERMEDIA_VOLAR_X_2 0x8150 #define USB_PID_AVERMEDIA_A309 0xa309 +#define USB_PID_AVERMEDIA_A310 0xa310 #define USB_PID_TECHNOTREND_CONNECT_S2400 0x3006 #define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY 0x005a #define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY_2 0x0081 Acked-by: Antti Palosaari --- 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 diff -r b1596c6517c9 -r 71dd4cff4eb6 linux/drivers/media/dvb/dvb-usb/ce6230.c --- a/linux/drivers/media/dvb/dvb-usb/ce6230.c Thu Mar 26 20:47:48 2009 +0000 +++ b/linux/drivers/media/dvb/dvb-usb/ce6230.c Sun Mar 29 04:27:54 2009 +0200 @@ -253,6 +253,7 @@ static struct usb_device_id ce6230_table[] = { { USB_DEVICE(USB_VID_INTEL, USB_PID_INTEL_CE9500) }, + { USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A310) }, { } /* Terminating entry */ }; MODULE_DEVICE_TABLE(usb, ce6230_table); @@ -287,12 +288,17 @@ .i2c_algo = &ce6230_i2c_algo, - .num_device_descs = 1, + .num_device_descs = 2, .devices = { { .name = "Intel CE9500 reference design", .cold_ids = {NULL}, .warm_ids = {&ce6230_table[0], NULL}, + }, + { + .name = "AVerMedia A310 USB 2.0 DVB-T tuner", + .cold_ids = {NULL}, + .warm_ids = {&ce6230_table[1], NULL}, }, } };