Linux Media Controller development
 help / color / mirror / Atom feed
From: Piotr Chmura <chmooreck@poczta.onet.pl>
To: linux-media@vger.kernel.org
Subject: [PATCH] dvb/as102 nBox DVB-T dongle
Date: Wed, 20 Jul 2011 22:29:41 +0200	[thread overview]
Message-ID: <4E273AB5.7090405@poczta.onet.pl> (raw)

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
--- as102/as102_usb_drv.c    2011-07-20 21:37:33.924143297 +0200
+++ /usr/src/linux/drivers/media/dvb/as102/as102_usb_drv.c    2011-07-20 
20:40:21.000000000 +0200
@@ -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
--- as102/as102_usb_drv.h    2011-07-20 21:37:33.925143297 +0200
+++ /usr/src/linux/drivers/media/dvb/as102/as102_usb_drv.h    2011-07-20 
20:39:46.000000000 +0200
@@ -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



             reply	other threads:[~2011-07-20 20:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-20 20:29 Piotr Chmura [this message]
2011-10-14  7:27 ` [PATCH] dvb/as102 nBox DVB-T dongle Hans Petter Selasky
2011-10-14 12:36   ` Piotr Chmura
2011-10-14 12:51     ` Devin Heitmueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E273AB5.7090405@poczta.onet.pl \
    --to=chmooreck@poczta.onet.pl \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox