SmartCam turns a Symbian Series 60 phone with bluetooth and camera into a webcam ready to use with your PC. It is open source software, licensed under the GPLv2 and will run on Linux or Windows. There are commercial applications that will do the same thing, but I believe in using and supporting free, open source software whenever possible.
In this tutorial I will be installing SmartCam on Fedora 9 as the SmartCam developer has already tested and confirmed that SmartCam works on Ubuntu 8.04. Yes, SmartCam does use the Video4Linux API. See http://en.wikipedia.org/wiki/Video4Linux for a list of compatible applications. I personally use SmartCam with aMSN quite frequently.
I’ll be doing the next few steps on the command line as it involves compiling a kernel module for SmartCam.
[kmurray@radon ~]$ cd ~/Download
[kmurray@radon Download]$ unzip smartcam_v_2008.09.18.2.zip
Archive: smartcam_v_2008.09.18.2.zip
creating: smartcam/
inflating: smartcam/COPYING
inflating: smartcam/ReadMe.txt
creating: smartcam/release/
inflating: smartcam/release/smartcam.ko
inflating: smartcam/release/smartcam
creating: smartcam/release/phone_files/
inflating: smartcam/release/phone_files/SmartCamS603rdEd.SIS
inflating: smartcam/release/phone_files/SmartCamS602ndEd.SIS
inflating: smartcam/release/phone_files/jSmartCam.jar
[file listing snipped to save space]
[kmurray@radon Download]$ cd smartcam/src/driver/
[kmurray@radon driver]$ make -C /lib/modules/`uname -r`/build M=`pwd` modules
make: Entering directory `/usr/src/kernels/2.6.26.6-79.fc9.i686′
CC [M] /home/kmurray/Download/smartcam/src/driver/smartcam.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/kmurray/Download/smartcam/src/driver/smartcam.mod.o
LD [M] /home/kmurray/Download/smartcam/src/driver/smartcam.ko
make: Leaving directory `/usr/src/kernels/2.6.26.6-79.fc9.i686′
[kmurray@radon driver]$ sudo cp smartcam.ko /lib/modules/`uname -r`/extra
[kmurray@radon driver]$ sudo /sbin/depmod -a
[kmurray@radon driver]$ sudo /sbin/modprobe smartcam
[kmurray@radon driver]$ /sbin/lsmod | grep smartcam
smartcam 9880 0
videodev 29824 1 smartcam
[kmurray@radon driver]$ ls -l /dev/video*
lrwxrwxrwx 1 root root 6 2008-11-15 13:59 /dev/video -> video0
crw-rw—- 1 root root 81, 0 2008-11-15 13:59 /dev/video0
Using your favourite text editor, open /etc/udev/rules.d/50-udev-default.rules. I used vim.
[kmurray@radon driver]$ sudo vim /etc/udev/rules.d/50-udev-default.rules
Search for the video4linux stanza and change the line that reads:
KERNEL==”video0″, SYMLINK+=”video”
to this:
KERNEL==”video0″, SYMLINK+=”video”, MODE=”0666″
[kmurray@radon driver]$ sudo /sbin/modprobe -r smartcam
[kmurray@radon driver]$ sudo /sbin/modprobe smartcam
[kmurray@radon driver]$ ls -l /dev/video*
lrwxrwxrwx 1 root root 6 2008-11-15 14:05 /dev/video -> video0
crw-rw-rw- 1 root root 81, 0 2008-11-15 14:05 /dev/video0
Now /dev/video0 is available to all users.
[kmurray@radon driver]$ cd ../../src/app/
[kmurray@radon app]$ gcc `pkg-config –cflags –libs gtk+-2.0 gthread-2.0` -lbluetooth smartcam.c -o smartcam
[kmurray@radon app]$ sudo cp smartcam /usr/local/bin/
[kmurray@radon app]$ sudo mkdir /usr/share/pixmaps/smartcam/
[kmurray@radon app]$ sudo cp icons/*.png /usr/share/pixmaps/smartcam/
At the time of writing, SmartCam only supports bluetooth connections. Hopefully in the future the developer will implement USB and/or Wifi as well. Either way, I still think SmartCam is a fantastic piece of software!
View Comments
I love you!!
:D
it works great for me!!