Re: [PATCH v3] V4L: add media bus configuration subdev operations

2011-06-27 Thread Guennadi Liakhovetski
On Fri, 24 Jun 2011, Hans Verkuil wrote: > On Thursday, June 23, 2011 23:53:11 Guennadi Liakhovetski wrote: > > Add media bus configuration types and two subdev operations to get > > supported mediabus configurations and to set a specific configuration. > > Subdevs can support several configuratio

Re: [RFCv3 PATCH 11/18] v4l2-ctrls: add v4l2_fh pointer to the set control functions.

2011-06-27 Thread Hans Verkuil
On Monday, June 27, 2011 23:20:07 Mauro Carvalho Chehab wrote: > Em 07-06-2011 12:05, Hans Verkuil escreveu: > > From: Hans Verkuil > > > > When an application changes a control you want to generate an event. > > However, you want to avoid sending such an event back to the application > > (file h

Re: [RFCv3 PATCH 08/18] v4l2-ctrls: add v4l2_ctrl_auto_cluster to simplify autogain/gain scenarios

2011-06-27 Thread Hans Verkuil
On Monday, June 27, 2011 23:10:49 Mauro Carvalho Chehab wrote: > Em 07-06-2011 12:05, Hans Verkuil escreveu: > > From: Hans Verkuil > > > > It is a bit tricky to handle autogain/gain type scenerios correctly. Such > > controls need to be clustered and the V4L2_CTRL_FLAG_UPDATE should be set on >

Re: [RFCv3 PATCH 08/18] v4l2-ctrls: add v4l2_ctrl_auto_cluster to simplify autogain/gain scenarios

2011-06-27 Thread Hans Verkuil
On Monday, June 27, 2011 22:57:34 Mauro Carvalho Chehab wrote: > Em 07-06-2011 12:05, Hans Verkuil escreveu: > > From: Hans Verkuil > > > > It is a bit tricky to handle autogain/gain type scenerios correctly. Such > > controls need to be clustered and the V4L2_CTRL_FLAG_UPDATE should be set on >

Re: [PATCH] [media] v4l2 core: return -ENOIOCTLCMD if an ioctl doesn't exist

2011-06-27 Thread Hans Verkuil
On Monday, June 27, 2011 22:48:48 Linus Torvalds wrote: > On Mon, Jun 27, 2011 at 10:07 AM, Hans Verkuil wrote: > > > > No, what we do is perfectly consistent: i.e. we always return EINVAL when an > > ioctl is not supported. That's what 'consistent' means. Whether that is the > > *right* error cod

Re: Updates to French scan files

2011-06-27 Thread Christoph Pfister
2011/6/27 Johann Ollivier Lapeyre : > Dear LinuxTV friends, > >> In order to simplify things, I would propose only ONE scan file with >> offset -166, 0, 166, 333 and 500. OK, it will take more time for users >> to run a scan (+66 %) compared to having a file with only offsets -166, >> 0, 166 but at

Re: [PATCH 00/14] Remove linux/version.h from most drivers/media

2011-06-27 Thread Mauro Carvalho Chehab
Em 27-06-2011 07:45, Jean-Francois Moine escreveu: > On Sun, 26 Jun 2011 15:55:08 -0300 > Mauro Carvalho Chehab wrote: > >> I'll move it to the right changeset at the version 2 of this series. > > Hi Mauro, > > I have some changes to the gspca.c patch > - the version must stay 2.12.0 > - the 'i

Re: HVR-1250/CX23885 IR Rx

2011-06-27 Thread Jarod Wilson
On Apr 10, 2011, at 7:08 PM, Andy Walls wrote: > On Sat, 2011-04-09 at 21:39 -0400, Jarod Wilson wrote: > >>> Jarod, >>> >>> The HVR-1850 uses a raw IR receiver in the CX23888 and older >> HVR-1250s use the raw IR receiver in the CX23885. They both work for >> Rx (I need to tweak the Cx23885 rx

FM RDS receiver

2011-06-27 Thread Helmut Auer
Hello List, Can you recommend any FM receiver card or usb stick currently available in Germany with RDS support ? -- Helmut Auer, hel...@helmutauer.de -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo i

Re: [RFCv3 PATCH 12/18] vb2_poll: don't start DMA, leave that to the first read().

2011-06-27 Thread Mauro Carvalho Chehab
Em 07-06-2011 12:05, Hans Verkuil escreveu: > From: Hans Verkuil > > The vb2_poll function would start read-DMA if called without any streaming > in progress. This unfortunately does not work if the application just wants > to poll for exceptions. This information of what the application is polli

Re: [RFCv3 PATCH 11/18] v4l2-ctrls: add v4l2_fh pointer to the set control functions.

2011-06-27 Thread Mauro Carvalho Chehab
Em 07-06-2011 12:05, Hans Verkuil escreveu: > From: Hans Verkuil > > When an application changes a control you want to generate an event. > However, you want to avoid sending such an event back to the application > (file handle) that caused the change. Why? I can see two usecases for an event-

Re: [RFCv3 PATCH 08/18] v4l2-ctrls: add v4l2_ctrl_auto_cluster to simplify autogain/gain scenarios

2011-06-27 Thread Mauro Carvalho Chehab
Em 07-06-2011 12:05, Hans Verkuil escreveu: > From: Hans Verkuil > > It is a bit tricky to handle autogain/gain type scenerios correctly. Such > controls need to be clustered and the V4L2_CTRL_FLAG_UPDATE should be set on > the autofoo controls. In addition, the manual controls should be marked >

Re: [RFCv3 PATCH 08/18] v4l2-ctrls: add v4l2_ctrl_auto_cluster to simplify autogain/gain scenarios

2011-06-27 Thread Mauro Carvalho Chehab
Em 07-06-2011 12:05, Hans Verkuil escreveu: > From: Hans Verkuil > > It is a bit tricky to handle autogain/gain type scenerios correctly. Such > controls need to be clustered and the V4L2_CTRL_FLAG_UPDATE should be set on > the autofoo controls. In addition, the manual controls should be marked >

Re: [PATCH] [media] v4l2 core: return -ENOIOCTLCMD if an ioctl doesn't exist

2011-06-27 Thread Linus Torvalds
On Mon, Jun 27, 2011 at 10:07 AM, Hans Verkuil wrote: > > No, what we do is perfectly consistent: i.e. we always return EINVAL when an > ioctl is not supported. That's what 'consistent' means. Whether that is the > *right* error code is something else. You don't even understand the problem. The

Re: [PATCH] [media] v4l2 core: return -ENOIOCTLCMD if an ioctl doesn't exist

2011-06-27 Thread Mauro Carvalho Chehab
Em 27-06-2011 14:07, Hans Verkuil escreveu: > On Monday, June 27, 2011 17:33:58 Mauro Carvalho Chehab wrote: >> Em 27-06-2011 11:56, Hans Verkuil escreveu: >>> On Monday, June 27, 2011 15:54:11 Mauro Carvalho Chehab wrote: Em 27-06-2011 09:17, Hans Verkuil escreveu: > While we don't have a

Re: Ubuntu 10.04 and trying to install drivers fot TV card Asus My Cinema U3000 hybrid

2011-06-27 Thread Jan Hoogenraad
Could you re-try with the current media_build ? Jan Hoogenraad wrote: Ivo: type sudo apt-get install libproc-processtable-perl The message is confusing to say the least. I promised Mauro to update the code to yield better messages, but did not get around to do that. see thread "change in build

[cron job] v4l-dvb daily build: ERRORS

2011-06-27 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:Mon Jun 27 19:00:39 CEST 2011 git hash:7023c7dbc3944f42aa1d6910a6098c5f9e23d3f1 gcc version: i686-linux-gcc (GCC) 4.5

Re: EM28xx based device support

2011-06-27 Thread Devin Heitmueller
On Mon, Jun 27, 2011 at 11:40 AM, Andrea De Marsi wrote: > I now need to upgrade the linux kernel to a newer version (2.6.32 or newer); > I followed the same path that was working with 2.6.24 (which is basically > have the device recognized as an empia device) and in fact some images are > visible

Re: Ubuntu 10.04 and trying to install drivers fot TV card Asus My Cinema U3000 hybrid

2011-06-27 Thread Jan Hoogenraad
Ivo: type sudo apt-get install libproc-processtable-perl The message is confusing to say the least. I promised Mauro to update the code to yield better messages, but did not get around to do that. see thread "change in build .sh due to Pulseaudio device removal /" Yours, Ivo Válek wrote: H

Re: [PATCH] [media] v4l2 core: return -ENOIOCTLCMD if an ioctl doesn't exist

2011-06-27 Thread Hans Verkuil
On Monday, June 27, 2011 17:33:58 Mauro Carvalho Chehab wrote: > Em 27-06-2011 11:56, Hans Verkuil escreveu: > > On Monday, June 27, 2011 15:54:11 Mauro Carvalho Chehab wrote: > >> Em 27-06-2011 09:17, Hans Verkuil escreveu: > >>> While we don't have an enum capability, in many cases you can deduce

Re: [PATCH] [media] v4l2 core: return -ENOIOCTLCMD if an ioctl doesn't exist

2011-06-27 Thread Mauro Carvalho Chehab
Em 27-06-2011 13:14, Arnd Bergmann escreveu: > On Monday 27 June 2011, Mauro Carvalho Chehab wrote: >>> The point is that the spec can easily be improved to make such 'NOP' >>> operations >>> explicit, or to require that if a capability is present, then the >>> corresponding >>> ioctl(s) must als

Re: [RFC] vb2: Push buffer allocation and freeing into drivers

2011-06-27 Thread Jonathan Corbet
On Mon, 27 Jun 2011 18:09:41 +0200 Marek Szyprowski wrote: > Thanks for your work! I really appreciate your effort for making the kernel > code better. :) However I would like to get some more comments before making > the final decision. That's fine - it *was* an RFC, after all...:) > The main

Re: [PATCH] [media] v4l2 core: return -ENOIOCTLCMD if an ioctl doesn't exist

2011-06-27 Thread Arnd Bergmann
On Monday 27 June 2011, Mauro Carvalho Chehab wrote: > > The point is that the spec can easily be improved to make such 'NOP' > > operations > > explicit, or to require that if a capability is present, then the > > corresponding > > ioctl(s) must also be present. Things like that are easy to veri

RE: [RFC] vb2: Push buffer allocation and freeing into drivers

2011-06-27 Thread Marek Szyprowski
Hello, On Friday, June 24, 2011 10:19 PM Jonathan Corbet wrote: > Here's a little something I decided to hack on rather than addressing all > the real work I have to do. > > Videobuf2 currently manages buffer allocation for drivers, even though > drivers typically encapsulate the vb2_buffer inst

EM28xx based device support

2011-06-27 Thread Andrea De Marsi
Dear all, I recently tried to have a wireless microscope working with the em28xx driver; the device is the following: http://www.cosview.com/cp/html/?3.html it is listed in the usb bus with vendor id 14c3 and product id 2301. Looking the .inf of the MS windows driver I noticed that it seems t

Re: [PATCH/RFC v2] V4L: add two new ioctl()s for multi-size videobuffer management

2011-06-27 Thread Sakari Ailus
Hi, Guennadi! Many thanks for the patch! On Mon, Jun 27, 2011 at 05:17:03PM +0200, Guennadi Liakhovetski wrote: > A possibility to preallocate and initialise buffers of different sizes > in V4L2 is required for an efficient implementation of asnapshot mode. > This patch adds two new ioctl()s: VID

Re: [PATCH] [media] v4l2 core: return -ENOIOCTLCMD if an ioctl doesn't exist

2011-06-27 Thread Mauro Carvalho Chehab
Em 27-06-2011 11:56, Hans Verkuil escreveu: > On Monday, June 27, 2011 15:54:11 Mauro Carvalho Chehab wrote: >> Em 27-06-2011 09:17, Hans Verkuil escreveu: >>> While we don't have an enum capability, in many cases you can deduce >>> whether a particular ioctl should be supported or not. Usually bas

Re: [PATCH] [media] v4l2 core: return -ENOIOCTLCMD if an ioctl doesn't exist

2011-06-27 Thread Mauro Carvalho Chehab
Em 27-06-2011 12:12, Andy Walls escreveu: > On Mon, 2011-06-27 at 10:54 -0300, Mauro Carvalho Chehab wrote: > >> The right thing to do is to create a separate chapter for error codes, based >> on errno(3) >> man page [snip] > > IMO, the IEEE Std 1003.1 is a better source for errno definitions th

RE: The return value of __vb2_queue_alloc()

2011-06-27 Thread Marek Szyprowski
Hello, On Friday, June 24, 2011 10:27 PM Jonathan Corbet wrote: > On Fri, 24 Jun 2011 14:19:27 -0600 > Jonathan Corbet wrote: > > > Here's a little something I decided to hack on rather than addressing all > > the real work I have to do. > > ...and while I was looking at this code, I noticed o

[PATCH/RFC v2] V4L: add two new ioctl()s for multi-size videobuffer management

2011-06-27 Thread Guennadi Liakhovetski
A possibility to preallocate and initialise buffers of different sizes in V4L2 is required for an efficient implementation of asnapshot mode. This patch adds two new ioctl()s: VIDIOC_CREATE_BUFS and VIDIOC_PREPARE_BUF and defines respective data structures. Signed-off-by: Guennadi Liakhovetski --

Re: [PATCH] [media] v4l2 core: return -ENOIOCTLCMD if an ioctl doesn't exist

2011-06-27 Thread Andy Walls
On Mon, 2011-06-27 at 10:54 -0300, Mauro Carvalho Chehab wrote: > The right thing to do is to create a separate chapter for error codes, based > on errno(3) > man page [snip] IMO, the IEEE Std 1003.1 is a better source for errno definitions than the errno(3) manpage: http://pubs.opengroup.org/o

Re: [ANNOUNCE] Media subsystem workshop 2011 - Prague - Oct 24-26

2011-06-27 Thread Mauro Carvalho Chehab
Em 27-06-2011 09:43, Laurent Pinchart escreveu: >> The Media subsystem workshop is on early planning stages, but the idea >> is that we'll have an entire day to do the media discussions. We'll >> also planning to have workshop presentations inside the Kernel Summit >> 2011 with the workshop and Ke

Re: [ANNOUNCE] Media subsystem workshop 2011 - Prague - Oct 24-26

2011-06-27 Thread Hans Verkuil
On Monday, June 27, 2011 15:57:21 Mauro Carvalho Chehab wrote: > Em 27-06-2011 02:54, Hans Verkuil escreveu: > > On Wednesday, June 22, 2011 20:33:34 Mauro Carvalho Chehab wrote: > >> Media subsystem workshop 2011 - Prague - Oct 24-26 > >> > >> Since 2007, we're doing annual mini-summits for the me

Re: [PATCH] [media] v4l2 core: return -ENOIOCTLCMD if an ioctl doesn't exist

2011-06-27 Thread Hans Verkuil
On Monday, June 27, 2011 15:54:11 Mauro Carvalho Chehab wrote: > Em 27-06-2011 09:17, Hans Verkuil escreveu: > >> Hi Hans, > >> > >> On Mon, Jun 27, 2011 at 07:38:27AM +0200, Hans Verkuil wrote: > >>> On Sunday, June 26, 2011 20:51:37 Mauro Carvalho Chehab wrote: > Em 26-06-2011 15:20, Arnd Be

Re: [PATCH] [media] v4l2 core: return -ENOIOCTLCMD if an ioctl doesn't exist

2011-06-27 Thread Mauro Carvalho Chehab
Em 27-06-2011 09:17, Hans Verkuil escreveu: >> Hi Hans, >> >> On Mon, Jun 27, 2011 at 07:38:27AM +0200, Hans Verkuil wrote: >>> On Sunday, June 26, 2011 20:51:37 Mauro Carvalho Chehab wrote: Em 26-06-2011 15:20, Arnd Bergmann escreveu: > On Sunday 26 June 2011 19:30:46 Mauro Carvalho Cheha

Re: [PATCH v2] V4L: add media bus configuration subdev operations

2011-06-27 Thread Guennadi Liakhovetski
On Mon, 27 Jun 2011, Sakari Ailus wrote: > Hi Guennadi, > > On Mon, Jun 27, 2011 at 10:54:11AM +0200, Guennadi Liakhovetski wrote: > > Hi Sakari > > > > On Mon, 27 Jun 2011, Sakari Ailus wrote: > > > > > On Fri, Jun 24, 2011 at 12:35:03AM +0200, Guennadi Liakhovetski wrote: > > > > Hi Sakari >

Re: [ANNOUNCE] Media subsystem workshop 2011 - Prague - Oct 24-26

2011-06-27 Thread Laurent Pinchart
Hi Mauro, On Wednesday 22 June 2011 20:33:34 Mauro Carvalho Chehab wrote: > Media subsystem workshop 2011 - Prague - Oct 24-26 > > Since 2007, we're doing annual mini-summits for the media subsystem, > in order to plan the new features that will be introduced there. > > Last year, during the Ker

Re: [PATCH v2] V4L: add media bus configuration subdev operations

2011-06-27 Thread Sakari Ailus
Hi Guennadi, On Mon, Jun 27, 2011 at 10:54:11AM +0200, Guennadi Liakhovetski wrote: > Hi Sakari > > On Mon, 27 Jun 2011, Sakari Ailus wrote: > > > On Fri, Jun 24, 2011 at 12:35:03AM +0200, Guennadi Liakhovetski wrote: > > > Hi Sakari > > > > Hi Guennadi, > > > > > On Fri, 24 Jun 2011, Sakari A

Re: [PATCH] [media] v4l2 core: return -ENOIOCTLCMD if an ioctl doesn't exist

2011-06-27 Thread Hans Verkuil
> Hi Hans, > > On Mon, Jun 27, 2011 at 07:38:27AM +0200, Hans Verkuil wrote: >> On Sunday, June 26, 2011 20:51:37 Mauro Carvalho Chehab wrote: >> > Em 26-06-2011 15:20, Arnd Bergmann escreveu: >> > > On Sunday 26 June 2011 19:30:46 Mauro Carvalho Chehab wrote: >> > >>> There was a lot of debate whe

Re: [PATCH] [media] v4l2 core: return -ENOIOCTLCMD if an ioctl doesn't exist

2011-06-27 Thread Sakari Ailus
Hi Hans, On Mon, Jun 27, 2011 at 07:38:27AM +0200, Hans Verkuil wrote: > On Sunday, June 26, 2011 20:51:37 Mauro Carvalho Chehab wrote: > > Em 26-06-2011 15:20, Arnd Bergmann escreveu: > > > On Sunday 26 June 2011 19:30:46 Mauro Carvalho Chehab wrote: > > >>> There was a lot of debate whether unde

Re: [PATCH] media: initial driver for ov5642 CMOS sensor

2011-06-27 Thread Laurent Pinchart
Hi Bastian, Thanks for the patch. On Friday 24 June 2011 12:57:36 Bastian Hecht wrote: > This is an initial driver release for the Omnivision 5642 CMOS sensor. > > Signed-off-by: Bastian Hecht > --- > > diff --git a/drivers/media/video/ov5642.c b/drivers/media/video/ov5642.c > new file mode 10

Re: [PATCH 00/14] Remove linux/version.h from most drivers/media

2011-06-27 Thread Jean-Francois Moine
On Sun, 26 Jun 2011 15:55:08 -0300 Mauro Carvalho Chehab wrote: > I'll move it to the right changeset at the version 2 of this series. Hi Mauro, I have some changes to the gspca.c patch - the version must stay 2.12.0 - the 'info' may be simplified: diff --git a/drivers/media/video/gspca/gspca.

Re: Oops while modprobing uvcvideo module

2011-06-27 Thread Laurent Pinchart
Hi Raghavendra, On Saturday 25 June 2011 21:19:29 Raghavendra D Prabhu wrote: > Hi, > > While modprobing uvcvideo I am getting the following oops. This is > on a kernel built with latest linus master > (536142f950f7ea4f3d146a138ad6938f28a34f33). I have also attached the > full

Re: [PATCH 2/8] marvell-cam: Separate out the Marvell camera core

2011-06-27 Thread Kassey Lee
2011/6/23 Jonathan Corbet : > [Sorry, I'm just now recovering from one of those > total-loss-of-inbox-control episodes...] > > On Fri, 17 Jun 2011 11:11:33 +0800 > Kassey Lee wrote: > >>      the problem is: >>      when we stop CCIC, and then switch to another format. >>      at this stage, actua

Re: [PATCH v2] V4L: add media bus configuration subdev operations

2011-06-27 Thread Guennadi Liakhovetski
Hi Sakari On Mon, 27 Jun 2011, Sakari Ailus wrote: > On Fri, Jun 24, 2011 at 12:35:03AM +0200, Guennadi Liakhovetski wrote: > > Hi Sakari > > Hi Guennadi, > > > On Fri, 24 Jun 2011, Sakari Ailus wrote: > > > > > Hi Guennadi, > > > > > > Thanks for the patch. I have a few comments below. > > >

Re: [PATCH v2] V4L: add media bus configuration subdev operations

2011-06-27 Thread Sakari Ailus
On Fri, Jun 24, 2011 at 12:35:03AM +0200, Guennadi Liakhovetski wrote: > Hi Sakari Hi Guennadi, > On Fri, 24 Jun 2011, Sakari Ailus wrote: > > > Hi Guennadi, > > > > Thanks for the patch. I have a few comments below. > > > > On Wed, Jun 22, 2011 at 11:26:29PM +0200, Guennadi Liakhovetski wrote

Hauppauge HVR-1700 Support

2011-06-27 Thread David Sautter
Hello, I have an hvr-1700 in a media-center-pc for my girlfriend and it would be very great to have analog support, because she has bad dvb-t signal.. Is there anyone who could help me? Thank you, David -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a m

RE: [RESEND PATCH v19 0/6] davinci vpbe: dm6446 v4l2 driver

2011-06-27 Thread Hadli, Manjunath
Thanks Mauro. I will make sure I send you a pull request from a git tree. -Manju On Wed, Jun 22, 2011 at 00:54:01, Mauro Carvalho Chehab wrote: > Em 17-06-2011 04:03, Hadli, Manjunath escreveu: > > Mauro, > > > > Can you consider this patch series for a pull? > > Next time, could you please add