Re: The right way to interpret the content of SNR, signal strength and BER from HVR 4000 Lite

2009-03-19 Thread Manu Abraham
Manu Abraham wrote: > Devin Heitmueller wrote: >> On Thu, Mar 19, 2009 at 6:17 PM, Trent Piepho wrote: >>> On Thu, 19 Mar 2009, Trent Piepho wrote: Since the driver often needs to use a logarithm from dvb-math to find SNR, you have code like this in the driver (from lgdt3305.c):

Re: RFC: ov7670 soc-camera driver

2009-03-19 Thread Mauro Carvalho Chehab
On Mon, 16 Mar 2009 08:46:12 +0100 Hans Verkuil wrote: > > I think it's necessary, really. Having two drivers for the same device > > seems like a bad idea. As Hans noted, he's already put quite a bit of > > work into generalizing the ov7670 driver; I think it would be best to > > work with hi

Re: About white balance control.

2009-03-19 Thread Dongsoo, Nathaniel Kim
Hi Bill, Thank you for your explanation. I think this one-shot white balance cal feature should be supported by H/W, or we should implement this with AWB activation for short period and lock immediately. That should be hard to tune properly to make it work in every circumstances. I'll do some rese

Re: [PULL] http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-cafe

2009-03-19 Thread Mauro Carvalho Chehab
On Wed, 18 Mar 2009 17:38:29 +0100 Hans Verkuil wrote: > Hi Mauro, > > Please pull from http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-cafe for the > following: > > - v4l2-subdev: add support for TRY_FMT, ENUM_FMT and G/S_PARM. > - ov7670: convert to v4l2_subdev > - cafe_ccic: convert to v4l2_dev

[PATCH 2/3] New V4L2 CIDs for OMAP class of Devices.

2009-03-19 Thread Hardik Shah
Added V4L2_CID_BG_COLOR for background color setting. Added V4L2_CID_ROTATION for rotation setting. Above two ioclts are indepth discussed. Posting again with the driver usage. V4L2 supports chroma keying added new flags for the source chroma keying which is exactly opposite of the chorma keying s

[PATCH 1/3] Documentation for new V4L2 CIDs added.

2009-03-19 Thread Hardik Shah
1. Updated for V4L2_CID_BG_COLOR 2. Updated for V4L2_CID_ROTATION Both of the above are discussed in length with community 3. Updated for new flags and capability field added to v4l2_frame buffer structure. Signed-off-by: Brijesh Jadav Signed-off-by: Hardik Shah Signed-off-by: Vaibhav Hiremath

[PATCH 0/3] V4L2 driver for OMAP2/3 with new CIDs.

2009-03-19 Thread Shah, Hardik
Hi All, I will be posting series of three patches for the V4L2 driver on the OMAP2/3 DSS. Patch 1 - This is the second revision of the patch. Documentation added for the following new CIDs and bit fields added in V4L2 framework. V4L2_CID_BG_COLOR: Added new CID for setting of the back ground

RE: [RFC 1/7] ARM: DaVinci: DM646x Video: Platform and board specific setup

2009-03-19 Thread Subrahmanya, Chaithrika
> chaithr...@ti.com writes: > > > From: Chaithrika U S > > > > Add pin mux definitions, display device setup, clock setup functions > > > > Add pin mux related code for the display device, also add platform > device > > and resource structures. Also define a platform specific clock setup > functi

Some possible missing v4l2_subdev IOCTLs.

2009-03-19 Thread Aguirre Rodriguez, Sergio Alberto
Hi Hans, I did a quick analysis of the subdev, and noticed that some video ioctls for the subdevices aren't there... [gs]_crop [gs]_parm enum_frameintervals enum_framesizes enum_fmt_cap I noticed this because we currently use them for a "best sensor output" selection before sending the image t

RE: ISP Configuration for RAW Bayer sensor

2009-03-19 Thread Aguirre Rodriguez, Sergio Alberto
> -Original Message- > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > ow...@vger.kernel.org] On Behalf Of Suresh Rao > Sent: Thursday, March 19, 2009 7:59 AM > To: linux-media@vger.kernel.org > Cc: Tuukka.O Toivonen > Subject: Re: ISP Configuration for RAW Bayer sensor > >

Re: [linux-dvb] FusionHDTV7 and v4l causes kernel panic

