New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Canon Powershot SX540 HS Timout while capturing #360
Comments
Same problem occurs when trying to set e.g. the ISO settings via --set-config. A --list-config or --get-config works. I will reproduce it within the next days and post another debug file. |
in both debug logs the communication with the camera seems already dead (it only gets timeouts) Can you get one after a fresh attach? I had reports that SX540HS works from someone else :/ |
No problem, will do so - as soon as possible. I read some where that this camera works , too. That's why I am wondering why I am not able to get it working. Thanks for looking into that issue! |
Hopefully I did everything right:
|
Please let me know if I can do anything more to give you as much information as possible. |
Encountered a similar issue with the following: Problem: Changing camera caputre settings (aperture or shutterspeed) or imgage settings (iso) did not cause and error. But when an attempt to trigger the camera to take photo, it causes a camera error: "Canon EOS M Full-Press failed (0x2019: PTP Device Busy)" |
Any news about it ? |
I gave it a try again with the latest release, still the same. Any news on it ? |
Hi, I have the same camera and same problems with gphoto2. Have you managed to solve the problem? |
@mechrekt : Sadly not. I gave up trying it since nothing helped and no one seems to have a solution or a hint. |
Thank you for your reply. The sad thing is that on gphoto web page the camera is declared as supported (Image Capture, Liveview, Configuration). Thank you |
I do not have any other camera which is supported, so sadly no other testing possible. |
It seemed to work until it didn't. It is users like you that report and try camera, and that's what the information is based. Sometime users also help debugging and the trial and error it takes. Unless Marcus has the camera to actually debug it, and even then it's not a done deal ; it remain a difficult task. Remember: none of the camera vendors help. No doc, no support, not even hardware (loans). Marcus do this on his free time.
Don't forget to tell the manufacturer why you return it. While bearing no hope, it surely has more impact than not telling anything. Given how the market / revenue is going downhill they might have to change. |
Ok, I understand, I agree with you. If someone has some time to try I can give debug files if it helps. I've already sent debug file to gphoto-devel@lists.sourceforge.net hoping to do the right thing. Thank you again guys. |
Sorry for losing track of this issue. In the gphoto.log from @Creat1veM1nd the camera firmware is crashing: 1.381341 ptp_usb_senddata (2): Sending PTP_OC 0x9110 (PTP_OC_CANON_EOS_SetDevicePropValueEx) data... 0000 18 00 00 00 02 00 10 91-18 00 00 00 0c 00 00 00 ................ 1.576747 camera_prepare_canon_eos_capture config.c:458: 'ptp_canon_eos_setdevicepropvalue (params, PTP_DPC_CANON_EOS_EVFOutputDevice, &ct_val, PTP_DTC_UINT16)' failed: PTP I/O Error (0x02ff) We can try to do adjustments to this code. But in general, the new generation PowerShot SX series cameras ... while they support EOS style capture, it is very fragile and I have not been able to make all versions work. (e.g. my parents SX600HS does not work, my SX720HS works) ... |
Hi, thank you for your reply!
I bought this camera (Canon Powershot SX540 HS) on Amazon, so I can do a
return for a few more weeks. Please let me know if you intend to test and
if I can provide some logs and do some debug with you before returning it,
otherwise I will return it immediately and search for another camera which
is most definitely supported by gphoto.
Thank you very much for your availability and for your support!
Michele
Il giorno mer 12 ago 2020 alle ore 18:07 Marcus Meissner <
notifications@github.com> ha scritto:
… Sorry for losing track of this issue.
In the gphoto.log from @Creat1veM1nd <https://github.com/Creat1veM1nd>
the camera firmware is crashing:
1.381341 ptp_usb_senddata (2): Sending PTP_OC 0x9110
(PTP_OC_CANON_EOS_SetDevicePropValueEx) data...
0000 18 00 00 00 02 00 10 91-18 00 00 00 0c 00 00 00 ................
0010 b0 d1 00 00 08 00 00 00- ........
1.576747 camera_prepare_canon_eos_capture config.c:458 <http://0>:
'ptp_canon_eos_setdevicepropvalue (params,
PTP_DPC_CANON_EOS_EVFOutputDevice, &ct_val, PTP_DTC_UINT16)' failed: PTP
I/O Error (0x02ff)
We can try to do adjustments to this code.
But in general, the new generation PowerShot SX series cameras ... while
they support EOS style capture, it is very fragile and I have not been able
to make all versions work. (e.g. my parents SX600HS does not work, my
SX720HS works) ...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#360 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANQHSKWSVT6AKPSHJC3FKD3SAK43RANCNFSM4GSTTUJA>
.
|
If needed I can try and give it another shot. Have to set up the whole thing again, so might take a while. But let me know. |
are you able to update libgphoto2 current git? |
Will try tonight, when off work. Anything particular I shall test then ? |
Hi, |
So I have a change spoecific to the SX540 HS in current git in camlibs/ptp2/config.c Sio you can try first the current libgphoto2 GIT as-is, if that does not change, adjust the above to "mode = 0x1;" perhaps |
Sorry I did not understand your last comment. I'm not so expert so if you need me to do something, please try to guide me step by step. Sorry and thank you again. |
I am afraid you really should be at the knowledge level of "git checkout and recompilation of libgphoto2", otherwise this kind of remote debugging does not make much sense. I currently do not have time to offer help on the git / recompilation parts :/ |
No problem, please let me know if I can read from somewhere how to "git checkout and recompilation" (I like to learn). |
I finally found some time to set up a fresh raspi and install libphoto and gphoto. But ended up with this:
Tried some hints found in the net like changing the prefix for configure for libphoto, but with no luck. After several hours of trying I gave up. Would be much appreciate if you could help with that. I followed the instructions of INSTALL.md for libphoto and the README.md for gphoto2 Having a look in the directories I used for configure always showed libgphoto2.so.6 exists. |
Execute the following command. echo $ LD_LIBRARY_PATHDoes the execution result include the path where libgphoto2.so.6 exists? If not, run the following command. $export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/foo/bar The command adds the path /foo/bar where libgphoto2.so.6 resides to the environment variable LD_LIBRARY_PATH and the reference to libgphoto2.so.6 is resolved. |
Ah, thanks. That worked. But next problem occured: camera is not detected.
But
and Probably the raspi 3 might be the cause, since my netbook (running there the not working copy of libphoto) does detect the camera correctly. Not sure if I will get my hands on another raspi soon, but I will try my best. |
Some news. I got it up and running on my netbook (same device which was used when I originally posted the problem). I was able to take photos via CLI and Entangle. But as soon as I wanted to set the ISO setting, the camera seems to be in a loop and does not come back. I tried it with mode=0x11 and mode=0x1 - same behavior. Attached file was made with running gphoto2 --debug --set-config /main/imgsettings/iso=2 2>&1 | tee gphoto.log |
very good to hear it works for capture. does preview work too? The hang is on closing, hard to say why this specific call hangs |
Live preview with Entangle is working |
With the newest version of gphoto2 (2.5.20) and libgphoto2 (2.5.22) I finally managed to get my Canon Powershot SX540 HS recognized. The system is a Lubuntu 18
I called gphoto2 --capture-image
The camera driver is loaded. Then a long time nothing happens. After some time I do get the message "Canon EOS M Full-Press failed" plus 0x02ff.
After some time then also a error about a event with 0x2002
A picture is not taken and the camera hangs. I need to remove the battery to get the camera reacting again.
As read somewhere I needed to unmount the camera first in order to get not I/O Error.
I attached a debug file. I hope it helps. I also added a file while trying --capture-preview
Thanks in advance!
debug.txt
my-logfile.txt
The text was updated successfully, but these errors were encountered: