gphoto / libgphoto2

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

Canon EOS 1200D Screen goes black #421

Open saraara opened 5 years ago

saraara commented 5 years ago

I have strange issue while capturing image after every 5 seconds automatically. After couple of dozens images being captures correctly, somehow camera turns the screen to black, then camera hangs & takes sometime, and then error out without capturing image. The issue seems to be with SD card. Camera seems unable to capture image to SD card. When turning off and on the camera using the top dial switch, the camera start functioning fine again. but then this issue repeats after several dozen images being captured. I replaced almost half a dozen different SD cards, but this issue remains.

Any help fixing this issue?

I am using version 2.5.20

The command I issue from command prompt is --capture-image-and-download

Mahmood-Hussain commented 5 years ago

Camera takes sometime to transfer images to SD card. Capturing images at an interval of 5 seconds maybe the main cause for this problem (maybe buffer is full after sometime and then it’s unable to do further operations). Try to increase 5 seconds to 30 seconds and note the output it should work.

On Tue, 25 Jun 2019 at 8:35 AM, saraara notifications@github.com wrote:

I have strange issue while capturing image after every 5 seconds automatically. After couple of dozens images being captures correctly, somehow camera turns the screen to black, then camera hangs & takes sometime, and then error out without capturing image. The issue seems to be with SD card. Camera seems unable to capture image to SD card. When turning off and on the camera using the top dial switch, the camera start functioning fine again. but then this issue repeats after several dozen images being captured.

Any help fixing this issue?

The command I issue from command prompt is --capture-image-and-download

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gphoto/libgphoto2/issues/421?email_source=notifications&email_token=AHOTU7NKJ5FGIRAOKHGYOL3P4GDOPA5CNFSM4H3D6WAKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G3N3WGA, or mute the thread https://github.com/notifications/unsubscribe-auth/AHOTU7KM7IKWM7LOEGUKPQDP4GDOPANCNFSM4H3D6WAA .

--

Thanks and Regards MAHMOOD HUSSAIN BHAT

Student

St. Andrews Institute of Technology and Management

Khurrampur, Farrukhnagar- Haily Mandi Road, Gurgaon (HR)-122506

email: mahmoodbhat3135@gmail.com mahmoodbhat3135@gmail.com

saraara commented 5 years ago

I actually increased the interval from 5 seconds to 40 seconds, and this problem remains.

In another words I first started capturing image at every 5 seconds, and encounter above issue. I then gradually increased time interval unto 30 seconds, and above issue remains.

It works just fine for several dozen image capture, and then somehow camera lost connection with SD card. turning camera power off and on makes everything to work just fine until next time this issue reappears.

Mahmood-Hussain commented 5 years ago

Which camera you are using? Are you using HDD(with like raspberry Pi) or SD camera inside camera?

On Tue, 25 Jun 2019 at 9:09 AM, saraara notifications@github.com wrote:

I actually increased the interval from 5 seconds to 40 seconds, and this problem remains.

In another words I first started capturing image at every 5 seconds, and encounter above issue. I then gradually increased time interval unto 30 seconds, and above issue remains.

It works just fine for several dozen image capture, and then somehow camera lost connection with SD card. turning camera power off and on makes everything to work just fine until next time this issue reappears.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/gphoto/libgphoto2/issues/421?email_source=notifications&email_token=AHOTU7KFB64WXINTEZKW25LP4GHPTA5CNFSM4H3D6WAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYO4VOI#issuecomment-505268921, or mute the thread https://github.com/notifications/unsubscribe-auth/AHOTU7MCOPC5XOCLEOLEERTP4GHPTANCNFSM4H3D6WAA .

--

Thanks and Regards MAHMOOD HUSSAIN BHAT

Student

St. Andrews Institute of Technology and Management

Khurrampur, Farrukhnagar- Haily Mandi Road, Gurgaon (HR)-122506

email: mahmoodbhat3135@gmail.com mahmoodbhat3135@gmail.com

saraara commented 5 years ago

Camera straight connected with USB cable to Mac. Camera has SD card inside. I am capturing images through simple script. That's about it.

Mahmood-Hussain commented 5 years ago

Which camera?

On Tue, 25 Jun 2019 at 9:13 AM, saraara notifications@github.com wrote:

Camera straight connected with USB cable to Mac. Camera has SD card inside. I am capturing images through simple script. That's about it.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/gphoto/libgphoto2/issues/421?email_source=notifications&email_token=AHOTU7J24YVQMSW44VFGMETP4GH7ZA5CNFSM4H3D6WAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYO43SQ#issuecomment-505269706, or mute the thread https://github.com/notifications/unsubscribe-auth/AHOTU7KDDNGVCGSNCMQKMZLP4GH7ZANCNFSM4H3D6WAA .

--

Thanks and Regards MAHMOOD HUSSAIN BHAT

Student

St. Andrews Institute of Technology and Management

Khurrampur, Farrukhnagar- Haily Mandi Road, Gurgaon (HR)-122506

email: mahmoodbhat3135@gmail.com mahmoodbhat3135@gmail.com

saraara commented 5 years ago

Canon EOS 1200D

Mahmood-Hussain commented 5 years ago

This issue seems to have links with camera and SD card. (If your computer switches from standby to sleep that may also cause this problem. Try to increase the standby time of your Mac)

On Tue, 25 Jun 2019 at 9:14 AM, saraara notifications@github.com wrote:

Canon EOS 1200D

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/gphoto/libgphoto2/issues/421?email_source=notifications&email_token=AHOTU7PJ2VSVAHKKOQXKJX3P4GIDRA5CNFSM4H3D6WAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYO443A#issuecomment-505269868, or mute the thread https://github.com/notifications/unsubscribe-auth/AHOTU7NP5NWOHHQEE4T44A3P4GIDRANCNFSM4H3D6WAA .

--

Thanks and Regards MAHMOOD HUSSAIN BHAT

Student

St. Andrews Institute of Technology and Management

Khurrampur, Farrukhnagar- Haily Mandi Road, Gurgaon (HR)-122506

email: mahmoodbhat3135@gmail.com mahmoodbhat3135@gmail.com

saraara commented 5 years ago

Mac set-up for never turn the screen off or never goes into sleep mode. Thought something beyond this normal troubleshooting might help to resolve this issue.

Mahmood-Hussain commented 5 years ago

I used Canon EOS 550D with python script to automatically capture images that worked fine for me.

On Tue, 25 Jun 2019 at 9:24 AM, saraara notifications@github.com wrote:

Mac set-up for never turn the screen off or never goes into sleep mode. Thought something beyond this normal troubleshooting might help to resolve this issue.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/gphoto/libgphoto2/issues/421?email_source=notifications&email_token=AHOTU7KJQMRHWZARMUMXQ5DP4GJJDA5CNFSM4H3D6WAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYO5KUI#issuecomment-505271633, or mute the thread https://github.com/notifications/unsubscribe-auth/AHOTU7JZJC4K7S5UHA366WDP4GJJDANCNFSM4H3D6WAA .

--

Thanks and Regards MAHMOOD HUSSAIN BHAT

Student

St. Andrews Institute of Technology and Management

Khurrampur, Farrukhnagar- Haily Mandi Road, Gurgaon (HR)-122506

email: mahmoodbhat3135@gmail.com mahmoodbhat3135@gmail.com

msmeissn commented 5 years ago

What is gphoto2 --get-config capturetarget showing? If this only happens after quite a number of capture to card, it might also be a faulty card, can you replace it with a fresh one?