Re: kernel patch 2018-05-28 media: gspca_zc3xx: Implement proper autogain and exposure control for OV7648

2018-06-27 Thread Ondrej Zary
c3a22ccd66604b8b528221a9d8e1b3fb4e39 > 0ac8:3500 is an UVC camera. This patch does not affect UVC cameras in any way. -- Ondrej Zary

[PATCH 3/3 v2] gspca_zc3xx: Enable short exposure times for OV7648

2018-05-25 Thread Ondrej Zary
. (This bug came from the Windows driver.) Signed-off-by: Ondrej Zary <li...@rainbow-software.org> --- drivers/media/usb/gspca/zc3xx.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/media/usb/gspca/zc3xx.c b/drivers/media/usb/gspca/zc3xx.c index c72f2d

[PATCH 2/3 v2] gspca_zc3xx: Fix power line frequency settings for OV7648

2018-05-25 Thread Ondrej Zary
Power line frequency settings for OV7648 sensor contain autogain and exposure commands, affecting unrelated controls. Remove them. Signed-off-by: Ondrej Zary <li...@rainbow-software.org> --- drivers/media/usb/gspca/zc3xx.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers

[PATCH 1/3] gspca_zc3xx: Implement proper autogain and exposure control for OV7648

2018-05-25 Thread Ondrej Zary
The ZS0211 internal autogain causes pumping and flickering with OV7648 sensor on 0ac8:307b webcam. Implement OV7648 autogain and exposure control and use that instead. Signed-off-by: Ondrej Zary <li...@rainbow-software.org> --- drivers/media/usb/gspca/zc3xx.

[PATCH 1/3] gspca_zc3xx: Implement proper autogain and exposure control for OV7648

2018-05-24 Thread Ondrej Zary
The ZS0211 internal autogain causes pumping and flickering with OV7648 sensor on 0ac8:307b webcam. Implement OV7648 autogain and exposure control and use that instead. Signed-off-by: Ondrej Zary <li...@rainbow-software.org> --- drivers/media/usb/gspca/zc3xx.

[PATCH 2/3] gspca_zc3xx: Fix power line frequency settings for OV7648

2018-05-24 Thread Ondrej Zary
Power line frequency settings for OV7648 sensor contain autogain and exposure commands, affecting unrelated controls. Remove them. Signed-off-by: Ondrej Zary <li...@rainbow-software.org> --- drivers/media/usb/gspca/zc3xx.c | 17 ++--- 1 file changed, 10 insertions(+), 7 del

[PATCH 3/3] gspca_zc3xx: Fix exposure with power line frequency for OV7648

2018-05-24 Thread Ondrej Zary
it. (This bug came from the Windows driver.) Signed-off-by: Ondrej Zary <li...@rainbow-software.org> --- drivers/media/usb/gspca/zc3xx.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/media/usb/gspca/zc3xx.c b/drivers/media/usb/gspca/zc3xx.c

[PATCH 3/3 v2] bttv: Improve TEA575x support

2015-01-16 Thread Ondrej Zary
Improve g_tuner and add s_hw_freq_seek and enum_freq_bands support for cards with TEA575x radio. This allows signal/stereo detection and HW seek to work on these cards. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci/bt8xx/bttv-driver.c | 31

[PATCH 3/3] bttv: Improve TEA575x support

2015-01-15 Thread Ondrej Zary
Improve g_tuner and add s_hw_freq_seek and enum_freq_bands support for cards with TEA575x radio. This allows signal/stereo detection and HW seek to work on these cards. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci/bt8xx/bttv-driver.c | 31

[PATCH 1/3] bttv: Convert to generic TEA575x interface

2015-01-15 Thread Ondrej Zary
here using GPIOs. But the code manipulating these signals in bttv seems to be broken - it never asserts the IOR signal. If anyone has this HW, please test if I got that right. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci/bt8xx/Kconfig |3 + drivers/media

[PATCH 2/3] tea575x: split and export functions

2015-01-15 Thread Ondrej Zary
Split ioctl interface from enum_freq_bands, g_tuner and s_hw_freq_seek functions and export them to be used in other drivers like bttv. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/radio/tea575x.c | 41 - include/media

[PATCH] bttv: Convert to generic TEA575x interface

2015-01-13 Thread Ondrej Zary
here using GPIOs. But the code manipulating these signals in bttv seems to be broken - it never asserts the IOR signal. If anyone has this HW, please test if I got that right. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci/bt8xx/Kconfig |3 + drivers/media

Re: Video resolution limited to 32x32 pixels in Skype with Syntek 1135 webcam

2015-01-02 Thread Ondrej Zary
? The driver supports variable resolution from 32x32 to 1280x1024 in 2 pixel steps. The problem is that some programs are crap and cannot handle that. -- Ondrej Zary -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More

