Thanks for the advice.
$ which ptpcam
/usr/local/bin/ptpcam
$ ldd `which ptpcam`
linux-vdso.so.1 (0x7ef8d000)
/usr/lib/arm-linux-gnueabihf/libarmmem.so (0x76fc0000)
libptp2.so.1 => /usr/local/lib/libptp2.so.1 (0x76f8f000)
libusb-0.1.4 => not found
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x76e4e000)
/lib/ld-linux-armhf.so.3 (0x54b2f000)
$ ldd /usr/local/bin/ptpcam
linux-vdso.so.1 (0x7efcd000)
/usr/lib/arm-linux-gnueabihf/libarmmem.so (0x76f90000)
libptp2.so.1 => /usr/local/lib/libptp2.so.1 (0x76f5f000)
libusb-0.1.4 => not found
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x76e1e000)
/lib/ld-linux-armhf.so.3 (0x54ade000)
I note it’s still complaining about not having libusb v0.1.4 installed.
I just installed libusb v0.1.4 from source (so I now have v0.1.4 and v0.1.8 installed on my system).
$ ldd /usr/local/bin/ptpcam
linux-vdso.so.1 (0x7ed37000)
/usr/lib/arm-linux-gnueabihf/libarmmem.so (0x76f59000)
libptp2.so.1 => /usr/local/lib/libptp2.so.1 (0x76f3c000)
libusb-0.1.4 => /usr/local/lib/libusb-0.1.4 (0x76f24000)
libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0x76dcf000)
/lib/ld-linux-armhf.so.3 (0x54adf000)
That appears to be happy, at least… testing…
Ok, now ptpcam isn’t complaining about missing libraries. That’s a step forward! Thanks for your help with that.
Now continuing with the problems…
$ gphoto2 --auto-detect
Model Port
----------------------------------------------------------
USB PTP Class Camera usb:001,016
$ lsusb
Bus 001 Device 015: ID 0000:0538
Bus 001 Device 007: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
Bus 001 Device 006: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 005: ID 0bda:5411 Realtek Semiconductor Corp.
Bus 001 Device 004: ID 0bda:5411 Realtek Semiconductor Corp.
Bus 001 Device 017: ID 05ca:0367 Ricoh Co., Ltd
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ ptpcam -l
Found no PTP devices
$ ptpcam -i
Camera information
==================
could not find any device matching given bus/dev numbers
So ptpcam still isn’t detecting the Theta…
Just to check, I also tested:
$ gphoto2 --capture-image-and-download
New file is in location /store_00010001/DCIM/100RICOH/R0010104.JPG on the camera
*** Error ***
PTP I/O Error
ERROR: Could not get image
Interesting. This was working before… I’ll run it again…
$ gphoto2 --capture-image-and-download
New file is in location /store_00010001/DCIM/100RICOH/R0010105.JPG on the camera
Saving file as R0010105.JPG
Deleting file /store_00010001/DCIM/100RICOH/R0010105.JPG on the camera
After running ls, I can confirm that file copied over to the RPi… gphoto2 seems to be working fine now! Don’t know why gphoto2 had that temporary issue. I changed nothing, I literally tried it twice in a row, not running any other commands in between.
In any case, ptpcam still isn’t working…
You can also try cloning Koen Hufken’s repo and seeing if it installs libptp and ptpcam for you.
Sorry to be a complete noob, but could you please explain how to do this?
EDIT: never mind, I see the link at the bottom of your post. I glossed over that, assuming it was a forum post signature. Silly me! I’ll install that now and will report back.
EDIT 2: Ok, ran the installer script, and this happened:
(there was a bunch of apt-get install responses; here are the last few lines of output....)
install_photosphere.sh: 26: install_photosphere.sh: [[: not found
install_photosphere.sh: 34: cd: can't cd to /root/libptp/
install_photosphere.sh: 35: install_photosphere.sh: ./configure: not found
sudo: ./make: command not found
I initially ran this as user Pi, but had permissions errors, so the second time around ran it as sudo. That’s when the above happened.
I then did some testing, just in case it had fixed things somehow:
$ ptpcam -l
Found no PTP devices
So still no joy, sadly.
Thanks for your help and time with this. I appreciate it heaps. Hopefully, we’ll find an answer.