[needs-packaging] Smartcam
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
In Progress
|
Wishlist
|
Michael Gorven |
Bug Description
The SmartCam project has now a working version for Linux (yes, they have tested it under Ubuntu Hardy) and it would be great to get the app packaged and ready to use under Ubuntu.
What it does, basically, is:
SmartCam - Smart Phone Web Camera - Turns a Symbian Series 60 phone with bluetooth and camera into a handy webcam ready to use with your PC
http://
Such apps are very popular and Nokia is the biggest single SmartPhone provider in the world so there are lots of people out there wanting this (even if they do not know about it).
There is also an "announcement" at ubuntu forums:
http://
Anyone be up to package this?
Jesper Larsen (knorr) wrote : | #1 |
Stefan Lesicnik (stefanlsd) wrote : | #2 |
The source code does not include licensing information with is required for an Ubuntu package. I've asked upstream to include this.
http://
deion (deionut) wrote : | #3 |
SmartCam has now GPL license file in release 2008.08.20.
Thanks for packaging SmartCam in Ubuntu.
Cheers,
Ionut
Ruben Romero (huayra) wrote : | #4 |
GPL file has been added. Maybe is it ready for packaging now?
Craig Silk (csilk) wrote : | #5 |
This software appears to conform to the Ubuntu new package standards now that the license has been added.
I'll happily package this software, my only reservation is the fact I have no means of testing it as I don't own a nokia, as long as that is noted I don't mind starting on this at the end of the month.
foxy123 (foxy) wrote : | #6 |
I have tested it on Hardy and it works fine even with Skype. However I have failed to compile th edriver on Intrepid. Anyway I will be happy to test the package.
Craig Silk (csilk) wrote : | #7 |
Ok sounds good. I've currently got a few things on the go at once right now so if no one else takes an interest in packaging this app I'll start work on it when I can (probaby before the end of the month) and submit it for consideration into the Intrepid repositories.
Oh Gawd (codermaniac) wrote : | #8 |
- smartcam-linux-2.6.27.1.patch Edit (3.4 KiB, text/plain)
Hi I made a patch to make it compile on a 2.6.27.1 kernel in my gentoo system. I've sent the patch to the maintainer. I'm attaching it and its also available here: http://
ouinouin (julien-bresciani) wrote : | #9 |
- smartcam_compile_error Edit (9.6 KiB, text/plain)
Hi , this package seems very interresting , I ve got a N95 to test it but the driver wont compile under intrepid with the kernel :
2.6.27-7-generic #1 SMP Fri Oct 24 06:42:44 UTC 2008 i686 GNU/Linux
foxy123 (foxy) wrote : | #10 |
Use the patch above your post. It did a trick for me. Thanks a lot, Satish!
stewart (tillsoil) wrote : | #11 |
Hi, not sure how to implement this patch - I'm a bit of a beginner
stewart (tillsoil) wrote : | #12 |
Got the patch implemented as follows:
Copied and pasted into jedit. Saved as smartcam-
ran: patch -p0 < smartcam-
However, when running insmod smartcam.ko, I get the following error message:
insmod: error inserting 'smartcam.ko': -1 Unknown symbol in module
Any help would be greatly appreciated... Where am I going wrong?!?
Stewart
niandubay (niandubay79) wrote : | #13 |
i have intrepid with kernell 2.6.27-12-generic ... i can`t compile driver..
juanch0@
make: se ingresa al directorio `/usr/src/
CC [M] /home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
/home/juanch0/
lunch (launch-mailinator-com) wrote : | #14 |
- dmesg of the modprobe segfault Edit (2.6 KiB, text/plain)
@niandubay: That error is fixed by the 2.6.27 patch
Unfortunately modprobe segfaults when adding it in 2.6.28. Kernel module development seems to be hell...
Attached log of dmesg.
foxy123 (foxy) wrote : | #15 |
I wonder if anyone can package it.
TamCore (f-admin-united-irc-eu) wrote : | #16 |
Compiled with the 2.6.27 patch
philipp@lappy ~/smartcam/
insmod: error inserting 'smartcam.ko': -1 Unknown symbol in module
[20577.108145] smartcam: Unknown symbol video_ioctl2
[20577.108550] smartcam: Unknown symbol video_unregiste
[20577.108770] smartcam: Unknown symbol video_register_
[20579.635048] smartcam: Unknown symbol video_ioctl2
[20579.635451] smartcam: Unknown symbol video_unregiste
[20579.635673] smartcam: Unknown symbol video_register_
[20633.967331] smartcam: Unknown symbol video_ioctl2
[20633.967735] smartcam: Unknown symbol video_unregiste
[20633.967957] smartcam: Unknown symbol video_register_
does anyone has an 2.6.28 (and 2.6.29) patch?
Shashank Naik (shashank-naik) wrote : | #17 |
On jaunty beta, with 2.6.28-11-generic, on running insmod smartcam.ko, segfaults due to a BUG_ON in v4l2-dev.c (line 229) (in drivers/media/video directory in the kernel). This BUG_ON specifically mentions that it expects a release callback from the smartcam video device.
In smartcam.c, uncomment the following line after applying the patch (2.6.27.1 patch works fine).
.release = video_device_
I don't see an implementation of the release function for smartcam, so using the default implementation of the video_device's release will atleast help us bypass the BUG_ON.
ukblacknight (tom-blacknight) wrote : | #18 |
- gcc_errors.txt Edit (15.5 KiB, text/plain)
I've managed to patch the file, perform the modprobe etc, however I cannot compile the PC application!
ukblacknight (tom-blacknight) wrote : | #19 |
I'm on Intrepid running 2.6.27-11-generic by the way.
fsaravia (francisco-saravia) wrote : | #20 |
In Kubuntu Jaunty, 2.6.28-11-generic
patch applied and the line ".release = video_device_
compile OK, insmod, etc...
program runs and when i try to connect from the phone (Nokia N73), program crashes
in the phone, i can see the frame captured, and then the message:
"Disconnected -18"
In the computer, this backtrace (attached):
Sebastian Feuerstack (sfeu) wrote : | #21 |
I can confirm the crash reported by fsaravia for Kernel 2.6.27-11-generic on Ubuntu 8.10.
I get an connection from my Nokia E71 to the smartcam app and an initial picture as well. But directly after the initial webcam frame is shown, i got the same crash and then the message:
"Disconnected -18"
backtrace (see attached)
Michael Gorven (mgorven) wrote : | #22 |
Changed in ubuntu: | |
assignee: | nobody → Michael Gorven (mgorven) |
status: | Confirmed → In Progress |
Dennis Baudys (thecondordb) wrote : | #23 |
Hi Michael Gorven, Stefan Zerkalica (I subscribed you to this wishlist/bug), deion, Ruben Romero and everybody else!
I'm using Ubuntu 10.10 (MAVERICK) 64 BIT (with kernel 2.6.35-31-generic # 63-Ubuntu now) and since more than 8 months I'm trying to get smartcam working. In the meantime I was able to build the smartcam kernel driver (with lots and lots of patching) and also loading it into the kernel but I can NOT COMPILE the SMARTCAM APPLICATION (see: http://
So I tried "smartcam_
***
smartcam: registered DBUS service "org.gnome.
Found smartcam device file: /dev/video1
smartcam: started comm thread
smartcam: port = 1
Speicherzugriff
***
Then I thought maybe it doesn't work with my self-built smartcam kernel driver but needs the corresponding smartcam driver (1.4.0-4) from the same ppa - but this package seems to be build against kernel 2.6.35-25-generic (and not 2.6.35-31, which is the current one for Maverick 64 bit). Of course I stopped there and did not install the older kernel.
The "Speicherzugrif
… or to the "Bluetooth device enumeration issue"/"bug in DynamicBtBind() causing always listen on port 1", see patch http://
… I don't know.
* Regarding the "Bluetooth not being available" issue, Michael Gorven (~mgorven) provided the before mentioned first patch, but he didn't package smartcam for Maverick 64 bit.
* Regarding the "bug in DynamicBtBind() causing always listen on port 1" issue, "leniviytorrent" provided the before mentioned second patch.
* Regarding the packaging for Maverick 64 bit, I think Stefan Zerkalica (~zerkalica) could do the trick!
Would you people be so kind to work together, if possible or STEFAN or ANYBODY, would you like to INCLUDE these PATCHES and build a working Ubuntu Maverick 64 bit PACKAGE against KERNEL 2.6.35-31-generic # 63-Ubuntu (and maybe even for newer Ubuntu releases, too)? Or what is the point I'm missing here?
Thank you very very much in advance,
Kind Regards,
Dennis (~thecondordb)
PS: In the end, I'd like to get SmartCam working for 3rd party programs like Skype, Cheese etc. on Maverick 64 bit, fetching the video stream by WiFi from my Motorola Milestone with Android 2.2.1, where the smartcam app (.apk from Android Market) already work flawlessly - but streams only to my web browser at the moment.
PPS: The package description as well as the ReadMe.txt of SmartCam could be updated to mention Android and WiFi etc, too, and not only Symbian and Bluetooth, am I correct?
PPPS: Please excuse me writing partially in caps - I did this for visibility pu...
Dennis Baudys (thecondordb) wrote : | #24 |
Hi again!
I couldn't sleep, so I decided to dig into this "smartcam won't compile on Ubuntu 10.10 64 bit" issue a bit deeper and searched the web. Maybe you'll find the thing I found as interesting as I do - however I'm not quite sure, whether it's really about the same problem that I have on my machine.
The problem I have is:
/usr/
(.text+0x12): undefined reference to `__libc_csu_fini'
/usr/
(.text+0x19): undefined reference to `__libc_csu_init'
collect2: ld returned 1 exit status
The information I found is:
(from May 2006)
http://
(from Oct 2010)
http://
(from Sep 2011)
https:/
Please see the following tests I did and maybe you can find this useful to help us:
condor@herkules:~$ uname -a
Linux herkules 2.6.35-31-generic # 63-Ubuntu SMP Mon Nov 28 19:29:10 UTC 2011 x86_64 GNU/Linux
condor@
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for intltool >= 0.40.0... 0.41.1 found
checking for intltool-update... /usr/bin/
checking for intltool-merge... /usr/bin/
checking for intltool-extract... /usr/bin/
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.1
checking for XML::Parser... ok
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for GTHREAD... yes
checking for GTK... yes
checking for DBUS... yes
checking for GCONF... yes
checking for hci_open_dev in -lbluetooth... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for s...
Max (bubuta) wrote : | #25 |
smartcam is building without errors on ubuntu 11.04 x86_64.
Peter Meiser (meiser79) wrote : | #26 |
Anyone working on a kernel patch to support 3.11?
URL: http:// sourceforge. net/projects/ smartcam/
License: GNU General Public License (GPL)