CMYG support in V4L2

2014-12-29 Thread Ondrej Zary
and remove all controls not provided by hardware? -- Ondrej Zary -- 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 0/3] Deprecate drivers

2014-12-21 Thread Ondrej Zary
On Friday 12 December 2014 15:32:35 Hans Verkuil wrote: On 12/12/2014 03:29 PM, Ondrej Zary wrote: On Wednesday 10 December 2014, Hans Verkuil wrote: On 12/02/14 23:42, Ondrej Zary wrote: On Tuesday 02 December 2014 16:40:30 Hans Verkuil wrote: This patch series deprecates the vino

Re: [PATCH 0/3] Deprecate drivers

2014-12-12 Thread Ondrej Zary
On Wednesday 10 December 2014, Hans Verkuil wrote: On 12/02/14 23:42, Ondrej Zary wrote: On Tuesday 02 December 2014 16:40:30 Hans Verkuil wrote: This patch series deprecates the vino/saa7191 video driver (ancient SGI Indy computer), the parallel port webcams bw-qcam, c-qcam and w9966

Re: [PATCH 0/3] Deprecate drivers

2014-12-02 Thread Ondrej Zary
port webcam. Will you accept patches? :) So move these drivers to staging for 3.19 and plan on removing them in 3.20. Regards, Hans -- Ondrej Zary -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More

[PATCH] bttv: Convert to generic TEA575x interface

2013-11-22 Thread Ondrej Zary
. But the code manipulating these signals in bttv seems to be broken - it never asserts the IOR signal. If anyone has this HW, please test if I got that right. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci/bt8xx/Kconfig |1 + drivers/media/pci/bt8xx/bttv-cards.c | 317

[PATCH] [RESEND] gspca-stk1135: Add delay after configuring clock

2013-11-11 Thread Ondrej Zary
Add a small delay at the end of configure_clock() to allow sensor to initialize. This is needed by Asus VX2S laptop webcam to detect sensor type properly (the already-supported MT9M112). Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/usb/gspca/stk1135.c |3 +++ 1

[PATCH] gspca-stk1135: Add delay after configuring clock

2013-11-02 Thread Ondrej Zary
Add a small delay at the end of configure_clock() to allow sensor to initialize. This is needed by Asus VX2S laptop webcam to detect sensor type properly (the already-supported MT9M112). Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/usb/gspca/stk1135.c |3 +++ 1

[PATCH 3/3] gspca-stk1135: Add variable resolution support

2013-08-30 Thread Ondrej Zary
Add variable resolution support to Syntek STK1135 subdriver. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/usb/gspca/stk1135.c | 68 ++-- 1 files changed, 34 insertions(+), 34 deletions(-) diff --git a/drivers/media/usb/gspca/stk1135.c

[PATCH 1/3] gspca: store current mode instead of individual parameters

2013-08-30 Thread Ondrej Zary
Store complete current mode (struct v4l2_pix_format) in struct gspca_dev instead of separate pixfmt, width and height parameters. This is a preparation for variable resolution support. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/usb/gspca/conex.c

[PATCH 2/3] gspca: Support variable resolution

2013-08-30 Thread Ondrej Zary
Add variable resolution support to gspca by allowing subdrivers to specify try_fmt and enum_framesizes functions. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/usb/gspca/gspca.c | 20 ++-- drivers/media/usb/gspca/gspca.h |6 ++ 2 files changed

[PATCH v3] introduce gspca-stk1135: Syntek STK1135 driver

2013-08-20 Thread Ondrej Zary
- when the camera is flipped around, the image is flipped automatically. Signed-off-by: Ondrej Zary li...@rainbow-software.org diff --git a/drivers/media/usb/gspca/Kconfig b/drivers/media/usb/gspca/Kconfig index 6345f93..4f0c6d5 100644 --- a/drivers/media/usb/gspca/Kconfig +++ b/drivers/media/usb

Re: [RFC PATCH] introduce gspca-stk1135: Syntek STK1135 driver

