Open destinybonavita opened 3 years ago
On Fri, Jan 08, 2021 at 06:31:13AM -0800, destinybonavita wrote:
Describe the bug
I'm trying to use gphoto2 to remotely control my Panasonic G7, and I'm getting the following exception:
*** Error (-105: 'Unknown model') *** of the ports found by 'gphoto2 --list-ports' and make sure the spelling is correct (i.e. with prefix 'serial:' or 'usb:').Loading camera drivers from '/usr/l... | \ 0.0%
...
libgphoto2 2.5.22 all camlibs, gcc, ltdl, EXIF libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, USB, serial without locking
The lumix wifi support was added in libgphoto2 2.5.24...
Ciao, Marcus
On Fri, Jan 08, 2021 at 06:31:13AM -0800, destinybonavita wrote: Describe the bug I'm trying to use gphoto2 to remotely control my Panasonic G7, and I'm getting the following exception:
*** Error (-105: 'Unknown model') *** of the ports found by 'gphoto2 --list-ports' and make sure the spelling is correct (i.e. with prefix 'serial:' or 'usb:').Loading camera drivers from '/usr/l... | \ 0.0% ... libgphoto2 2.5.22 all camlibs, gcc, ltdl, EXIF libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, USB, serial without locking The lumix wifi support was added in libgphoto2 2.5.24... Ciao, Marcus
Ah, ok sorry. I thought I had the latest when I used the updater
I tried using apt-get
but the versions with that appear outdated.
Just wanted to update here. I updated libgphoto2 to 2.5.26 and it didn't seem to work. I tried rebooting as well.
pi@octopi:~ $ gphoto2 --version
gphoto2 2.5.26.1
Copyright (c) 2000-2020 Marcus Meissner and others
gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.
This version of gphoto2 is using the following software versions and options:
gphoto2 2.5.26.1 gcc, popt(m), exif, no cdk, no aa, jpeg, no readline
libgphoto2 2.5.26 standard camlibs (SKIPPING docupen lumix), gcc, ltdl, EXIF
libgphoto2_port 0.12.0 iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi, gcc, ltdl, USB, serial without locking
pi@octopi:~ $ gphoto2 --port ip:10.0.0.232 --camera "Panasonic LumixGSeries" --capture-image --keep
*** Error (-105: 'Unknown model') *** f the ports found by 'gphoto2 --list-ports' and make sure the spelling is correct (i.e. with prefix 'serial:' or 'usb:').Loading camera drivers from '/usr/l... | \ 0.0%
For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --port ip:10.0.0.232 --camera "Panasonic LumixGSeries" --capture-image --keep
Please make sure there is sufficient quoting around the arguments.
pi@octopi:~ $ ```
(SKIPPING docupen lumix) ...
for lumix build you need to qalso have curl and libxml development headers installed during configure time. (curl-dev / libxml-dev or similary namned)
Is there documentation for setting this up @msmeissn ?
not really at this time, sorry. :/
Okay...would you be able to walk me through setting it up? I'm not entirely sure what you meant by your previous message.
i dont know many platforms beside SUSE / openSUSE ... But on Debian or Ubuntu or also Raspberry Pi standard use:
sudo apt-get install libcurl-dev libxml2-dev
whioch should insall those packages ... Then run the configure .. make ... sudo make install sequence again that you used above.
That should be it
So I tried running apt-get install
and I got the following error:
pi@octopi:~ $ sudo apt-get install libcurl-dev libxml2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libcurl-dev is a virtual package provided by:
libcurl4-openssl-dev 7.64.0-4+deb10u1
libcurl4-nss-dev 7.64.0-4+deb10u1
libcurl4-gnutls-dev 7.64.0-4+deb10u1
You should explicitly select one to install.
E: Package 'libcurl-dev' has no installation candidate
lets use the openssl variant:
sudo apt-get install libcurl4-openssl-dev libxml2-dev
Okay so now I'm getting the following errors:
pi@octopi:~ $ gphoto2 --port ptpip:10.0.0.232 --camera "Panasonic LumixGSeries" --capture-image --keep
curl_easy_perform() failed: URL using bad/illegal format or missing URL
Segmentation fault
pi@octopi:~ $ gphoto2 --port ip:10.0.0.232 --camera "Panasonic LumixGSeries" --capture-image --keep
curl_easy_perform() failed: URL using bad/illegal format or missing URL f the ports found by 'gphoto2 --list-ports' and make sure the spelling is correct (i.e. with prefix 'serial:' or 'usb:').Loading camera drivers from '/usr/l... | \ 0.0%
Segmentation fault
pi@octopi:~ $ gphoto2 --list-ports
Devices found: 3
Path Description
--------------------------------------------------------------
ptpip: PTP/IP Connection
serial: Serial Port Device
usb:001,003 Universal Serial Bus
pi@octopi:~ $ ```
Is there a reason `IP` isn't listed as an available port? I had only been able to get the Lumix connection to work when using `ip` not `ptpip`
hmm, it should be listed... i might have markee it hidden.
can you run with --debug --debug-logfile=lumix.log added and attacgh lumix.log ?
Describe the bug
I'm trying to use gphoto2 to remotely control my Panasonic G7, and I'm getting the following exception:
I executed
gphoto2 --list-ports
andIP
was missingI had only been able to get gphoto2 to work with my Mac using
ip
.Name the camera If this is camera specific, include the camera name as shown by gphoto2 --auto-detect or USB IDs
libgphoto2 and gphoto2 version
To Reproduce Steps to reproduce the behavior:
All I've been doing is running
gphoto2 --port ip:192.168.54.1 --camera "Panasonic LumixGSeries" --capture-image --keep
on my raspberry pi 3.