DDWRT UVC Webcams

Posted by & filed under Linux, Programming.

Cross Compile for OpenWRT Kamikaze

# cd
# export OPENWRT_FOLDER=$(pwd)
# make menuconfig
# make V=99

* apply patch from ticket #1997 to enable UVC modules for OpenWRT

# make menuconfig

* Select UVC module in menu and build modules afterwards.
* Then install the created *.ipk package to the embedded device.
* Then compile the application “uvc_streamer”

# cd ${OPENWRT_FOLDER}
# mkdir uvc_streamer
# cd uvc_streamer
# wget naaa.de/programme/uvc_streamer/uvc_strea…
# tar xzvf uvc_streamer_2007_07_11_20.55.20.tgz

# mv Makefile Makefile.orig
# cat Makefile.orig | sed -e “s/CC=gcc/CC=mipsel-linux-gcc/g” > Makefile
# PATH=$PATH:${OPENWRT_FOLDER}/staging_dir_mipsel/bin/

# make clean
# make all
# mipsel-linux-strip uvc_stream
# scp uvc_stream root@192.168.1.1:/sbin/

Source: openfacts.berlios.de/index-en.phtml?titl…