logo       

RE: targetting a specific camera when using libgphoto: msg#00032

multimedia.gphoto.devel

Subject: RE: targetting a specific camera when using libgphoto

Picture Transfer Protocol over Internet Protocol.




-----Original Message-----
From: Marcus Meissner [mailto:meissner@xxxxxxx]
Sent: Wednesday, February 15, 2006 10:14 AM
To: Patrick Laplante
Cc: 'Marcus Meissner'; gphoto-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [gphoto-devel] targetting a specific camera when using
libgphoto

On Wed, Feb 15, 2006 at 09:51:49AM -0500, Patrick Laplante wrote:
> Sorry if I may sound stupid in my email but as you can see I am fairly new
> to this whole open source thingy!
>
> The project I am on right now, the customers requested me to use gphoto2
and
> they want me to support usb camera now and will want Ethernet(wireless)
> camera support later.

> To answer to your post, that is kind of a *hack*.
>
> What I don't understand is why GUI apps care about the usb: thing.
>
> Let's look at the following use case where a use plugs in a usb camera:
>
> -The os generate some form of event from kernel to user space (on camera
> plug).
> -The event contains the device path that one can open and talk to the
> device.
> -That path is unique per devices.
> -The user space event handler spawns your GUI(or non GUI) app with the
> device path.
> -The GUI(or non GUI) app can then use that path to communicate with the
> camera.
>
> So one could use the --port options or a new options --dev-path!
>
> I've looked into what it would take to add an api to libgphoto2 where I
> could specify the port and I think that it should be an easy task. Now
what
> if I modify the library, do I need to push it back to you (per GPL)?

Not necessarily, you just need to publish the source along with your
binaries.

> I am also looking at adding a libgphoto2_port to support Ethernet camera.

What kind of camera is this? PTP/IP?

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