Menu

#1031 Sony a7S ii PTP I/0 Error on RPi A+

open
9
2018-05-08
2017-06-01
No

Hi,

I am trying to control a Sony a7s ii in PC Remote Mode with a RPi A+ and gphoto2. I have installed gphoto2 with the gphoto2-updater.sh for RPi. There are no gvfs files with gphoto2 running.

I want to have the camera plugged into the USB at start up so that a .sh program in .bashrc will have the gphoto2 command to take a picture.

Problem I am encountering is that I am getting the PTP I/0 error and I can detect the camera, but no other gphoto2 commands work. If I unplug the camera and replug it in, I have no issues, but this does not work for my application since the instrument I'm developing will be underwater and I can't be there to unplug and replug the USB everytime.

Error
PTP I/0 Error

Error
An error occured in the io-library ('I/0 problem'): No error description available
ERROR: Could not capture image.
ERROR: Could not capture.

Attached is the debug file.

Any suggestions? Else, I need to reconsider the entire instrument.

1 Attachments

Discussion

  • Marcus Meissner

    Marcus Meissner - 2017-06-02

    is this just happening on startup then?

    can you add a bit of sleeping to your script?

     
    • Camille Pagniello

      Hi Marcus,

      No, unfortunately. It happens at anytime if the camera has been plugged in on start up. If I boot the computer with the camera plugged in and delay any amount of time starting gphoto2, I can’t access the camera.

      The problem is that boot up does something to the camera that won’t allow me to access it.

      Camille

      From: Marcus Meissner marcusmeissner@users.sf.net
      Reply-To: "[gphoto:bugs]" 1031@bugs.gphoto.p.re.sf.net
      Date: Thursday, June 1, 2017 at 11:58 PM
      To: "[gphoto:bugs]" 1031@bugs.gphoto.p.re.sf.net
      Subject: [gphoto:bugs] #1031 Sony a7S ii PTP I/0 Error on RPi A+

      is this just happening on startup then?

      can you add a bit of sleeping to your script?

      [bugs:#1031] Sony a7S ii PTP I/0 Error on RPi A+

      Status: open
      Group: do_not_use_this_camlib/other
      Labels: PTP I/0 Error Sony Sony a7s ii raspberry pi RPi A+
      Created: Thu Jun 01, 2017 07:01 AM UTC by Camille Pagniello
      Last Updated: Thu Jun 01, 2017 07:01 AM UTC
      Owner: Marcus Meissner
      Attachments:
      gphoto2_log.log (28.4 kB; application/octet-stream)
      Hi,

      I am trying to control a Sony a7s ii in PC Remote Mode with a RPi A+ and gphoto2. I have installed gphoto2 with the gphoto2-updater.sh for RPi. There are no gvfs files with gphoto2 running.

      I want to have the camera plugged into the USB at start up so that a .sh program in .bashrc will have the gphoto2 command to take a picture.

      Problem I am encountering is that I am getting the PTP I/0 error and I can detect the camera, but no other gphoto2 commands work. If I unplug the camera and replug it in, I have no issues, but this does not work for my application since the instrument I'm developing will be underwater and I can't be there to unplug and replug the USB everytime.

      Error
      PTP I/0 Error

      Error
      An error occured in the io-library ('I/0 problem'): No error description available
      ERROR: Could not capture image.
      ERROR: Could not capture.

      Attached is the debug file.

      Any suggestions? Else, I need to reconsider the entire instrument.

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gphoto/bugs/1031/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • giorgio

    giorgio - 2018-05-08

    Hi, I'm using the software, but I'm having problems running, I attach a copy of what happens to me, do you have any solution?
    Debian linux operating system on Raspberry latest release.


     

Log in to post a comment.