gphoto2 icon indicating copy to clipboard operation
gphoto2 copied to clipboard

Can't detect Nikon Z50

Open wildcard-f8 opened this issue 1 year ago • 3 comments

Describe the bug

*** Error ***
Could not detect any camera *** Error (-105: 'Unknown model') ***

Name the camera

Nikon Z50

libgphoto2 and gphoto2 version

gphoto2 2.5.28 gcc, popt(m), exif, no cdk, no aa, jpeg, readline libgphoto2 2.5.30 standard camlibs, gcc, no ltdl, EXIF libgphoto2_port 0.12.1 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, no ltdl, EXIF, USB, serial without locking

To Reproduce

  1. Connect camera through USB
  2. gphoto2
  3. ???
  4. see error

If its a camera misbehavior, attach debug output using --debug --debug-logfile=debug.log (if considered useful).

0.000086 main (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST: 0.000157 main (2): gphoto2 2.5.28 0.000171 main (2): gphoto2 has been compiled with the following options: 0.000181 main (2): + gcc (C compiler used) 0.000190 main (2): + popt (mandatory, for handling command-line parameters) 0.000199 main (2): + exif (for displaying EXIF information) 0.000208 main (2): + no cdk (for accessing configuration options) 0.000218 main (2): + no aa (for displaying live previews) 0.000226 main (2): + jpeg (for displaying live previews in JPEG format) 0.000235 main (2): + readline (for easy navigation in the shell) 0.000245 main (2): libgphoto2 2.5.30 0.000254 main (2): libgphoto2 has been compiled with the following options: 0.000265 main (2): + standard camlib set (ax203 canon digigr8 dimagev directory docupen jl2005a jl2005c kodak_dc240 lumix mars pentax ptp2 ricoh_g3 sierra sonix sq905 st2205 topfield tp6801) 0.000274 main (2): + gcc (C compiler used) 0.000283 main (2): + no ltdl (for portable loading of camlibs) 0.000291 main (2): + EXIF (for special handling of EXIF files) 0.000304 main (2): libgphoto2_port 0.12.1 0.000314 main (2): libgphoto2_port has been compiled with the following options: 0.000324 main (2): + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi 0.000332 main (2): + gcc (C compiler used) 0.000341 main (2): + no ltdl (for portable loading of iolibs) 0.000350 main (2): + EXIF (for vusb) 0.000359 main (2): + USB (libusb1, for USB cameras) 0.000367 main (2): + serial (for serial cameras) 0.000376 main (2): + no resmgr (serial port access and locking) 0.000385 main (2): + no ttylock (serial port locking) 0.000394 main (2): + no lockdev (serial port locking) 0.000404 main (2): CAMLIBS env var not set, using compile-time default instead 0.000412 main (2): IOLIBS env var not set, using compile-time default instead 0.000420 main (2): invoked with following arguments: 0.000430 main (2): --debug 0.000438 main (2): --debug-logfile=debug.log 0.000465 load_settings (2): Creating gphoto config directory ('/home/magicpotion/.gphoto') 0.000508 load_settings (2): Loading settings from file '/home/magicpotion/.gphoto/settings'. 0.000676 gp_camera_free (2): Freeing camera... 0.000687 gp_port_free (2): Freeing port... 0.000703 gp_filesystem_reset (2): resetting filesystem 0.000712 gp_filesystem_lru_clear (2): Clearing fscache LRU list... 0.000722 gp_filesystem_lru_clear (2): fscache LRU list already empty 0.000731 delete_all_folders (2): Internally deleting all folders from '/'... 0.000741 lookup_folder (2): Lookup folder '/'... 0.000751 lookup_folder (2): Found! / is 0x56069fdaf800 0.000761 recurse_delete_folder (2): Recurse delete folder 0x56069fdaf800// 0.000770 delete_all_files (2): Delete all files in folder 0x56069fdaf800//

wildcard-f8 avatar Jul 22 '22 17:07 wildcard-f8

please check if its visible when you run

lsusb

it is likely a USB connection problem, not a libgphoto2 problem.

msmeissn avatar Jul 23 '22 08:07 msmeissn

Thanks for the reply. Yeah, it doesn't show in lsusb. What can I do to fix it? Other devices work fine on all of the USB ports. If i turn off the camera it can charge through the USB port.

wildcard-f8 avatar Jul 23 '22 15:07 wildcard-f8

I had similar issues with my Nikon Z30 at the beginning, connected to a Raspberry Pi does not work probably caused by low voltage via USB. After I set "Menu > Setup Menu > USB power delivery" to OFF it works fine.

Nic2012 avatar Feb 07 '23 09:02 Nic2012