Menu

#144 Nikon D5100 can't list files after record Video: UNKNOWN PTP Event 4005,

None
open
None
5
2018-10-13
2018-08-26
Tobias Bohn
No

Hey,
I try to use my Nikon D5100 with a Raspberry and gphoto2 to record Videos.

The Problem is, that i CANT connect to the Cam-Filestream in any way (using e.g. gphoto2 -L; gphoto2 --list-files; gphoto2 --get-file x; gphoto2 --delete-file x) after recording a Video once after reboot (using gphoto2 --set-config movie=1 --wait-event=1s --set-config movie=0).

But i CAN connect to the Filestream if i use the Commands directly after the --set-config movie Command (e.g. gphoto2 --set-config movie=1 --wait-event=1s --set-cenfig movie=0 --wait-event=2s --list-files)

Typical Errors:
Only after recording Video the first time after Reboot:
"UNKNOWN PTP Event 4005, Param1 00010001"
(notice that '00010001' is part of my Camera Filestream when it works (/store_00010001/DCIM/100D5100) - but i dont get the connection between the error and my cam-filestream)

Nearly always when recording:
"UNKNOWN PTP Property d0a4 changed" and
"UNKNOWN PTP Property d1f1 changed"

When i try to list files:
"There is no file in folder '/'."
to compare the working output(-before capturing movies the first time after reboot):
"There is no file in folder '/'.
There is no file in folder '/store_00010001'.
There is no file in folder '/store_00010001/DCIM'.
There are 36 files in folder '/store_00010001/DCIM/100D5100'.
1 DSC_0005.MOV rd 2862 KB video/quicktime
2..... and so on"

When i try to do something with the cam-filestream(delete or download files):
"Bad file number. You specified 2, but there are only 0 files available in '/' or its subfolders. Please obtain a valid file number from a file listing first.
Error (-2: 'Bad parameters') "
or
"Error: There are no files in folder '/'.
(-2: 'Bad parameters') "

I attaced my Terminal in and Outpts, the Debug-Reports and all the D5100-Settings to Google Drive: https://drive.google.com/file/d/1K6yS4Zjqdt8bGFt1wZpI303ZhSM4-99k/view?usp=sharing
I would love to get some help.

Discussion

  • Marcus Meissner

    Marcus Meissner - 2018-08-27

    4005 means "Store Removed".
    It is weird that the camera should remove its store from the usb bus.

     
  • Marcus Meissner

    Marcus Meissner - 2018-08-27

    looking over the logfiles... the logfile2 storage query does not report any valid storages available.
    is the camera reporting somethign weird with their card(s)?

    that it works with the movie captur ein the same line is that our logic refreshes the directory list from the captured movie.

     
    • Tobias Bohn

      Tobias Bohn - 2018-08-27

      First thanks for that quick reply.
      Ok so far i used my camera with a flipped display, so i doesnt got any display-output ther, so i turned to see the output:

      Direcly after starting Cam+Raspi: Setting-Control Window (Overview of importend image and camera-data) -image attached to message

      After --trigger-capture: it shoes text (in German, but translatet it say "the connection to the computer is established"). This Text stays until i shot the next picture(but then it comes up directly again) or until i --capture-preview -image atached to message

      After --capture-preview and --set-config movie: shows blackscreen, even after finnishing recording(no set-connection screen)

      Since it sounds like something weird with the camera-memory, i tried another SD-Card, but it behaves completely the same like befor.

       
  • Marcus Meissner

    Marcus Meissner - 2018-08-27
    • assigned_to: Marcus Meissner
    • Group: -->
     
  • Tobias Bohn

    Tobias Bohn - 2018-10-13

    any further informations?

     

Log in to post a comment.