Re: adp1653 usage

2011-08-11 Thread Sakari Ailus
On Wed, Aug 10, 2011 at 02:16:00PM +0300, Andy Shevchenko wrote: Hello, Sakari. Hi, Andy! I would like to understand how to use subdevice (like adp1653) in current v4l2 framework from user space. My understanding is following. Kernel has two drivers (simplified view): - camera device

Re: [ANN] Meeting minutes of the Cambourne meeting

2011-08-11 Thread Sakari Ailus
On Mon, Aug 08, 2011 at 05:50:06PM +0200, Laurent Pinchart wrote: Hi everybody, Hi, all! The V4L2 brainstorming meeting held in Cambourne from August the 1st to August the 5th was a success. I would like to thank Linaro again, and particularly Stephen Doel and Arwen Donaghey, for

Re: USB mini-summit at LinuxCon Vancouver

2011-08-11 Thread Hans de Goede
Hi, On 08/11/2011 01:04 AM, Adam Baker wrote: On Tuesday 09 August 2011, Hans de Goede wrote: Hi, On 08/09/2011 10:31 PM, Adam Baker wrote: On Tuesday 09 August 2011, Hans de Goede wrote: snip It has also just occured to me that it might be possible to solve the issues we are facing just

Re: USB mini-summit at LinuxCon Vancouver

2011-08-11 Thread Hans de Goede
Hi, On 08/10/2011 06:09 PM, Alan Stern wrote: On Wed, 10 Aug 2011, Theodore Kilgore wrote: Okay, I didn't realize that the different cameras used different webcam drivers as well as different stillcam drivers. Oh, yes. They are Proprietary devices. And that means what it says. :-) And all

omap3isp buffer alignment

2011-08-11 Thread Michael Jones
Hi Laurent, If I understood your discussion with Russell [1] correctly, user pointer buffers are required to be page-aligned because of the IOMMU API, and it's desirable to keep the IOMMU driver that way for other subsystems which may use it. So we're stuck with user buffers needing to be

Re: [Workshop-2011] Media Subsystem Workshop 2011

2011-08-11 Thread Sakari Ailus
Hi Mauro, On Wed, Aug 03, 2011 at 02:21:05PM -0300, Mauro Carvalho Chehab wrote: As already announced, we're continuing the planning for this year's media subsystem workshop. To avoid overriding the main ML with workshop-specifics, a new ML was created: workshop-2...@linuxtv.org

Re: [Workshop-2011] Media Subsystem Workshop 2011

2011-08-11 Thread Mauro Carvalho Chehab
Em 11-08-2011 07:16, Sakari Ailus escreveu: Hi Mauro, On Wed, Aug 03, 2011 at 02:21:05PM -0300, Mauro Carvalho Chehab wrote: As already announced, we're continuing the planning for this year's media subsystem workshop. To avoid overriding the main ML with workshop-specifics, a new ML

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

2011-08-11 Thread Sakari Ailus
On Wed, Aug 10, 2011 at 08:25:24AM +0200, Hans Verkuil wrote: On Wednesday, August 10, 2011 01:37:27 Sakari Ailus wrote: On Tue, Aug 09, 2011 at 09:26:30AM +0200, Hans Verkuil wrote: ... Wouldn't that be a security issue ? Any application with permissions to access the video

Problems with Tevii S660

2011-08-11 Thread Josu Lazkano
Hello list, I just bought a Tevii S660 DVB-S2 USb tunner and I have some problems with it. I already has the Tevii S470 card and it works great with this configuration: mkdir /usr/local/src/dvb cd /usr/local/src/dvb wget http://tevii.com/100315_Beta_linux_tevii_ds3000.rar unrar x

Re: adp1653 usage

2011-08-11 Thread Andy Shevchenko
On Thu, 2011-08-11 at 10:19 +0300, Sakari Ailus wrote: - if the subdevice creates device node /dev/v4l-subdevX, how the user space will know the X is corresponding to let say flash device? The whole media device's entities (of which the flash in this case is one of) can be enumerated. The