2013-08-11 Thread Ondrej Zary
On Sunday 11 August 2013 11:26:18 Hans de Goede wrote: Hi, On 08/11/2013 12:10 AM, Ondrej Zary wrote: Hello, this is a new gspca driver for Syntek STK1135 webcams. The code is completely new, but register values are based on Syntekdriver (stk11xx) by Nicolas VIVIEN (http

[PATCH v2] introduce gspca-stk1135: Syntek STK1135 driver

2013-08-11 Thread Ondrej Zary
- when the camera is flipped around, the image is flipped automatically. Signed-off-by: Ondrej Zary li...@rainbow-software.org diff --git a/drivers/media/usb/gspca/Kconfig b/drivers/media/usb/gspca/Kconfig index 6345f93..4f0c6d5 100644 --- a/drivers/media/usb/gspca/Kconfig +++ b/drivers/media/usb

[RFC PATCH] introduce gspca-stk1135: Syntek STK1135 driver

2013-08-10 Thread Ondrej Zary
- when the camera is flipped around, the image is flipped automatically. Signed-off-by: Ondrej Zary li...@rainbow-software.org diff --git a/drivers/media/usb/gspca/Kconfig b/drivers/media/usb/gspca/Kconfig index 6345f93..4f0c6d5 100644 --- a/drivers/media/usb/gspca/Kconfig +++ b/drivers/media/usb

Re: Syntek webcams and out-of-tree driver

2013-08-07 Thread Ondrej Zary
On Tuesday 06 August 2013 08:10:38 Hans de Goede wrote: Hi, On 08/05/2013 11:19 PM, Ondrej Zary wrote: Hello, the in-kernel stkwebcam driver (by Jaime Velasco Juan and Nicolas VIVIEN) supports only two webcam types (USB IDs 0x174f:0xa311 and 0x05e1:0x0501). There are many other Syntek

Re: Syntek webcams and out-of-tree driver

2013-08-06 Thread Ondrej Zary
On Tuesday 06 August 2013, Hans de Goede wrote: Hi, On 08/05/2013 11:19 PM, Ondrej Zary wrote: Hello, the in-kernel stkwebcam driver (by Jaime Velasco Juan and Nicolas VIVIEN) supports only two webcam types (USB IDs 0x174f:0xa311 and 0x05e1:0x0501). There are many other Syntek webcam

Syntek webcams and out-of-tree driver

2013-08-05 Thread Ondrej Zary
= -1; @@ -1533,6 +1541,7 @@ int v4l_stk11xx_unregister_video_device( video_set_drvdata(dev-vdev, NULL); video_unregister_device(dev-vdev); + v4l2_device_unregister(dev-v4l2_dev); return 0; } -- Ondrej Zary -- To unsubscribe from this list: send the line

[PATCH 1/2] tea575x: Move header from sound to media

2013-07-28 Thread Ondrej Zary
Move include/sound/tea575x-tuner.h to include/media/tea575x.h and update files that include it. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/radio/radio-maxiradio.c |2 +- drivers/media/radio/radio-sf16fmr2.c |2 +- drivers/media/radio/radio-shark.c

[PATCH 0/2] tea575x: Move from sound to media

2013-07-28 Thread Ondrej Zary
Hello, TEA575x is neither a sound device nor an i2c device. Let's finally move it from sound/i2c/other to drivers/media/radio. Tested with snd-es1968, snd-fm801 and radio-sf16fmr2. -- Ondrej Zary -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message

[PATCH 2/2] tea575x: Move from sound to media

2013-07-28 Thread Ondrej Zary
Move tea575x from sound/i2c/other to drivers/media/radio Includes Kconfig changes by Hans Verkuil. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/radio/Kconfig | 12 +- drivers/media/radio/Makefile|1

[PATCH 2/2] radio-aztech: Implement signal strength detection and fix stereo detection

2013-07-19 Thread Ondrej Zary
Current stereo detection code is wrong - it reads TUNED bit instead of STEREO bit. Fix that and implement signal strength detection too. Also remove useless s_stereo functionn. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/radio/radio-aztech.c | 13 - 1

[PATCH 1/2] radio-aztech: Convert to generic lm7000 implementation

2013-07-19 Thread Ondrej Zary
, .has_stereo = true, -- Ondrej Zary -- 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] radio-sf16fmi: Add module name to bus_info

2013-06-14 Thread Ondrej Zary
Fix v4l2-compliance in VIDIOC_QUERYCAP by changing ISA to ISA:radio-sf16fmi. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/radio/radio-sf16fmi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/radio/radio-sf16fmi.c b/drivers

[PATCH 0/2] radio-sf16fmi: Fix remaining v4l2-compliance problems

2013-06-14 Thread Ondrej Zary
These patches fix two remaining v4l2-compliance problems of radio-sf16fmi driver after control framework conversion: http://www.mail-archive.com/linux-media%40vger.kernel.org/msg62772.html Tested with SF16-FMI card. -- Ondrej Zary -- To unsubscribe from this list: send the line unsubscribe

[PATCH 2/2] radio-sf16fmi: Set frequency during init

2013-06-14 Thread Ondrej Zary
Set freqency during initialization to fix v4l2-compliance error. This also fixes VIDIOC_G_FREQUENCY always returning zero (broken by me during LM7000 conversion). Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/radio/radio-sf16fmi.c | 25 + 1

[RFC PATCH 1/2] tea575x: Move header from sound to media

