SmartCam dreht ein Symbian Reihe 60 Telefon mit bluetooth und Kamera in ein webcam, das bereit ist, mit Ihrem PC zu verwenden. Es ist die geöffnete Quell-Software, genehmigt unter dem GPLv2 und wird auf Linux oder Windows laufen. Es gibt kommerzielle Anwendungen, die die gleiche Sache tun, aber ich glaube, an, frei zu verwenden und sich zu stützen, geöffnete Quell-Software, wann immer möglich.
In diesem Tutorial werde ich SmartCam auf Fedora 9 anbringen, wie der SmartCam Entwickler bereits und bestätigt geprüft hat, daß SmartCam auf Ubuntu 8.04 arbeitet. Ja verwendet SmartCam das Video4Linux API. Sehen Sie http://en.wikipedia.org/wiki/Video4Linux für eine Liste der kompatiblen Anwendungen. Ich verwende persönlich SmartCam mit aMSN ziemlich häufig.
- Erste Sachen zuerst, Besuch http://sourceforge.net/projects/smartcam/ und klicken Sie an Download Verbindung im grünen Kasten.
- Wir werden die Linux Version anbringen, klicken so Download Verbindung für smartcam linux.
- Die neueste Linux Version zu der Zeit des Schreibens ist v2008.09.18.2. Downloaden Sie das Reißverschlußarchiv und erinnern Sie sich, an wo Sie es speicherten. Ich speicherte es innen ~/Download
- Steuern Sie zum Verzeichnis, in dem Sie die SmartCam Zip Datei speicherten.
[kmurray@radon ~] $ Cd ~/Download
- Unzip das Archiv.
[kmurray@radon Download] $ unzip smartcam_v_2008.09.18.2.zip
Archiv: smartcam_v_2008.09.18.2.zip
Verursachen: smartcam/
Aufblasen: smartcam/COPYING
Aufblasen: smartcam/ReadMe.txt
Verursachen: smartcam/Freigabe
Aufblasen: smartcam/Freigabe/smartcam.ko
Aufblasen: smartcam/Freigabe/smartcam
Verursachen: smartcam/Freigabe/phone_files/
Aufblasen: smartcam/Freigabe/phone_files/SmartCamS603rdEd.SIS
Aufblasen: smartcam/Freigabe/phone_files/SmartCamS602ndEd.SIS
Aufblasen: smartcam/Freigabe/phone_files/jSmartCam.jar
[Akte Auflistung geschnippelt, um Raum zu speichern] - Jetzt kompilieren wir das SmartCam Kernmodul. Sie müssen sichergehen, daß Sie die Kernentwicklung überschriften anbringen lassen. In Fedora ist es so einfach wie yum bringen Kern-devel an
[kmurray@radon Download] $ Cd smartcam/src/driver/
[kmurray@radon Treiber] $ bilden Sie - C /lib/modules/ `uname - r `/build M= `pwd `Module
bilden Sie: 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′ - Kernel modules usually live somewhere in /lib/modules/`uname -r`/. Just to keep things tidy, we’ll copy the module there.
[kmurray@radon driver]$ sudo cp smartcam.ko /lib/modules/`uname -r`/extra
- Now update the module dependancies.
[kmurray@radon driver]$ sudo /sbin/depmod -a
- Load the module.
[kmurray@radon driver]$ sudo /sbin/modprobe smartcam
- Verify that it loaded.
[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 - As you may have noticed, we have a minor problem here. /dev/video0 is only accessible to root. Unless you plan on only using your webcam as root, which is a very bad idea, you need to change this. Rather than change the permissions of /dev/video0 every time you reboot, you can change your udev rules to allow all users to access /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″
- Remove and reload the SmartCam kernel module.
[kmurray@radon driver]$ sudo /sbin/modprobe -r smartcam
[kmurray@radon driver]$ sudo /sbin/modprobe smartcam - Verify the permissions of /dev/video0.
[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/video0Now /dev/video0 is available to all users.
- Now compile the SmartCam application.
[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 - Make the SmartCam application available to all users.
[kmurray@radon app]$ sudo cp smartcam /usr/local/bin/
- Make the SmartCam icons available to all users.
[kmurray@radon app]$ sudo mkdir /usr/share/pixmaps/smartcam/
[kmurray@radon app]$ sudo cp icons/*.png /usr/share/pixmaps/smartcam/ - I also chose to create a menu entry for SmartCam under Applications -> Sound & Video. Click System -> Preferences -> Look and Feel -> Main Menu.
- This is where you add or remove custom Applications Menu entries.
- In the left pane, click on Sound & Video.
- Click the New Item button on the right hand side and fill in the fields as follows:
- Click the Choose Icon button at the top left and type /usr/share/pixmaps/smartcam in the file field at the top, then click on logo.png and click OK.
- The window should now look like this:
- Click OK and close the Menu Editor. Then click Applications -> Sound & Video and you will see a menu entry for SmartCam.
- Now that the computer is set up, you need to install SmartCam on your N95. The SmartCam zip file you downloaded earlier also contains the SmartCam application for your phone. The version you want to install on your N95 is in the archive under release/phone_files/SmartCamS603rdEd.SIS. See my previous tutorials on how to install applications on your phone if you are unfamiliar with the process (How to install N95 apps via USB | How to install N95 apps via bluetooth) Once you have SmartCam installed on your phone, you will find it in your Applications folder.
- You must start SmartCam on your computer first. Click Applications -> Sound & Video -> SmartCam.
- Now start SmartCam on your phone.
- Select Options -> Start
- If you have previously connected to your computer via bluetooth you will already see it in the list. If not, simply select More Devices. Either way, choose to connect to your computer.

- Here’s what it looks like on my phone and on my computer.
Ich werde die nächsten Schritte auf der Befehl Linie tun, wie sie miteinbezieht, ein Kernmodul für SmartCam zu kompilieren.






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!






























how about windows??
yea, could you explain it for windows please.
I love you!!
it works great for me!!
Hi there,
I already use a webcame (Logitech on my 80.4 Ubuntu machine). Can you tell me if changing the settings as shown above:
KERNEL==”video0″, SYMLINK+=”video”
to this:
KERNEL==”video0″, SYMLINK+=”video”, MODE=”0666″
Will have a negative effect on the webcam connectivity I already have?
Many thanks.
Patrick
i think it’ll work patrick
i think its just a app for wireless access to the camera in the windows version,
aka no compiling stuff or permission changes,
most likley a install and run only feature
hi, i have a nokia 6120 classic, supposedly compatible, any idea how to installto the phone?
Hi Des,
Thanks for the information. Just had a look at the site your name links to.
I’ve read a bit about Joomla before. Seem like a killer application.
Regards,
Patrick
yeah, thanks
it is actually quite good, fully customizable, a seperate admin area.
soon as i have finished it i plan to use it as a online community with a flash gaming area.
Eeeek!
No sure what is going on here. Any one with a clue-stick for me?
Thanks.
/Desktop/N95-mod/smartcam_v_2008.09.18.2/smartcam/src/app$ gcc `pkg-config –cflags –libs gtkclear+-2.0 gthread-2.0` -lbluetooth smartcam.c -o smartcam
smartcam.c:20:21: error: gtk/gtk.h: No such file or directory
In file included from smartcam.c:37:
icons/SmartCamApp.png.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘smartcam_png_inline’
In file included from smartcam.c:38:
icons/logo.png.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘logo_png_inline’
In file included from smartcam.c:39:
icons/disconnected.png.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘disconnected_png_inline’
smartcam.c:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
smartcam.c:66: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
smartcam.c:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
smartcam.c:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
smartcam.c:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
smartcam.c:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘main_wnd_minimized’
smartcam.c:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
smartcam.c:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
smartcam.c:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
smartcam.c:76: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘main_wnd_pos_x’
smartcam.c:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘main_wnd_pos_y’
smartcam.c:176: error: expected ‘)’ before ‘*’ token
smartcam.c: In function ‘display_disconnected’:
smartcam.c:184: error: ‘status_icon’ undeclared (first use in this function)
smartcam.c:184: error: (Each undeclared identifier is reported only once
smartcam.c:184: error: for each function it appears in.)
smartcam.c:184: error: ‘disconnected_icon_pixbuf’ undeclared (first use in this function)
smartcam.c:185: error: ‘image’ undeclared (first use in this function)
smartcam.c:185: error: ‘logo_icon_pixbuf’ undeclared (first use in this function)
smartcam.c: In function ‘set_disconnected’:
smartcam.c:198: error: ‘logo_icon_pixbuf’ undeclared (first use in this function)
smartcam.c:198: warning: passing argument 1 of ‘write_device_frame’ makes pointer from integer without a cast
smartcam.c: In function ‘set_connected’:
smartcam.c:205: error: ‘status_icon’ undeclared (first use in this function)
smartcam.c:205: error: ‘smartcam_icon_pixbuf’ undeclared (first use in this function)
smartcam.c: At top level:
smartcam.c:223: error: expected ‘)’ before ‘*’ token
smartcam.c: In function ‘comm_thread’:
smartcam.c:267: error: ‘GtkWidget’ undeclared (first use in this function)
smartcam.c:267: error: ‘image’ undeclared (first use in this function)
smartcam.c:267: error: expected expression before ‘)’ token
smartcam.c:268: error: ‘GError’ undeclared (first use in this function)
smartcam.c:268: error: ‘error’ undeclared (first use in this function)
smartcam.c:279: error: ‘GdkPixbufLoader’ undeclared (first use in this function)
smartcam.c:279: error: ‘pixbuf_loader’ undeclared (first use in this function)
smartcam.c:293: error: ‘GdkPixbuf’ undeclared (first use in this function)
smartcam.c:293: error: ‘pixbuf’ undeclared (first use in this function)
smartcam.c:296: warning: passing argument 1 of ‘write_device_frame’ makes pointer from integer without a cast
smartcam.c: At top level:
smartcam.c:322: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘delete_event’
smartcam.c: In function ‘load_inline_icons’:
smartcam.c:338: error: ‘smartcam_icon_pixbuf’ undeclared (first use in this function)
smartcam.c:338: error: ‘smartcam_png_inline’ undeclared (first use in this function)
smartcam.c:338: error: ‘FALSE’ undeclared (first use in this function)
smartcam.c:339: error: ‘disconnected_icon_pixbuf’ undeclared (first use in this function)
smartcam.c:339: error: ‘disconnected_png_inline’ undeclared (first use in this function)
smartcam.c:340: error: ‘logo_icon_pixbuf’ undeclared (first use in this function)
smartcam.c:340: error: ‘logo_png_inline’ undeclared (first use in this function)
smartcam.c: In function ‘unref_inline_icons’:
smartcam.c:345: error: ‘smartcam_icon_pixbuf’ undeclared (first use in this function)
smartcam.c:346: error: ‘disconnected_icon_pixbuf’ undeclared (first use in this function)
smartcam.c:347: error: ‘logo_icon_pixbuf’ undeclared (first use in this function)
smartcam.c: In function ‘clean_smartcam’:
smartcam.c:366: error: ‘logo_icon_pixbuf’ undeclared (first use in this function)
smartcam.c:366: warning: passing argument 1 of ‘write_device_frame’ makes pointer from integer without a cast
smartcam.c: At top level:
smartcam.c:375: error: expected ‘)’ before ‘*’ token
smartcam.c: In function ‘show_quit_dialog’:
smartcam.c:400: error: ‘GtkWidget’ undeclared (first use in this function)
smartcam.c:400: error: ‘label’ undeclared (first use in this function)
smartcam.c:401: error: ‘GtkHBox’ undeclared (first use in this function)
smartcam.c:401: error: ‘dialog_hbox’ undeclared (first use in this function)
smartcam.c:402: error: ‘GtkImage’ undeclared (first use in this function)
smartcam.c:402: error: ‘dialog_icon’ undeclared (first use in this function)
smartcam.c:404: error: ‘GtkDialog’ undeclared (first use in this function)
smartcam.c:404: error: ‘dialog’ undeclared (first use in this function)
smartcam.c:407: error: ‘main_window’ undeclared (first use in this function)
smartcam.c:408: error: ‘GTK_DIALOG_MODAL’ undeclared (first use in this function)
smartcam.c:410: error: ‘GTK_RESPONSE_CLOSE’ undeclared (first use in this function)
smartcam.c:414: error: ‘GTK_TYPE_HBOX’ undeclared (first use in this function)
smartcam.c:415: error: ‘GTK_TYPE_IMAGE’ undeclared (first use in this function)
smartcam.c:416: error: ‘GTK_STOCK_DIALOG_ERROR’ undeclared (first use in this function)
smartcam.c:418: error: ‘FALSE’ undeclared (first use in this function)
smartcam.c:421: error: ‘TRUE’ undeclared (first use in this function)
smartcam.c:424: error: invalid type argument of ‘->’
smartcam.c:425: error: ‘destroy’ undeclared (first use in this function)
smartcam.c: At top level:
smartcam.c:511: error: expected ‘)’ before ‘*’ token
smartcam.c:529: error: expected ‘)’ before ‘*’ token
smartcam.c: In function ‘show_main_window’:
smartcam.c:556: error: ‘main_window’ undeclared (first use in this function)
smartcam.c:556: error: ‘main_wnd_pos_x’ undeclared (first use in this function)
smartcam.c:556: error: ‘main_wnd_pos_y’ undeclared (first use in this function)
smartcam.c: In function ‘hide_main_window’:
smartcam.c:563: error: ‘main_window’ undeclared (first use in this function)
smartcam.c:563: error: ‘main_wnd_pos_x’ undeclared (first use in this function)
smartcam.c:563: error: ‘main_wnd_pos_y’ undeclared (first use in this function)
smartcam.c: At top level:
smartcam.c:567: error: expected ‘)’ before ‘*’ token
smartcam.c:593: error: expected ‘)’ before ‘*’ token
smartcam.c: In function ‘main’:
smartcam.c:603: error: ‘GtkWidget’ undeclared (first use in this function)
smartcam.c:603: error: ‘vbox’ undeclared (first use in this function)
smartcam.c:604: error: ‘align’ undeclared (first use in this function)
smartcam.c:605: error: ‘frame’ undeclared (first use in this function)
smartcam.c:606: error: ‘status_menu’ undeclared (first use in this function)
smartcam.c:607: error: ‘status_menu_item’ undeclared (first use in this function)
smartcam.c:611: error: ‘GError’ undeclared (first use in this function)
smartcam.c:611: error: ‘error’ undeclared (first use in this function)
smartcam.c:636: error: ‘status_icon’ undeclared (first use in this function)
smartcam.c:636: error: ‘disconnected_icon_pixbuf’ undeclared (first use in this function)
smartcam.c:638: error: ‘TRUE’ undeclared (first use in this function)
smartcam.c:639: error: ‘status_popup’ undeclared (first use in this function)
smartcam.c:640: error: ‘status_activate’ undeclared (first use in this function)
smartcam.c:643: error: ‘main_window’ undeclared (first use in this function)
smartcam.c:643: error: ‘GTK_WINDOW_TOPLEVEL’ undeclared (first use in this function)
smartcam.c:644: error: ‘delete_event’ undeclared (first use in this function)
smartcam.c:645: error: ‘destroy’ undeclared (first use in this function)
smartcam.c:646: error: ‘track_minimize’ undeclared (first use in this function)
smartcam.c:650: error: ‘FALSE’ undeclared (first use in this function)
smartcam.c:652: error: ‘GTK_WIN_POS_NONE’ undeclared (first use in this function)
smartcam.c:654: error: ‘smartcam_icon_pixbuf’ undeclared (first use in this function)
smartcam.c:663: error: ‘GTK_SHADOW_IN’ undeclared (first use in this function)
smartcam.c:665: error: ‘image’ undeclared (first use in this function)
smartcam.c:665: error: ‘logo_icon_pixbuf’ undeclared (first use in this function)
smartcam.c:672: error: ‘statusbar’ undeclared (first use in this function)
sounds to me like that gtk.h is missing (near the top of ur post)
other than that im not too sure.
i have basic build skills, but not too great on resolving things like that lol sorry.
hope u get it working.
Hi, i try follow this tutorial but i’m stuck all ways on the begin i am on Ubuntu 8.04 kernel 2.6.24-23, new to this but i wanted learn, many thanks, azmo.