Webcam support with webcam-server for the Alix 3d3 system board

/, Internet and Web Engineering/Webcam support with webcam-server for the Alix 3d3 system board

Webcam support with webcam-server for the Alix 3d3 system board

This solution is quite  old (written in 2010). It might not work with newer versions of Voyage Linux!

Setting up the environment

You need to compile your own module for supporting various types of webcams.

For starting with compiling, some pre-work is needed regarding downloading all needed software packages. I assume that you are running the 2.6.23-voyage kernel. First we need our partition writable:

The next step is the download of the archives needed.

Tip: You can edit your /etc/apt/sources.list according to a mirror nearby.

Try to change „deb ./“ to „deb ./“ for improving the your downloadspeed.

Start with:

Compiling the kernel

As the downloading is finished we can continue with building the kernel with the original .config-file used for current running voyage-kernel, again. We will switch to the /usr/src/ – directory and unpack the sources.

The next step ist now copying the old .config file to our kernel-source

Change the Option „EXTRAVERSION =“ to „EXTRAVERSION = -486-voyage“ in the Makefile and run the kernel compiling process. Keep in mind, that there is now plenty of time for a coffee. This can take a lot of time! It took about two hours on my Alix Box.

After finishing all the compiling stuff you are now able to create a symlink to the build-directory and compile your own modules:

Build your module

No it is time for your camera module. Switch to the directory where you have unpacked the camera module sources and compile them

When anything went right, you should see an output similar to the one above.

Installing the module is the last step to perform.

Now plugin your camera to usb and you will see an output like the following in your kernel messages.

For testing I used a Logitech Quickcam and one from Labtech.

Please start your camserv-programm now and point your webbrowser to the right webpage (p.e. http://little-agent:9192/).


You have just finished your first kernel module for your Alix 3d3 board.

It think this should also work with other boards and different kernel versions. Please check the kernel version in the dev repository and change the shell commands according to the given version number. If you like another resolution, and if your webcam supports it, you can change it in /etc/camserv/camserv.cfg.

(Look for 320 and 200 and change them to 640 and 480 or another resolution.)
You can now include the Webstream-Video in your html like this:

Leave A Comment