[PATCH] adp1653: set media entity type

2011-08-11 Thread Andy Shevchenko
The type of a media entity is default for this driver. This patch makes it explicitly defined as MEDIA_ENT_T_V4L2_SUBDEV_FLASH. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/media/video/adp1653.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

RE: [PATCH] [media] OMAP_VOUT: Fix build break caused by update_mode removal in DSS2

2011-08-11 Thread Hiremath, Vaibhav
-Original Message- From: Taneja, Archit Sent: Friday, August 05, 2011 12:49 PM To: Hiremath, Vaibhav; linux-media@vger.kernel.org Cc: k...@dominion.thruhere.net; Valkeinen, Tomi; linux- o...@vger.kernel.org; Taneja, Archit Subject: [PATCH] [media] OMAP_VOUT: Fix build break caused

saa7146 interrupt problems with threadirqs in kernel command line

2011-08-11 Thread madloi...@gmx.net
Hi there, if I define threadirqs in kernel command line my PCI-DVB-C card constantly logs interrupt problems in dmesg like this: saa7146 (0) saa7146_i2c_writeout [irq]: timed out waiting for end of xfer DVB: TDA10021(0): _tda10021_writereg, writereg error (reg == 0x03, val == 0x0a, ret == -5)

Re: Problems with Tevii S660

2011-08-11 Thread Josu Lazkano
2011/8/11 Josu Lazkano josu.lazk...@gmail.com: Hello list, I just bought a Tevii S660 DVB-S2 USb tunner and I have some problems with it. I already has the Tevii S470 card and it works great with this configuration: mkdir /usr/local/src/dvb cd /usr/local/src/dvb wget

Re: USB mini-summit at LinuxCon Vancouver

2011-08-11 Thread Alan Stern
On Thu, 11 Aug 2011, Hans de Goede wrote: The alternative seems to be to define a device-sharing protocol for USB drivers. Kernel drivers would implement a new callback (asking them to give up control of the device), and usbfs would implement new ioctls by which a program could ask for

Re: USB mini-summit at LinuxCon Vancouver

2011-08-11 Thread Mauro Carvalho Chehab
Em 11-08-2011 11:56, Alan Stern escreveu: On Thu, 11 Aug 2011, Hans de Goede wrote: The alternative seems to be to define a device-sharing protocol for USB drivers. Kernel drivers would implement a new callback (asking them to give up control of the device), and usbfs would implement new

Re: USB mini-summit at LinuxCon Vancouver

2011-08-11 Thread Alan Cox
Between two or more kernel drivers, a resource locking mechanism like the one you've proposed works fine, but, when the driver is on userspace, there's one additional issue that needs to be addressed: What happens if, for example, if a camera application using libgphoto2 crashes? The lock

Re: USB mini-summit at LinuxCon Vancouver

2011-08-11 Thread Alan Stern
Alan Cox raised a bunch of good points. I'm not going to respond to them; they pretty much speak for themselves. On Thu, 11 Aug 2011, Mauro Carvalho Chehab wrote: Between two or more kernel drivers, a resource locking mechanism like the one you've proposed works fine, It's not a locking

Re: USB mini-summit at LinuxCon Vancouver

2011-08-11 Thread Alan Stern
On Thu, 11 Aug 2011, Alan Cox wrote: Actually there are more issues than that - you've also got to worry about a security/permission model, and that is hard to get right, especially if you are not very careful that anything that can be retrieved which might violate the security model (eg the

Re: [PATCH/RFC] fbdev: Add FOURCC-based format configuration API

2011-08-11 Thread Laurent Pinchart
Hi Geert, On Monday 01 August 2011 11:49:46 Geert Uytterhoeven wrote: On Mon, Aug 1, 2011 at 00:54, Florian Tobias Schandinat wrote: On 07/31/2011 08:32 PM, Geert Uytterhoeven wrote: On Thu, Jul 28, 2011 at 12:51, Laurent Pinchart wrote: As for struct fb_var_screeninfo fields to support

