gphoto / libgphoto2

The libgphoto2 camera access and control library.
GNU Lesser General Public License v2.1
1.02k stars 324 forks source link

Canon EOS M50 Full-Press failed (0x2019: PTP Device Busy) #735

Open lasse79 opened 2 years ago

lasse79 commented 2 years ago

Hi all im running always with my Canon M50 after some days (3m interval) into "full-Press failed (0x2019: PTP Device Busy)" gphoto2 v 2.5.20-3 Tried efterything, with --reset or setting manual " --set-config eosremoterelease=0" and later " --set-config eosremoterelease=3" but nothing helps. Camera is remote and i cant power cycle it. Any way to reboot camera remote?

And idear? common problem what i could figure out with google? Thanks for support

JonasH95 commented 2 years ago

I have the same Problem, with a Canon EOS M6 Mark II...

rainbow-app commented 2 years ago

I'm not a dev and can't help you.

But why don't you try the latest version? May be the problem has been fixed already.

And attach debug logs (if problem persists).

msmeissn commented 2 years ago

hmm after some days?

if gphoto2 --reset does not work ... hmm

https://askubuntu.com/questions/645/how-do-you-reset-a-usb-device-from-the-command-line has some code examples and hints, it might do the same thing though

not sure if it works.

but as written, please update to libgphoto2 2.5.27 to see if the busy is handled better.

gphoto2 --wait-for-event=10s
perhaps to drain the event queue

lasse79 commented 2 years ago

Hi sorry for the delay, Yes, after some days, not exactly same uptime, mostly different. Woundering some internal cache issue!? Might do a "gphoto2 --reset" after every shoot... Is there now way to reboot the camera wit a command?

Even testet reset the usb but dont helps, onlies what helps is a cold start of the camera (but difficult as it is remote). Looks like camera get stock between press button1 and press button2 state... "gphoto2 --wait-for-event=10s" i have already tested but no different.

Was running v 2.5.20-3 or -5 because its raspian default. Just done a update on v2.5.27 and will see if its happen again.

daz commented 2 years ago

I am also having this issue. My Canon 1500D was working fine with gphoto2 (built from repo) for the past 2 days, now it’s throwing this error.

PJF16 commented 1 year ago

Try this: https://github.com/gphoto/libgphoto2/issues/334#issuecomment-1467894827