Re: media-ctl: line 1: syntax error: "(" unexpected

2013-08-26 Thread Sakari Ailus
Hi Tom,

On Wed, Aug 21, 2013 at 12:40:42PM +, Tom wrote:
> Hello,
> 
> I got the media-ctl tool from http://git.ideasonboard.org/git/media-ctl.git
> and compiled and build it successfully. But when try to run it I get this 
> error:
> 
> sudo ./media-ctl -r -l "ov3640 3-003c":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP
> CCDC":1->"OMAP3 ISP CCDC output":0[1]

You're missing single quotes around the argument to -l option. Looks like
the string will reach media-ctl altogether w/o quotes and as several command
line arguments, and both are bad. Entity names need to be quoted if they
contain spaces.

-- 
Regards,

Sakari Ailus
e-mail: sakari.ai...@iki.fi XMPP: sai...@retiisi.org.uk
--
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: media-ctl: line 1: syntax error: "(" unexpected

2013-08-26 Thread Tom
Enrico  users.berlios.de> writes:

> 
> On Fri, Aug 23, 2013 at 3:08 PM, Tom  gmx.net> wrote:
> > Tom  gmx.net> writes:
> >
> >>
> >> Hello,
> >>
> >> I got the media-ctl tool from http://git.ideasonboard.org/git/media-ctl.git
> >> and compiled and build it successfully. But when try to run it I get this
> > error:
> >>
> >> sudo ./media-ctl -r -l "ov3640 3-003c":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP
> >> CCDC":1->"OMAP3 ISP CCDC output":0[1]
> >>
> >> ./media-ctl: line 1: syntax error: "(" unexpected
> >>
> >> Does anyone know how I can solve that problem?
> 
> Looks like you are trying to execute a wrapper script instead of the
> real binary, it's in src/.libs
> 
> Enrico
> 

Hello Enrico,

thanks for your reply. All I did was to build the media-ctl tool, made "make
install" and copied the resulting folder "media-ctl-exe" to my arm board.
Then I executed the /media-ctl-exe/bin/media-ctl file with "./media-ctl
--help" and got this error.

Best Regards, Tom


--
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: media-ctl: line 1: syntax error: "(" unexpected

2013-08-26 Thread Enrico
On Fri, Aug 23, 2013 at 3:08 PM, Tom  wrote:
> Tom  gmx.net> writes:
>
>>
>> Hello,
>>
>> I got the media-ctl tool from http://git.ideasonboard.org/git/media-ctl.git
>> and compiled and build it successfully. But when try to run it I get this
> error:
>>
>> sudo ./media-ctl -r -l "ov3640 3-003c":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP
>> CCDC":1->"OMAP3 ISP CCDC output":0[1]
>>
>> ./media-ctl: line 1: syntax error: "(" unexpected
>>
>> Does anyone know how I can solve that problem?

Looks like you are trying to execute a wrapper script instead of the
real binary, it's in src/.libs

Enrico
--
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: media-ctl: line 1: syntax error: "(" unexpected

2013-08-23 Thread Tom
Tom  gmx.net> writes:

> 
> Hello,
> 
> I got the media-ctl tool from http://git.ideasonboard.org/git/media-ctl.git
> and compiled and build it successfully. But when try to run it I get this
error:
> 
> sudo ./media-ctl -r -l "ov3640 3-003c":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP
> CCDC":1->"OMAP3 ISP CCDC output":0[1]
> 
> ./media-ctl: line 1: syntax error: "(" unexpected
> 
> Does anyone know how I can solve that problem?
> 
> Best Regards, Tom
> 
> 


Sorry, but does really nobody know how to solve that problem?

Best Regards, Tom

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