2013-06-13 Thread Ondrej Zary
Move include/sound/tea575x-tuner.h to include/media/tea575x.h and update files that include it. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/radio/radio-maxiradio.c |2 +- drivers/media/radio/radio-sf16fmr2.c |2 +- drivers/media/radio/radio-shark.c

[RFC PATCH 2/2] tea575x: Move from sound to media

2013-06-13 Thread Ondrej Zary
Move tea575x from sound/i2c/other to drivers/media/radio Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/radio/Kconfig |5 + drivers/media/radio/Makefile|1 + drivers/media/radio/tea575x.c | 577 +++ sound/i2c/other

[RFC PATCH 0/2] tea575x: Move from sound to media

2013-06-13 Thread Ondrej Zary
Hello, TEA575x is neither a sound device nor an i2c device. Let's finally move it from sound/i2c/other to drivers/media/radio. Tested with snd-es1968, snd-fm801 and radio-sf16fmr2. I guess the Kconfig dependencies are not correct. -- Ondrej Zary -- To unsubscribe from this list: send the line

[PATCH 2/3] bttv: stop abusing mbox_we for sw_status

2013-05-14 Thread Ondrej Zary
Kodicom 4400R and Geovision GV-800 code in bttv driver abuses mbox_we (int) in struct bttv as char *. Remove this hack and add a proper sw_status array to struct bttv instead. This is a a preparation to remove mbox_we. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci

[PATCH 1/3] tea575x-tuner: move HW init to a separate function

2013-05-14 Thread Ondrej Zary
Move HW initialization to separate function to allow using the code without the v4l parts. This is needed for use in the bttv driver. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- include/sound/tea575x-tuner.h |1 + sound/i2c/other/tea575x-tuner.c | 19 +-- 2

[RFC PATCH 0/3] bttv: convert to generic TEA575x interface

2013-05-14 Thread Ondrej Zary
) and are emulated here using GPIOs. But the code manipulating these signals in bttv seems to be broken - it never asserts the IOR signal. If anyone has this HW, please test if I got that right. -- Ondrej Zary -- To unsubscribe from this list: send the line unsubscribe linux-media in the body

[PATCH 3/3] bttv: Convert to generic TEA575x interface

2013-05-14 Thread Ondrej Zary
Remove tea575x-specific code from bttv and use the common driver instead. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci/bt8xx/bttv-cards.c | 317 - drivers/media/pci/bt8xx/bttv-driver.c |6 +- drivers/media/pci/bt8xx/bttvp.h

Re: [PATCH] bttv: Add CyberVision CV06

2013-04-15 Thread Ondrej Zary
On Sunday 14 April 2013 23:26:21 Ondrej Zary wrote: Add CyberVision CV06 4-camera card (from CyberVision SV card kit): http://www.cybervision.com.tw/products-swcard_kits-sv.html There are some interesting things on the card but they're not supported: 4 LEDs, a connector with 4 IN and 4 OUT

[PATCH] bttv: Add noname Bt848 capture card with 14MHz xtal

2013-04-14 Thread Ondrej Zary
Add support for noname Bt848 capture-only card (3x composite, 1x S-VHS) with 14MHz crystal: http://www.rainbow-software.org/images/hardware/bt848_.jpg 14MHz PLL was not supported by bttv driver until now. Signed-off-by: Ondrej Zary li...@rainbow-software.org diff --git a/drivers/media/pci

Re: [PATCH] bttv: Add noname Bt848 capture card with 14MHz xtal

2013-04-14 Thread Ondrej Zary
On Sunday 14 April 2013 18:39:09 Ondrej Zary wrote: Add support for noname Bt848 capture-only card (3x composite, 1x S-VHS) with 14MHz crystal: http://www.rainbow-software.org/images/hardware/bt848_.jpg Noticed that it takes ages to load the bttv module (about 30 seconds). If disable_ir=1

[PATCH] bttv: Add CyberVision CV06

2013-04-14 Thread Ondrej Zary
and CyberVision CV8088-SV16 chip Signed-off-by: Ondrej Zary li...@rainbow-software.org diff --git a/drivers/media/pci/bt8xx/bttv-cards.c b/drivers/media/pci/bt8xx/bttv-cards.c index 8bcf638..7bce09f 100644 --- a/drivers/media/pci/bt8xx/bttv-cards.c +++ b/drivers/media/pci/bt8xx/bttv-cards.c @@ -2833,6

My patches for AverMedia A706

2013-04-05 Thread Ondrej Zary
config from unsigned int to void * tda8290: change magic LNA config values to enum saa7134: Add AverMedia A706 AverTV Satellite Hybrid+FM -- Ondrej Zary -- 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

Re: [PATCH v2 0/4] saa7134: Add AverMedia A706 AverTV Satellite Hybrid+FM

