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. I'll checkout right

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 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 to

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: [linux-dvb] Media controller: sysfs vs ioctl

2009-09-15 Thread Devin Heitmueller
On Tue, Sep 15, 2009 at 2:50 PM, david may david.ma...@ntlworld.com wrote: OC you do realize that IF the DVB/linuxTV devs cant even make a simple and quick LiveCD with a VLC and streaming apps clients and servers connecting to a web sever some were for popping into ANY laptop that happens to

RE: Media controller: sysfs vs ioctl

2009-09-14 Thread Karicheri, Muralidharan
[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 handygewinnsp...@gmx.de escreveu: Hans Verkuil schrieb: Hi all, I've started

Re: Media controller: sysfs vs ioctl

2009-09-13 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-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 that you can do

Re: Media controller: sysfs vs ioctl

2009-09-13 Thread Mauro Carvalho Chehab
Em Sun, 13 Sep 2009 15:13:04 +0900 Nathaniel Kim dongsoo@gmail.com 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

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 dongsoo@gmail.com 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:43:02 +0200 Hans Verkuil hverk...@xs4all.nl escreveu: On Sunday 13 September 2009 15:27:57 Mauro Carvalho Chehab wrote: Em Sun, 13 Sep 2009 15:13:04 +0900 Nathaniel Kim dongsoo@gmail.com escreveu: 2009. 9. 12., 오전 7:21, Hans Verkuil 작성: Hi all,

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

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, you can also do

Re: Media controller: sysfs vs ioctl

2009-09-12 Thread Mauro Carvalho Chehab
Em Sat, 12 Sep 2009 00:21:48 +0200 Hans Verkuil hverk...@xs4all.nl 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

Re: Media controller: sysfs vs ioctl

2009-09-12 Thread Devin Heitmueller
On Sat, Sep 12, 2009 at 9:31 AM, Mauro Carvalho Chehab mche...@infradead.org 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

Re: Media controller: sysfs vs ioctl

2009-09-12 Thread Mauro Carvalho Chehab
Em Sat, 12 Sep 2009 09:41:58 -0400 Devin Heitmueller dheitmuel...@kernellabs.com 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

Re: Media controller: sysfs vs ioctl

2009-09-12 Thread Mauro Carvalho Chehab
Em Sat, 12 Sep 2009 17:12:35 +0200 Hans Verkuil hverk...@xs4all.nl 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

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 hverk...@xs4all.nl 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

Re: Media controller: sysfs vs ioctl

2009-09-12 Thread Mauro Carvalho Chehab
Em Sat, 12 Sep 2009 14:48:23 -0400 Andy Walls awa...@radix.net 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 hverk...@xs4all.nl escreveu: I'm currently trying to get ivtv media-controller-aware. It's probably

Media controller: sysfs vs ioctl

2009-09-11 Thread 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 the problem here. The problem is deciding which

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 vice

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 that