DslrDashboard Server for OpenWrt
C++ Makefile Shell

README.md

DslrDashboardServer

DslrDashboardServer (ddserver) allows network connections (wired/wireless) for connected USB imaging devices (DSLR cameras) to DslrDashboard. It can provide multiple USB camera connections to same or different DslrDashboard client. It is primary writen for OpenWrt (TP-Link MR3040 or WR703N) but it will run on any Linux distribution including Raspbery Pi or pcDuino for example.

Multiple device connections was introduced in V0.2 and it can be used with DslrDashboard V0.30.24 and up.

After DslrDashboard has connect to ddserver, ddserver will send the connected USB cameras list. If there is only one USB camera connected then DslrDashboard will open that one. If there are more USB cameras connected DslrDashboard will display a dialog where you can select the desired camera.

You can find installation image for MR3040 at http://dslrdashboard.info/downloads/ or you can contact me if you have problem building your own image.

Added a simple device discovery

Compile DslrDashboard Server on OpenWrt

Clone the DslrDashboardServer repository to the package directory on OpenWrt:

git clone git://github.com/hubaiz/DslrDashboardServer package/DslrDashboardServer

Run then the following commands:

make menuconfig

Under Multimedia select ddserver. Build OpenWrt or just a single package. The resulting package can be found in the bin/[platform]/packages/ddserver_0.1-1.ipk directory. If you selected * the package will be already installed in the OpenWrt image. Upon installation DDserver will add an init script so you can start/stop it from the web interface (System->Startup).

Compile DslrDashboard Server on Debian based distributions, such as Ubuntu and Raspbian

sudo apt-get install build-essential pkg-config libusb-1.0-0-dev
g++ -Wall src/main.cpp src/communicator.cpp `pkg-config --libs --cflags libusb-1.0` -lpthread -lrt -lstdc++ -o ddserver

Compile DslrDashboard Server on other Linux distributions

g++ -Wall src/main.cpp src/communicator.cpp -I/usr/include/libusb-1.0/ -lusb-1.0 -lpthread -lrt -lstdc++ -o ddserver

Make the resulting ddserver binary executable and launch the server:

chmod +x ddserver
./ddserver