2013-03-06 Thread Ondrej Zary
On Monday 18 February 2013 03:57:01 Michael Krufky wrote: On Sat, Feb 16, 2013 at 11:39 AM, Ondrej Zary li...@rainbow-software.org 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

Re: [PATCH v2 0/4] saa7134: Add AverMedia A706 AverTV Satellite Hybrid+FM

2013-02-16 Thread Ondrej Zary
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

Re: [PATCH 1/4] tda8290: Allow disabling I2C gate

2013-02-04 Thread Ondrej Zary
On Monday 04 February 2013 03:19:37 Michael Krufky wrote: On Fri, Feb 1, 2013 at 3:21 PM, Ondrej Zary li...@rainbow-software.org wrote: Allow disabling I2C gate handling by external configuration. This is required by cards that have all devices on a single I2C bus, like AverMedia A706

[PATCH] tda8290: change magic LNA config values to enum

2013-02-04 Thread Ondrej Zary
Use enum instead of magic values for LNA config in tda8290. Update tda827x, tda18271 and saa7134 to use the enum too. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci/saa7134/saa7134-cards.c | 41 +++-- drivers/media/tuners/tda18271-fe.c

[PATCH v2 0/4] saa7134: Add AverMedia A706 AverTV Satellite Hybrid+FM

2013-02-01 Thread Ondrej Zary
tuners. -- Ondrej Zary -- 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/4] tda8290: Allow disabling I2C gate

2013-02-01 Thread Ondrej Zary
Allow disabling I2C gate handling by external configuration. This is required by cards that have all devices on a single I2C bus, like AverMedia A706. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/tuners/tda8290.c | 49 +++ drivers

[PATCH 2/4] tda8290: Allow custom std_map for tda18271

2013-02-01 Thread Ondrej Zary
Allow specifying a custom std_map for tda18271 by external configuration. This is required by cards that require custom std_map for analog TV or radio, like AverMedia A706. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/tuners/tda8290.c |8 ++-- drivers/media

[PATCH 3/4] tuner-core: Change config from unsigned int to void *

2013-02-01 Thread Ondrej Zary
passing tuner-dependent config struct to drivers. Also update saa7134 driver to reflect this change (no other driver uses this). Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci/saa7134/saa7134-cards.c | 40 ++-- drivers/media/pci/saa7134

[PATCH 4/4] saa7134: Add AverMedia A706 AverTV Satellite Hybrid+FM

2013-02-01 Thread Ondrej Zary
Add AverMedia AverTV Satellite Hybrid+FM (A706) card to saa7134 driver. Working: analog inputs, TV, FM radio and IR remote control. Untested: DVB-S. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/i2c/ir-kbd-i2c.c | 13 ++- drivers/media/pci/saa7134

[PATCH 0/8] saa7134: improve v4l2-compliance

2013-02-01 Thread Ondrej Zary
This patch series improves v4l2-compliance of saa7134 driver. This includes only easy-to-fix things. More work is needed to fix the other problems. -- Ondrej Zary -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More

[PATCH 1/8] saa7134: v4l2-compliance: implement V4L2_CAP_DEVICE_CAPS

2013-02-01 Thread Ondrej Zary
Make saa7134 driver more V4L2 compliant: implement V4L2_CAP_DEVICE_CAPS support and fix all capabilities problems reported by v4l2-compliance. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci/saa7134/saa7134-video.c | 58 + 1 files changed

[PATCH 2/8] saa7134: v4l2-compliance: don't report invalid audio modes for radio

2013-02-01 Thread Ondrej Zary
Make saa7134 driver more V4L2 compliant: filter audio modes that came from tuner - keep only MONO/STEREO in radio mode Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci/saa7134/saa7134-video.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[PATCH 3/8] saa7134: v4l2-compliance: use v4l2_fh to fix priority handling

2013-02-01 Thread Ondrej Zary
Make saa7134 driver more V4L2 compliant: remove broken priority handling and use v4l2_fh instead Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci/saa7134/saa7134-core.c |3 +- drivers/media/pci/saa7134/saa7134-video.c | 61 +++- drivers

[PATCH 4/8] saa7134: v4l2-compliance: return real frequency

2013-02-01 Thread Ondrej Zary
Make saa7134 driver more V4L2 compliant: don't cache frequency in s_frequency/g_frequency but return real one instead Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci/saa7134/saa7134-video.c |6 -- drivers/media/pci/saa7134/saa7134.h |1 - 2 files

[PATCH 5/8] saa7134: v4l2-compliance: fix g_tuner/s_tuner

2013-02-01 Thread Ondrej Zary
Make saa7134 driver more V4L2 compliant: return real frequency range in g_tuner and fail in s_tuner for non-zero tuner Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci/saa7134/saa7134-video.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git

[PATCH 6/8] saa7134: v4l2-compliance: remove bogus audio input support

