Bug 179313
Summary: | gphoto2 does not detect Canon A610 camera | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Yusuf Ma <yusufma77> | ||||||
Component: | gphoto2 | Assignee: | Radek Vokál <rvokal> | ||||||
Status: | CLOSED UPSTREAM | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 5 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i686 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-04-02 21:07:25 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: | |||||||||
Attachments: |
|
Description
Yusuf Ma
2006-01-30 06:45:53 UTC
Created attachment 123857 [details]
debug info returned by "env LANG=C gphoto2 --debug --summary"
Can you try running the same command as root, I was trying to fix the HAL permissions recently and they still might be wrong.. Also try gphoto2-2.1.99-5 and new udev and libusb. In newer udev versions we've moved away from /proc/bus/usb/XXX/YYY to /dev/bus/usb/XXX/YYY which needs a newer libusb that understands it. I updated gphoto2 and tried the same command as root. "gphoto2 --auto-detect" as ordinary users still returns nothing. "gphoto2 --auto-detect" as root can detect the camera correctly. However, I still got errors when running "env LANG=C gphoto2 --debug --summary" as root. The versions of udev and libusb are udev-078-8 and libusb-0.1.11-2 respectively. I attached the debug info created by "env LANG=C gphoto2 --debug --summary" as root. Created attachment 124071 [details]
debug info created by "env LANG=C gphoto2 --debug --summary" as root
Can you try forcing PTP mode? gphoto2 --camera "Canon PowerShot A610 (PTP mode)" --port usb: -L Current gphoto2 and kernel version: gphoto2-2.1.99-8 kernel-2.6.16-1.2080_FC5 *** CASE ONE *** run: gphoto2 --camera "Canon PowerShot A610 (PTP mode)" --port usb: -L result: The files are successfully listed. *** CASE TWO *** run: gphoto2 -L the following error message is returned: ----- Detected a 'Canon:PowerShot A610 (normal mode)'. *** Error *** Step #4 failed! (returned 0, expected 64) Camera not operational *** Error (-102: 'Corrupted data') *** For debugging messages, please use the --debug option. Debugging messages may help finding a solution to your problem. If you intend to send any error or debug messages to the gphoto developer mailing list <gphoto-devel.net>, please run gphoto2 as follows: env LANG=C gphoto2 --debug -L Please make sure there is sufficient quoting around the arguments. ----- *** CASE THREE *** run gphoto2 --camera "Canon PowerShot A610 (PTP mode)" --port usb: -L right after the "gphoto2 -L" command (which will fail) the following error message is returned: ----- gp_port_write: Resource temporarily unavailable *** Error *** PTP I/O error *** Error *** An error occurred in the io-library ('Unspecified error'): Could not query kernel driver of device. *** Error (-1: 'Unspecified error') *** For debugging messages, please use the --debug option. Debugging messages may help finding a solution to your problem. If you intend to send any error or debug messages to the gphoto developer mailing list <gphoto-devel.net>, please run gphoto2 as follows: env LANG=C gphoto2 --debug --camera "Canon PowerShot A610 (PTP mode)" --port "usb:" -L Please make sure there is sufficient quoting around the arguments. ----- Once a Canon camera has been accessed in "normal" mode it needs to be detached /powered off/on to be accessed in "PTP" mode again. The autodetection stops after one try. From the list of supported cameras it seems that your camera is supposed to work in both, normal and PTP mode. I'm reporting this issue upstream. |