From patchwork Sun Apr 26 20:11:15 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tomas petr X-Patchwork-Id: 20048 X-Patchwork-Delegate: dougsland@redhat.com 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 n3QMDPwM027819 for ; Sun, 26 Apr 2009 22:13:25 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750920AbZDZWNX (ORCPT ); Sun, 26 Apr 2009 18:13:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751620AbZDZWNX (ORCPT ); Sun, 26 Apr 2009 18:13:23 -0400 Received: from mxm.seznam.cz ([77.75.72.45]:59390 "EHLO mxm.seznam.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750920AbZDZWNX (ORCPT ); Sun, 26 Apr 2009 18:13:23 -0400 X-Greylist: delayed 7325 seconds by postgrey-1.27 at vger.kernel.org; Sun, 26 Apr 2009 18:13:22 EDT DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=seznam.cz; h=To:Date:From:Received:Subject:Mime-Version:Message-Id:Content-Transfer-Encoding:Content-Type:X-Abuse:X-Seznam-User:X-QM-Mark; b=Gla48AkeNXFCU0BuuYqfHdXaY15lQsnLmVwkLnCOx6L1aFy5zEFCeuH97FNAB22AZ iuhlXQl4ATptpfGR7rAac6Y8FvRsbZxEC1h0kDisv2nhSRNTHCq+u+O730/Aqt3nun9 1VKHo9l7AN0rueA9Bwjjf1j/rfpBg8ztlI5i1IY= To: linux-media@vger.kernel.org Date: Sun, 26 Apr 2009 22:11:15 +0200 (CEST) From: =?us-ascii?Q?tomas=20petr?= Received: from 89-24-126-149.i4g.tmcz.cz (89-24-126-149.i4g.tmcz.cz [89.24.126.149]) by email.seznam.cz (Email.Seznam.cz) with HTTP for tom-petr@seznam.cz; Sun, 26 Apr 2009 21:49:00 +0200 (CEST) Subject: =?us-ascii?Q?=5BPATCH=5D=20Leadtek=20WinFast=20DTV=20Dongle=20H?= Mime-Version: 1.0 Message-Id: <62.15-8877-1988000526-1240776675@seznam.cz> X-Abuse: abuse@seznam.cz X-Seznam-User: tom-petr@seznam.cz X-QM-Mark: email-qm5<339021758> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org "Leadtek WinFast DTV Dongle H" is a hybrid digital/analog USB-stick TV receiver. The code below allows the digital part to work with dvb_usb in linux. in /linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h add a new device number I am not the author of this code (the original author is maybe here http://www.pslib.cz/petr.cvek/?), but as the patch lies around the net for a year or even longer and it did not find its way to the v4l-dvb yet, I try to send it myself. I hope it might help to someone. Tomas --- 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 --- dvb-usb-ids.h.old 2009-04-26 22:02:14.000000000 +0200 +++ dvb-usb-ids.h 2009-04-26 21:17:14.000000000 +0200 @@ -224,6 +224,8 @@ #define USB_PID_WINFAST_DTV_DONGLE_COLD 0x6025 #define USB_PID_WINFAST_DTV_DONGLE_WARM 0x6026 #define USB_PID_WINFAST_DTV_DONGLE_STK7700P 0x6f00 +/* added */ +#define USB_PID_WINFAST_DTV_DONGLE_H 0x60f6 #define USB_PID_WINFAST_DTV_DONGLE_STK7700P_2 0x6f01 #define USB_PID_WINFAST_DTV_DONGLE_GOLD 0x6029 #define USB_PID_GENPIX_8PSK_REV_1_COLD 0x0200 in ./linux/drivers/media/dvb/dvb-usb/dib0700_devices.c --- dib0700_devices.c.old 2009-04-26 22:07:12.000000000 +0200 +++ dib0700_devices.c 2009-04-26 21:26:44.000000000 +0200 @@ -1498,6 +1498,8 @@ struct usb_device_id dib0700_usb_id_tabl { USB_DEVICE(USB_VID_YUAN, USB_PID_YUAN_MC770) }, { USB_DEVICE(USB_VID_ELGATO, USB_PID_ELGATO_EYETV_DTT) }, /* 50 */{ USB_DEVICE(USB_VID_ELGATO, USB_PID_ELGATO_EYETV_DTT_Dlx) }, + /* added */ +/* 51 */{ USB_DEVICE(USB_VID_LEADTEK, USB_PID_WINFAST_DTV_DONGLE_H) }, { 0 } /* Terminating entry */ }; MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table); @@ -1821,7 +1823,7 @@ struct dvb_usb_device_properties dib0700 }, }, - .num_device_descs = 7, + .num_device_descs = 8, .devices = { { "Terratec Cinergy HT USB XE", { &dib0700_usb_id_table[27], NULL }, @@ -1851,6 +1853,11 @@ struct dvb_usb_device_properties dib0700 { &dib0700_usb_id_table[48], NULL }, { NULL }, }, + /* added */ + { "Leadtek WinFast DTV Dongle H", + { &dib0700_usb_id_table[51], NULL }, + { NULL }, + }, }, .rc_interval = DEFAULT_RC_INTERVAL, .rc_key_map = dib0700_rc_keys,