Hi Patrick,

A friend of mine got a Geniatech S870 ISDB-T card. According to him, this 
device is based 
on stk8090 chipset and wants to use it in Brazil.

The board has the following USB ID:

        Bus 002 Device 002: ID 10b8:1fa0 DiBcom

I was wandering if the existing dib8000 driver will work with such device.

If so, would the following patch be enough?

Cheers,
Mauro.

---

Add support for Dibcom STK8090

Signed-off-by: Mauro Carvalho Chehab <mche...@infradead.org>

diff --git a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c 
b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
--- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
@@ -1950,6 +1950,7 @@ struct usb_device_id dib0700_usb_id_tabl
        { USB_DEVICE(USB_VID_DIBCOM,    USB_PID_DIBCOM_STK807XP) },
        { USB_DEVICE(USB_VID_PIXELVIEW, USB_PID_PIXELVIEW_SBTVD) },
        { USB_DEVICE(USB_VID_EVOLUTEPC, USB_PID_TVWAY_PLUS) },
+       { USB_DEVICE(USB_VID_DIBCOM,    USB_PID_DIBCOM_STK8090) },
        { 0 }           /* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -2496,7 +2497,7 @@ struct dvb_usb_device_properties dib0700
                        },
                },
 
-               .num_device_descs = 3,
+               .num_device_descs = 4,
                .devices = {
                        {   "DiBcom STK807xP reference design",
                                { &dib0700_usb_id_table[62], NULL },
@@ -2510,6 +2511,10 @@ struct dvb_usb_device_properties dib0700
                                { &dib0700_usb_id_table[64], NULL },
                                { NULL },
                        },
+                       {   "DiBcom STK8090 reference design",
+                               { &dib0700_usb_id_table[65], NULL },
+                               { NULL },
+                       },
                },
 
                .rc_interval      = DEFAULT_RC_INTERVAL,
diff --git a/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h 
b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
--- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
@@ -100,6 +100,7 @@
 #define USB_PID_DIBCOM_STK7070PD                       0x1ebe
 #define USB_PID_DIBCOM_STK807XP                                0x1f90
 #define USB_PID_DIBCOM_STK807XPVR                      0x1f98
+#define USB_PID_DIBCOM_STK8090                         0x1fa0
 #define USB_PID_DIBCOM_ANCHOR_2135_COLD                        0x2131
 #define USB_PID_DIBCOM_STK7770P                                0x1e80
 #define USB_PID_DPOSH_M9206_COLD                       0x9206
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to