Re: Media Subsystem Workshop 2011

2011-08-11 Thread Rémi Denis-Courmont
Le lundi 8 août 2011 16:25:26 Mauro Carvalho Chehab, vous avez écrit : So the presentation and summary are on Tuesday, but when is the workshop itself? Is it on the Monday or the Sunday? It would be nice to know so I can plan my stay in Prague and my planning with the other conferences

Re: Media Subsystem Workshop 2011

2011-08-11 Thread Mauro Carvalho Chehab
Em 11-08-2011 14:49, Rémi Denis-Courmont escreveu: Le lundi 8 août 2011 16:25:26 Mauro Carvalho Chehab, vous avez écrit : So the presentation and summary are on Tuesday, but when is the workshop itself? Is it on the Monday or the Sunday? It would be nice to know so I can plan my stay in

[cron job] v4l-dvb daily build: WARNINGS

2011-08-11 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 Aug 11 19:00:32 CEST 2011 git hash:9bed77ee2fb46b74782d0d9d14b92e9d07f3df6e gcc version: i686-linux-gcc (GCC)

Re: USB mini-summit at LinuxCon Vancouver

2011-08-11 Thread Theodore Kilgore
On Thu, 11 Aug 2011, Alan Stern wrote: On Thu, 11 Aug 2011, Alan Cox wrote: Actually there are more issues than that - you've also got to worry about a security/permission model, and that is hard to get right, especially if you are not very careful that anything that can be retrieved

Re: USB mini-summit at LinuxCon Vancouver

2011-08-11 Thread Mauro Carvalho Chehab
Em 11-08-2011 17:01, Theodore Kilgore escreveu: As I said, I am agnostic, though leaning in the direction that Hans de Goede is pointing. What he says about a single control mechanism seems to make a lot of sense. If you can come up with an outline of the easier to code solution, that

Re: S2-3200 switching-timeouts on 2.6.38

2011-08-11 Thread P. van Gaans
On 08/11/2011 01:49 AM, P. van Gaans wrote: On 03/21/2011 08:46 PM, Rico Tzschichholz wrote: Hello, I would like to know if there is any intention to include this patch soon? https://patchwork.kernel.org/patch/244201/ Currently using 2.6.38 results in switching-timeouts on my S2-3200 and this

Re: omap3isp buffer alignment

2011-08-11 Thread Sakari Ailus
On Thu, Aug 11, 2011 at 11:57:04AM +0200, Michael Jones wrote: Hi Laurent, If I understood your discussion with Russell [1] correctly, user pointer buffers are required to be page-aligned because of the IOMMU API, and it's desirable to keep the IOMMU driver that way for other subsystems

Re: USB mini-summit at LinuxCon Vancouver

2011-08-11 Thread Theodore Kilgore
On Thu, 11 Aug 2011, Mauro Carvalho Chehab wrote: Em 11-08-2011 17:01, Theodore Kilgore escreveu: As I said, I am agnostic, though leaning in the direction that Hans de Goede is pointing. What he says about a single control mechanism seems to make a lot of sense. If you can come up

Re: USB mini-summit at LinuxCon Vancouver

2011-08-11 Thread Alan Stern
On Thu, 11 Aug 2011, Theodore Kilgore wrote: Alan, As I said, I am agnostic, though leaning in the direction that Hans de Goede is pointing. What he says about a single control mechanism seems to make a lot of sense. If you can come up with an outline of the easier to code solution,

Re: USB mini-summit at LinuxCon Vancouver

2011-08-11 Thread Theodore Kilgore
On Thu, 11 Aug 2011, Alan Stern wrote: snip No, I'm not going to Vancouver. Well, someday, somewhere, we will be together in the same place at the same time and able to enjoy a good seafood restaurant. However I will attend the Linux Plumbers conference in Santa Rosa. Which I expect I