Comment 42 for bug 555408

Revision history for this message
Ben M. (bmhm) wrote :

Hello again,

in #ubuntu-devel, they suggested this bug might in fact be related to gphoto2 and/or libgphoto2. It should use udev instead of libusb for monitoring cameras.

Please also don't forget Sebastians link to libmtp's source code tracker. Both mice (Ruperts and mine) have "HID" as interface class. Now, libgphoto2 doesn't have any checks on this [I found it in: libgphoto2-*/gphoto2-abilities-list.c in libgphoto2, function gp_abilities_list_detect_usb()].

So as a workaround, I'd rather give this bug in the hands of the libgphoto2-devs to add the same workaround which is being used in libmtp Sebastian showed us. Also, ebroder in #ubuntu-devel suggested that gphoto2 rather should use udev to monitor for new devices. But this would have a lot more impact on the whole distribution. Therefore this would be a goal to a new major version, perhaps.

Αs a workaround:
* attach a camera while using shotwell (verified with »works-for-me«)
* add HID-detection to [lib]gphoto2
* perhaps, instead of workaround #1, create a virtual dummy camera, which is then being hidden by shotwell. Ugly, but *might* work.

Since I am now convinced, gphoto2 should update their packages, I'll add them here as well.

Hope this helps.
Best Regards,
Ben