From: Vitaly Wool <vital@embeddedalley.com>
To: video4linux-list@redhat.com
Subject: [PATCH/resend] em28xx: add Compro Video Mate support
Date: Fri, 04 Jul 2008 00:32:20 +0400 [thread overview]
Message-ID: <486D3754.1090500@embeddedalley.com> (raw)
-----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@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next reply other threads:[~2008-07-03 20:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-03 20:32 Vitaly Wool [this message]
2008-07-03 21:10 ` [PATCH/resend] em28xx: add Compro Video Mate support Douglas Schilling Landgraf
2008-07-09 13:32 ` Vitaly Wool
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=486D3754.1090500@embeddedalley.com \
--to=vital@embeddedalley.com \
--cc=video4linux-list@redhat.com \
/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