Skip to content

Commit 1fae3d9

Browse files
kode54mchehab
authored andcommitted
media: Implements support for the MyGica iGrabber
This small change adds the device identifier for the MyGica iGrabber, which features an Empia EM2860, a Philips SAA7113, Empia EMP202, and no tuner. Verified that both the composite and S-Video inputs work with NTSC source. It does not appear to need any port twiddling on pre-init. Signed-off-by: Christopher Snowhill <chris@kode54.net> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
1 parent 505bfc2 commit 1fae3d9

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

drivers/media/usb/em28xx/em28xx-cards.c

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2519,6 +2519,26 @@ const struct em28xx_board em28xx_boards[] = {
25192519
.amux = EM28XX_AMUX_LINE_IN,
25202520
} },
25212521
},
2522+
/*
2523+
* 1f4d:1abe MyGica iGrabber
2524+
* (same as several other EM2860 devices)
2525+
* Empia EM2860, Philips SAA7113, Empia EMP202, No Tuner
2526+
*/
2527+
[EM2860_BOARD_MYGICA_IGRABBER] = {
2528+
.name = "MyGica iGrabber",
2529+
.vchannels = 2,
2530+
.tuner_type = TUNER_ABSENT,
2531+
.decoder = EM28XX_SAA711X,
2532+
.input = { {
2533+
.type = EM28XX_VMUX_COMPOSITE,
2534+
.vmux = SAA7115_COMPOSITE0,
2535+
.amux = EM28XX_AMUX_LINE_IN,
2536+
}, {
2537+
.type = EM28XX_VMUX_SVIDEO,
2538+
.vmux = SAA7115_SVIDEO3,
2539+
.amux = EM28XX_AMUX_LINE_IN,
2540+
} },
2541+
},
25222542
};
25232543
EXPORT_SYMBOL_GPL(em28xx_boards);
25242544

@@ -2698,6 +2718,8 @@ struct usb_device_id em28xx_id_table[] = {
26982718
.driver_info = EM2860_BOARD_EASYCAP },
26992719
{ USB_DEVICE(0x1b80, 0xe425),
27002720
.driver_info = EM2874_BOARD_MAXMEDIA_UB425_TC },
2721+
{ USB_DEVICE(0x1f4d, 0x1abe),
2722+
.driver_info = EM2860_BOARD_MYGICA_IGRABBER },
27012723
{ USB_DEVICE(0x2304, 0x0242),
27022724
.driver_info = EM2884_BOARD_PCTV_510E },
27032725
{ USB_DEVICE(0x2013, 0x0251),

drivers/media/usb/em28xx/em28xx.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@
151151
#define EM2882_BOARD_ZOLID_HYBRID_TV_STICK 102
152152
#define EM2861_BOARD_MAGIX_VIDEOWANDLER2 103
153153
#define EM28178_BOARD_PCTV_461E_V2 104
154+
#define EM2860_BOARD_MYGICA_IGRABBER 105
154155

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

0 commit comments

Comments
 (0)