Does omap3isp driver inherit controls of attached sensors?
Hi, I'm trying to add VFLIP control to the mt9p031 driver (don't worry Guennadi, I won't send the patch yet). For that purpose I've followed the code in mt9v032 sensor. When I try to query available controls using yavta I get the following: root@beagleboard:~# ./media-ctl -e OMAP3 ISP CCDC output /dev/video2 root@beagleboard:~# ./yavta -l /dev/video2 Device /dev/video2 opened: OMAP3 ISP CCDC output (media). No control found. As I have read here [1], drivers using subdevices should inherit their controls. Is this the case with omap3isp? [1] http://lxr.linux.no/#linux+v2.6.39/Documentation/video4linux/v4l2-controls.txt -- Javier Martin Vista Silicon S.L. CDTUC - FASE C - Oficina S-345 Avda de los Castros s/n 39005- Santander. Cantabria. Spain +34 942 25 32 60 www.vista-silicon.com -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Does omap3isp driver inherit controls of attached sensors?
Hi Javier, On Thursday 02 June 2011 15:52:57 javier Martin wrote: Hi, I'm trying to add VFLIP control to the mt9p031 driver (don't worry Guennadi, I won't send the patch yet). For that purpose I've followed the code in mt9v032 sensor. When I try to query available controls using yavta I get the following: root@beagleboard:~# ./media-ctl -e OMAP3 ISP CCDC output /dev/video2 root@beagleboard:~# ./yavta -l /dev/video2 Device /dev/video2 opened: OMAP3 ISP CCDC output (media). No control found. As I have read here [1], drivers using subdevices should inherit their controls. Is this the case with omap3isp? No, the OMAP3 ISP video nodes don't inherit subdev controls. You need to access the control directly on the sensor subdev. [1] http://lxr.linux.no/#linux+v2.6.39/Documentation/video4linux/v4l2-controls .txt -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html