Hi,

On Wed, 2009-06-03 at 12:47 +0200, Martin Pitt wrote:
> Martin Pitt [2009-06-03 12:39 +0200]:
> >   ENV{ID_CLASS}="camera"
> 
> Oops, that won't work well; my mobile phone is a camera, a music
> player, and a modem all at the same time. So this should perhaps be
> 
>   ENV{ID_CAMERA}="1"

I would suggest to use

 ENV{ID_GPHOTO2}="1"

and also use GPHOTO2 as a namespace, e.g.

 ENV{GPHOTO2_DRIVER}="PTP"

or something. Just makes it easier and more future-proof if there will
be a libgphoto3 or other usermode libraries providing access to cameras.

     David


_______________________________________________
devkit-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Reply via email to