Bug 295051

Summary: Avoid tagging mass storage devices as cameras
Product: [Fedora] Fedora Reporter: David Zeuthen <davidz>
Component: gphoto2Assignee: Jindrich Novy <jnovy>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: mclasen, pknirsch, rhbugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-09-19 05:27:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 235703    
Attachments:
Description Flags
patch none

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?