| Summary: | gphoto2 unable to communicate with Canon EOS-10D | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Herbert Poetzl <herbert> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | anaselli, davidwhodgins, herbert, marja11, sysadmin-bugs, wilcal.int, yann.cantin |
| Version: | 5 | Keywords: | PATCH, UPSTREAM, validated_update |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | MGA5-32-OK MGA5-64-OK advisory | ||
| Source RPM: | libgphoto-2.5.7-1.mga5.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: | the proposed log file output | ||
Hi, Thanks for reporting this. Unfortunately gphoto2 has no dedicated maintainer, although there are packagers that appear to update it from time to time. CC-ing some of them to the bug report. CC:
(none) =>
anaselli, yann.cantin I googled for gp_port_usb_close [libusb1.c:428](0): Invalid parameters: 'port && port->pl->dh' is NULL/FALSE. There's an upstream bug report http://gphoto-software.10949.n7.nabble.com/Problem-connecting-with-Canon-Rebel-XT-EOS-350D-in-normal-mode-td15180.html There's a patch that was added in 2.5.8 CC:
(none) =>
marja11
Samuel Verschelde
2015-09-28 09:28:14 CEST
Keywords:
(none) =>
UPSTREAM Yann, can you push an update to mga5's core/update_testing? Thanks CC:
(none) =>
thierry.vignaud
Samuel Verschelde
2015-09-29 09:56:49 CEST
Keywords:
(none) =>
PATCH Uploaded patched package for Mageia 5. gphoto2 should work with Canon EOS-10D now with the updated libgphoto, please test. Advisory: ======================== gphoto2 failed to establish connection with Canon EOS-10D in normal mode due to a incorrect return value in libgphoto. This update fixes it. ======================== Updated packages in core/updates_testing: ======================== libgphoto2_6-2.5.7-1.1.mga5.i586.rpm libgphoto2_port12-2.5.7-1.1.mga5.i586.rpm libgphoto-common-2.5.7-1.1.mga5.i586.rpm libgphoto-devel-2.5.7-1.1.mga5.i586.rpm libgphoto-debuginfo-2.5.7-1.1.mga5.i586.rpm lib64gphoto2_6-2.5.7-1.1.mga5.x86_64.rpm lib64gphoto2_port12-2.5.7-1.1.mga5.x86_64.rpm libgphoto-common-2.5.7-1.1.mga5.x86_64.rpm lib64gphoto-devel-2.5.7-1.1.mga5.x86_64.rpm libgphoto-debuginfo-2.5.7-1.1.mga5.x86_64.rpm From source RPMs: libgphoto-2.5.7-1.1.mga5.src.rpm Assignee:
bugsquad =>
qa-bugs (In reply to Yann Cantin from comment #5) > gphoto2 failed to establish connection with Canon EOS-10D in normal mode due > to a incorrect return value in libgphoto. This update fixes it. Yann, would you please suggest a simple command(s) line test to POC then test that the update fixes bug. I have an Canon EOS camera. This M5 system sees the camera and is able to transfer files from the camera to the drive. Gwenview and Dolphin ( File Manager ) move files from the camera. CC:
(none) =>
wilcal.int @ Herbert, Could you please update your libgphoto packages with the ones available in updates_testing, to see whether the issue got fixed, and report back here? @ William PoC is in the description of this report: connect camera run "gphoto2 -L" camera is detected get error messages (see Description) Or, observed with a different EOS, in the description here http://gphoto-software.10949.n7.nabble.com/Problem-connecting-with-Canon-Rebel-XT-EOS-350D-in-normal-mode-td15180.html If your EOS type isn't affected, then you can still test whether the update doesn't cause any regressions for your Canon In VirtualBox, M5, KDE, 32-bit Package(s) under test: gphoto2 libgphoto-common libgphoto2_6 libgphoto2_port12 default install of gphoto2 libgphoto-common libgphoto2_6 & libgphoto2_port12 [root@localhost wilcal]# urpmi gphoto2 Package gphoto2-2.5.6-1.mga5.i586 is already installed [root@localhost wilcal]# urpmi libgphoto-common Package libgphoto-common-2.5.7-1.mga5.i586 is already installed [root@localhost wilcal]# urpmi libgphoto2_6 Package libgphoto2_6-2.5.7-1.mga5.i586 is already installed [root@localhost wilcal]# urpmi libgphoto2_port12 Package libgphoto2_port12-2.5.7-1.mga5.i586 is already installed Using a Canon EOS T3i ( D600 ) I'm able to connect to the camera. I can see the images on the cameras sdhc chip using: "gphoto2 -L" I can transfer images and videos from the camera to a local drive using: "gphoto2 -P" Files transferred can be viewed using Gwenview. I can trigger the camera using: "gphoto2 --trigger-capture" install gphoto2 libgphoto-common libgphoto2_6 & libgphoto2_port12 from updates_testing [root@localhost wilcal]# urpmi gphoto2 Package gphoto2-2.5.6-1.mga5.i586 is already installed [root@localhost wilcal]# urpmi libgphoto-common Package libgphoto-common-2.5.7-1.1.mga5.i586 is already installed [root@localhost wilcal]# urpmi libgphoto2_6 Package libgphoto2_6-2.5.7-1.1.mga5.i586 is already installed [root@localhost wilcal]# urpmi libgphoto2_port12 Package libgphoto2_port12-2.5.7-1.1.mga5.i586 is already installed I can see the images on the cameras sdhc chip using: "gphoto2 -L" I can transfer images and videos from the camera to a local drive using "gphoto2 -P" Files transferred can be viewed using Gwenview. I can trigger the camera using: "gphoto2 --trigger-capture" In VirtualBox, M5, KDE, 64-bit Package(s) under test: gphoto2 libgphoto-common libgphoto2_6 libgphoto2_port12 default install of gphoto2 libgphoto-common libgphoto2_6 & libgphoto2_port12 [root@localhost wilcal]# urpmi gphoto2 Package gphoto2-2.5.6-1.mga5.x86_64 is already installed [root@localhost wilcal]# urpmi libgphoto-common Package libgphoto-common-2.5.7-1.mga5.x86_64 is already installed [root@localhost wilcal]# urpmi libgphoto2_6 Package libgphoto2_6-2.5.7-1.mga5.i586 is already installed [root@localhost wilcal]# urpmi libgphoto2_port12 Package libgphoto2_port12-2.5.7-1.mga5.i586 is already installed Using a Canon EOS T3i ( D600 ) I'm able to connect to the camera. I can see the images on the cameras sdhc chip using: "gphoto2 -L" I can transfer images and videos from the camera to a local drive using: "gphoto2 -P" Files transferred can be viewed using Gwenview. I can trigger the camera using: "gphoto2 --trigger-capture" install gphoto2 libgphoto-common libgphoto2_6 & libgphoto2_port12 from updates_testing [root@localhost wilcal]# urpmi gphoto2 Package gphoto2-2.5.6-1.mga5.x86_64 is already installed [root@localhost wilcal]# urpmi libgphoto-common Package libgphoto-common-2.5.7-1.1.mga5.x86_64 is already installed [root@localhost wilcal]# urpmi libgphoto2_6 Package libgphoto2_6-2.5.7-1.1.mga5.i586 is already installed [root@localhost wilcal]# urpmi libgphoto2_port12 Package libgphoto2_port12-2.5.7-1.1.mga5.i586 is already installed I can see the images on the cameras sdhc chip using: "gphoto2 -L" I can transfer images and videos from the camera to a local drive using: "gphoto2 -P" Files transferred can be viewed using Gwenview. I can trigger the camera using: "gphoto2 --trigger-capture" For me this update works fine and causes no regressions. Testing complete for MGA5, 32-bit & 64-bit Validating the update. Could someone from the sysadmin team push to updates. Thanks Keywords:
(none) =>
validated_update
Dave Hodgins
2015-10-07 01:30:22 CEST
CC:
(none) =>
davidwhodgins
Thierry Vignaud
2015-10-07 08:45:35 CEST
CC:
thierry.vignaud =>
(none) An update for this issue has been pushed to Mageia Updates repository. http://advisories.mageia.org/MGAA-2015-0144.html Status:
NEW =>
RESOLVED |
Description of problem: gphoto2 -L fails with Canon EOS-10D (which works flawlessly on Mageia 2 Version-Release number of selected component (if applicable): gphoto2 2.5.6 gcc, popt(m), exif, no cdk, no aa, jpeg, readline libgphoto2 2.5.7 all camlibs, gcc, ltdl, EXIF libgphoto2_port 0.12.0 gcc, ltdl, no USB, serial lockdev locking How reproducible: Always Steps to Reproduce: 1. connect camera 2. run gphoto2 -L 3. Detected a 'Canon:EOS 10D'. *** Error *** Could not establish initial contact with camera *** Error *** An error occurred in the io-library ('Unknown error'): No error description available *** 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@lists.sourceforge.net>, please run gphoto2 as follows: env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -L Please make sure there is sufficient quoting around the arguments. Reproducible: Steps to Reproduce: