Marcus,

I just built libgphoto2 and gphoto2 from github. Both of these seem to
build. However gphoto2 fails make check. When I run gphoto2 --autodetect no
camera shows up. What can I do to get this to build properly?

Thanks,
Brandon



On Tue, Jul 7, 2020 at 11:27 AM Brandon Lampert <brandonlamp...@gmail.com>
wrote:

> Hi Marcus,
>
> I built libgphoto2 from GIT and "gphoto2-config --version" shows that I am
> running 2.5.25.1. Also, I built gphoto2 from GIT but the logs I sent you
> yesterday show libgphoto2 version 2.5.16. I am not sure why this is
> happening. How can I make sure that gphoto2 built from GIT uses libgphoto2
> I built from GIT?
>
> Brandon
>
> On Mon, Jul 6, 2020 at 10:18 PM Marcus Meissner <mar...@jet.franken.de>
> wrote:
>
>> Hi,
>>
>> From the debuglogs, it seems you did not rebuild libgphoto2 from GIT?
>>
>> Can you try to do that?
>>
>> Ciao, Marcus
>> On Mon, Jul 06, 2020 at 01:29:25PM -0700, Brandon Lampert wrote:
>> > Hi Marcus,
>> > The camera lens does not open after running any of the listed commands.
>> > After running "ghoto2 --capture-preview" I got an error and ran the
>> > recommended debug option. This is attached as my-logfile.txt. During the
>> > trace I took a picture but am unsure at what point I took it at. I can
>> do
>> > another trace without taking a picture if that helps.
>> >
>> > Brandon
>> >
>> > On Mon, Jul 6, 2020 at 1:22 AM Marcus Meissner <mar...@jet.franken.de>
>> > wrote:
>> >
>> > > Hi,
>> > >
>> > > I started to add some code.
>> > >
>> > > Can you update libgphoto2 from GIT and run:
>> > >
>> > > 1.  gphoto2 --summary --debug --debug-logfile=summary-debug.txt >
>> > > summary.txt
>> > >
>> > >         mail me summary.txt and summary-debug.txt of this please
>> > >
>> > > 2. gphoto2 --capture-preview
>> > >
>> > >         might work already.... please report if it works or not.
>> > >
>> > > 3. gphoto2 --wait-event=30s --debug-logfile=waitevent-debug.txt
>> --debug
>> > >
>> > >         press the shutter button here (and the camera should take a
>> > > picture)
>> > >
>> > >         and send me the waitevent-debug.txt file.
>> > >
>> > >
>> > > Do I understand right you tried to take a picture during below trace?
>> > >
>> > >
>> > > Ciao, Marcus
>> > >
>> > > On Tue, Jun 30, 2020 at 06:00:39PM +0200, Marcus Meissner wrote:
>> > > > Hi,
>> > > >
>> > > > This is very helpful, thanks. I will be going over it slowly
>> > > > and implement things.
>> > > >
>> > > > What I see so far is different opcodes used than for Sony Alpha,
>> > > > so I will need some turn arounds with you for testing :/
>> > > >
>> > > > Ciao, Marcus
>> > > > On Tue, Jun 30, 2020 at 12:05:35AM -0700, Brandon Lampert wrote:
>> > > > > Hi Marcus,
>> > > > >
>> > > > > I tested the following commands through windows with Wireshark
>> running:
>> > > > >
>> > > > > still mode, shutter, zoom in, zoom out, white balance initialize,
>> movie
>> > > > > mode, record (displays no memory card error since there is not a
>> memory
>> > > > > card inserted ), manual auto focus, focus right button, focus left
>> > > button,
>> > > > > still mode, single shot auto focus, 0.3 exposure comp., -0.3
>> exposure
>> > > comp.
>> > > > > 0 exposure com., power off
>> > > > >
>> > > > > If it would be helpful I can also do a video screen capture and
>> run
>> > > more
>> > > > > commands.
>> > > > >
>> > > > > Brandon
>> > > > >
>> > > > >  DSC-QX30WiresharkCap.pcapng.gz
>> > > > > <
>> > >
>> https://drive.google.com/file/d/1PIeOor0LbU1BfDVv_e1LZQ0I2RkemZHC/view?usp=drive_web
>> > > >
>> > > > >
>> > > > > On Sun, Jun 28, 2020 at 11:08 PM Marcus Meissner <
>> > > mar...@jet.franken.de>
>> > > > > wrote:
>> > > > >
>> > > > > > Hi,
>> > > > > >
>> > > > > > What could help if you could get a USB sniff of windows
>> accessing the
>> > > > > > camera :/
>> > > > > >
>> > > > > > Ciao, Marcus
>> > > > > > On Mon, Jun 29, 2020 at 07:57:54AM +0200, Marcus Meissner wrote:
>> > > > > > > Hi,
>> > > > > > >
>> > > > > > > I did not have much luck in reverse engineering it yet, and I
>> have
>> > > > > > currently
>> > > > > > > focused on a Sony ZV-1 I borrowed.
>> > > > > > >
>> > > > > > > it also seems to have different commands than the other Sony
>> Alpha
>> > > :(
>> > > > > > >
>> > > > > > > Ciao, Marcus
>> > > > > > > On Wed, Jun 24, 2020 at 10:15:38AM -0700, Brandon Lampert
>> wrote:
>> > > > > > > > Hi Marcus,
>> > > > > > > >
>> > > > > > > > How is the work with the QX30 going? Is there any other
>> > > information
>> > > > > > from
>> > > > > > > > the QX30 that would help?
>> > > > > > > >
>> > > > > > > > Thanks,
>> > > > > > > > Brandon
>> > > > > > > >
>> > > > > > > > On Wed, Jun 17, 2020 at 11:18 AM Brandon Lampert <
>> > > > > > brandonlamp...@gmail.com>
>> > > > > > > > wrote:
>> > > > > > > >
>> > > > > > > > > Marcus,
>> > > > > > > > >
>> > > > > > > > > I have been using Camera Control Manager Ver.1.1 from
>> Sony.
>> > > > > > > > > https://www.sony.net/Products/CameraSystem/CA/UMC_S3CA/
>> > > > > > > > >
>> > > > > > > > > Brandon
>> > > > > > > > >
>> > > > > > > > > On Wed, Jun 17, 2020 at 1:53 AM Marcus Meissner <
>> > > meiss...@suse.de>
>> > > > > > wrote:
>> > > > > > > > >
>> > > > > > > > >> Hi,
>> > > > > > > > >>
>> > > > > > > > >> On Tue, Jun 16, 2020 at 11:47:56AM -0700, Brandon Lampert
>> > > wrote:
>> > > > > > > > >> > Marcus,
>> > > > > > > > >> >
>> > > > > > > > >> > Attached is the debug log. The camera is a lens-style
>> and
>> > > does
>> > > > > > not have
>> > > > > > > > >> a
>> > > > > > > > >> > way to change the usb mode through a user menu. I
>> found a
>> > > > > > collection of
>> > > > > > > > >> > source code from Sony which may help with tracking down
>> > > those
>> > > > > > unknown
>> > > > > > > > >> PTP
>> > > > > > > > >> > commands.
>> > > > > > > > >> >
>> > > > > > > > >> > https://oss.sony.net/Products/Linux/DI/DSC-QX30.html
>> > > > > > > > >>
>> > > > > > > > >> I looked at the link and it sadly is "just" the
>> opensource
>> > > parts,
>> > > > > > > > >> no camera logic parts as far as I see.
>> > > > > > > > >>
>> > > > > > > > >> With which Windows tool is this possible? Perhaps I can
>> take
>> > > a look
>> > > > > > at
>> > > > > > > > >> that.
>> > > > > > > > >>
>> > > > > > > > >> ciao, Marcus
>> > > > > > > > >>
>> > > > > > > > >
>> > > > > > >
>> > > > > > > --
>> > > > > > > Marcus Meissner,SUSE LINUX GmbH; Maxfeldstrasse 5; D-90409
>> > > Nuernberg;
>> > > > > > Zi. 3.1-33,+49-911-740 53-432,,serv=loki,mail=wotan,type=real <
>> > > > > > meiss...@suse.de>
>> > > > > >
>> > > >
>> > > >
>> > > > _______________________________________________
>> > > > Gphoto-devel mailing list
>> > > > Gphoto-devel@lists.sourceforge.net
>> > > > https://lists.sourceforge.net/lists/listinfo/gphoto-devel
>> > >
>>
>> > Camera summary:
>> > Manufacturer: Sony Corporation
>> > Model: DSC-QX30U
>> >   Version: 3.00
>> >   Serial Number: 00000000000000004205000003202433
>> > Vendor Extension ID: 0x11 (1.0)
>> > Vendor Extension Description: Sony PTP Extensions
>> >
>> > Capture Formats:
>> > Display Formats: Association/Directory, MPEG, JPEG, Unknown(b982),
>> Unknown(b301), Undefined Type, ARW, Unknown(b310)
>> >
>> > Device Capabilities:
>> >       File Download, No File Deletion, No File Upload
>> >       No Image Capture, No Open Capture, No vendor specific capture
>> >
>> > Storage Devices Summary:
>> >
>> > Device Property Summary:
>> >
>>
>> > 0.000219 main                        (2): ALWAYS INCLUDE THE FOLLOWING
>> LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
>> > 0.000338 main                        (2): gphoto2 2.5.23.1
>> > 0.000374 main                        (2): gphoto2 has been compiled
>> with the following options:
>> > 0.000401 main                        (2):  + gcc (C compiler used)
>> > 0.000424 main                        (2):  + popt (mandatory, for
>> handling command-line parameters)
>> > 0.000447 main                        (2):  + exif (for displaying EXIF
>> information)
>> > 0.000470 main                        (2):  + cdk (for accessing
>> configuration options)
>> > 0.000492 main                        (2):  + no aa (for displaying live
>> previews)
>> > 0.000514 main                        (2):  + jpeg (for displaying live
>> previews in JPEG format)
>> > 0.000537 main                        (2):  + no readline (for easy
>> navigation in the shell)
>> > 0.000560 main                        (2): libgphoto2 2.5.16
>>
>
Making check in libgphoto2_port
make[1]: Entering directory '/home/brandon/libgphoto2/libgphoto2_port'
Making check in po
make[2]: Entering directory '/home/brandon/libgphoto2/libgphoto2_port/po'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/home/brandon/libgphoto2/libgphoto2_port/po'
Making check in libgphoto2_port
make[2]: Entering directory 
'/home/brandon/libgphoto2/libgphoto2_port/libgphoto2_port'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory 
'/home/brandon/libgphoto2/libgphoto2_port/libgphoto2_port'
Making check in test
make[2]: Entering directory '/home/brandon/libgphoto2/libgphoto2_port/test'
make  test-port-list
make[3]: Entering directory '/home/brandon/libgphoto2/libgphoto2_port/test'
make[3]: 'test-port-list' is up to date.
make[3]: Leaving directory '/home/brandon/libgphoto2/libgphoto2_port/test'
make  check-TESTS
make[3]: Entering directory '/home/brandon/libgphoto2/libgphoto2_port/test'
make[4]: Entering directory '/home/brandon/libgphoto2/libgphoto2_port/test'
PASS: test-port-list
============================================================================
Testsuite summary for libgphoto2 port access library 0.12.0
============================================================================
# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[4]: Leaving directory '/home/brandon/libgphoto2/libgphoto2_port/test'
make[3]: Leaving directory '/home/brandon/libgphoto2/libgphoto2_port/test'
make[2]: Leaving directory '/home/brandon/libgphoto2/libgphoto2_port/test'
Making check in .
make[2]: Entering directory '/home/brandon/libgphoto2/libgphoto2_port'
make[2]: Leaving directory '/home/brandon/libgphoto2/libgphoto2_port'
Making check in doc
make[2]: Entering directory '/home/brandon/libgphoto2/libgphoto2_port/doc'
Dummy target all-local.
make[2]: Leaving directory '/home/brandon/libgphoto2/libgphoto2_port/doc'
Making check in gphoto-m4
make[2]: Entering directory '/home/brandon/libgphoto2/libgphoto2_port/gphoto-m4'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/home/brandon/libgphoto2/libgphoto2_port/gphoto-m4'
make[1]: Leaving directory '/home/brandon/libgphoto2/libgphoto2_port'
Making check in libgphoto2
make[1]: Entering directory '/home/brandon/libgphoto2/libgphoto2'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/brandon/libgphoto2/libgphoto2'
Making check in camlibs
make[1]: Entering directory '/home/brandon/libgphoto2/camlibs'
Making check in .
make[2]: Entering directory '/home/brandon/libgphoto2/camlibs'
make[2]: Leaving directory '/home/brandon/libgphoto2/camlibs'
Making check in canon/doc
make[2]: Entering directory '/home/brandon/libgphoto2/camlibs/canon/doc'
Dummy target all-local.
make[2]: Leaving directory '/home/brandon/libgphoto2/camlibs/canon/doc'
Making check in konica/localization
make[2]: Entering directory 
'/home/brandon/libgphoto2/camlibs/konica/localization'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory 
'/home/brandon/libgphoto2/camlibs/konica/localization'
make[1]: Leaving directory '/home/brandon/libgphoto2/camlibs'
Making check in tests
make[1]: Entering directory '/home/brandon/libgphoto2/tests'
Making check in ddb
make[2]: Entering directory '/home/brandon/libgphoto2/tests/ddb'
make  check-am
make[3]: Entering directory '/home/brandon/libgphoto2/tests/ddb'
make   
make[4]: Entering directory '/home/brandon/libgphoto2/tests/ddb'
make  all-am
make[5]: Entering directory '/home/brandon/libgphoto2/tests/ddb'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/home/brandon/libgphoto2/tests/ddb'
make[4]: Leaving directory '/home/brandon/libgphoto2/tests/ddb'
make[3]: Leaving directory '/home/brandon/libgphoto2/tests/ddb'
make[2]: Leaving directory '/home/brandon/libgphoto2/tests/ddb'
make[2]: Entering directory '/home/brandon/libgphoto2/tests'
make  test-endian test-camera-list test-pedantic-c test-pedantic-cxx 
test-pedantic-c90 test-pedantic-c99 test-pedantic-c11 test-pedantic-cxx98 
test-pedantic-cxx11 test-pedantic-cxx14 test-pedantic-cxx17
make[3]: Entering directory '/home/brandon/libgphoto2/tests'
make[3]: 'test-endian' is up to date.
make[3]: 'test-camera-list' is up to date.
make[3]: 'test-pedantic-c' is up to date.
make[3]: 'test-pedantic-cxx' is up to date.
make[3]: 'test-pedantic-c90' is up to date.
make[3]: 'test-pedantic-c99' is up to date.
make[3]: 'test-pedantic-c11' is up to date.
make[3]: 'test-pedantic-cxx98' is up to date.
make[3]: 'test-pedantic-cxx11' is up to date.
make[3]: 'test-pedantic-cxx14' is up to date.
make[3]: 'test-pedantic-cxx17' is up to date.
make[3]: Leaving directory '/home/brandon/libgphoto2/tests'
make  check-TESTS
make[3]: Entering directory '/home/brandon/libgphoto2/tests'
make[4]: Entering directory '/home/brandon/libgphoto2/tests'
PASS: test-endian
PASS: test-camera-list
PASS: test-pedantic-c
PASS: test-pedantic-cxx
PASS: test-pedantic-c90
PASS: test-pedantic-c99
PASS: test-pedantic-c11
PASS: test-pedantic-cxx98
PASS: test-pedantic-cxx11
PASS: test-pedantic-cxx14
PASS: test-pedantic-cxx17
============================================================================
Testsuite summary for libgphoto2 photo camera library 2.5.25.1
============================================================================
# TOTAL: 11
# PASS:  11
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[4]: Leaving directory '/home/brandon/libgphoto2/tests'
make[3]: Leaving directory '/home/brandon/libgphoto2/tests'
make[2]: Leaving directory '/home/brandon/libgphoto2/tests'
make[1]: Leaving directory '/home/brandon/libgphoto2/tests'
Making check in examples
make[1]: Entering directory '/home/brandon/libgphoto2/examples'
make   
make[2]: Entering directory '/home/brandon/libgphoto2/examples'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/brandon/libgphoto2/examples'
make[1]: Leaving directory '/home/brandon/libgphoto2/examples'
Making check in po
make[1]: Entering directory '/home/brandon/libgphoto2/po'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/brandon/libgphoto2/po'
Making check in packaging
make[1]: Entering directory '/home/brandon/libgphoto2/packaging'
Making check in linux-hotplug
make[2]: Entering directory '/home/brandon/libgphoto2/packaging/linux-hotplug'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/home/brandon/libgphoto2/packaging/linux-hotplug'
Making check in generic
make[2]: Entering directory '/home/brandon/libgphoto2/packaging/generic'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/home/brandon/libgphoto2/packaging/generic'
Making check in rpm
make[2]: Entering directory '/home/brandon/libgphoto2/packaging/rpm'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/home/brandon/libgphoto2/packaging/rpm'
make[2]: Entering directory '/home/brandon/libgphoto2/packaging'
make[2]: Nothing to be done for 'check-am'.
make[2]: Leaving directory '/home/brandon/libgphoto2/packaging'
make[1]: Leaving directory '/home/brandon/libgphoto2/packaging'
Making check in doc
make[1]: Entering directory '/home/brandon/libgphoto2/doc'
Making check in api
make[2]: Entering directory '/home/brandon/libgphoto2/doc/api'
Dummy target all-local.
make[2]: Leaving directory '/home/brandon/libgphoto2/doc/api'
make[2]: Entering directory '/home/brandon/libgphoto2/doc'
make[2]: Nothing to be done for 'check-am'.
make[2]: Leaving directory '/home/brandon/libgphoto2/doc'
make[1]: Leaving directory '/home/brandon/libgphoto2/doc'
Making check in gphoto-m4
make[1]: Entering directory '/home/brandon/libgphoto2/gphoto-m4'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/brandon/libgphoto2/gphoto-m4'
make[1]: Entering directory '/home/brandon/libgphoto2'
make[1]: Leaving directory '/home/brandon/libgphoto2'
Making check in gphoto-m4
make[1]: Entering directory '/home/brandon/gphoto2/gphoto-m4'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/brandon/gphoto2/gphoto-m4'
Making check in contrib
make[1]: Entering directory '/home/brandon/gphoto2/contrib'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/brandon/gphoto2/contrib'
Making check in doc
make[1]: Entering directory '/home/brandon/gphoto2/doc'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/brandon/gphoto2/doc'
Making check in gphoto2
make[1]: Entering directory '/home/brandon/gphoto2/gphoto2'
make  spawntest
make[2]: Entering directory '/home/brandon/gphoto2/gphoto2'
make[2]: 'spawntest' is up to date.
make[2]: Leaving directory '/home/brandon/gphoto2/gphoto2'
make  check-TESTS
make[2]: Entering directory '/home/brandon/gphoto2/gphoto2'
make[3]: Entering directory '/home/brandon/gphoto2/gphoto2'
PASS: spawntest
============================================================================
Testsuite summary for gphoto2 command line interface 2.5.23.1
============================================================================
# TOTAL: 1
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[3]: Leaving directory '/home/brandon/gphoto2/gphoto2'
make[2]: Leaving directory '/home/brandon/gphoto2/gphoto2'
make[1]: Leaving directory '/home/brandon/gphoto2/gphoto2'
Making check in packaging
make[1]: Entering directory '/home/brandon/gphoto2/packaging'
Making check in rpm
make[2]: Entering directory '/home/brandon/gphoto2/packaging/rpm'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/home/brandon/gphoto2/packaging/rpm'
make[2]: Entering directory '/home/brandon/gphoto2/packaging'
make[2]: Nothing to be done for 'check-am'.
make[2]: Leaving directory '/home/brandon/gphoto2/packaging'
make[1]: Leaving directory '/home/brandon/gphoto2/packaging'
Making check in po
make[1]: Entering directory '/home/brandon/gphoto2/po'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/brandon/gphoto2/po'
Making check in tests
make[1]: Entering directory '/home/brandon/gphoto2/tests'
Making check in data
make[2]: Entering directory '/home/brandon/gphoto2/tests/data'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/home/brandon/gphoto2/tests/data'
Making check in staging
make[2]: Entering directory '/home/brandon/gphoto2/tests/staging'
Making check in subdir1
make[3]: Entering directory '/home/brandon/gphoto2/tests/staging/subdir1'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/home/brandon/gphoto2/tests/staging/subdir1'
Making check in subdir2
make[3]: Entering directory '/home/brandon/gphoto2/tests/staging/subdir2'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/home/brandon/gphoto2/tests/staging/subdir2'
make[3]: Entering directory '/home/brandon/gphoto2/tests/staging'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/home/brandon/gphoto2/tests/staging'
make[2]: Leaving directory '/home/brandon/gphoto2/tests/staging'
make[2]: Entering directory '/home/brandon/gphoto2/tests'
make  check-TESTS
make[3]: Entering directory '/home/brandon/gphoto2/tests'
make[4]: Entering directory '/home/brandon/gphoto2/tests'
FAIL: testsuite
============================================================================
Testsuite summary for gphoto2 command line interface 2.5.23.1
============================================================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to gphoto-devel@lists.sourceforge.net
============================================================================
Makefile:723: recipe for target 'test-suite.log' failed
make[4]: Leaving directory '/home/brandon/gphoto2/tests'
Makefile:829: recipe for target 'check-TESTS' failed
make[3]: Leaving directory '/home/brandon/gphoto2/tests'
Makefile:927: recipe for target 'check-am' failed
make[2]: Leaving directory '/home/brandon/gphoto2/tests'
Makefile:616: recipe for target 'check-recursive' failed
make[1]: Leaving directory '/home/brandon/gphoto2/tests'
Makefile:465: recipe for target 'check-recursive' failed
_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to