Hi Mike,

On Thursday 15 November 2007, Mike Lohmann wrote:
> Hi,
>
> I have a new Canon Powershot G9 and I would like to use it as v4l
> device. I know there is gphoto2 or the convert programm (not
> Imagemagick) to access the camera. convert also creates a viewfinder
> as GTK Window and you can see, what the camera sees in her viewfinder.
>
> I now have the idea to use this ptp feature (redirecting the
> viewfinder image to the ram and then read it out by a programm) to a /
> dev/video device, which I can then access for example with xawtv or
> something else.
>
> My Problem is:
>
> I don't know where to start. Is it possible to use the libptp in a
> driver? There is this wall between kernel space and user space, isn't
> it? Is it possible to access the cam's viewfinder via libptp and
> redirect it to a / dev/video device? How can I "create" a device for
> that?
> Can someone of you give me a hint?
>
> Would be great to get something from you.

There's some kind of loopback video driver but I've never used it. You would 
then need a userspace application to access the camera through ptp and feed 
the result back to the kernel. You might have more luck on the video4linux 
mailing list than here, as your issue isn't really related to the UVC driver.

On a side note, have you checked the device USB descriptors ? There might be 
another non-ptp interface. Just a wild guess.

Best regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to