Re: Media controller: sysfs vs ioctl

2009-10-11 Thread Laurent Pinchart
On Monday 21 September 2009 19:23:54 Sakari Ailus wrote: > Hans Verkuil wrote: > > On Sunday 13 September 2009 08:13:04 Nathaniel Kim wrote: > >> 2009. 9. 12., 오전 7:21, Hans Verkuil 작성: > >> > >> Hans, > >> > >> First of all I'm very sorry that I had not enough time to go through > >> your new RFC.

Re: Media controller: sysfs vs ioctl

2009-09-22 Thread Sakari Ailus
Hans Verkuil wrote: On Sunday 13 September 2009 08:13:04 Nathaniel Kim wrote: 2009. 9. 12., 오전 7:21, Hans Verkuil 작성: Hans, First of all I'm very sorry that I had not enough time to go through your new RFC. I'll checkout right after posting this mail. I think this is a good approach and I

Re: Media controller: sysfs vs ioctl

2009-09-15 Thread Hans Verkuil
> From the kernel point of view, (most of) the various sub-devices in a > media > device are arranged in a tree of kernel objects. Most of the time we have > an > I2C controller and various devices sitting on the I2C bus, one or several > video devices that sit on some internal bus (usually a SoC

Re: Media controller: sysfs vs ioctl

2009-09-15 Thread Laurent Pinchart
On Sunday 13 September 2009 16:00:01 Mauro Carvalho Chehab wrote: > Em Sun, 13 Sep 2009 15:43:02 +0200 > Hans Verkuil escreveu: > > On Sunday 13 September 2009 15:27:57 Mauro Carvalho Chehab wrote: > > > Em Sun, 13 Sep 2009 15:13:04 +0900 > > > Nathaniel Kim escreveu: [snip] > > > > I think thi

Re: Media controller: sysfs vs ioctl

2009-09-15 Thread Laurent Pinchart
On Saturday 12 September 2009 00:21:48 Hans Verkuil wrote: > Hi all, > > I've started this as a new thread to prevent polluting the discussions of > the media controller as a concept. [snip] > What sort of interaction do we need with sub-devices? [snip] > 2) Private ioctls. Basically a way

RE: Media controller: sysfs vs ioctl

2009-09-14 Thread Karicheri, Muralidharan
lho Chehab [mche...@infradead.org] Sent: Sunday, September 13, 2009 7:31 PM To: wk Cc: Hans Verkuil; linux-media@vger.kernel.org Subject: Re: Media controller: sysfs vs ioctl Em Sun, 13 Sep 2009 17:54:11 +0200 wk escreveu: > Hans Verkuil schrieb: > > Hi all, > > > > I

Re: Media controller: sysfs vs ioctl

2009-09-13 Thread Mauro Carvalho Chehab
Em Sun, 13 Sep 2009 17:54:11 +0200 wk escreveu: > Hans Verkuil schrieb: > > Hi all, > > > > I've started this as a new thread to prevent polluting the discussions of > > the > > media controller as a concept. > > > > First of all, I have no doubt that everything that you can do with an ioctl, >

Re: Media controller: sysfs vs ioctl

2009-09-13 Thread Hans Verkuil
On Sunday 13 September 2009 17:54:11 wk wrote: > Hans Verkuil schrieb: > > Hi all, > > > > I've started this as a new thread to prevent polluting the discussions of > > the > > media controller as a concept. > > > > First of all, I have no doubt that everything that you can do with an ioctl, > > y

Re: Media controller: sysfs vs ioctl

2009-09-13 Thread wk
Hans Verkuil schrieb: Hi all, I've started this as a new thread to prevent polluting the discussions of the media controller as a concept. First of all, I have no doubt that everything that you can do with an ioctl, you can also do with sysfs and vice versa. That's not the problem here. The pr

Re: Media controller: sysfs vs ioctl

2009-09-13 Thread Mauro Carvalho Chehab
Em Sun, 13 Sep 2009 15:43:02 +0200 Hans Verkuil escreveu: > On Sunday 13 September 2009 15:27:57 Mauro Carvalho Chehab wrote: > > Em Sun, 13 Sep 2009 15:13:04 +0900 > > Nathaniel Kim escreveu: > > > > > > > > 2009. 9. 12., 오전 7:21, Hans Verkuil 작성: > > > > > > > Hi all, > > > > > > > > I've s

Re: Media controller: sysfs vs ioctl

2009-09-13 Thread Hans Verkuil
On Sunday 13 September 2009 15:27:57 Mauro Carvalho Chehab wrote: > Em Sun, 13 Sep 2009 15:13:04 +0900 > Nathaniel Kim escreveu: > > > > > 2009. 9. 12., 오전 7:21, Hans Verkuil 작성: > > > > > Hi all, > > > > > > I've started this as a new thread to prevent polluting the > > > discussions of the

Re: Media controller: sysfs vs ioctl

2009-09-13 Thread Mauro Carvalho Chehab
Em Sun, 13 Sep 2009 15:13:04 +0900 Nathaniel Kim escreveu: > > 2009. 9. 12., 오전 7:21, Hans Verkuil 작성: > > > Hi all, > > > > I've started this as a new thread to prevent polluting the > > discussions of the > > media controller as a concept. > > > > First of all, I have no doubt that everythi

Re: Media controller: sysfs vs ioctl

2009-09-13 Thread Hans Verkuil
On Sunday 13 September 2009 08:13:04 Nathaniel Kim wrote: > > 2009. 9. 12., 오전 7:21, Hans Verkuil 작성: > > > Hi all, > > > > I've started this as a new thread to prevent polluting the > > discussions of the > > media controller as a concept. > > > > First of all, I have no doubt that everything

Re: Media controller: sysfs vs ioctl

2009-09-12 Thread Nathaniel Kim
2009. 9. 12., 오전 7:21, Hans Verkuil 작성: Hi all, I've started this as a new thread to prevent polluting the discussions of the media controller as a concept. First of all, I have no doubt that everything that you can do with an ioctl, you can also do with sysfs and vice versa. That's not

Re: Media controller: sysfs vs ioctl

2009-09-12 Thread Mauro Carvalho Chehab
Em Sat, 12 Sep 2009 14:48:23 -0400 Andy Walls escreveu: > On Sat, 2009-09-12 at 12:54 -0300, Mauro Carvalho Chehab wrote: > > Em Sat, 12 Sep 2009 17:12:35 +0200 > > Hans Verkuil escreveu: > > > > I'm currently trying to get ivtv media-controller-aware. It's probably the > > > most complex drive

Re: Media controller: sysfs vs ioctl

2009-09-12 Thread Andy Walls
On Sat, 2009-09-12 at 12:54 -0300, Mauro Carvalho Chehab wrote: > Em Sat, 12 Sep 2009 17:12:35 +0200 > Hans Verkuil escreveu: > > I'm currently trying to get ivtv media-controller-aware. It's probably the > > most complex driver when it comes to topology that I have access to, so that > > would b

Re: Media controller: sysfs vs ioctl

2009-09-12 Thread Mauro Carvalho Chehab
Em Sat, 12 Sep 2009 17:12:35 +0200 Hans Verkuil escreveu: > > Why? Nothing stops discussing it there and better prepare a proposal, but, > > considering all the noise we had after the DVB S2API last year, I don't > > think > > we should ever repeat using a conference, where only some of us will

Re: Media controller: sysfs vs ioctl

2009-09-12 Thread Hans Verkuil
On Saturday 12 September 2009 16:45:35 Mauro Carvalho Chehab wrote: > Em Sat, 12 Sep 2009 09:41:58 -0400 > Devin Heitmueller escreveu: > > > I respectfully disagree. > > Are you suggesting that we should not submit any patches upstream during this > merge window in order to discuss this? Sorry,

Re: Media controller: sysfs vs ioctl

2009-09-12 Thread Mauro Carvalho Chehab
Em Sat, 12 Sep 2009 09:41:58 -0400 Devin Heitmueller escreveu: > I respectfully disagree. Are you suggesting that we should not submit any patches upstream during this merge window in order to discuss this? Sorry, but this is not right with all the developers that did their homework and submitt

Re: Media controller: sysfs vs ioctl

2009-09-12 Thread Devin Heitmueller
On Sat, Sep 12, 2009 at 9:31 AM, Mauro Carvalho Chehab wrote: > True. Choosing the better approach is very important since, once merged, we'll > need to stick it for a very long time. > > I saw your proposal of a ioctl-only implementation for the media control. It > is > important to have a sysfs

Re: Media controller: sysfs vs ioctl

2009-09-12 Thread Mauro Carvalho Chehab
Em Sat, 12 Sep 2009 00:21:48 +0200 Hans Verkuil escreveu: > Hi all, > > I've started this as a new thread to prevent polluting the discussions of the > media controller as a concept. > > First of all, I have no doubt that everything that you can do with an ioctl, > you can also do with sysfs an

Re: Media controller: sysfs vs ioctl

2009-09-11 Thread hermann pitton
Hi, Am Freitag, den 11.09.2009, 19:01 -0400 schrieb Andy Walls: > On Sat, 2009-09-12 at 00:21 +0200, Hans Verkuil wrote: > > Hi all, > > > > I've started this as a new thread to prevent polluting the discussions of > > the > > media controller as a concept. > > > > First of all, I have no doubt

Re: Media controller: sysfs vs ioctl

2009-09-11 Thread Andy Walls
On Sat, 2009-09-12 at 00:21 +0200, Hans Verkuil wrote: > Hi all, > > I've started this as a new thread to prevent polluting the discussions of the > media controller as a concept. > > First of all, I have no doubt that everything that you can do with an ioctl, > you can also do with sysfs and vic