2013-02-01 Thread Ondrej Zary
Make saa7134 driver more V4L2 compliant: remove empty g_audio and s_audio functions and don't set audioset in enum_input Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci/saa7134/saa7134-video.c | 30 - 1 files changed, 0 insertions(+), 30

[PATCH 7/8] saa7134: v4l2-compliance: remove bogus g_parm

2013-02-01 Thread Ondrej Zary
Make saa7134 driver more V4L2 compliant: remove empty g_parm function Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci/saa7134/saa7134-video.c |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/drivers/media/pci/saa7134/saa7134-video.c b

[PATCH 8/8] saa7134: v4l2-compliance: clear reserved part of VBI structure

2013-02-01 Thread Ondrej Zary
Make saa7134 driver more V4L2 compliant: clear reserved space of VBI structure to make sure no garbage is left there Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci/saa7134/saa7134-video.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

Re: [RFC PATCH 0/7] saa7134: improve v4l2-compliance

2013-01-28 Thread Ondrej Zary
On Monday 28 January 2013 11:56:59 Hans Verkuil wrote: On Sun January 27 2013 20:45:05 Ondrej Zary wrote: Hello, this patch series improves v4l2-compliance of saa7134 driver. There are still some problems. Controls require conversion to control framework which I was unable to finish

Re: [PATCH 1/4] tda8290: Allow disabling I2C gate

2013-01-21 Thread Ondrej Zary
On Monday 21 January 2013, Antti Palosaari wrote: On 01/20/2013 11:22 PM, Ondrej Zary wrote: Allow disabling I2C gate handling by external configuration. This is required by cards that have all devices on a single I2C bus, like AverMedia A706. My personal opinion is that I2C gate control

[PATCH 0/4] saa7134: Add AverMedia A706 AverTV Satellite Hybrid+FM

2013-01-20 Thread Ondrej Zary
tuners. -- Ondrej Zary -- 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/4] tda8290: Allow disabling I2C gate

2013-01-20 Thread Ondrej Zary
Allow disabling I2C gate handling by external configuration. This is required by cards that have all devices on a single I2C bus, like AverMedia A706. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/tuners/tda8290.c | 13 +++-- drivers/media/tuners/tda8290.h

[PATCH 2/4] tda8290: Allow custom std_map for tda18271

2013-01-20 Thread Ondrej Zary
Allow specifying a custom std_map for tda18271 by external configuration. This is required by cards that require custom std_map for analog TV or radio, like AverMedia A706. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/tuners/tda8290.c |3 +++ drivers/media/tuners

[PATCH 3/4] tuner-core: Change config from unsigned int to void *

2013-01-20 Thread Ondrej Zary
passing tuner-dependent config struct to drivers. Also update saa7134 driver to reflect this change (no other driver uses this). Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/pci/saa7134/saa7134-cards.c | 40 ++-- drivers/media/pci/saa7134

[PATCH 4/4] saa7134: Add AverMedia A706 AverTV Satellite Hybrid+FM

2013-01-20 Thread Ondrej Zary
Add AverMedia AverTV Satellite Hybrid+FM (A706) card to saa7134 driver. Working: analog inputs, TV, FM radio and IR remote control. Untested: DVB-S. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/media/i2c/ir-kbd-i2c.c | 13 ++- drivers/media/pci/saa7134

Re: [RFC PATCH] saa7134: Add AverMedia Satelllite Hybrid+FM A706 (and FM radio problems)

2013-01-17 Thread Ondrej Zary
On Tuesday 15 January 2013 23:37:58 Ondrej Zary wrote: On Tuesday 15 January 2013 22:57:06 Ondrej Zary wrote: On Monday 14 January 2013 22:29:58 Ondrej Zary wrote: On Saturday 12 January 2013 21:24:50 Ondrej Zary wrote: Partially working: FM radio Radio seems to be a long-standing

Re: [RFC PATCH] saa7134: Add AverMedia Satelllite Hybrid+FM A706 (and FM radio problems)

2013-01-15 Thread Ondrej Zary
On Monday 14 January 2013 22:29:58 Ondrej Zary wrote: On Saturday 12 January 2013 21:24:50 Ondrej Zary wrote: Partially working: FM radio Radio seems to be a long-standing problem with saa7134 cards using silicon tuners (according to various mailing lists). On this card, GPIO11 controls

Re: [RFC PATCH] saa7134: Add AverMedia Satelllite Hybrid+FM A706 (and FM radio problems)

