camera.* attribute proposal

Danny Kukawka danny.kukawka at web.de
Wed Aug 31 16:18:23 PDT 2005


On Wednesday 31 August 2005 22:36, Jeffrey Stedfast wrote:
[...]
> Now, here's what I propose:
>
> I propose that access_method becomes what it suggests it means, the
> actual access_method: 'ptp' 'storage' 'proprietary' etc...
> I also propose that camera.libgphoto2_support = true / false be present
> for those who all they care about is that.
>
> this means we have basically 4 possible scenarios (unless we want to get
> even more specific about proprietary access_methods)
>
> USB Mass Storage camera:
> info.category = 'camera'
> camera.access_method = 'storage'
> camera.libgphoto2_support = 'true'
>
> PTP camera:
> info.category = 'camera'
> camera.access_method = 'ptp'
> camera.libgphoto2_support = 'true'
>
> Proprietary access method camera with libgphoto2 support:
> info.category = 'camera'
> camera.access_method = 'proprietary'
> camera.libgphoto2_support = 'true'
>
> Proprietary access method camera without libgphoto2 support:
> info.category = 'camera'
> camera.access_method = 'proprietary'
> camera.libgphoto2_support = 'false'
>
>
> Of course, feel free to rename 'storage' and 'proprietary' to whatever
> you guys would prefer. And as I hinted at above, feel free to replace
> 'proprietary' with actual proprietary protocol names if that's what
> you'd prefer to do (I think in the long run it'd be a nice addition but
> in the interest of "easy fix" 'proprietary' would satisfy me)
>
> Is this doable?

Sounds good to me!

Cheers,

Danny


More information about the hal mailing list