Despite /dev/video0 is created and chmod'ed:
root@spank:~# ls -l /dev/video0
crw-rw----+ 1 root video 81, 0 2009-11-08 20:41 /dev/video0
root@spank:~# chmod 666 /dev/video0
root@spank:~# ls -l /dev/video0
crw-rw-rw-+ 1 root video 81, 0 2009-11-08 20:41 /dev/video0
root@spank:~# lsmod | grep smartcam
smartcam 7504 0
videodev 38736 1 smartcam
root@spank:~# uname -a
Linux spank 2.6.31.5-d630-nrc #3 SMP PREEMPT Sun Nov 8 11:20:45 CET 2009 x86_64 GNU/Linux
root@spank:~# smartcam
smartcam: registered DBUS service "org.gnome.smartcam"
Cannot open '/dev/video0': 14, Bad address
Cannot identify '/dev/video1': 2, No such file or directory
Cannot identify '/dev/video2': 2, No such file or directory
Cannot identify '/dev/video3': 2, No such file or directory
Cannot identify '/dev/video4': 2, No such file or directory
Cannot identify '/dev/video5': 2, No such file or directory
Cannot identify '/dev/video6': 2, No such file or directory
Cannot identify '/dev/video7': 2, No such file or directory
Cannot identify '/dev/video8': 2, No such file or directory
Cannot identify '/dev/video9': 2, No such file or directory
smartcam: port = 1
smartcam: started comm thread
smartcam: exit app
smartcam: stopped comm thread
smartcam doesn't recognize /dev/video0
The issue happens with 2.6.31-14-generic kernel in Ubuntu 9.10 x86_64.
Same issue with 2.6.31.5 compiled from vanilla source.
Smartcam receives images from Nokia N70 perfectly and I can see them on the screen.
Smartcam version is 1.4.0.
Popup at smartcam startup
I found a working patch in the smartcam ubuntu package at http://revu.ubuntuwire.com/p/smartcam.
The patch is also available at http://en.pastebin.ca/1666682
Great! Thanks to stephan79's help now everything runs great.
Thanks,
bye.