Skip to contentSkip to conversation

new USB-ID for Leadtek Winfast DTV was: Re: New Leadtek Winfast DTV Dongle working - with mods but no RC

PATCH In review Antti Palosaari 4 participants 6 messages Mar 28, 2008 – Mar 30, 2008 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 new USB-ID for Leadtek Winfast DTV was: Re: New Leadtek Winfast DTV Dongle working - with mods but no RC

hello
USB-ID for Leadtek Winfast DTV

Patch done against current development-tree at http://linuxtv.org/hg/~pb/v4l-dvb/
Patrick, could you check and add it?

Could ptay1685 or John or some other test this?

Quoted 3 lines · Keith Bannister

I hopped onto the IRC channel and crope` (thanks mate) advised me to change dvb-usb-ids.h to

#define USB_PID_WINFAST_DTV_DONGLE_STK7700P 0x6f01

Sorry, I forgot make patch earlier...

regards
Antti

Signature · 1 line
http://palosaari.fi/
linux/drivers/media/dvb/dvb-usb/dib0700_devices.c +4 -1
diff -r 3d252c252869 linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
@@ -1115,6 +1115,8 @@ struct usb_device_id dib0700_usb_id_tabl
 	{ USB_DEVICE(USB_VID_YUAN,	USB_PID_YUAN_EC372S) },
 	{ USB_DEVICE(USB_VID_TERRATEC,	USB_PID_TERRATEC_CINERGY_HT_EXPRESS) },
 	{ USB_DEVICE(USB_VID_TERRATEC,	USB_PID_TERRATEC_CINERGY_T_XXS) },
+	{ USB_DEVICE(USB_VID_LEADTEK,
+			USB_PID_WINFAST_DTV_DONGLE_STK7700P_2) },
 	{ 0 }		/* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -1179,7 +1181,8 @@ struct dvb_usb_device_properties dib0700
 				{ NULL },
 			},
 			{   "Leadtek Winfast DTV Dongle (STK7700P based)",
-				{ &dib0700_usb_id_table[8], NULL },
+				{ &dib0700_usb_id_table[8],
+				  &dib0700_usb_id_table[34], NULL },
 				{ NULL },
 			},
 			{   "AVerMedia AVerTV DVB-T Express",
linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h +1 -0
diff -r 3d252c252869 linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
@@ -180,6 +180,7 @@
 #define USB_PID_WINFAST_DTV_DONGLE_COLD			0x6025
 #define USB_PID_WINFAST_DTV_DONGLE_WARM			0x6026
 #define USB_PID_WINFAST_DTV_DONGLE_STK7700P		0x6f00
+#define USB_PID_WINFAST_DTV_DONGLE_STK7700P_2		0x6f01
 #define USB_PID_GENPIX_8PSK_REV_1_COLD			0x0200
 #define USB_PID_GENPIX_8PSK_REV_1_WARM			0x0201
 #define USB_PID_GENPIX_8PSK_REV_2			0x0202

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#2 lore raw

Didnt work for me, sorry. Device still not detected.

Probably me not getting the sources correctly or something - i followed the directions on linuxtv.org website.

Regards,

Phil T.

----- Original Message -----
From: "Antti Palosaari" <[email protected]>
To: "Patrick Boettcher" <[email protected]>; "ptay1685" <[email protected]>; "John" <[email protected]>
Cc: <[email protected]>; <[email protected]>
Sent: Friday, March 28, 2008 11:29 AM
Subject: [linux-dvb] [PATCH] new USB-ID for Leadtek Winfast DTV was: Re: New Leadtek Winfast DTV Dongle working - with mods but no RC

Quoted 15 lines

hello
USB-ID for Leadtek Winfast DTV

Patch done against current development-tree at
http://linuxtv.org/hg/~pb/v4l-dvb/
Patrick, could you check and add it?

Could ptay1685 or John or some other test this?

Quoted 3 lines · Keith Bannister

I hopped onto the IRC channel and crope` (thanks mate) advised me to change dvb-usb-ids.h to

Quoted 9 lines
Quoted 1 line

#define USB_PID_WINFAST_DTV_DONGLE_STK7700P 0x6f01

Sorry, I forgot make patch earlier...

regards
Antti

Signature · 1 line
http://palosaari.fi/

--------------------------------------------------------------------------------

Quoted 31 lines

diff -r 3d252c252869 linux/drivers/media/dvb/dvb-usb/dib0700_devices.c --- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c Sat Mar 22 23:19:38 2008 +0100
+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c Fri Mar 28 02:15:01 2008 +0200

linux/drivers/media/dvb/dvb-usb/dib0700_devices.c +4 -1
@@ -1115,6 +1115,8 @@ struct usb_device_id dib0700_usb_id_tabl
 { USB_DEVICE(USB_VID_YUAN, USB_PID_YUAN_EC372S) },
 { USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_HT_EXPRESS) },
 { USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_T_XXS) },