2009-03-19 Thread Timothy D. Lenz
After searching the internet for ways to redirect the error to serial or other system and not getting to work, I typed out by hand what is on the screen minus the cpu dump which is mostly scrolled off anyway and thus gone. In trying to get the dump out ttyS0 I found I was getting different dumps

Re: [PATCH] gspca: add missing .type field check in VIDIOC_G_PARM

2009-03-19 Thread Trent Piepho
On Thu, 19 Mar 2009, [UTF-8] N??meth M??rton wrote: > The gspca webcam driver does not check the .type field of struct > v4l2_streamparm. > This field is an input parameter for the driver according to V4L2 API > specification, > revision 0.24 [1]. Add the missing check. I think this check could

Re: v4l2-subdev missing video ops

2009-03-19 Thread Andy Walls
On Thu, 2009-03-19 at 16:55 -0700, Pete Eberlein wrote: > Hello Hans, > > I'm looking at converting the go7007 staging driver to use the subdev > API. I don't see any v4l2_subdev_video_ops for VIDIOC_S_INPUT I believe you want v4l2_subdev_video_ops.s_routing and v4l2_subdev_audio_ops.s_routing

Re: linux-next: Tree for March 19 (media/au8522)

2009-03-19 Thread Mauro Carvalho Chehab
On Thu, 19 Mar 2009 10:11:30 -0700 Randy Dunlap wrote: > Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20090318: > > > au8522_decoder.c:(.text+0x199898): undefined reference to > `v4l2_ctrl_query_fill' > au8522_decoder.c:(.text+0x1998b3): undefined reference to > `v4l2_ctrl_query

v4l2-subdev missing video ops

