Re: Club 3D zap250mini

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



After some structural changes, here comes the updated patch for the Club 3D 
zap250mini USB dvb device.

If there are still some things incorrect, please let me know and I will try to 
correct it.

Cheers,

jochen

On Wednesday 09 August 2006 21:54, Jochen Issing wrote:
> Here comes the patch. I hope I meet the coding rules etc.
>
> What I did:
>
> * created new defines for the two Product IDs (cold/warm)
>   called USB_PID_WT220U_ZAP250_COLD/WARM
>   Note, that USB_PID_WT220U_WARM has the same value as
>   USB_PID_WT220U_ZAP250_WARM, but I defined it anyway
>   for readability.
>
> * added the two defines to the device table (dtt200u_usb_table) at
>   indices 8, 9
>
> * duplicated the struct wt220u_properties to wt220u_zap250_properties
>   Including declaration and definition. Of course, changed the USB ID
>   indices to the appropriate ones in above table.
>
> I did it without modifying any existent entry, just by adding a new one.
> I hope this was the right decision and it is truely as easy as it was.
>
> Here the sign-off - I hope this is the right place for it
>
> Signed-off-by: Jochen Issing <jochen.issing@xxxxxxxxxxxxxxxx>
>
> Best Regards,
>
> jochen
>
> On Tuesday 08 August 2006 22:52, Jochen Issing wrote:
> > Hi,
> >
> > I finally got it working on my kubuntu machine! It seems like that my
> > stick has a different USB cold ID, than older/other versions with this
> > chip.
> >
> > Here is how I did it:
> > I edited linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
> > changed USB_PID_WT220U_COLD from 0x0222 to 0x0220
> > and everything worked fine.
> >
> > Although this was just a hack, I think a clean version should be
> > integrated into the kernel module. Should I send a patch to this list or
> > can you tell me, where I shall send it to?
> >
> > Best Regards,
> >
> > jochen
> >
> > On Sunday 06 August 2006 22:52, Jochen Issing wrote:
> > > Hi All,
> > > since I am new to this list and therefore am not informed about former
> > > reports, please be kind, if this is a FAQ.
> > >
> > > Has anybody been able to use the DVB-T adapter Club 3D zap250mini? I've
> > > found it in the DVB wiki, tried the firmware and all I know about
> > > loading modules, but no reaction on the usb-stick.
> > >
> > > I did:
> > > follow the steps from "How to install DVB"
> > > [http://www.linuxtv.org/wiki/index.php/How_to_install_DVB]
> > > I tried to do the manual installation as well, but although I got the
> > > new modules installed,  I had no entry in /var/log/messages or
> > > /var/log/syslog about loaded firmware nor any devices under /dev/dvb -
> > > only a new highspeed USB device was registered.
> > >
> > > I am using kubuntu 6.06 (2.6.15-26-k7 #1 SMP PREEMPT)
> > > Any ideas?
> > >
> > > Best Regards,
> > >
> > > jochen

-- 
 jochen issing
 gpg-sig: 0A121BC8
 www.isign-softart.de
[17179766.080000] usb 4-3: new high speed USB device using ehci_hcd and address 2
[17179766.464000] dvb-usb: found a 'WideView WT-220U PenType Receiver (Typhoon/Freecom)' in cold state, will try to load a firmware
[17179766.532000] dvb-usb: downloading firmware from file 'dvb-usb-wt220u-02.fw'
[17179766.588000] usbcore: registered new driver dvb_usb_dtt200u
[17179767.604000] usb 4-3: USB disconnect, address 2
[17179767.604000] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
[17179768.852000] usb 4-3: new high speed USB device using ehci_hcd and address 3
[17179768.984000] dvb-usb: found a 'WideView WT-220U PenType Receiver (Typhoon/Freecom)' in warm state.
[17179768.984000] dvb-usb: will use the device's hardware PID filter (table count: 15).
[17179768.984000] DVB: registering new adapter (WideView WT-220U PenType Receiver (Typhoon/Freecom)).
[17179768.984000] DVB: registering frontend 0 (WideView USB DVB-T)...
[17179768.984000] input: IR-receiver inside an USB DVB receiver as /class/input/input5
[17179768.984000] dvb-usb: schedule remote query interval to 300 msecs.
[17179768.984000] dvb-usb: WideView WT-220U PenType Receiver (Typhoon/Freecom) successfully initialized and connected.
[17179771.284000] dvb-usb: recv bulk message failed: -110
diff -r 201e88a41828 linux/drivers/media/dvb/dvb-usb/dtt200u.c
--- a/linux/drivers/media/dvb/dvb-usb/dtt200u.c	Thu Aug  3 20:07:42 2006
+++ b/linux/drivers/media/dvb/dvb-usb/dtt200u.c	Sun Aug 13 21:45:56 2006
@@ -118,6 +118,8 @@
 	{ USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_WT220U_ZL0353_WARM)  },
 	{ USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_WT220U_FC_COLD)  },
 	{ USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_WT220U_FC_WARM)  },
+	{ USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_WT220U_ZAP250_COLD)  },
+	{ USB_DEVICE(USB_VID_WIDEVIEW, USB_PID_WT220U_ZAP250_WARM)  },
 	{ 0 },
 };
 MODULE_DEVICE_TABLE(usb, dtt200u_usb_table);
@@ -197,8 +199,8 @@
 	.num_device_descs = 1,
 	.devices = {
 		{ .name = "WideView WT-220U PenType Receiver (Typhoon/Freecom)",
-		  .cold_ids = { &dtt200u_usb_table[2], NULL },
-		  .warm_ids = { &dtt200u_usb_table[3], NULL },
+		  .cold_ids = { &dtt200u_usb_table[2], &dtt200u_usb_table[8], NULL },
+		  .warm_ids = { &dtt200u_usb_table[3], &dtt200u_usb_table[9], NULL },
 		},
 		{ NULL },
 	}
@@ -319,6 +321,6 @@
 module_exit(dtt200u_usb_module_exit);
 
 MODULE_AUTHOR("Patrick Boettcher <patrick.boettcher@xxxxxxx>");
-MODULE_DESCRIPTION("Driver for the WideView/Yakumo/Hama/Typhoon DVB-T USB2.0 devices");
+MODULE_DESCRIPTION("Driver for the WideView/Yakumo/Hama/Typhoon/Club3D DVB-T USB2.0 devices");
 MODULE_VERSION("1.0");
 MODULE_LICENSE("GPL");
diff -r 201e88a41828 linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
--- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	Thu Aug  3 20:07:42 2006
+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	Sun Aug 13 21:45:56 2006
@@ -84,6 +84,8 @@
 #define USB_PID_DTT200U_WARM				0x0301
 #define USB_PID_WT220U_COLD					0x0222
 #define USB_PID_WT220U_WARM					0x0221
+#define USB_PID_WT220U_ZAP250_COLD					0x0220
+#define USB_PID_WT220U_ZAP250_WARM					0x0221
 #define USB_PID_WT220U_FC_COLD					0x0225
 #define USB_PID_WT220U_FC_WARM					0x0226
 #define USB_PID_WT220U_ZL0353_COLD			0x022a

Attachment: pgpai5MXJhHAM.pgp
Description: PGP signature

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux