Skip to contentSkip to conversation

dvb/as102 nBox DVB-T dongle

PATCH In review Piotr Chmura 3 participants 4 messages Jul 20, 2011 – Oct 14, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dvb/as102 nBox DVB-T dongle

I just bought DVB-T USB dongle for one of polish digital platform. It works fine with as102 driver.
Here is patch adding vendor and product ID to as102 driver taken from http://kernellabs.com/hg/~dheitmueller/v4l-dvb-as102.
I tested it with kernel-3.0-rc7-git7 (had to change usb_buffer_alloc() to usb_alloc_coherent and usb_buffer_free to usb_free_coherent() ).

patch:

usr/src/linux/drivers/media/dvb/as102/as102_usb_drv.c 2011-07-20 20:40:21.000000000 +0200 renamed from as102_usb_drv.c 2011-07-20 21:37:33.924143297 +0200 +2 -0
diff -Nur linux/drivers/media/dvb/as102/as102_usb_drv.c linux-mine/drivers/media/dvb/as102/as102_usb_drv.c
@@ -39,6 +39,7 @@
 static struct usb_device_id as102_usb_id_table[] = {
     { USB_DEVICE(AS102_USB_DEVICE_VENDOR_ID, AS102_USB_DEVICE_PID_0001) },
     { USB_DEVICE(PCTV_74E_USB_VID, PCTV_74E_USB_PID) },
+    { USB_DEVICE(NBOX_USB_VID, NBOX_USB_PID) },
     { USB_DEVICE(ELGATO_EYETV_DTT_USB_VID, ELGATO_EYETV_DTT_USB_PID) },
     { } /* Terminating entry */
 };
@@ -48,6 +49,7 @@
 static const char *as102_device_names[] = {
     AS102_REFERENCE_DESIGN,
     AS102_PCTV_74E,
+    AS102_NBOX,
     AS102_ELGATO_EYETV_DTT_NAME,
     NULL /* Terminating entry */
 };
usr/src/linux/drivers/media/dvb/as102/as102_usb_drv.h 2011-07-20 20:39:46.000000000 +0200 renamed from as102_usb_drv.h 2011-07-20 21:37:33.925143297 +0200 +5 -0
diff -Nur linux/drivers/media/dvb/as102/as102_usb_drv.h linux-mine/drivers/media/dvb/as102/as102_usb_drv.h
@@ -36,6 +36,11 @@
 #define PCTV_74E_USB_VID        0x2013
 #define PCTV_74E_USB_PID        0x0246
 
+/* nBox DVB-T Stick */
+#define AS102_NBOX            "nBox DVB-T Stick"
+#define NBOX_USB_VID            0x0b89
+#define NBOX_USB_PID            0x0007
+
 /* Elgato: EyeTV DTT Deluxe */
 #define AS102_ELGATO_EYETV_DTT_NAME    "Elgato EyeTV DTT Deluxe"
 #define ELGATO_EYETV_DTT_USB_VID    0x0fd9
#1 lore raw

Hi,

Could someone pull the AS102 driver into the media tree?

http://git.linuxtv.org/media_tree.git/tree/HEAD:/drivers/media/dvb

--HPS

Quoted 53 lines · On Wednesday 20 July 2011 22:29:41 Piotr Chmura wrote:

I just bought DVB-T USB dongle for one of polish digital platform. It works fine with as102 driver.
Here is patch adding vendor and product ID to as102 driver taken from
http://kernellabs.com/hg/~dheitmueller/v4l-dvb-as102.
I tested it with kernel-3.0-rc7-git7 (had to change usb_buffer_alloc() to usb_alloc_coherent and usb_buffer_free to usb_free_coherent() ).

patch:

diff -Nur linux/drivers/media/dvb/as102/as102_usb_drv.c linux-mine/drivers/media/dvb/as102/as102_usb_drv.c

usr/src/linux/drivers/media/dvb/as102/as102_usb_drv.c 2011-07-20 renamed from as102_usb_drv.c 2011-07-20 21:37:33.924143297 +0200 +0 -0

20:40:21.000000000 +0200

usr/src/linux/drivers/media/dvb/as102/as102_usb_drv.c 2011-07-20 renamed from as102_usb_drv.c 2011-07-20 21:37:33.924143297 +0200 +2 -0
@@ -39,6 +39,7 @@
  static struct usb_device_id as102_usb_id_table[] = {
      { USB_DEVICE(AS102_USB_DEVICE_VENDOR_ID, AS102_USB_DEVICE_PID_0001)
 }, { USB_DEVICE(PCTV_74E_USB_VID, PCTV_74E_USB_PID) },
+    { USB_DEVICE(NBOX_USB_VID, NBOX_USB_PID) },
      { USB_DEVICE(ELGATO_EYETV_DTT_USB_VID, ELGATO_EYETV_DTT_USB_PID) },
      { } /* Terminating entry */
  };
@@ -48,6 +49,7 @@
  static const char *as102_device_names[] = {
      AS102_REFERENCE_DESIGN,
      AS102_PCTV_74E,
+    AS102_NBOX,
      AS102_ELGATO_EYETV_DTT_NAME,
      NULL /* Terminating entry */
  };

diff -Nur linux/drivers/media/dvb/as102/as102_usb_drv.h linux-mine/drivers/media/dvb/as102/as102_usb_drv.h

