Raspberry Pi - DDServer - No Dslr Device Found

qDslrDashbord error reports
littlelio
Posts: 10
Joined: 13 Jul 2015, 09:07

Re: Raspberry Pi - DDServer - No Dslr Device Found

Post by littlelio »

Thanks a lot hubaiz!

So I sudo ddserver, and it works! liveview works, and capture also works.

However there is error in the syslog

Code: Select all

Jul 16 05:49:14 ubuntu ddserver: Checking device with vendorId: 04b0  and productId: 0426
Jul 16 05:49:14 ubuntu ddserver: Trying to open device
Jul 16 05:49:14 ubuntu ddserver: Number of possible configurations: 1 Device Class: 0 VendorID: 1200, ProductID: 1062
Jul 16 05:49:14 ubuntu ddserver: Number of alternate settings:
Jul 16 05:49:14 ubuntu ddserver: Interface class: 6 Interface number: 0 Number of endpoints: 3
Jul 16 05:49:14 ubuntu ddserver: Found USB imaging device, get vendor and product
Jul 16 05:49:14 ubuntu ddserver: Device  open success
Jul 16 05:49:14 ubuntu ddserver: USB device opened
Jul 16 05:49:14 ubuntu ddserver: Read endpoint adress: 129
Jul 16 05:49:14 ubuntu ddserver: Write endpoint adress: 2
Jul 16 05:49:14 ubuntu ddserver: USB interface claimed
Jul 16 05:49:14 ubuntu ddserver: vendor: 1200 product: 1062
Jul 16 05:49:14 ubuntu ddserver: vendor: 1200 product: 1062
Jul 16 05:49:24 ubuntu ddserver: Error reading total packet size: -1
Jul 16 05:49:24 ubuntu ddserver: Stoping client
Jul 16 05:49:26 ubuntu ddserver: Closing USB device
As you can see the last three lines, some kind of error. But on my client I can still capture images and save to PC.

The CF cards are in the camera (It can not release shuttle without CF card ).

Thanks!
hubaiz
Site Admin
Posts: 2003
Joined: 27 Jan 2015, 18:58

Re: Raspberry Pi - DDServer - No Dslr Device Found

Post by hubaiz »

That error means ddserver couldn't read the packet size from network.
Stativ
Posts: 1
Joined: 15 Sep 2015, 19:13

Re: Raspberry Pi - DDServer - No Dslr Device Found

Post by Stativ »

Code: Select all

src/main.cpp: In function ‘void startUdpListener()’:
src/main.cpp:137:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘ssize_t {aka int}’ [-Wformat]
src/communicator.h: In constructor ‘Communicator::Communicator()’:
src/communicator.h:64:24: warning: ‘Communicator::mHandle’ will be initialized after [-Wreorder]
src/communicator.h:63:17: warning:   ‘libusb_device* Communicator::mDevice’ [-Wreorder]
src/communicator.cpp:10:1: warning:   when initialized here [-Wreorder]
src/communicator.cpp: In member function ‘bool Communicator::readFromClient()’:
src/communicator.cpp:114:51: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘ssize_t {aka int}’ [-Wformat]
src/communicator.cpp:119:60: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘ssize_t {aka int}’ [-Wformat]
src/communicator.cpp: In member function ‘void Communicator::sendUsbDeviceList(uint32_t)’:
src/communicator.cpp:662:74: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘std::vector<ImagingUsbDevice>::size_type {aka unsigned int}’ [-Wformat]
I have the same Compiling-Errors - have you any solution for this problem, Peanuts1_1?
Post Reply