2009-03-19 Thread Pete Eberlein
Hello Hans, I'm looking at converting the go7007 staging driver to use the subdev API. I don't see any v4l2_subdev_video_ops for VIDIOC_S_INPUT nor VIDIOC_S_STD. Were those overlooked, or should I use the generic v4l2_subdev_core_ops->ioctl? (The chip in particular does not have a tuner, but it

Re: The right way to interpret the content of SNR, signal strength and BER from HVR 4000 Lite

2009-03-19 Thread Manu Abraham
Devin Heitmueller wrote: > On Thu, Mar 19, 2009 at 6:17 PM, Trent Piepho wrote: >> On Thu, 19 Mar 2009, Trent Piepho wrote: >>> Since the driver often needs to use a logarithm from dvb-math to find SNR, >>> you have code like this in the driver (from lgdt3305.c): >>> /* report SNR in dB *

Re: The right way to interpret the content of SNR, signal strength and BER from HVR 4000 Lite

2009-03-19 Thread Trent Piepho
On Thu, 19 Mar 2009, Devin Heitmueller wrote: > On Thu, Mar 19, 2009 at 6:17 PM, Trent Piepho wrote: > > == rant mode on == > Wow, I think we have lost our minds! > > The argument being put forth is based on the relative efficiency of > the multiply versus divide opcodes on modern CPU architecture

Re: [patch review] radio/Kconfig: introduce 3 groups: isa, pci, and others drivers

2009-03-19 Thread Trent Piepho
On Thu, 19 Mar 2009, Mauro Carvalho Chehab wrote: > On Thu, 19 Mar 2009 17:18:47 +0300 > Alexey Klimov wrote: > over what we currently have on our complex Kbuilding system. > > For the out-of-system building, one alternative would be to create some make > syntax for building just some drivers, lik

Weird TS Stream from DMX_SET_PES_FILTER

2009-03-19 Thread Bob Ingraham
Hello, I've been using the Linux DVB API to grab DBV-S MPEG2 video packets using a TechniSat S2 card. But something seems odd about DMX_SET_PES_FILTER. It returns a TS packets for my pid just fine, but by MPEG2 frames have no PES headers! The raw compressed MPEG2 frames just immediately follo

Re: The right way to interpret the content of SNR, signal strength and BER from HVR 4000 Lite

2009-03-19 Thread Devin Heitmueller
On Thu, Mar 19, 2009 at 6:17 PM, Trent Piepho wrote: > On Thu, 19 Mar 2009, Trent Piepho wrote: >> Since the driver often needs to use a logarithm from dvb-math to find SNR, >> you have code like this in the driver (from lgdt3305.c): >>         /* report SNR in dB * 10 */ >>         *snr = (state-

Re: linux-next: Tree for March 19 (media/video/au0828)

2009-03-19 Thread Mauro Carvalho Chehab
On Thu, 19 Mar 2009 09:54:48 -0700 Randy Dunlap wrote: > Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20090318: > > > when ADV_DEBUG=n: > > > drivers/media/video/au0828/au0828-video.c:1438: error: 'const struct > v4l2_subdev_core_ops' has no member named 'g_register' > drivers/

Re: The right way to interpret the content of SNR, signal strength and BER from HVR 4000 Lite

2009-03-19 Thread Trent Piepho
On Thu, 19 Mar 2009, Trent Piepho wrote: > Since the driver often needs to use a logarithm from dvb-math to find SNR, > you have code like this in the driver (from lgdt3305.c): > /* report SNR in dB * 10 */ > *snr = (state->snr / ((1 << 24) / 10)); > > > The SNR(dB) will be given by

Re: [PATCH] gspca: add missing .type field check in VIDIOC_G_PARM

2009-03-19 Thread Németh Márton
From: Márton Németh The gspca webcam driver does not check the .type field of struct v4l2_streamparm. This field is an input parameter for the driver according to V4L2 API specification, revision 0.24 [1]. Add the missing check. The missing check was recognised by v4l-test 0.10 [2] together wi

Re: [PATCH] add new frequency table for Strasbourg, France

2009-03-19 Thread BOUWSMA Barry
(sorry for not answering sooner, I got distracted by good weather and the need to replenish my reserve of beer, depleted during the long wintry weather) On Tue, 17 Mar 2009, Benjamin Zores wrote: > > Anyway, to the original poster, Benjamin, can you make a short > > recording of, oh, say, ten sec

[REVIEWv2] bttv v4l2_subdev conversion

2009-03-19 Thread Hans Verkuil
Hi all, Here is the revised bttv v4l2_subdev conversion, taking into account all the input I received. The tree is here: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-bttv Short changelog: - tvaudio: fix mute and s/g_tuner handling - tvaudio: add tda9875 support. - tvaudio: always call init_timer

Re: The right way to interpret the content of SNR, signal strength and BER from HVR 4000 Lite

2009-03-19 Thread Trent Piepho
On Thu, 19 Mar 2009, Mauro Carvalho Chehab wrote: > that we should discuss about it for some time, comparing each alternatives we > have, focused on SNR only. Later, use can use the same approach for the > other quality measurements on DVB. > > In order to start such discussions, I'm summarizing bo

[cron job] v4l-dvb daily build 2.6.22 and up: OK, 2.6.16-2.6.21: ERRORS

2009-03-19 Thread Hans Verkuil
This message is generated daily by a cron job that builds v4l-dvb for the kernels and architectures in the list below. Results of the daily build of v4l-dvb: date:Thu Mar 19 19:00:06 CET 2009 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 11108:bd057d88e454 gcc version: gcc (

Re: linux-next: Tree for March 19 (media/au8522)

2009-03-19 Thread Randy Dunlap
Stephen Rothwell wrote: > Hi all, > > Changes since 20090318: au8522_decoder.c:(.text+0x199898): undefined reference to `v4l2_ctrl_query_fill' au8522_decoder.c:(.text+0x1998b3): undefined reference to `v4l2_ctrl_query_fill' au8522_decoder.c:(.text+0x199944): undefined reference to `v4l2_device_

Re: [RFC 1/7] ARM: DaVinci: DM646x Video: Platform and board specific setup

2009-03-19 Thread Kevin Hilman
chaithr...@ti.com writes: > From: Chaithrika U S > > Add pin mux definitions, display device setup, clock setup functions > > Add pin mux related code for the display device, also add platform device > and resource structures. Also define a platform specific clock setup function > that can be acc

Re: linux-next: Tree for March 19 (media/video/au0828)

2009-03-19 Thread Randy Dunlap
Stephen Rothwell wrote: > Hi all, > > Changes since 20090318: when ADV_DEBUG=n: drivers/media/video/au0828/au0828-video.c:1438: error: 'const struct v4l2_subdev_core_ops' has no member named 'g_register' drivers/media/video/au0828/au0828-video.c:1453: error: 'const struct v4l2_subdev_core_op

Re: [patch review] radio/Kconfig: introduce 3 groups: isa, pci, and others drivers

2009-03-19 Thread Mauro Carvalho Chehab
On Thu, 19 Mar 2009 17:18:47 +0300 Alexey Klimov wrote: > On Thu, Mar 19, 2009 at 5:03 PM, Mauro Carvalho Chehab > wrote: > > On Thu, 19 Mar 2009 16:03:20 +0300 > > Alexey Klimov wrote: > > > >> Hello, all > >> What do you think about such patch that makes selecting of radio drivers > >> in men

Re: [linux-dvb] EC168 and MT2060

2009-03-19 Thread t.Hgch
Hi, I made a change on the tuner parameters and it worked perfectly. This is the change, on ec168.c, line 245: .cap_select = MXL_CAP_SEL_DISABLE, So if anyone has a MinTV usb 2.0 DUTV007 dvb-t card an it is not tuning properly, changing MXL_CAP_SEL_ENABLE to MXL_CAP_SEL_DISABLE co

Re: [patch review] radio/Kconfig: introduce 3 groups: isa, pci, and others drivers

2009-03-19 Thread Alexey Klimov
On Thu, Mar 19, 2009 at 5:03 PM, Mauro Carvalho Chehab wrote: > On Thu, 19 Mar 2009 16:03:20 +0300 > Alexey Klimov wrote: > >> Hello, all >> What do you think about such patch that makes selecting of radio drivers >> in menuconfig more comfortable ? > > Frankly, I don't see any gain: If the user

Re: [patch review] radio/Kconfig: introduce 3 groups: isa, pci, and others drivers

2009-03-19 Thread Alexey Klimov
On Thu, 2009-03-19 at 14:37 +0100, Hans Verkuil wrote: > > Hello, all > > What do you think about such patch that makes selecting of radio drivers > > in menuconfig more comfortable ? > > I think splitting off the ISA drivers is certainly useful. I'm not sure > whether you need to split the remain

Re: [patch review] radio/Kconfig: introduce 3 groups: isa, pci, and others drivers

2009-03-19 Thread Mauro Carvalho Chehab
On Thu, 19 Mar 2009 16:03:20 +0300 Alexey Klimov wrote: > Hello, all > What do you think about such patch that makes selecting of radio drivers > in menuconfig more comfortable ? Frankly, I don't see any gain: If the user doesn't have ISA (or doesn't want to have), it should have already unselec

Re: ISP Configuration for RAW Bayer sensor

2009-03-19 Thread Suresh Rao
Hi Tuukka, Thanks a lot for the patch, I will try this. I tried similar thing but on the sensor side and it worked, ie., I skip the very first line from readout and get the desired format for the ISP. Thanks, Suresh On Thu, Mar 19, 2009 at 1:12 PM, Tuukka.O Toivonen wrote: > On Wednesday 18 Ma

Re: [patch review] radio/Kconfig: introduce 3 groups: isa, pci, and others drivers

2009-03-19 Thread Hans Verkuil
> Hello, all > What do you think about such patch that makes selecting of radio drivers > in menuconfig more comfortable ? I think splitting off the ISA drivers is certainly useful. I'm not sure whether you need to split the remainder into PCI and Others. I think that's overkill. Regards,

Re: The right way to interpret the content of SNR, signal strength and BER from HVR 4000 Lite

2009-03-19 Thread Mauro Carvalho Chehab
On Fri, 13 Mar 2009 16:55:40 -0700 (PDT) Trent Piepho wrote: > On Fri, 13 Mar 2009, Devin Heitmueller wrote: > > On Fri, Mar 13, 2009 at 5:11 PM, Trent Piepho wrote: > > > I like 8.8 fixed point a lot better.  It gives more precision.  The range > > > is more in line with that the range of real

RE: [RFC 4/7] ARM: DaVinci: DM646x Video: Defintions for standards supported by display

2009-03-19 Thread Subrahmanya, Chaithrika
Hi Hans, As of now we will provide support for SD, soon we will add support for HD too. I am working on the review comments and will submit the revised patches soon. This time the patch set will be divided into two Set 1 - support for ADV7343 and THS7303 drivers. Set 2 - VPIF display driver relat

[patch review] radio/Kconfig: introduce 3 groups: isa, pci, and others drivers

2009-03-19 Thread Alexey Klimov
Hello, all What do you think about such patch that makes selecting of radio drivers in menuconfig more comfortable ? --- Patch divides/separates radio drivers in Kconfig in 3 groups - ISA, PCI and others. Signed-off-by: Alexey Klimov -- diff -r 626c136ec221 linux/drivers/media/radio/Kconfig --

[PATCH 2/2 (V3)] OMAP3EVM Multi-Media Daughter Card Support

2009-03-19 Thread hvaibhav
From: Vaibhav Hiremath This is Third version of OMAP3EVM Mulit-Media Daughter Card support. NOTE: Please note that, hence forth I will try to avoid submitting patches on top of V4L2-int framework. The next immediate activity would be migration to sub-device framework. Fixes:

[PATCH 1/2 (V3)] OMAP3 ISP-Camera: Added BT656 support ontop of Sakari's repository

2009-03-19 Thread hvaibhav
From: Vaibhav Hiremath Support for BT656 through TVP5146 decoder, works on top of Sakari's repository http://git.gitorious.org/omap3camera/mainline.git NOTE: Please note that, hence forth I will try to avoid submitting patches on top of V4L2-int framework. The next immediate activity

BT656 Support and MMDC support on top of OMAP3EVM

2009-03-19 Thread Hiremath, Vaibhav
Hi, I am getting some private requests for supporting BT656 and Multi-Media Daughter card on top of latest Kernel + Sakari's latest ISP-Camera patches/repository. So I am posting the patch supporting BT656 and MMDC support with all the review comments fixed (received from earlier posts). Pleas

[PULL] gspca

2009-03-19 Thread Jean-Francois Moine
Hi Mauro, I rebuild my repository. I don't see how it could have been broken... Also, I hope this message will arrive to you and the list: previously, Claws-mail said ok to my pull requests, but did nothing... Please pull from http://linuxtv.org/hg/~jfrancois/v4l-dvb/ for: changeset: 11098:0b

[PATCH] ov772x: wrong pointer for soc_camera_link is modified

2009-03-19 Thread Kuninori Morimoto
priv->client->dev.platrom_data mean ov772x_camera_info in ov772x driver. So, struct soc_camera_link doesn't exist there. This patch modify this bug. Signed-off-by: Kuninori Morimoto --- drivers/media/video/ov772x.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers

Re: Results of the 'dropping support for kernels <2.6.22' poll

2009-03-19 Thread Trent Piepho
On Sun, 15 Mar 2009, Hans Verkuil wrote: > On Sunday 15 March 2009 17:39:11 Trent Piepho wrote: > > Because there are patches that touch both the media tree and outside it? > > I don't buy it. Even for sub-systems that only use full git trees, you > > almost never see a patch that touches multiple

Re: [linux-dvb] FusionHDTV7 and v4l causes kernel panic

2009-03-19 Thread Timothy D. Lenz
No, changing baud rate to 9600 has no effect. It is simply not sending the log to the serial port. - Original Message - From: "Andy Walls" To: Cc: Sent: Wednesday, March 18, 2009 7:48 PM Subject: Re: [linux-dvb] FusionHDTV7 and v4l causes kernel panic > On Wed, 2009-03-18 at 19:16 -

Re: ISP Configuration for RAW Bayer sensor

2009-03-19 Thread Tuukka.O Toivonen
On Wednesday 18 March 2009 18:17:56 ext Suresh Rao wrote: > I am working with MT9V023 RAW sensor. The data format from the sensor is > > B G B G B G B G ... > G R G R G R G R ... > B G B G B G B G ... > G R G R G R G R [ Format 1] [...] > I want to use the ISP on the OMAP for doing

Re: [PATCH] gspca: add missing .type field check in VIDIOC_G_PARM

2009-03-19 Thread Trent Piepho
On Thu, 19 Mar 2009, [ISO-8859-1] N?meth M?rton wrote: > David Ellingsworth wrote: > > 2009/3/18 N?meth M?rton : > >> From: M?rton N?meth > >> > >> The gspca webcam driver does not check the .type field of struct > >> v4l2_streamparm. > >> This field is an input parameter for the driver according

Re: gspca/v4l - HP Webcam 1.3 - Device Request

2009-03-19 Thread Jean-Francois Moine
On Wed, 18 Mar 2009 06:45:13 -0600 svwindbird wrote: > Hope this is the correct place for requesting to add a device. > I'm also assuming that it's a gspca/VC032x driver problem, as it's > counter-part in windows in usbvm326. > > Name: HP Webcam 1.3 Megapixal (USB) > Model: rd345aa > USB_id: 15b