usr/src/linux/drivers/media/dvb/as102/as102_usb_drv.h 2011-07-20 renamed from as102_usb_drv.h 2011-07-20 21:37:33.925143297 +0200 +0 -0

20:39:46.000000000 +0200

usr/src/linux/drivers/media/dvb/as102/as102_usb_drv.h 2011-07-20 renamed from as102_usb_drv.h 2011-07-20 21:37:33.925143297 +0200 +5 -1
@@ -36,6 +36,11 @@
  #define PCTV_74E_USB_VID        0x2013
  #define PCTV_74E_USB_PID        0x0246
 
+/* nBox DVB-T Stick */
+#define AS102_NBOX            "nBox DVB-T Stick"
+#define NBOX_USB_VID            0x0b89
+#define NBOX_USB_PID            0x0007
+
  /* Elgato: EyeTV DTT Deluxe */
  #define AS102_ELGATO_EYETV_DTT_NAME    "Elgato EyeTV DTT Deluxe"
  #define ELGATO_EYETV_DTT_USB_VID    0x0fd9
 
 
--

To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

Hi,

There's licencing problem with as10x_cmd_cfg.c and as10x_cmd_stream.c files which are not GPL ( (c) Copyright Abilis Systems SARL 2005-2009 All rigths reserved \n
www.abilis.com).

Dunno if it's only Davin's Heitmueller oversight in changing licencing or a real problem. What about it Davin ?

Peter

W dniu 14.10.2011 09:27, Hans Petter Selasky pisze:

Quoted 63 lines

Hi,

Could someone pull the AS102 driver into the media tree?

http://git.linuxtv.org/media_tree.git/tree/HEAD:/drivers/media/dvb

--HPS

Quoted 53 lines · On Wednesday 20 July 2011 22:29:41 Piotr Chmura wrote:

I just bought DVB-T USB dongle for one of polish digital platform. It works fine with as102 driver.
Here is patch adding vendor and product ID to as102 driver taken from
http://kernellabs.com/hg/~dheitmueller/v4l-dvb-as102.
I tested it with kernel-3.0-rc7-git7 (had to change usb_buffer_alloc() to usb_alloc_coherent and usb_buffer_free to usb_free_coherent() ).

patch:

diff -Nur linux/drivers/media/dvb/as102/as102_usb_drv.c linux-mine/drivers/media/dvb/as102/as102_usb_drv.c

usr/src/linux/drivers/media/dvb/as102/as102_usb_drv.c 2011-07-20 renamed from as102_usb_drv.c 2011-07-20 21:37:33.924143297 +0200 +0 -0

20:40:21.000000000 +0200

usr/src/linux/drivers/media/dvb/as102/as102_usb_drv.c 2011-07-20 renamed from as102_usb_drv.c 2011-07-20 21:37:33.924143297 +0200 +2 -0
@@ -39,6 +39,7 @@
   static struct usb_device_id as102_usb_id_table[] = {
       { USB_DEVICE(AS102_USB_DEVICE_VENDOR_ID, AS102_USB_DEVICE_PID_0001)
 }, { USB_DEVICE(PCTV_74E_USB_VID, PCTV_74E_USB_PID) },
+    { USB_DEVICE(NBOX_USB_VID, NBOX_USB_PID) },
       { USB_DEVICE(ELGATO_EYETV_DTT_USB_VID, ELGATO_EYETV_DTT_USB_PID) },
       { } /* Terminating entry */
   };
@@ -48,6 +49,7 @@
   static const char *as102_device_names[] = {
       AS102_REFERENCE_DESIGN,
       AS102_PCTV_74E,
+    AS102_NBOX,
       AS102_ELGATO_EYETV_DTT_NAME,
       NULL /* Terminating entry */
   };

diff -Nur linux/drivers/media/dvb/as102/as102_usb_drv.h linux-mine/drivers/media/dvb/as102/as102_usb_drv.h

usr/src/linux/drivers/media/dvb/as102/as102_usb_drv.h 2011-07-20 renamed from as102_usb_drv.h 2011-07-20 21:37:33.925143297 +0200 +0 -0

20:39:46.000000000 +0200

usr/src/linux/drivers/media/dvb/as102/as102_usb_drv.h 2011-07-20 renamed from as102_usb_drv.h 2011-07-20 21:37:33.925143297 +0200 +5 -1
@@ -36,6 +36,11 @@
   #define PCTV_74E_USB_VID        0x2013
   #define PCTV_74E_USB_PID        0x0246
 
+/* nBox DVB-T Stick */
+#define AS102_NBOX            "nBox DVB-T Stick"
+#define NBOX_USB_VID            0x0b89
+#define NBOX_USB_PID            0x0007
+
   /* Elgato: EyeTV DTT Deluxe */
   #define AS102_ELGATO_EYETV_DTT_NAME    "Elgato EyeTV DTT Deluxe"
   #define ELGATO_EYETV_DTT_USB_VID    0x0fd9
 
 
--

To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 10 lines · Piotr Chmura

Hi,

There's  licencing problem with as10x_cmd_cfg.c and as10x_cmd_stream.c files which are not GPL ( (c) Copyright Abilis Systems SARL 2005-2009 All rigths reserved \n
  www.abilis.com).

Dunno if it's only Davin's Heitmueller oversight in changing licencing or a real problem.
What about it Davin ?

Yeah, those were an oversight on the part of Abilis. I already talked to them about it and got permission to fix the text.

Devin

Signature · 2 lines
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com