logo       

Re: targetting a specific camera when using libgphoto: msg#00026

multimedia.gphoto.devel

Subject: Re: targetting a specific camera when using libgphoto

On Tue, Feb 14, 2006 at 07:11:20PM -0500, Patrick Laplante wrote:
> Yeah, that don't work:
>
> I have a sony camera plugged in my linux box. /proc/bus/usb/001/044
>
> When I do gphoto2 --camera "Sony Digital Still Camera" --port "usb:001,044"
> --shell
>
> I get:
> The port you specified ('usb:001,044') can not be found. Please specify one
> of the ports.....
>
> Pat
>
> Why not add an api gp_init_camera_from_path? Libusb supports opening a
> device path!

It will start working once you start plugging in more cameras.

gphoto2 --list-ports shows all available ports.

If there is only one used it is "usb:", if there are multiple, the above
method can be used.

(Yes, not very well designed, but some GUI apps cannot really cope with the
usb:XXX,YYY names :()

Ciao, Marcus


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise