Re: [PATCH v2 0/4] saa7134: Add AverMedia A706 AverTV Satellite Hybrid+FM
On Sat, Feb 16, 2013 at 11:39 AM, Ondrej Zary wrote: > On Friday 01 February 2013 21:21:23 Ondrej Zary wrote: >> Add AverMedia AverTV Satellite Hybrid+FM (A706) card to saa7134 driver. >> >> This requires some changes to tda8290 - disabling I2C gate control and >> passing custom std_map to tda18271. >> Also tuner-core needs to be changed because there's currently no way to >> pass any complex configuration to analog tuners. > > What's the status of this patch series? > > The two tda8290 patches are in Michael's dvb tree. > I've sent an additional clean-up patch (on Mauro's suggestion) for the > tuner-core change. > I guess that the final AverMedia A706 patch would be easily merged once the > tda8290 and tuner-core changess are done. > > Should I resend something? I've just been a bit busier lately that I had foreseen, but no need to resend anything - I have your patches. You'll hear back from me shortly. -Mike -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[media-ctl PATCH] Add missing stdlib.h and ctype.h includes
src/mediactl.c needs ctype.h for its use of isspace(). src/v4l2subdev.c needs stdlib.h for strtoul() and ctype.h for isspace() and isupper(). Signed-off-by: Andreas Bombe --- src/mediactl.c |1 + src/v4l2subdev.c |2 ++ 2 files changed, 3 insertions(+) diff --git a/src/mediactl.c b/src/mediactl.c index 46562de..c2f985a 100644 --- a/src/mediactl.c +++ b/src/mediactl.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include diff --git a/src/v4l2subdev.c b/src/v4l2subdev.c index d0c37f3..87d7eb7 100644 --- a/src/v4l2subdev.c +++ b/src/v4l2subdev.c @@ -26,6 +26,8 @@ #include #include #include +#include +#include #include #include #include -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[media-ctl PATCH] configure.ac: Respect CPPFLAGS from environment
Signed-off-by: Andreas Bombe --- configure.ac |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 98459d4..a749794 100644 --- a/configure.ac +++ b/configure.ac @@ -48,7 +48,7 @@ AC_ARG_WITH(kernel-headers, esac], [KERNEL_HEADERS_DIR="/usr/src/kernel-headers"]) -CPPFLAGS="-I$KERNEL_HEADERS_DIR/include" +CPPFLAGS="$CPPFLAGS -I$KERNEL_HEADERS_DIR/include" # Checks for header files. AC_CHECK_HEADERS([linux/media.h \ -- 1.7.10.4 -- Andreas Bombe -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] af9035: add ID [0ccd:00aa] TerraTec Cinergy T Stick (rev. 2)
On 02/18/2013 12:25 AM, Fabrizio Gazzato wrote: This patch adds USB ID for alternative "Terratec Cinergy T Stick". Tested by a friend: works similarly to 0ccd:0093 version (af9035+tua9001) Please delete the previous patch Regards Signed-off-by: Fabrizio Gazzato Acked-by: Antti Palosaari --- drivers/media/usb/dvb-usb-v2/af9035.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c index 61ae7f9..c3cd6be 100644 --- a/drivers/media/usb/dvb-usb-v2/af9035.c +++ b/drivers/media/usb/dvb-usb-v2/af9035.c @@ -1133,6 +1133,8 @@ static const struct usb_device_id af9035_id_table[] = { &af9035_props, "AVerMedia Twinstar (A825)", NULL) }, { DVB_USB_DEVICE(USB_VID_ASUS, USB_PID_ASUS_U3100MINI_PLUS, &af9035_props, "Asus U3100Mini Plus", NULL) }, +{ DVB_USB_DEVICE(USB_VID_TERRATEC, 0x00aa, + &af9035_props, "TerraTec Cinergy T Stick (rev. 2)", NULL) }, { } }; MODULE_DEVICE_TABLE(usb, af9035_id_table); -- http://palosaari.fi/ -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH] af9035: add ID [0ccd:00aa] TerraTec Cinergy T Stick (rev. 2)
This patch adds USB ID for alternative "Terratec Cinergy T Stick". Tested by a friend: works similarly to 0ccd:0093 version (af9035+tua9001) Please delete the previous patch Regards Signed-off-by: Fabrizio Gazzato --- drivers/media/usb/dvb-usb-v2/af9035.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c index 61ae7f9..c3cd6be 100644 --- a/drivers/media/usb/dvb-usb-v2/af9035.c +++ b/drivers/media/usb/dvb-usb-v2/af9035.c @@ -1133,6 +1133,8 @@ static const struct usb_device_id af9035_id_table[] = { &af9035_props, "AVerMedia Twinstar (A825)", NULL) }, { DVB_USB_DEVICE(USB_VID_ASUS, USB_PID_ASUS_U3100MINI_PLUS, &af9035_props, "Asus U3100Mini Plus", NULL) }, +{ DVB_USB_DEVICE(USB_VID_TERRATEC, 0x00aa, + &af9035_props, "TerraTec Cinergy T Stick (rev. 2)", NULL) }, { } }; MODULE_DEVICE_TABLE(usb, af9035_id_table); -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] af9035: add ID [0bda:00aa] TerraTec Cinergy T Stick (rev. 2)
Could you just sent new patch? I see it is only mistake in patch name, but still it is better to send new patch that I or Mauro are not needed to edit patch. regards Antti On 02/17/2013 11:53 PM, Fabrizio Gazzato wrote: Errata corrige: USB ID is [0ccd:00aa] Sorry Fabrizio 2013/2/17 Antti Palosaari : On 02/17/2013 11:48 PM, Fabrizio Gazzato wrote: Hi Antti, this patch adds USB ID for alternative "Terratec Cinergy T Stick". Tested by a friend: works similarly to 0ccd:0093 version (af9035+tua9001) Regards Signed-off-by: Fabrizio Gazzato Acked-by: Antti Palosaari --- drivers/media/usb/dvb-usb-v2/af9035.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c index 61ae7f9..c3cd6be 100644 --- a/drivers/media/usb/dvb-usb-v2/af9035.c +++ b/drivers/media/usb/dvb-usb-v2/af9035.c @@ -1133,6 +1133,8 @@ static const struct usb_device_id af9035_id_table[] = { &af9035_props, "AVerMedia Twinstar (A825)", NULL) }, { DVB_USB_DEVICE(USB_VID_ASUS, USB_PID_ASUS_U3100MINI_PLUS, &af9035_props, "Asus U3100Mini Plus", NULL) }, +{ DVB_USB_DEVICE(USB_VID_TERRATEC, 0x00aa, + &af9035_props, "TerraTec Cinergy T Stick (rev. 2)", NULL) }, { } }; MODULE_DEVICE_TABLE(usb, af9035_id_table); -- http://palosaari.fi/ -- http://palosaari.fi/ -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH] af9035: add ID [0bda:00aa] TerraTec Cinergy T Stick (rev. 2)
On 02/17/2013 11:48 PM, Fabrizio Gazzato wrote: Hi Antti, this patch adds USB ID for alternative "Terratec Cinergy T Stick". Tested by a friend: works similarly to 0ccd:0093 version (af9035+tua9001) Regards Signed-off-by: Fabrizio Gazzato Acked-by: Antti Palosaari --- drivers/media/usb/dvb-usb-v2/af9035.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c index 61ae7f9..c3cd6be 100644 --- a/drivers/media/usb/dvb-usb-v2/af9035.c +++ b/drivers/media/usb/dvb-usb-v2/af9035.c @@ -1133,6 +1133,8 @@ static const struct usb_device_id af9035_id_table[] = { &af9035_props, "AVerMedia Twinstar (A825)", NULL) }, { DVB_USB_DEVICE(USB_VID_ASUS, USB_PID_ASUS_U3100MINI_PLUS, &af9035_props, "Asus U3100Mini Plus", NULL) }, +{ DVB_USB_DEVICE(USB_VID_TERRATEC, 0x00aa, + &af9035_props, "TerraTec Cinergy T Stick (rev. 2)", NULL) }, { } }; MODULE_DEVICE_TABLE(usb, af9035_id_table); -- http://palosaari.fi/ -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH] af9035: add ID [0bda:00aa] TerraTec Cinergy T Stick (rev. 2)
Hi Antti, this patch adds USB ID for alternative "Terratec Cinergy T Stick". Tested by a friend: works similarly to 0ccd:0093 version (af9035+tua9001) Regards Signed-off-by: Fabrizio Gazzato --- drivers/media/usb/dvb-usb-v2/af9035.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c index 61ae7f9..c3cd6be 100644 --- a/drivers/media/usb/dvb-usb-v2/af9035.c +++ b/drivers/media/usb/dvb-usb-v2/af9035.c @@ -1133,6 +1133,8 @@ static const struct usb_device_id af9035_id_table[] = { &af9035_props, "AVerMedia Twinstar (A825)", NULL) }, { DVB_USB_DEVICE(USB_VID_ASUS, USB_PID_ASUS_U3100MINI_PLUS, &af9035_props, "Asus U3100Mini Plus", NULL) }, +{ DVB_USB_DEVICE(USB_VID_TERRATEC, 0x00aa, + &af9035_props, "TerraTec Cinergy T Stick (rev. 2)", NULL) }, { } }; MODULE_DEVICE_TABLE(usb, af9035_id_table); -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
cron job: media_tree daily build: ERRORS
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Sun Feb 17 19:00:19 CET 2013 git branch: for_v3.9 git hash: ed72d37a33fdf43dc47787fe220532cdec9da528 gcc version:i686-linux-gcc (GCC) 4.7.2 host hardware: x86_64 host os:3.8.03-marune linux-git-arm-davinci: WARNINGS linux-git-arm-exynos: ERRORS linux-git-arm-omap: WARNINGS linux-git-i686: OK linux-git-m32r: OK linux-git-mips: WARNINGS linux-git-powerpc64: OK linux-git-sh: OK linux-git-x86_64: OK linux-2.6.31.14-i686: WARNINGS linux-2.6.32.27-i686: WARNINGS linux-2.6.33.7-i686: WARNINGS linux-2.6.34.7-i686: WARNINGS linux-2.6.35.9-i686: WARNINGS linux-2.6.36.4-i686: WARNINGS linux-2.6.37.6-i686: WARNINGS linux-2.6.38.8-i686: WARNINGS linux-2.6.39.4-i686: WARNINGS linux-3.0.60-i686: WARNINGS linux-3.1.10-i686: WARNINGS linux-3.2.37-i686: WARNINGS linux-3.3.8-i686: WARNINGS linux-3.4.27-i686: WARNINGS linux-3.5.7-i686: WARNINGS linux-3.6.11-i686: WARNINGS linux-3.7.4-i686: WARNINGS linux-3.8-rc4-i686: OK linux-2.6.31.14-x86_64: WARNINGS linux-2.6.32.27-x86_64: WARNINGS linux-2.6.33.7-x86_64: WARNINGS linux-2.6.34.7-x86_64: WARNINGS linux-2.6.35.9-x86_64: WARNINGS linux-2.6.36.4-x86_64: WARNINGS linux-2.6.37.6-x86_64: WARNINGS linux-2.6.38.8-x86_64: WARNINGS linux-2.6.39.4-x86_64: WARNINGS linux-3.0.60-x86_64: WARNINGS linux-3.1.10-x86_64: WARNINGS linux-3.2.37-x86_64: WARNINGS linux-3.3.8-x86_64: WARNINGS linux-3.4.27-x86_64: WARNINGS linux-3.5.7-x86_64: WARNINGS linux-3.6.11-x86_64: WARNINGS linux-3.7.4-x86_64: WARNINGS linux-3.8-rc4-x86_64: WARNINGS apps: WARNINGS spec-git: OK sparse: ERRORS Detailed results are available here: http://www.xs4all.nl/~hverkuil/logs/Sunday.log Full logs are available here: http://www.xs4all.nl/~hverkuil/logs/Sunday.tar.bz2 The Media Infrastructure API from this daily build is here: http://www.xs4all.nl/~hverkuil/spec/media.html -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH 2/2] bttv: move fini_bttv_i2c() from bttv-input.c to bttv-i2c.c
Like init_bttv_i2c(), fini_bttv_i2c() belongs to bttv-i2c.c. Signed-off-by: Frank Schäfer --- drivers/media/pci/bt8xx/bttv-i2c.c |8 drivers/media/pci/bt8xx/bttv-input.c |8 drivers/media/pci/bt8xx/bttvp.h |5 - 3 Dateien geändert, 12 Zeilen hinzugefügt(+), 9 Zeilen entfernt(-) diff --git a/drivers/media/pci/bt8xx/bttv-i2c.c b/drivers/media/pci/bt8xx/bttv-i2c.c index c63c643..b7c52dc 100644 --- a/drivers/media/pci/bt8xx/bttv-i2c.c +++ b/drivers/media/pci/bt8xx/bttv-i2c.c @@ -394,3 +394,11 @@ int init_bttv_i2c(struct bttv *btv) return btv->i2c_rc; } + +int fini_bttv_i2c(struct bttv *btv) +{ + if (0 != btv->i2c_rc) + return 0; + + return i2c_del_adapter(&btv->c.i2c_adap); +} diff --git a/drivers/media/pci/bt8xx/bttv-input.c b/drivers/media/pci/bt8xx/bttv-input.c index 01c7121..f368213 100644 --- a/drivers/media/pci/bt8xx/bttv-input.c +++ b/drivers/media/pci/bt8xx/bttv-input.c @@ -415,14 +415,6 @@ void init_bttv_i2c_ir(struct bttv *btv) #endif } -int fini_bttv_i2c(struct bttv *btv) -{ - if (0 != btv->i2c_rc) - return 0; - - return i2c_del_adapter(&btv->c.i2c_adap); -} - int bttv_input_init(struct bttv *btv) { struct bttv_ir *ir; diff --git a/drivers/media/pci/bt8xx/bttvp.h b/drivers/media/pci/bt8xx/bttvp.h index 3aacb87..0903547 100644 --- a/drivers/media/pci/bt8xx/bttvp.h +++ b/drivers/media/pci/bt8xx/bttvp.h @@ -300,6 +300,10 @@ extern int no_overlay; /* bttv-input.c */ extern void init_bttv_i2c_ir(struct bttv *btv); + +/* -- */ +/* bttv-i2c.c */ +extern int init_bttv_i2c(struct bttv *btv); extern int fini_bttv_i2c(struct bttv *btv); /* -- */ @@ -310,7 +314,6 @@ extern unsigned int bttv_verbose; extern unsigned int bttv_debug; extern unsigned int bttv_gpio; extern void bttv_gpio_tracking(struct bttv *btv, char *comment); -extern int init_bttv_i2c(struct bttv *btv); #define dprintk(fmt, ...) \ do { \ -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH 1/2] bttv: make remote controls of devices with i2c ir decoder working
Request module ir-kbd-i2c if an i2c ir decoder is detected. Tested with device "Hauppauge WinTV Theatre" (model 37284 rev B421). Signed-off-by: Frank Schäfer --- drivers/media/pci/bt8xx/bttv-input.c | 22 +- 1 Datei geändert, 13 Zeilen hinzugefügt(+), 9 Zeilen entfernt(-) diff --git a/drivers/media/pci/bt8xx/bttv-input.c b/drivers/media/pci/bt8xx/bttv-input.c index 04207a7..01c7121 100644 --- a/drivers/media/pci/bt8xx/bttv-input.c +++ b/drivers/media/pci/bt8xx/bttv-input.c @@ -375,6 +375,7 @@ void init_bttv_i2c_ir(struct bttv *btv) I2C_CLIENT_END }; struct i2c_board_info info; + struct i2c_client *i2c_dev; if (0 != btv->i2c_rc) return; @@ -390,7 +391,12 @@ void init_bttv_i2c_ir(struct bttv *btv) btv->init_data.ir_codes = RC_MAP_PV951; info.addr = 0x4b; break; - default: + } + + if (btv->init_data.name) { + info.platform_data = &btv->init_data; + i2c_dev = i2c_new_device(&btv->c.i2c_adap, &info); + } else { /* * The external IR receiver is at i2c address 0x34 (0x35 for * reads). Future Hauppauge cards will have an internal @@ -399,16 +405,14 @@ void init_bttv_i2c_ir(struct bttv *btv) * internal. * That's why we probe 0x1a (~0x34) first. CB */ - - i2c_new_probed_device(&btv->c.i2c_adap, &info, addr_list, NULL); - return; + i2c_dev = i2c_new_probed_device(&btv->c.i2c_adap, &info, addr_list, NULL); } + if (NULL == i2c_dev) + return; - if (btv->init_data.name) - info.platform_data = &btv->init_data; - i2c_new_device(&btv->c.i2c_adap, &info); - - return; +#if defined(CONFIG_MODULES) && defined(MODULE) + request_module("ir-kbd-i2c"); +#endif } int fini_bttv_i2c(struct bttv *btv) -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [GIT PULL FOR v3.9] bttv: v4l2-compliance fixes
Am 16.02.2013 14:45, schrieb Hans Verkuil: > On Sat February 16 2013 14:35:13 Frank Schäfer wrote: >> Am 15.02.2013 22:38, schrieb Hans Verkuil: >>> On Fri February 15 2013 22:09:11 Frank Schäfer wrote: I also noticed that audio balance (msp34xx control) doesn't work for the the left side and the sound is always mono (also for radio), but I assume the problem is my self-made mini-DIN-to-lini-in-Adapter-cable (this card has surround sound)... >>> I've tested it with my WinTv Theatre and the balance works fine with a >>> proper >>> cable :-) >> Ok... :-) >> I used the following description to built my adapter cable: >> http://www.vdr-wiki.de/wiki/index.php/Kabelpeitsche >> >> But it seems the WinTV Theatre uses a slightly different pin assignment >> and I'm using both right channels... >> Hmm... if you find a free minute, could you check which pins of the >> mini-DIN-connector of your cable are used for left and right audio (I >> don't care about the others) ? > I don't have access to the cable at the moment (travelling), but ping me > again in 10 days or so to remind me. No problem. Now, all I need is someone who reminds _me_... ;-) Some things that need to be fixed for this card (mute on stop/close, colokiller control, BE video formats, ...), >>> Can you elaborate on the mute and BE video formats? Colorkiller doesn't >>> work, >>> I've noticed the same thing. >> As far as I understand, audio should be muted when capturing is stopped >> / the device is closed. > True, unless it is the radio node. Hmm...ok... why are radio devices handled diffrently ? > >> (I assume shutting down the tuner would be even better, but no idea if >> it is possible). >> Otherwise users can still hear the last radio or TV channel. >> Btw: it's not clear to me how "auto mute" is supposed to work. All I >> noticed is, that it mutes audio when switching between the (video) >> inputs (without activating the "mute" checkbox ?!). > I think the idea is that it mutes when there is no signal detected > to prevent white noise. Sounds plausible and matches the behavior I observed. >> What I forgot to mention is, that the audio controls (bass, trebble, >> volume, balance) seem to have no effect on "Line-In". > That wouldn't surprise me at all. See the comment regarding msp3400 > routing in audio_mux(). > >> Concerning the BE formats: I tested with qv4l2 in raw mode only, but >> with the formats >> >> RGBQ - 15 bpp RGB, be >> RGBR - 16 bpp RGB, be >> RGB4 - 32 bpp RGB, be >> >> the picture looks like this: >> http://imageshack.us/photo/my-images/24/rgbq.png/ >> http://imageshack.us/photo/my-images/805/rgbr.png/ >> http://imageshack.us/photo/my-images/6/rgb4n.png/ > I think those are actually bugs in libv4lconvert. That was my second theory. :D > I have patches for that that I still need to clean up and post. Great ! > There is basically no big-endian > support in libv4lconvert at the moment. But why does it try to convert formats it doesn't support ? Regards, Frank > Regards, > > Hans > >> Anyway - these are no regressions, so there is no reason to delay your >> patches. >> >> Regards, >> Frank >> but these are separate issues not related to this patch series. So feel free to add "Tested-by" (if anybody cares). >>> Thanks! >>> >>> Hans >>> Regards, Frank > The following changes since commit > ed72d37a33fdf43dc47787fe220532cdec9da528: > > [media] media: Add 0x3009 USB PID to ttusb2 driver (fixed diff) > (2013-02-13 18:05:29 -0200) > > are available in the git repository at: > > git://linuxtv.org/hverkuil/media_tree.git bttv > > for you to fetch changes up to b26d6e39030e6ca2812bc8a818645169e6783ec9: > > bttv: remove g/s_audio since there is only one audio input. (2013-02-15 > 10:56:48 +0100) > > > Hans Verkuil (19): > bttv: fix querycap and radio v4l2-compliance issues. > bttv: add VIDIOC_DBG_G_CHIP_IDENT > bttv: fix ENUM_INPUT and S_INPUT > bttv: disable g/s_tuner and g/s_freq when no tuner present, fix > return codes. > bttv: set initial tv/radio frequencies > bttv: G_PARM: set readbuffers. > bttv: fill in colorspace. > bttv: fill in fb->flags for VIDIOC_G_FBUF > bttv: fix field handling inside TRY_FMT. > tda7432: convert to the control framework > bttv: convert to the control framework. > bttv: add support for control events. > bttv: fix priority handling. > bttv: use centralized std and implement g_std. > bttv: there may be multiple tvaudio/tda7432 devices. > bttv: fix g_tuner capabilities override. > bttv: fix try_fmt_vid_overlay and setup initial overlay size. > bttv: do not switch to the radio tuner unless it is acc