Canon Digital IXUS 30 doesn't show up as PTP
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libgphoto2 (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt | ||
Hardy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Connecting my Canon Digital IXUS 30 to my notebook just triggers the import dialog and i can click import to start f-spot-import. Then F-Spot asks me to choose my camera and lists the following:
Canon Digital IXUS 30 (normal mode), usb:
Canon Digital IXUS 30 (normal mode), usb: 003,012
I tried both, F-Spot just gives an "Unknown Error".
I installed gphoto2 to use its command line interface to do some more debugging and got the following:
$ env LANG=C gphoto2 --list-cameras | grep "IXUS 30 "
"Canon Digital IXUS 30 (normal mode)" (EXPERIMENTAL)
"Canon Digital IXUS 30 (PTP mode)"
$ env LANG=C gphoto2 --auto-detect
Model Port
-------
Canon Digital IXUS 30 (normal mode) usb:
Canon Digital IXUS 30 (normal mode) usb:004,012
So it uses the normal mode by default, which fails.
Forcing PTP with --camera "Canon Digital IXUS 30 (PTP mode)" works fine and i can access the camera via CLI.
We need to get rid of the normal mode access method, so that libgphoto2 will use the working PTP mode to access the camera.
description: | updated |
description: | updated |
Changed in libgphoto2: | |
status: | Incomplete → New |
Changed in libgphoto2: | |
importance: | Undecided → Medium |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → ubuntu-8.04.1 |
status: | New → Triaged |
Changed in libgphoto2: | |
assignee: | nobody → pitti |
status: | Triaged → In Progress |
Changed in libgphoto2: | |
status: | In Progress → Fix Committed |
Finally, I managed to fix the problem.
I downloaded the sources of libgphoto2 and patched the canon.c to the newest trunk revision. This patch comments out the lines that force libgphoto to use normal mode for models that hang.
I attached a patch to update the canon.c