* [PATCH/resend] em28xx: add Compro Video Mate support
@ 2008-07-03 20:32 Vitaly Wool
2008-07-03 21:10 ` Douglas Schilling Landgraf
0 siblings, 1 reply; 3+ messages in thread
From: Vitaly Wool @ 2008-07-03 20:32 UTC (permalink / raw)
To: video4linux-list
-----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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH/resend] em28xx: add Compro Video Mate support
2008-07-03 20:32 [PATCH/resend] em28xx: add Compro Video Mate support Vitaly Wool
@ 2008-07-03 21:10 ` Douglas Schilling Landgraf
2008-07-09 13:32 ` Vitaly Wool
0 siblings, 1 reply; 3+ messages in thread
From: Douglas Schilling Landgraf @ 2008-07-03 21:10 UTC (permalink / raw)
To: Vitaly Wool, video4linux-list
Hello Vitaly,
Thanks, I'll add it.
Could you provide your SOB?
Cheers,
Douglas
2008/7/3, Vitaly Wool <vital@embeddedalley.com>:
> -----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
>
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-07-09 13:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-03 20:32 [PATCH/resend] em28xx: add Compro Video Mate support Vitaly Wool
2008-07-03 21:10 ` Douglas Schilling Landgraf
2008-07-09 13:32 ` Vitaly Wool
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox