Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 trying to get My Creative Webcam work., come in a help pls.

views
     
TSderek87
post May 30 2009, 03:30 AM, updated 17y ago

Keep it C.L.E.A.N.
******
Senior Member
1,077 posts

Joined: Nov 2006
From: Sabah,Sandakan Status:STUNNED


My webcam is Creative Notebook Webcam PD 1170.

Im using Xubuntu, but my webcam is not supported by it, so i need to manually install a driver for it.

i searched the net and found this. https://help.ubuntu.com/community/Spca5xx

My webcam is one of the supported devices in the list from the mxhaard.free.fr.

once i did everything.. and hit " make" , i get this error. Can someone pls show me some lights? i have been trying for 2 days.. sad.gif

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


THANKS.

Regards
Derek87
oshiri
post May 30 2009, 09:16 AM

Enthusiast
*****
Senior Member
751 posts

Joined: Nov 2004
QUOTE
/usr/src/gspcav1-20071224/gspca_core.c:54:27: asm/semaphore.h: No such file or directory


This is the culprit. Probably this code is for older kernel then you are using.
On newer kernel, semaphore.h has been move to linux/semaphore.h.

Why don't you use latest kernel, 2.6.29 which already has gspca included in the mainstream.
CODE
$ ls /lib/modules/2.6.29-oshirix-savethebeast/kernel/drivers/media/video/gspca
gspca_conex.ko    gspca_pac207.ko   gspca_spca506.ko  gspca_vc032x.ko
gspca_etoms.ko    gspca_pac7311.ko  gspca_spca508.ko  gspca_zc3xx.ko
gspca_finepix.ko  gspca_sonixb.ko   gspca_spca561.ko  m5602
gspca_main.ko     gspca_sonixj.ko   gspca_stk014.ko   stv06xx
gspca_mars.ko     gspca_spca500.ko  gspca_sunplus.ko
gspca_ov519.ko    gspca_spca501.ko  gspca_t613.ko
gspca_ov534.ko    gspca_spca505.ko  gspca_tv8532.ko

TSderek87
post May 30 2009, 09:43 AM

Keep it C.L.E.A.N.
******
Senior Member
1,077 posts

Joined: Nov 2006
From: Sabah,Sandakan Status:STUNNED


QUOTE(oshiri @ May 30 2009, 09:16 AM)
This is the culprit. Probably this code is for older kernel then you are using.
On newer kernel, semaphore.h has been move to linux/semaphore.h.

Why don't you use latest kernel, 2.6.29 which already has gspca included in the mainstream.
CODE
$ ls /lib/modules/2.6.29-oshirix-savethebeast/kernel/drivers/media/video/gspca
gspca_conex.ko    gspca_pac207.ko   gspca_spca506.ko  gspca_vc032x.ko
gspca_etoms.ko    gspca_pac7311.ko  gspca_spca508.ko  gspca_zc3xx.ko
gspca_finepix.ko  gspca_sonixb.ko   gspca_spca561.ko  m5602
gspca_main.ko     gspca_sonixj.ko   gspca_stk014.ko   stv06xx
gspca_mars.ko     gspca_spca500.ko  gspca_sunplus.ko
gspca_ov519.ko    gspca_spca501.ko  gspca_t613.ko
gspca_ov534.ko    gspca_spca505.ko  gspca_tv8532.ko

*
hmm... im not sure.. but i tried updating the kernel... it said that it's the latest one.. Anyway.. 2.6.29 is the latest one right? So how do i update it?

apt-get install linux-headers-`uname -r` linux-restricted-modules-`uname -r` ??
oshiri
post May 30 2009, 01:03 PM

Enthusiast
*****
Senior Member
751 posts

Joined: Nov 2004
Probably it's not in the Ubuntu repositories yet.

Try get from here: http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.29/
Use dpkg -i to install.
TSderek87
post May 30 2009, 06:04 PM

Keep it C.L.E.A.N.
******
Senior Member
1,077 posts

Joined: Nov 2006
From: Sabah,Sandakan Status:STUNNED


QUOTE(oshiri @ May 30 2009, 01:03 PM)
Probably it's not in the Ubuntu repositories yet.

Try get from here: http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.29/
Use dpkg -i to install.
*
by the way.. is the latest ubuntu using that kernel? if so.. i'll just use the latest ubuntu then..
TSderek87
post May 31 2009, 11:43 AM

Keep it C.L.E.A.N.
******
Senior Member
1,077 posts

Joined: Nov 2006
From: Sabah,Sandakan Status:STUNNED


a little bit of update.

i used

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

to launch skype.. webcam worked but with odd Gammas, colours and everything. But at least it worked. AND IT KILLED my audio.. @.@

im so dXmn lost now.

btw.. i am now on UBUNTU 9.04 now

link which gave me the idea of LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

was this

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/144745

 

Change to:
| Lo-Fi Version
0.0178sec    0.48    5 queries    GZIP Disabled
Time is now: 14th December 2025 - 09:17 PM