lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH/resend] em28xx: add Compro Video Mate support
- Date: Fri, 04 Jul 2008 00:32:20 +0400
- From: Vitaly Wool <vital@xxxxxxxxxxxxxxxxx>
- Subject: [PATCH/resend] em28xx: add Compro Video Mate support
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi guys,
resending as the original message seems to have gotten lost somewhere...
So at some point I got the idea of enabling my good old Compro VideoMate
For You USB TV box, and below what I've done to make it working, to some
extent.
The TV tuner is now recognized fine and TV apps work well with it,
including channels surfing etc., but I can't get the sound working. It's
not coming off the TV tuner. As far as I understand, the tuner has the
old 2820 chip with USB audio class but it's not detected b/c of the data
read from the I2C flash chip.
drivers/media/video/em28xx/em28xx-cards.c | 19 +++++++++++++++++++
drivers/media/video/em28xx/em28xx.h | 1 +
2 files changed, 20 insertions(+)
Index: linux-next/drivers/media/video/em28xx/em28xx-cards.c
===================================================================
- --- linux-next.orig/drivers/media/video/em28xx/em28xx-cards.c
+++ linux-next/drivers/media/video/em28xx/em28xx-cards.c
@@ -439,6 +439,23 @@ struct em28xx_board em28xx_boards[] = {
.amux = 0,
} },
},
+ [EM2820_BOARD_COMPRO_VIDEO_MATE] = {
+ .name = "Compro VideoMate ForYou/Stereo",
+ .vchannels = 2,
+ .tuner_type = TUNER_LG_PAL_NEW_TAPC,
+ .tda9887_conf = TDA9887_PRESENT,
+ .decoder = EM28XX_TVP5150,
+ .input = { {
+ .type = EM28XX_VMUX_TELEVISION,
+ .vmux = TVP5150_COMPOSITE0,
+ .amux = EM28XX_AMUX_LINE_IN,
+ }, {
+ .type = EM28XX_VMUX_SVIDEO,
+ .vmux = TVP5150_SVIDEO,
+ .amux = EM28XX_AMUX_LINE_IN,
+ } },
+ },
+
};
const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards);
@@ -492,6 +509,8 @@ struct usb_device_id em28xx_id_table []
.driver_info = EM2880_BOARD_TERRATEC_HYBRID_XS },
{ USB_DEVICE(0x0ccd, 0x0047),
.driver_info = EM2880_BOARD_TERRATEC_PRODIGY_XS },
+ { USB_DEVICE(0x185b, 0x2041),
+ .driver_info = EM2820_BOARD_COMPRO_VIDEO_MATE },
{ },
};
MODULE_DEVICE_TABLE(usb, em28xx_id_table);
Index: linux-next/drivers/media/video/em28xx/em28xx.h
===================================================================
- --- linux-next.orig/drivers/media/video/em28xx/em28xx.h
+++ linux-next/drivers/media/video/em28xx/em28xx.h
@@ -58,6 +58,7 @@
#define EM2880_BOARD_PINNACLE_PCTV_HD_PRO 17
#define EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2 18
#define EM2860_BOARD_POINTNIX_INTRAORAL_CAMERA 19
+#define EM2820_BOARD_COMPRO_VIDEO_MATE 20
/* Limits minimum and default number of buffers */
#define EM28XX_MIN_BUF 4
Vitaly
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iEYEARECAAYFAkhtN1QACgkQhA9O4GSDNst68QCfRZVmQSSUe5bHLTIG8QwUhWrs
DKkAniWdpAHnKt8WTYZUmlEPkay5Bp0C
=kV5h
-----END PGP SIGNATURE-----
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list