Re: [RESEND] Re: DViCO FusionHDTV DVB-T Dual Digital 4 (rev 1) tuning regression

2010-02-19 Thread Robert Lowery
Mauro, I had to make 2 changes to get the patch to work for me see below HTH -Rob Robert Lowery wrote: Mauro's new code does the 50 offset unconditionally for DTV7 by setting offset = 225, not just when the ZARLINK456 or DIBCOM52 tables were explicitly selected. This change is

Re: [PATCH] mfd: Add timb-radio to the timberdale MFD

2010-02-19 Thread Mauro Carvalho Chehab
Richard Röjfors wrote: This patch addes timb-radio to all configurations of the timberdale MFD. Connected to the FPGA is a TEF6862 tuner and a SAA7706H DSP, the I2C board info of these devices is passed via the timb-radio platform data. Hi Richard, I'm trying to apply it to my git tree

Re: [RESEND] Re: DViCO FusionHDTV DVB-T Dual Digital 4 (rev 1) tuning regression

2010-02-19 Thread Mauro Carvalho Chehab
Robert Lowery wrote: Mauro, I had to make 2 changes to get the patch to work for me see below HTH -Rob +if (priv-firm_version = 0x0302) { +if (priv-cur_fw.type DTV7) +offset -= 30; +else if

Re: [RESEND] Re: DViCO FusionHDTV DVB-T Dual Digital 4 (rev 1) tuning regression

2010-02-19 Thread Mauro Carvalho Chehab
Robert Lowery wrote: Mauro, I had to make 2 changes to get the patch to work for me Ok. Please test this (hopefully) final revision. -- commit bd8bb8798bb96136b6898186d505c9e154334b5d Author: Mauro Carvalho Chehab mche...@redhat.com Date: Fri Feb 19 02:45:00 2010 -0200 V4L/DVB:

Re: [RESEND] Re: DViCO FusionHDTV DVB-T Dual Digital 4 (rev 1) tuning regression

2010-02-19 Thread Robert Lowery
Robert Lowery wrote: Mauro, I had to make 2 changes to get the patch to work for me Ok. Please test this (hopefully) final revision. This version works for me -- commit bd8bb8798bb96136b6898186d505c9e154334b5d Author: Mauro Carvalho Chehab mche...@redhat.com Date: Fri Feb 19

[libdvben50221] new cams, new errors

2010-02-19 Thread pierre.gronlier
Hi I have a irdeto card and three cam modules for it. I'm using a netup card with the last revision of v4l-dvb driver and the last revision of dvb-apps. Using dvb-apps tools, I'm running the same descrambling test with the three cams but only one cam worked properly. With dvblast, the three

soc-camera: pixclk polarity question

2010-02-19 Thread Philipp Wiesner
Hi, I'm working with µCs (i.MX27) and cameras (Aptina) at the moment. Now I encountered a problem introduced by serializing and deserializing (lvds) camera data on its way to the µC. The serializer expects a specific pixclk polarity which can be configured in hardware. In most cases this is

Re: [PATCH] mfd: Add timb-radio to the timberdale MFD

2010-02-19 Thread Richard Röjfors
On 02/19/2010 04:52 AM, Mauro Carvalho Chehab wrote: Richard Röjfors wrote: This patch addes timb-radio to all configurations of the timberdale MFD. Connected to the FPGA is a TEF6862 tuner and a SAA7706H DSP, the I2C board info of these devices is passed via the timb-radio platform data. Hi

Re: [PATCH] v4l: soc_camera: fix bound checking of mbus_fmt[] index

2010-02-19 Thread Guennadi Liakhovetski
On Thu, 18 Feb 2010, Baruch Siach wrote: Thanks for the patch, but I decided to improve it a bit. In fact, the only case my original version was missing was code == V4L2_MBUS_FMT_FIXED, the correct test would be (unsigned int)(code - V4L2_MBUS_FMT_FIXED -1) = ARRAY_SIZE(mbus_fmt) but to make

adv7180 as SoC camera device

2010-02-19 Thread Rodolfo Giometti
Hello, on my pxa27x based board I have a adv7180 connected with the CIF interface. Due this fact I'm going to use the pxa_camera.c driver which in turn registers a soc_camera_host. In the latest kernel I found your driver for the ADV7180, but it registers the chip as a v4l sub device. I suppose

Re: [PATCH v4 7/7] V4L: Events: Support all events

2010-02-19 Thread Sakari Ailus
Hans Verkuil wrote: Then don't call it v4l2_event_subscribe_all if it only subscribes to a set of event :-) For each event this function would then call: fh-vdev-ioctl_ops-vidioc_subscribe_event(fh, sub); The nice thing about that is that in the driver you have a minimum of fuss. I'm

[PATCH v5 0/6] V4L2 file handles and event interface

2010-02-19 Thread Sakari Ailus
Hi, Here's the seventh version of the V4L2 file handle and event interface patchset. The patchset has been tested with the OMAP 3 ISP driver. Patches for OMAP 3 ISP are not part of this patchset but are available in Gitorious (branch is called event):

[PATCH v5 2/6] V4L: File handles: Add documentation

2010-02-19 Thread Sakari Ailus
Add documentation on using V4L2 file handles (v4l2_fh) in V4L2 drivers. Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- Documentation/video4linux/v4l2-framework.txt | 36 ++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --git

[PATCH v5 1/6] V4L: File handles

2010-02-19 Thread Sakari Ailus
This patch adds a list of v4l2_fh structures to every video_device. It allows using file handle related information in V4L2. The event interface is one example of such use. Video device drivers should use the v4l2_fh pointer as their file-private_data. Signed-off-by: Sakari Ailus

[PATCH v5 3/6] V4L: Events: Add new ioctls for events

2010-02-19 Thread Sakari Ailus
This patch adds a set of new ioctls to the V4L2 API. The ioctls conform to V4L2 Events RFC version 2.3: URL:http://www.spinics.net/lists/linux-media/msg12033.html Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- drivers/media/video/v4l2-compat-ioctl32.c |3 +++

[PATCH v5 4/6] V4L: Events: Add backend

2010-02-19 Thread Sakari Ailus
Add event handling backend to V4L2. The backend handles event subscription and delivery to file handles. Event subscriptions are based on file handle. Events may be delivered to all subscribed file handles on a device independent of where they originate from. Signed-off-by: Sakari Ailus

[PATCH v5 6/6] V4L: Events: Add documentation

2010-02-19 Thread Sakari Ailus
Add documentation on how to use V4L2 events, both for V4L2 drivers and for V4L2 applications. Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- Documentation/DocBook/media-entities.tmpl |9 ++ Documentation/DocBook/v4l/dev-event.xml| 34 ++

[PATCH v5 5/6] V4L: Events: Support event handling in do_ioctl

2010-02-19 Thread Sakari Ailus
Add support for event handling to do_ioctl. Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com --- drivers/media/video/v4l2-ioctl.c | 58 ++ include/media/v4l2-ioctl.h |7 2 files changed, 65 insertions(+), 0 deletions(-)

Re: [PATCH] video_device: don't free_irq() an element past array vpif_obj.dev[] and fix test

2010-02-19 Thread Roel Kluin
Ok. You are right! The ch_params[] is a table for keeping the information about different standards supported. For a given stdid in std_info, the function matches the stdid with that in the table and get the corresponding entry. + if (k == VPIF_DISPLAY_MAX_DEVICES) + k

Re: adv7180 as SoC camera device

2010-02-19 Thread Guennadi Liakhovetski
On Fri, 19 Feb 2010, Rodolfo Giometti wrote: Hello, on my pxa27x based board I have a adv7180 connected with the CIF interface. Due this fact I'm going to use the pxa_camera.c driver which in turn registers a soc_camera_host. In the latest kernel I found your driver for the ADV7180, but

Re: [PATCH] video_device: don't free_irq() an element past array vpif_obj.dev[] and fix test

2010-02-19 Thread Roel Kluin
The first loop ends when platform_get_resource() returns NULL. Can it occur that no platform_get_resource() succeeded? I think we should error return if that happens. Could k grow larger than VPIF_DISPLAY_MAX_DEVICES there? Should we err out in that case? In the loop `for (i = 0; i

Re: [PATCH] DTV2000 H Plus issues

2010-02-19 Thread istva...@mailbox.hu
Well, it is not really a problem, if it is not merged, so this updated version is only for those who want to test it: http://www.sharemation.com/IstvanV/v4l/xc4000-winfast-14021dfc00f3.patch - in xc4000.c, power management may default to on or off depending on the card type - autodetects

Re: [git:v4l-dvb/master] V4L/DVB: tuner-xc2028: fix tuning logic to solve a regression in Australia

2010-02-19 Thread Stefan Ringel
Am 19.02.2010 17:07, schrieb Patch from Mauro Carvalho Chehab: } div = (freq - offset + DIV / 2) / DIV; @@ -1114,17 +1152,22 @@ static int xc2028_set_params(struct dvb_frontend *fe, /* All S-code tables need a 200kHz shift */ if (priv-ctrl.demod) { -

Re: [git:v4l-dvb/master] V4L/DVB: tuner-xc2028: fix tuning logic to solve a regression in Australia

2010-02-19 Thread Mauro Carvalho Chehab
Stefan Ringel wrote: Am 19.02.2010 17:07, schrieb Patch from Mauro Carvalho Chehab: } div = (freq - offset + DIV / 2) / DIV; @@ -1114,17 +1152,22 @@ static int xc2028_set_params(struct dvb_frontend *fe, /* All S-code tables need a 200kHz shift */ if

Re: soc-camera: pixclk polarity question

2010-02-19 Thread Guennadi Liakhovetski
On Fri, 19 Feb 2010, Philipp Wiesner wrote: Hi, I'm working with µCs (i.MX27) and cameras (Aptina) at the moment. Now I encountered a problem introduced by serializing and deserializing (lvds) camera data on its way to the µC. The serializer expects a specific pixclk polarity which

Re: [git:v4l-dvb/master] V4L/DVB: tuner-xc2028: fix tuning logic to solve a regression in Australia

2010-02-19 Thread Stefan Ringel
Am 19.02.2010 21:51, schrieb Mauro Carvalho Chehab: Stefan Ringel wrote: Am 19.02.2010 17:07, schrieb Patch from Mauro Carvalho Chehab: } div = (freq - offset + DIV / 2) / DIV; @@ -1114,17 +1152,22 @@ static int xc2028_set_params(struct dvb_frontend *fe, /* All

RE: [PATCH v5 1/6] V4L: File handles

2010-02-19 Thread Aguirre, Sergio
Heippa! -Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Sakari Ailus Sent: Friday, February 19, 2010 1:22 PM To: linux-media@vger.kernel.org Cc: hverk...@xs4all.nl; laurent.pinch...@ideasonboard.com; iiva...@mm-

Re: [PATCH v5 1/6] V4L: File handles

2010-02-19 Thread Laurent Pinchart
Hi Sergio, On Friday 19 February 2010 23:29:54 Aguirre, Sergio wrote: Heippa! -Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Sakari Ailus Sent: Friday, February 19, 2010 1:22 PM To:

RE: [PATCH v5 4/6] V4L: Events: Add backend

2010-02-19 Thread Aguirre, Sergio
Heippa! -Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Sakari Ailus Sent: Friday, February 19, 2010 1:22 PM To: linux-media@vger.kernel.org Cc: hverk...@xs4all.nl; laurent.pinch...@ideasonboard.com; iiva...@mm-

Re: [PATCH] mfd: Add timb-radio to the timberdale MFD

2010-02-19 Thread Richard Röjfors
On 02/19/2010 04:52 AM, Mauro Carvalho Chehab wrote: Richard Röjfors wrote: This patch addes timb-radio to all configurations of the timberdale MFD. Connected to the FPGA is a TEF6862 tuner and a SAA7706H DSP, the I2C board info of these devices is passed via the timb-radio platform data. Hi

RE: [PATCH v5 1/6] V4L: File handles

2010-02-19 Thread Aguirre, Sergio
Laurent, -Original Message- From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com] Sent: Friday, February 19, 2010 4:35 PM To: Aguirre, Sergio Cc: Sakari Ailus; linux-media@vger.kernel.org; hverk...@xs4all.nl; iiva...@mm-sol.com; gururaj.nagen...@intel.com;

Re: [PATCH] mfd: Add timb-radio to the timberdale MFD

2010-02-19 Thread Randy Dunlap
On 02/19/10 14:41, Richard Röjfors wrote: On 02/19/2010 04:52 AM, Mauro Carvalho Chehab wrote: Richard Röjfors wrote: This patch addes timb-radio to all configurations of the timberdale MFD. Connected to the FPGA is a TEF6862 tuner and a SAA7706H DSP, the I2C board info of these devices is

Re: [PATCH] video_device: don't free_irq() an element past array vpif_obj.dev[] and fix test

2010-02-19 Thread Roel Kluin
The first loop ends when platform_get_resource() returns NULL. Can it occur that no platform_get_resource() succeeded? I think we should error return if that happens. Could k grow larger than VPIF_DISPLAY_MAX_DEVICES there? Should we err out in that case? In the loop `for (i = 0; i

Re: [PATCH] mfd: Add timb-radio to the timberdale MFD

2010-02-19 Thread Richard Röjfors
On 02/19/2010 03:56 PM, Randy Dunlap wrote: On 02/19/10 14:41, Richard Röjfors wrote: On 02/19/2010 04:52 AM, Mauro Carvalho Chehab wrote: Richard Röjfors wrote: This patch addes timb-radio to all configurations of the timberdale MFD. Connected to the FPGA is a TEF6862 tuner and a SAA7706H

Re: [PATCH] saa7134: Fix IR support of some ASUS TV-FM 7135 variants

2010-02-19 Thread hermann pitton
Am Montag, den 15.02.2010, 06:31 +0100 schrieb hermann pitton: Am Donnerstag, den 11.02.2010, 01:58 +0100 schrieb hermann pitton: Hi, Am Mittwoch, den 10.02.2010, 20:36 +0100 schrieb Jean Delvare: On Wed, 10 Feb 2010 16:40:03 -0200, Mauro Carvalho Chehab wrote: Jean Delvare wrote:

Re: [linux-dvb] Looking for Linux drivers for AVerMedia tuner or Leadtek tuner

2010-02-19 Thread Markus Rechberger
On Sat, Feb 20, 2010 at 1:44 AM, Michael Angeli mang...@iconfitness.com wrote: Hello, Looking for Linux drivers for Avermedia Tuners per the following URLs http://www.avermedia.com/AVerTV/Product/ProductDetail.aspx?Id=378