From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:38445 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932415AbcDYRJI (ORCPT ); Mon, 25 Apr 2016 13:09:08 -0400 Date: Mon, 25 Apr 2016 19:09:05 +0200 From: Pavel Machek To: Ivaylo Dimitrov Cc: sakari.ailus@iki.fi, sre@kernel.org, pali.rohar@gmail.com, linux-media@vger.kernel.org Subject: Re: [RFC PATCH 00/24] Make Nokia N900 cameras working Message-ID: <20160425170905.GB10443@amd> References: <20160420081427.GZ32125@valkosipuli.retiisi.org.uk> <1461532104-24032-1-git-send-email-ivo.g.dimitrov.75@gmail.com> <20160424215541.GA6338@amd> <571DBA2E.9020305@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <571DBA2E.9020305@gmail.com> Sender: linux-media-owner@vger.kernel.org List-ID: Hi! > >>The needed pipeline could be made with: > > > >Would you have similar pipeline for the back camera? Autofocus and > >5MPx makes it more interesting. I understand that different dts will > >be needed. > > > > Try with: > > media-ctl -r > media-ctl -l '"et8ek8 3-003e":0 -> "video-bus-switch":1 [1]' > media-ctl -l '"video-bus-switch":0 -> "OMAP3 ISP CCP2":0 [1]' > media-ctl -l '"OMAP3 ISP CCP2":1 -> "OMAP3 ISP CCDC":0 [1]' > media-ctl -l '"OMAP3 ISP CCDC":2 -> "OMAP3 ISP preview":0 [1]' > media-ctl -l '"OMAP3 ISP preview":1 -> "OMAP3 ISP resizer":0 [1]' > media-ctl -l '"OMAP3 ISP resizer":1 -> "OMAP3 ISP resizer output":0 [1]' > > media-ctl -V '"et8ek8 3-003e":0 [SGRBG10 864x656]' > media-ctl -V '"OMAP3 ISP CCP2":0 [SGRBG10 864x656]' > media-ctl -V '"OMAP3 ISP CCP2":1 [SGRBG10 864x656]' > media-ctl -V '"OMAP3 ISP CCDC":2 [SGRBG10 864x656]' > media-ctl -V '"OMAP3 ISP preview":1 [UYVY 864x656]' > media-ctl -V '"OMAP3 ISP resizer":1 [UYVY 800x600]' > > > mplayer -tv driver=v4l2:width=800:height=600:outfmt=uyvy:device=/dev/video6 > -vo xv -vf screenshot tv:// It fails with: pavel@n900:/my/tui/ofone/camera$ sudo ./back.sh Unable to parse link: Device or resource busy (16) MPlayer svn r34540 (Debian), built with gcc-4.6 (C) 2000-2012 MPlayer Team ...but as I'm using the original dts, it is expected...? Would you have dts suitable for the 5MPx camera? Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html