Hello Sakari, Let me explain what I want to do. First of all, I need to make it clear that I'm not using bare sensors with omap3, but I'm using ISP included camera modules. To be more clear I can take a 3G handset for instance, which has dual cameras on it. Each camera has their own ISP on them, and they share omap3 camera data pins and clock/sync pins also. So, I need a API to switch between two of them because OMAP3 can't handle every data from each camera at once. To be honest, I definitely thought that VIDIOC_S_INPUT is the proper API for that ;( But now I'm quite confused. Regards, Nate On Tue, Mar 3, 2009 at 4:25 PM, Sakari Ailus <sakari.ailus@xxxxxxxxx> wrote: > DongSoo(Nathaniel) Kim wrote: >> >> Hi Tuukka, >> >> I understand that it is a huge thing to support VIDIOC_S_INPUT. > > It might not be that much, in case it's supported by just one slave. > >> But without that, we don't have any proper "V4L2" api to get >> information about how many devices are attached to camera interface, >> and names of input devices...and so on. Because VIDIOC_ENUMINPUT and >> VIDIOC_G_INPUT needs VIDIOC_S_INPUT for prior. Of course we can refer >> to sysfs, but using only single set of APIs like V4L2 looks more >> decent. >> >> What do you think about this? >> If you think that it is a big burden, can I make a patch for this? > > I'm just wondering the purpose --- as Tuukka explained, the ISP block > doesn't make a camera, but a sensor essentially does. So for every sensor > there's a video device, even if they are implemented by using just one ISP. > How does this sound like? > > But for video decoders at least it's definitely meaningful to support > VIDIOC_S_INPUT. > > -- > Sakari Ailus > sakari.ailus@xxxxxxxxxxxxxxxxxxxxxxxxxx > -- ======================================================== DongSoo(Nathaniel), Kim Engineer Mobile S/W Platform Lab. S/W centre Telecommunication R&D Centre Samsung Electronics CO., LTD. e-mail : dongsoo.kim@xxxxxxxxx dongsoo45.kim@xxxxxxxxxxx ======================================================== -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html