Liebes Forum,
ich möchte gerne meine Canon EOS 100D für Zeitraffer Aufnahmen verwenden, Hierzu würde sich gphoto2 bestens eignen.
Nach einigem herum Probieren kann ich Fotos speichern, jedoch nur nachdem ich im File Manager händisch die SD Karte aushänge! Problem ist, dass anscheinend auf das Verzeichnis von anderen Programmen bzw. vom System zugegriffen wird.
Bis dato habe ich die SD Karte händisch über den File Manager ausgehangen- jedoch ist das natürlich nicht wirklich die saubere Art.
Die Kamera wird erkannt:
pi@raspberrypi:~ $ gphoto2 --auto-detect
Model Port
----------------------------------------------------------
Canon EOS 100D usb:001,012
You have new mail in /var/mail/pi
Fehlermeldung wenn SD Karte nicht händisch ausgeworfen:
pi@raspberrypi:~ $ gphoto2 --capture-image
*** Error ***
An error occurred in the io-library ('Could not claim the USB device'): Could not claim interface 0 (Device or resource busy). Make sure no other program (gvfs-gphoto2-volume-monitor) or kernel module (such as sdc2xx, stv680, spca50x) is using the device and you have read/write access to the device.
ERROR: Could not trigger image capture.
ERROR: Could not capture.
*** Error (-53: 'Could not claim the USB device') ***
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 --capture-image
Please make sure there is sufficient quoting around the arguments.
You have new mail in /var/mail/pi
Alles anzeigen
Wenn SD Karte ausgeworfen, dann wird pysisch ein Foto gemacht, jedoch ist das Foto später nicht auf der SD Karte zu finden.
Wenn das Foto auf den Raspberry gespeichert wird ist es sichtbar:
pi@raspberrypi:~ $ gphoto2 --capture-image-and-download
New file is in location /capt0000.jpg on the camera
File capt0000.jpg exists. Overwrite? [y|n] n
Specify new filename? [y|n] n
Deleting file /capt0000.jpg on the camera
Deleting 'capt0000.jpg' from folder '/'...
Bitte um eure Hilfe bei folgenden Punkten:
- Wie kann ich über den Terminal- (später bash Skript) den Zugriff auf die SD Karte beenden?
- Gibt es Ideen warum beim händischen aushängen die Fotospeicherung Richtung Rasperry funktioniert, aber direkt auf der Karte nicht?
Vielen Dank im Voraus!
lg
Philipp