2013-01-15 Thread Ondrej Zary
On Tuesday 15 January 2013 22:57:06 Ondrej Zary wrote: On Monday 14 January 2013 22:29:58 Ondrej Zary wrote: On Saturday 12 January 2013 21:24:50 Ondrej Zary wrote: Partially working: FM radio Radio seems to be a long-standing problem with saa7134 cards using silicon tuners (according

Re: [RFC PATCH] saa7134: Add AverMedia Satelllite Hybrid+FM A706 (and FM radio problems)

2013-01-14 Thread Ondrej Zary
On Saturday 12 January 2013 21:24:50 Ondrej Zary wrote: Partially working: FM radio Radio seems to be a long-standing problem with saa7134 cards using silicon tuners (according to various mailing lists). On this card, GPIO11 controls 74HC4052 MUX. It switches two things: something

[RFC PATCH] saa7134: Add AverMedia Satelllite Hybrid+FM A706 (and FM radio problems)

2013-01-12 Thread Ondrej Zary
/media/tuners/tda8290.h +++ b/drivers/media/tuners/tda8290.h @@ -20,6 +20,9 @@ #include linux/i2c.h #include dvb_frontend.h +#define TDA829X_NO_I2C_GATE(1 7) +#define TDA829X_CFG_MASK (~TDA829X_NO_I2C_GATE) + struct tda829x_config { unsigned int lna_cfg; -- Ondrej Zary

[BAD PATCH] saa7134: Add AverMedia Satelllite Hybrid+FM A706

2013-01-10 Thread Ondrej Zary
, __FUNCTION__, fe, i2c_adap, i2c_addr, cfg); priv = kzalloc(sizeof(struct tda8290_priv), GFP_KERNEL); if (priv == NULL) return NULL; -- Ondrej Zary -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord

Re: AverMedia Satelllite Hybrid+FM A706

2012-12-21 Thread Ondrej Zary
] error -34 on line 652 [ 521.289690] tda18271_calc_gain_taper: [2-0063|M] error -34 on line 669 -- Ondrej Zary -- 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

Re: AverMedia Satelllite Hybrid+FM A706

2012-12-20 Thread Ondrej Zary
[ 921.565302] saa7133[0]: i2c stat = BUSY [ 921.565336] saa7133[0]: i2c stat = BUSY [ 921.565371] saa7133[0]: i2c stat = BUSY [ 921.565405] saa7133[0]: i2c stat = BUSY [ 921.565440] mt312_read: ret == -5 [ 921.565450] saa7133[0]/dvb: dvb_init: No zl10039 found! -- Ondrej Zary -- To unsubscribe from

AverMedia Satelllite Hybrid+FM A706

2012-12-18 Thread Ondrej Zary
: TDA18271HD But where is CE6313? It should be at 0x0e according to datasheet and pins 35..38 (35 = GND, 36, 37, 38 = VCC). The tda8290 driver seems to require some i2c gate control but I thinka that this card has none as all devices are directly on the I2C bus. Any ideas? -- Ondrej Zary

[PATCH v2 1/3] radio: Add Sanyo LM7000 tuner driver

2012-06-13 Thread Ondrej Zary
Add very simple driver for Sanyo LM7000 AM/FM tuner chip. Only FM is supported as there is no known HW with AM implemented. This will be used by radio-aimslab and radio-sf16fmi. Signed-off-by: Ondrej Zary li...@rainbow-software.org diff --git a/drivers/media/radio/lm7000.h b/drivers/media/radio

[PATCH v2 2/3] radio-aimslab: Use LM7000 driver

2012-06-13 Thread Ondrej Zary
Convert radio-aimslab to use generic LM7000 driver. Tested with Reveal RA300. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- a/drivers/media/radio/radio-aimslab.c +++ b/drivers/media/radio/radio-aimslab.c @@ -37,6 +37,7 @@ #include media/v4l2-ioctl.h #include media/v4l2-ctrls.h

[PATCH v2 3/3] radio-sf16fmi: Use LM7000 driver

2012-06-13 Thread Ondrej Zary
Convert radio-sf16fmi to use generic LM7000 driver. Tested with SF16-FMI, SF16-FMP and SF16-FMD. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- a/drivers/media/radio/radio-sf16fmi.c +++ b/drivers/media/radio/radio-sf16fmi.c @@ -27,6 +27,7 @@ #include linux/io.h /* outb

[PATCH 1/3] radio: Add Sanyo LM7000 tuner driver

2012-06-12 Thread Ondrej Zary
Add very simple driver for Sanyo LM7000 AM/FM tuner chip. Only FM is supported as there is no known HW with AM implemented. This will be used by radio-aimslab and radio-sf16fmi. Signed-off-by: Ondrej Zary li...@rainbow-software.org diff --git a/drivers/media/radio/Kconfig b/drivers/media/radio

[PATCH 2/3] radio-aimslab: Use LM7000 driver

