improving digital camera detection

Sjoerd Simons sjoerd at luon.net
Mon Jan 17 04:58:38 PST 2005


On Mon, Jan 17, 2005 at 01:33:48PM +0100, Pozsar Balazs wrote:
> > > 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.
> 
> To be a little bit more exact:
> If it is a camera, then the info.capabilites should be set. It is _not_ 
> a problem if the camera has the same usb ids in both modes. Why would it 
> be?

The problem is that the your fdi files probably set the access_method == user
and gphot support == true. Thus something like gvm starts 
``gthumb --import-photos'', because hal claims that should be usefull.. Which 
works fine untill you've got a model which is actually a mass storage device.
  
> My .fdi files will set this capability either based on the ptp usb 
> interface or usb usb vendor/product id (or both).

There are no attachements to your first mail in this thread so i don't know
what they do exactly..

  Sjoerd
-- 
Just remember, wherever you go, there you are.
		-- Buckaroo Bonzai
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list