All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Basic support for the Elgato EyeTV Hybrid INT 2008 USB Stick
@ 2015-03-01 15:04 Gilles Risch
  2015-03-01 15:13 ` Benjamin Larsson
  0 siblings, 1 reply; 3+ messages in thread
From: Gilles Risch @ 2015-03-01 15:04 UTC (permalink / raw)
  To: linux-media

This patch will add basic support for the Elgato EyeTV Hybrid INT
2008 USB Stick.

Signed-off-by: Gilles Risch <gilles.risch@gmail.com>

diff --git a/drivers/media/usb/em28xx/em28xx-cards.c 
b/drivers/media/usb/em28xx/em28xx-cards.c
index d9704e6..3a72188 100644
--- a/drivers/media/usb/em28xx/em28xx-cards.c
+++ b/drivers/media/usb/em28xx/em28xx-cards.c
@@ -1157,6 +1157,15 @@ struct em28xx_board em28xx_boards[] = {
          .i2c_speed    = EM28XX_I2C_CLK_WAIT_ENABLE |
                  EM28XX_I2C_FREQ_400_KHZ,
      },
+    [EM2884_BOARD_ELGATO_EYETV_HYBRID_2008] = {
+        .name         = "Elgato EyeTV Hybrid 2008 INT",
+        .has_dvb      = 1,
+        .ir_codes     = RC_MAP_NEC_TERRATEC_CINERGY_XS,
+        .tuner_type   = TUNER_ABSENT,
+        .def_i2c_bus  = 1,
+        .i2c_speed    = EM28XX_I2C_CLK_WAIT_ENABLE |
+                EM28XX_I2C_FREQ_400_KHZ,
+    },
      [EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900] = {
          .name         = "Hauppauge WinTV HVR 900",
          .tda9887_conf = TDA9887_PRESENT,
@@ -2378,6 +2387,8 @@ struct usb_device_id em28xx_id_table[] = {
              .driver_info = EM2860_BOARD_TERRATEC_GRABBY },
      { USB_DEVICE(0x0ccd, 0x00b2),
              .driver_info = EM2884_BOARD_CINERGY_HTC_STICK },
+    { USB_DEVICE(0x0fd9, 0x0018),
+            .driver_info = EM2884_BOARD_ELGATO_EYETV_HYBRID_2008},
      { USB_DEVICE(0x0fd9, 0x0033),
              .driver_info = EM2860_BOARD_ELGATO_VIDEO_CAPTURE},
      { USB_DEVICE(0x185b, 0x2870),
diff --git a/drivers/media/usb/em28xx/em28xx-dvb.c 
b/drivers/media/usb/em28xx/em28xx-dvb.c
index aee70d4..876c8d4 100644
--- a/drivers/media/usb/em28xx/em28xx-dvb.c
+++ b/drivers/media/usb/em28xx/em28xx-dvb.c
@@ -41,7 +41,7 @@
  #include "mt352.h"
  #include "mt352_priv.h" /* FIXME */
  #include "tda1002x.h"
-#include "drx39xyj/drx39xxj.h"
+#include "drx39xxj.h"
  #include "tda18271.h"
  #include "s921.h"
  #include "drxd.h"
@@ -1380,6 +1380,7 @@ static int em28xx_dvb_init(struct em28xx *dev)
              }
          }
          break;
+    case EM2884_BOARD_ELGATO_EYETV_HYBRID_2008:
      case EM2884_BOARD_CINERGY_HTC_STICK:
          terratec_htc_stick_init(dev);

diff --git a/drivers/media/usb/em28xx/em28xx.h 
b/drivers/media/usb/em28xx/em28xx.h
index 9c70753..0ccb32c 100644
--- a/drivers/media/usb/em28xx/em28xx.h
+++ b/drivers/media/usb/em28xx/em28xx.h
@@ -143,6 +143,7 @@
  #define EM28178_BOARD_PCTV_292E                   94
  #define EM2861_BOARD_LEADTEK_VC100                95
  #define EM28178_BOARD_TERRATEC_T2_STICK_HD        96
+#define EM2884_BOARD_ELGATO_EYETV_HYBRID_2008      97

  /* Limits minimum and default number of buffers */
  #define EM28XX_MIN_BUF 4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Basic support for the Elgato EyeTV Hybrid INT 2008 USB Stick
  2015-03-01 15:04 [PATCH] Basic support for the Elgato EyeTV Hybrid INT 2008 USB Stick Gilles Risch
@ 2015-03-01 15:13 ` Benjamin Larsson
  2015-03-01 20:15   ` Gilles Risch
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Larsson @ 2015-03-01 15:13 UTC (permalink / raw)
  To: Gilles Risch, linux-media

On 03/01/2015 04:04 PM, Gilles Risch wrote:
> This patch will add basic support for the Elgato EyeTV Hybrid INT
> 2008 USB Stick.
>
> Signed-off-by: Gilles Risch <gilles.risch@gmail.com>
>

[...]

> --- a/drivers/media/usb/em28xx/em28xx-dvb.c
> +++ b/drivers/media/usb/em28xx/em28xx-dvb.c
> @@ -41,7 +41,7 @@
>   #include "mt352.h"
>   #include "mt352_priv.h" /* FIXME */
>   #include "tda1002x.h"
> -#include "drx39xyj/drx39xxj.h"
> +#include "drx39xxj.h"

This change looks unrelated.

The rest looks ok.

MvH
Benjamin Larsson

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Basic support for the Elgato EyeTV Hybrid INT 2008 USB Stick
  2015-03-01 15:13 ` Benjamin Larsson
@ 2015-03-01 20:15   ` Gilles Risch
  0 siblings, 0 replies; 3+ messages in thread
From: Gilles Risch @ 2015-03-01 20:15 UTC (permalink / raw)
  To: Benjamin Larsson, linux-media

On 03/01/2015 04:13 PM, Benjamin Larsson wrote:
> On 03/01/2015 04:04 PM, Gilles Risch wrote:
>> This patch will add basic support for the Elgato EyeTV Hybrid INT
>> 2008 USB Stick.
>>
>> Signed-off-by: Gilles Risch <gilles.risch@gmail.com>
>>
>
> [...]
>
>> --- a/drivers/media/usb/em28xx/em28xx-dvb.c
>> +++ b/drivers/media/usb/em28xx/em28xx-dvb.c
>> @@ -41,7 +41,7 @@
>>   #include "mt352.h"
>>   #include "mt352_priv.h" /* FIXME */
>>   #include "tda1002x.h"
>> -#include "drx39xyj/drx39xxj.h"
>> +#include "drx39xxj.h"
>
> This change looks unrelated.

Probably due to an old kernel that I'm using on my machine 
(3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux)

I'll change that and try it again.

>
> The rest looks ok.
>
> MvH
> Benjamin Larsson

Regards,
Gilles


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-01 20:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-01 15:04 [PATCH] Basic support for the Elgato EyeTV Hybrid INT 2008 USB Stick Gilles Risch
2015-03-01 15:13 ` Benjamin Larsson
2015-03-01 20:15   ` Gilles Risch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.