Cannot configure Philips webcam in Jaunty

Dotan Cohen dotancohen at gmail.com
Sat Jul 11 14:22:21 UTC 2009


I have a SPC700NC webcam that is listed as four stars on this page:
http://mxhaard.free.fr/spca5xx.html

The webcam worked in Kubuntu 8.04 (Hardy) with the spca5xx driver. In
Kubuntu 9.04(Jaunty), it seems to be detected just fine:
$ tail /var/log/kern.log
Jul 11 11:44:23 laptop kernel: [ 4418.861056] CE: hpet increasing
min_delta_ns to 15000 nsec
Jul 11 16:09:20 laptop kernel: [20316.749843] CE: hpet increasing
min_delta_ns to 22500 nsec
Jul 11 16:53:09 laptop kernel: [22945.404068] usb 4-1: new full speed
USB device using uhci_hcd and address 2
Jul 11 16:53:09 laptop kernel: [22945.635829] usb 4-1: configuration
#1 chosen from 1 choice
Jul 11 16:53:09 laptop kernel: [22945.687834] Linux video capture
interface: v2.00
Jul 11 16:53:09 laptop kernel: [22945.692035] gspca: main v2.3.0
registered
Jul 11 16:53:09 laptop kernel: [22945.693863] gspca: probing 093a:2601
Jul 11 16:53:09 laptop kernel: [22945.715198] gspca: probe ok
Jul 11 16:53:09 laptop kernel: [22945.715230] usbcore: registered new
interface driver pac7311
Jul 11 16:53:09 laptop kernel: [22945.715236] pac7311: registered

However, when I try to use it with camorama I get this message:
"Unable to capture image"

Also, Skype shows only garbled video. Therefore, I tried to compile
the spca5xx driver on 9.04 (Jaunty) but got these errors:

jaunty2 at laptop:~/inOut/fromFirefox/gspcav1-20071224$ make
make -C /lib/modules/`uname -r`/build
SUBDIRS=/home/jaunty2/inOut/fromFirefox/gspcav1-20071224 CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-13-generic'
  CC [M]  /home/jaunty2/inOut/fromFirefox/gspcav1-20071224/gspca_core.o
/home/jaunty2/inOut/fromFirefox/gspcav1-20071224/gspca_core.c:54:27:
error: asm/semaphore.h: No such file or directory
/home/jaunty2/inOut/fromFirefox/gspcav1-20071224/gspca_core.c: In
function ‘spca5xx_ioctl’:
/home/jaunty2/inOut/fromFirefox/gspcav1-20071224/gspca_core.c:2463:
error: implicit declaration of function ‘video_usercopy’
/home/jaunty2/inOut/fromFirefox/gspcav1-20071224/gspca_core.c: At top level:
/home/jaunty2/inOut/fromFirefox/gspcav1-20071224/gspca_core.c:2609:
error: unknown field ‘owner’ specified in initializer
/home/jaunty2/inOut/fromFirefox/gspcav1-20071224/gspca_core.c:2609:
warning: initialization from incompatible pointer type
/home/jaunty2/inOut/fromFirefox/gspcav1-20071224/gspca_core.c:2611:
error: unknown field ‘type’ specified in initializer
/home/jaunty2/inOut/fromFirefox/gspcav1-20071224/gspca_core.c: In
function ‘spca50x_create_sysfs’:
/home/jaunty2/inOut/fromFirefox/gspcav1-20071224/gspca_core.c:2769:
error: implicit declaration of function ‘video_device_create_file’
/home/jaunty2/inOut/fromFirefox/gspcav1-20071224/gspca_core.c:2780:
error: implicit declaration of function ‘video_device_remove_file’
/home/jaunty2/inOut/fromFirefox/gspcav1-20071224/gspca_core.c: In
function ‘spca5xx_probe’:
/home/jaunty2/inOut/fromFirefox/gspcav1-20071224/gspca_core.c:4301:
error: incompatible types in assignment
make[2]: *** [/home/jaunty2/inOut/fromFirefox/gspcav1-20071224/gspca_core.o]
Error 1
make[1]: *** [_module_/home/jaunty2/inOut/fromFirefox/gspcav1-20071224] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-13-generic'
make: *** [default] Error 2
jaunty2 at laptop:~/inOut/fromFirefox/gspcav1-20071224$



I really have no idea where to go from here. Has anyone any ideas?
Note that /dev/video0 exists, but there are no gspca.ko files in the
filesystem. Thanks!

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il




More information about the ubuntu-users mailing list