Rasmus Rohde wrote:
> The following two patches add support for the Miglia TVMini USB dvb-t
> adapter.
>         
> dvb-usb-ids.h.patch just adds the needed usb vendor id.
> dtt200u.c.patch adds loading of a special firmware that seems to be
> needed for the Miglia TVMini.
>         
> The firmware can be found here:
> http://www.duff.dk/dvb-usb-wt220u-miglia-01.fw

Is this a permanent location?

> Patches are done against 2.6.22

Please confirm that the patch applies against the v4l-dvb repository
( http://linuxtv.org/hg/v4l-dvb , howto @ http://linuxtv.org/repo )

First apply it to the hg tree and test, then generate a diff by doing
"hg diff > your.patch"

...and send in that patch in addition to your sign-off, as described in:

http://linuxtv.org/hg/v4l-dvb/file/tip/README.patches

Patch looks good...

Cheers,

Mike Krufky


> --- dtt200u.c.orig    2007-03-16 22:12:24.000000000 +0100
> +++ dtt200u.c 2007-07-21 12:28:13.000000000 +0200
> @@ -1,5 +1,5 @@
>  /* DVB USB library compliant Linux driver for the WideView/ Yakumo/ Hama/
> - * Typhoon/ Yuan DVB-T USB2.0 receiver.
> + * Typhoon/ Yuan/ Miglia DVB-T USB2.0 receiver.
>   *
>   * Copyright (C) 2004-5 Patrick Boettcher ([EMAIL PROTECTED])
>   *
> @@ -96,6 +96,7 @@
>  static struct dvb_usb_device_properties wt220u_fc_properties;
>  static struct dvb_usb_device_properties wt220u_properties;
>  static struct dvb_usb_device_properties wt220u_zl0353_properties;
> +static struct dvb_usb_device_properties wt220u_miglia_properties;
>  
>  static int dtt200u_usb_probe(struct usb_interface *intf,
>               const struct usb_device_id *id)
> @@ -103,7 +104,8 @@
>       if (dvb_usb_device_init(intf,&dtt200u_properties,THIS_MODULE,NULL) == 0 
> ||
>               dvb_usb_device_init(intf,&wt220u_properties,THIS_MODULE,NULL) 
> == 0 ||
>               
> dvb_usb_device_init(intf,&wt220u_fc_properties,THIS_MODULE,NULL) == 0 ||
> -             
> dvb_usb_device_init(intf,&wt220u_zl0353_properties,THIS_MODULE,NULL) == 0)
> +             
> dvb_usb_device_init(intf,&wt220u_zl0353_properties,THIS_MODULE,NULL) == 0 ||
> +             
> dvb_usb_device_init(intf,&wt220u_miglia_properties,THIS_MODULE,NULL) == 0)
>               return 0;
>  
>       return -ENODEV;
> @@ -119,6 +121,7 @@
>       { 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_MIGLIA, USB_PID_WT220U_ZAP250_COLD)  },
>       { 0 },
>  };
>  MODULE_DEVICE_TABLE(usb, dtt200u_usb_table);
> @@ -303,6 +306,25 @@
>       }
>  };
>  
> +static struct dvb_usb_device_properties wt220u_miglia_properties = {
> +     .usb_ctrl = CYPRESS_FX2,
> +     .firmware = "dvb-usb-wt220u-miglia-01.fw",
> +     
> +     .num_adapters = 1,
> +     .generic_bulk_ctrl_endpoint = 0x01,
> +     
> +     .num_device_descs = 1,
> +     .devices = {
> +             { .name = "WideView WT-220U PenType Receiver (Miglia)",
> +               .cold_ids = { &dtt200u_usb_table[9], NULL },
> +               /* This device turns into WT220U_ZL0353_WARM when fw 
> +                  has been uploaded */
> +               .warm_ids = { NULL },
> +             },
> +             { NULL },
> +     }
> +};
> +
>  /* usb specific object needed to register this driver with the usb subsystem 
> */
>  static struct usb_driver dtt200u_usb_driver = {
>       .name           = "dvb_usb_dtt200u",
> @@ -333,6 +355,6 @@
>  module_exit(dtt200u_usb_module_exit);
>  
>  MODULE_AUTHOR("Patrick Boettcher <[EMAIL PROTECTED]>");
> -MODULE_DESCRIPTION("Driver for the WideView/Yakumo/Hama/Typhoon/Club3D DVB-T 
> USB2.0 devices");
> +MODULE_DESCRIPTION("Driver for the 
> WideView/Yakumo/Hama/Typhoon/Club3D/Miglia DVB-T USB2.0 devices");
>  MODULE_VERSION("1.0");
>  MODULE_LICENSE("GPL");
> 
> 
> ------------------------------------------------------------------------
> 
> --- dvb-usb-ids.h.orig        2007-07-21 04:56:31.000000000 +0200
> +++ dvb-usb-ids.h     2007-07-21 12:36:35.000000000 +0200
> @@ -32,6 +32,7 @@
>  #define USB_VID_LEADTEK                              0x0413
>  #define USB_VID_LITEON                               0x04ca
>  #define USB_VID_MEDION                               0x1660
> +#define USB_VID_MIGLIA                               0x18f3
>  #define USB_VID_MSI                          0x0db0
>  #define USB_VID_OPERA1                               0x695c
>  #define USB_VID_PINNACLE                     0x2304
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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

Reply via email to