Bug 295051 - Avoid tagging mass storage devices as cameras
Summary: Avoid tagging mass storage devices as cameras
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gphoto2
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F8Blocker
TreeView+ depends on / blocked
 
Reported: 2007-09-18 16:35 UTC by David Zeuthen
Modified: 2013-07-02 23:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-09-19 05:27:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch (8.22 KB, patch)
2007-09-18 16:35 UTC, David Zeuthen
no flags Details | Diff

Description David Zeuthen 2007-09-18 16:35:07 UTC
Some cameras can be configured (via the camera menus) in both USB PTP (or
proprietary) and USB Mass Storage mode. While in the latter, normally the kernel
driver usb-storage.ko attaches to the device when the camera is attached.
However, gphoto2 still claims to be able to drive the camera (matching is on
vid/pid only and sometimes it doesn't change.). This means we get multiple "Do
you want to import pictures?" dialogs in the user interface. 

Will attach a patch for gphoto2 to avoid tagging the USB mass storage devices as
cameras supported by gphoto2. Note that this only concerns classification of the
device; a user can still unbind usb-storage.ko and use gphoto2 to drive the device.

I've tested this patch with Matthias' Nikon digicam.

Comment 1 David Zeuthen 2007-09-18 16:35:07 UTC
Created attachment 198571 [details]
patch

Comment 2 Jindrich Novy 2007-09-19 05:27:38 UTC
Applied, thanks!

Comment 3 Hubert Figuiere 2007-11-27 21:42:42 UTC
sending it upstream? anyone ? Bueller?


Note You need to log in before you can comment on or make changes to this bug.