V4L/DVB (3268): Use combined firmware for DVB-T and ATSC Bluebird FusionHDTV USB...
authorMichael Krufky <mkrufky@m1k.net>
Mon, 9 Jan 2006 17:25:47 +0000 (15:25 -0200)
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>
Mon, 9 Jan 2006 17:25:47 +0000 (15:25 -0200)
- Now using firmware "dvb-usb-bluebird-01.fw",
  with combined support for atsc and dvb-t Bluebird models.
- Use usb alt setting 0 for EP4 transfer (dvb-t),
- Use usb alt setting 7 for EP2 transfer (atsc) */

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
drivers/media/dvb/dvb-usb/cxusb.c

index 8ca07fdab03df891a6a88b6da277257e7369128a..1a67ed598d97697aec54834c0285d6830d3e9c6c 100644 (file)
@@ -209,7 +209,7 @@ static int cxusb_cx22702_frontend_attach(struct dvb_usb_device *d)
 
 static int cxusb_lgdt330x_frontend_attach(struct dvb_usb_device *d)
 {
-       if (usb_set_interface(d->udev,0,0) < 0)
+       if (usb_set_interface(d->udev,0,7) < 0)
                err("set interface failed");
 
        cxusb_ctrl_msg(d,CMD_DIGITAL, NULL, 0, NULL, 0);
@@ -283,7 +283,9 @@ static struct dvb_usb_properties cxusb_bluebird_atsc_properties = {
        .caps = DVB_USB_IS_AN_I2C_ADAPTER,
 
        .usb_ctrl         = CYPRESS_FX2,
-       .firmware         = "dvb-usb-bluebird-atsc-01.fw",
+       .firmware         = "dvb-usb-bluebird-01.fw",
+       /* use usb alt setting 0 for EP4 transfer (dvb-t),
+          use usb alt setting 7 for EP2 transfer (atsc) */
 
        .size_of_priv     = sizeof(struct cxusb_state),