GithubHelp home page GithubHelp logo

Comments (5)

lwille avatar lwille commented on August 17, 2024

Please include some platform info when posting issues.


Leonhardt Wille

Am 02.11.2013 um 19:40 schrieb 80leaves [email protected]:

Hey,

I figured out that you have to reset the usb port before you can take a second picture. Am I the only one having this issue?


Reply to this email directly or view it on GitHub.

from node-gphoto2.

80leaves avatar 80leaves commented on August 17, 2024

Sorry completely forgot about that :D
node v0.10.6
gphoto2 2.5.2 gcc, popt(m), exif, no cdk, no aa, no jpeg, no readline
libgphoto2 2.5.2 all camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.10.0 gcc, ltdl, USB, serial without locking
and node-gphoto2 v0.1.3

After each picture I have to either use usbreset http://askubuntu.com/questions/645/how-do-you-reset-a-usb-device-from-the-command-line or restart the application.

Edit:
I started a plain new project with the same versions and the error code I keep receiving is -60

cheers
80

from node-gphoto2.

lwille avatar lwille commented on August 17, 2024

Is anybody else able to reproduce and maybe debug this issue?

from node-gphoto2.

cfranz avatar cfranz commented on August 17, 2024

This is a typical behaviour on a Raspberry Pi. I had the same problem using gphoto2 with Python. You should reset the USB connection after each picture using usbreset.

from node-gphoto2.

lwille avatar lwille commented on August 17, 2024

use https://github.com/nonolith/node-usb to reset the port.

from node-gphoto2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.