2012-06-12 Thread Ondrej Zary
Convert radio-aimslab to use generic LM7000 driver. Tested with Reveal RA300. Signed-off-by: Ondrej Zary li...@rainbow-software.org diff --git a/drivers/media/radio/Kconfig b/drivers/media/radio/Kconfig index 5bcce12..abdf43c 100644 --- a/drivers/media/radio/Kconfig +++ b/drivers/media/radio

[PATCH 3/3] radio-sf16fmi: Use LM7000 driver

2012-06-12 Thread Ondrej Zary
Convert radio-sf16fmi to use generic LM7000 driver. Tested with SF16-FMI, SF16-FMP and SF16-FMD. Signed-off-by: Ondrej Zary li...@rainbow-software.org diff --git a/drivers/media/radio/Kconfig b/drivers/media/radio/Kconfig index abdf43c..f4c3924 100644 --- a/drivers/media/radio/Kconfig +++ b

Re: [PATCH 1/3] radio: Add Sanyo LM7000 tuner driver

2012-06-12 Thread Ondrej Zary
On Tuesday 12 June 2012 22:17:43 Hans Verkuil wrote: Hi Ondrej! On Tue June 12 2012 20:37:54 Ondrej Zary wrote: Add very simple driver for Sanyo LM7000 AM/FM tuner chip. Only FM is supported as there is no known HW with AM implemented. It feels to me that it is overkill to turn

Re: [PATCH 0/6] snd_tea575x: Various patches

2012-05-22 Thread Ondrej Zary
and radio devices with multiple tuners. I plan to add patches 1-5 to my next pull request to Mauro, I will leave patch 6 out until the API discussion is done. I tested the patches with FM-only card (SF16-FMD2) and haven't found any problems. -- Ondrej Zary -- To unsubscribe from this list: send

[PATCH] radio-sf16fmi: add support for SF16-FMD

2012-05-19 Thread Ondrej Zary
Add support for SF16-FMD card to radio-sf16fmi driver. Only new PnP ID is added and texts changed. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- a/drivers/media/radio/Kconfig +++ b/drivers/media/radio/Kconfig @@ -320,7 +320,7 @@ config RADIO_MIROPCM20 module will be called

Re: RFC: V4L2 API and radio devices with multiple tuners

2012-05-19 Thread Ondrej Zary
know about. When working on tea575x driver, I thought that it would be nice to implement AM. But found that none of my cards with TEA575x has implemented the AM part. The components required to receive AM radio (according to the chip datasheet) are missing. -- Ondrej Zary -- To unsubscribe

[PATCH] [resend] radio-sf16fmr2: add PnP support for SF16-FMD2

2012-05-17 Thread Ondrej Zary
pnp_reserve_io=0x384,2 so the FMD2 is put at 0x284). Signed-off-by: Ondrej Zary li...@rainbow-software.org --- a/drivers/media/radio/Kconfig +++ b/drivers/media/radio/Kconfig @@ -329,7 +329,7 @@ config RADIO_SF16FMI module will be called radio-sf16fmi. config RADIO_SF16FMR2 - tristate

[PATCH] radio-sf16fmr2: add PnP support for SF16-FMD2

2012-05-13 Thread Ondrej Zary
pnp_reserve_io=0x384,2 so the FMD2 is put at 0x284). Signed-off-by: Ondrej Zary li...@rainbow-software.org --- a/drivers/media/radio/Kconfig +++ b/drivers/media/radio/Kconfig @@ -329,7 +329,7 @@ config RADIO_SF16FMI module will be called radio-sf16fmi. config RADIO_SF16FMR2 - tristate

Re: Dazzle DVC80 under FC16

2012-05-09 Thread Ondrej Zary
for this device (run the command as root). -- Ondrej Zary -- 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: Dazzle DVC80 under FC16

2012-05-09 Thread Ondrej Zary
is loaded but fails to set altsetting to 1. Probably because the device has two interfaces (note that the driver is also initialized twice). -- Ondrej Zary -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo

Re: Dazzle DVC80 under FC16

2012-05-09 Thread Ondrej Zary
On Wednesday 09 May 2012 18:20:18 Bruno Martins wrote: On 05/09/2012 04:32 PM, Ondrej Zary wrote: On Wednesday 09 May 2012, Bruno Martins wrote: Hello guys, Has anyone ever got this to working under any Linux distro, including Fedora? I have just plugged it in and I get

[PATCH v2 1/2] [resend] radio-isa: PnP support for the new ISA radio framework

2012-03-22 Thread Ondrej Zary
Add PnP support to the new ISA radio framework. Signed-off-by: Ondrej Zary li...@rainbow-software.org diff --git a/drivers/media/radio/radio-isa.c b/drivers/media/radio/radio-isa.c index 02bcead..ed9039f 100644 --- a/drivers/media/radio/radio-isa.c +++ b/drivers/media/radio/radio-isa.c @@ -26,6

  1   2   >