+ { USB_DEVICE(USB_VID_LEADTEK,
+ USB_PID_WINFAST_DTV_DONGLE_STK7700P_2) },
 { 0 } /* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -1179,7 +1181,8 @@ struct dvb_usb_device_properties dib0700
 { NULL },
 },
 {   "Leadtek Winfast DTV Dongle (STK7700P based)",
- { &dib0700_usb_id_table[8], NULL },
+ { &dib0700_usb_id_table[8],
+   &dib0700_usb_id_table[34], NULL },
 { NULL },
 },
 {   "AVerMedia AVerTV DVB-T Express",

diff -r 3d252c252869 linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h --- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h Sat Mar 22 23:19:38 2008 +0100
+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h Fri Mar 28 02:15:01 2008 +0200

linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h line 186

Quoted 7 lines
linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h +1 -0
@@ -180,6 +180,7 @@
 #define USB_PID_WINFAST_DTV_DONGLE_COLD 0x6025
 #define USB_PID_WINFAST_DTV_DONGLE_WARM 0x6026
 #define USB_PID_WINFAST_DTV_DONGLE_STK7700P 0x6f00
+#define USB_PID_WINFAST_DTV_DONGLE_STK7700P_2 0x6f01
 #define USB_PID_GENPIX_8PSK_REV_1_COLD 0x0200
 #define USB_PID_GENPIX_8PSK_REV_1_WARM 0x0201
 #define USB_PID_GENPIX_8PSK_REV_2 0x0202

--------------------------------------------------------------------------------

Quoted 4 lines

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#3 lore raw
Quoted 4 lines · ptay1685 wrote:

Didnt work for me, sorry. Device still not detected.

Probably me not getting the sources correctly or something - i followed the directions on linuxtv.org website.

hg clone http://linuxtv.org/hg/~pb/v4l-dvb/
cd v4l-dvb/
patch -p1 < ../Leadtek_Winfast_DTV_Dongle_6f01.patch make
make install

Antti

Signature · 6 lines
http://palosaari.fi/

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
#4 lore raw
In reply to Antti Palosaari

Hi Antti,

Daryll Green was first - I committed his patch.

Sorry,
Patrick.

--
Mail: [email protected]
WWW: http://www.wi-bw.tfh-wildau.de/~pboettch/

Quoted 15 lines · Antti Palosaari

hello
USB-ID for Leadtek Winfast DTV

Patch done against current development-tree at
http://linuxtv.org/hg/~pb/v4l-dvb/
Patrick, could you check and add it?

Could ptay1685 or John or some other test this?

Quoted 3 lines · Keith Bannister

I hopped onto the IRC channel and crope` (thanks mate) advised me to change dvb-usb-ids.h to

Quoted 9 lines
Quoted 1 line

#define USB_PID_WINFAST_DTV_DONGLE_STK7700P 0x6f01

Sorry, I forgot make patch earlier...

regards
Antti

Signature · 1 line
http://palosaari.fi/

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#5 lore raw

hello

Quoted 3 lines · Patrick Boettcher

Hi Antti,

Daryll Green was first - I committed his patch.

yes, his patch looks just fine, no problem. I did not see Darylls patch earlier...

regards
Antti

Quoted 39 lines

Sorry,
Patrick.

--
Mail: [email protected]
WWW: http://www.wi-bw.tfh-wildau.de/~pboettch/

Quoted 12 lines · Antti Palosaari

hello
USB-ID for Leadtek Winfast DTV

Patch done against current development-tree at
http://linuxtv.org/hg/~pb/v4l-dvb/
Patrick, could you check and add it?

Could ptay1685 or John or some other test this?

Keith Bannister wrote:

Quoted 11 lines
Quoted 4 lines

I hopped onto the IRC channel and crope` (thanks mate) advised me to change dvb-usb-ids.h to

#define USB_PID_WINFAST_DTV_DONGLE_STK7700P 0x6f01

Sorry, I forgot make patch earlier...

regards
Antti

Signature · 1 line
http://palosaari.fi/

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Signature · 6 lines
http://palosaari.fi/

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
#6 lore raw

Hi,

The proposed patch appears to do the job for me.

At least when I plug in the dongle I get this in my messages:

Mar 30 11:54:47 localhost kernel: usb 1-4: new high speed USB device
using ehci_hcd and address 8
Mar 30 11:54:47 localhost kernel: usb 1-4: configuration #1 chosen from
1 choice
Mar 30 11:54:47 localhost kernel: dib0700: loaded with support for 5
different device-types
Mar 30 11:54:47 localhost kernel: dvb-usb: found a 'Leadtek Winfast DTV
Dongle (STK7700P based)' in cold state, will try to load a firmware
Mar 30 11:54:47 localhost kernel: dvb-usb: downloading firmware from
file 'dvb-usb-dib0700-1.10.fw'
Mar 30 11:54:48 localhost kernel: dib0700: firmware started
successfully.
Mar 30 11:54:48 localhost kernel: dvb-usb: found a 'Leadtek Winfast DTV
Dongle (STK7700P based)' in warm state.
Mar 30 11:54:48 localhost kernel: dvb-usb: will pass the complete MPEG2
transport stream to the software demuxer.
Mar 30 11:54:48 localhost kernel: DVB: registering new adapter (Leadtek
Winfast DTV Dongle (STK7700P based))
Mar 30 11:54:48 localhost kernel: DVB: registering frontend 0 (DiBcom
7000PC)...
Mar 30 11:54:48 localhost kernel: MT2060: successfully identified (IF1 =
1220)
Mar 30 11:54:49 localhost kernel: input: IR-receiver inside an USB DVB
receiver as /class/input/input11
Mar 30 11:54:49 localhost kernel: dvb-usb: schedule remote query
interval to 150 msecs.
Mar 30 11:54:49 localhost kernel: dvb-usb: Leadtek Winfast DTV Dongle
(STK7700P based) successfully initialized and connected.
Mar 30 11:54:49 localhost kernel: usbcore: registered new interface

driver dvb_usb_dib0700

Thanks
J

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb