improving digital camera detection
Pozsar Balazs
pozsy at uhulinux.hu
Mon Jan 17 04:17:24 PST 2005
On Mon, Jan 17, 2005 at 01:09:27PM +0100, Sjoerd Simons wrote:
> On Mon, Jan 17, 2005 at 01:40:40AM -0500, Hubert Figuiere wrote:
> > On Sat, 2005-01-15 at 17:24 +0100, Pozsar Balazs wrote:
> > > On Sat, Jan 15, 2005 at 11:08:04AM -0500, Hubert Figuiere wrote:
> > > > libgphoto2 could provide this list as part of the package. We'd just
> > > > need some code to extract all the information, but I'm sure we can do it
> > > > as we already provide the list for hotplug.
> > > >
> > > > That might include USB Mass Storage if I'm done with that patch I
> > > > haven't touched for monthes.
> > >
> > > Sorry, I do not understand you. How do you mean to extract the info from
> > > libgphoto?
> >
> > Writing a small program that will produce the file. We already have that
> > for hotplug user-map.
> >
> > > I think hal should not depend on libgphoto.
> >
> > I never said it should. Just that we (libgphoto2) could provide an
> > automatically generated file.
> >
> > > And anyway, what
> > > all hal needs is a list of usb ids of digital cameras.
> >
> > That is exactly what I meant to do.
>
> One problem with the recognition of ptp camera's is that some vendors ship both
> PtP and Mass storage ones with the same usb ids (wonderfull isn't it).. In
> debian hal-hotplug-map has a ugly hack to work around this (by checking if
> there is a mass storage endpoint).. I don't know how we can work around that
> problem when having a list, any good ideas ? :)
I do not exactly understand what the "problem" is.
Please look at .fdi files I sent, I think they perfectly solve the
problems though. If not, please point out a case where improvement is
needed.
--
pozsy
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list