LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Cannot install webcam Creative Live! Cam Video IM Pro on Ubuntu Feisty (https://www.linuxquestions.org/questions/linux-hardware-18/cannot-install-webcam-creative-live-cam-video-im-pro-on-ubuntu-feisty-550712/)

bogdan.dusa 05-02-2007 01:10 PM

Cannot install webcam Creative Live! Cam Video IM Pro on Ubuntu Feisty
 
Hi, there

I tried to install a webcam, Creative Live! Cam Video IM Pro, but my Ubuntu Feisty won't even recognize it as an external device attached to the computer, let alone install any driver... I previously had a similar problem with another webcam on Ubuntu Edgy. Here are the steps I was advised to follow at that time:

sudo apt-get install linux-headers-`uname -r` linux-restricted-modules-`uname -r` build-essential
wget http://mxhaard.free.fr/spca50x/Downl...0060501.tar.gz
tar xvfz spca5xx-20060501.tar.gz
cd spca5xx-20060501
make
sudo modprobe -r spca5xx
sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx*
sudo make install
sudo modprobe spca5xx

Now, the first command gave at the end: "0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded".
The second command gave: `spca5xx-20060501.tar.gz.1' saved
The third gave one error (among all other OK responses) - tar: spca5xx-20060501/drivers: implausibly old time stamp 1970-01-01 01:00:00
The "make" command gave only errors (I apologize for the long list below):

Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/bob/spca5xx-20060501 CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /home/bob/spca5xx-20060501/drivers/usb/spca5xx.o
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:39:26: error: linux/config.h: No such file o
r directory
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca50x_init_isoc’:
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:1621: warning: assignment from incompatible
pointer type
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_open’:
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:2392: warning: implicit declaration of funct
ion ‘video_devdata’
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:2392: warning: initialization makes pointer
from integer without a cast
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:2397: warning: implicit declaration of funct
ion ‘video_get_drvdata’
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:2397: warning: initialization makes pointer
from integer without a cast
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_close’:
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:2487: warning: initialization makes pointer
from integer without a cast
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_do_ioctl’:
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:2547: warning: initialization makes pointer
from integer without a cast
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_ioctl’:
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3091: warning: implicit declaration of funct
ion ‘video_usercopy’
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_read’:
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3110: warning: initialization makes pointer
from integer without a cast
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_mmap’:
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3209: warning: initialization makes pointer
from integer without a cast
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c: At top level:
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3261: error: variable ‘spca50x_template’ has
initializer but incomplete type
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3262: error: unknown field ‘owner’ specified
in initializer
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: excess elements in struct ini
tializer
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3262: warning: (near initialization for ‘spc
a50x_template’)
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3263: error: unknown field ‘name’ specified
in initializer
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: excess elements in struct ini
tializer
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3263: warning: (near initialization for ‘spc
a50x_template’)
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3264: error: unknown field ‘type’ specified
in initializer
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: excess elements in struct ini
tializer
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3264: warning: (near initialization for ‘spc
a50x_template’)
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3265: error: unknown field ‘hardware’ specif
ied in initializer
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: excess elements in struct ini
tializer
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3265: warning: (near initialization for ‘spc
a50x_template’)
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3266: error: unknown field ‘fops’ specified
in initializer
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: excess elements in struct ini
tializer
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3266: warning: (near initialization for ‘spc
a50x_template’)
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error: unknown field ‘release’ specifi
ed in initializer
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3268: error: ‘video_device_release’ undeclar
ed here (not in a function)
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: excess elements in struct ini
tializer
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3268: warning: (near initialization for ‘spc
a50x_template’)
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3270: error: unknown field ‘minor’ specified
in initializer
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: excess elements in struct ini
tializer
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3270: warning: (near initialization for ‘spc
a50x_template’)
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘cd_to_spca50x’:
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3338: warning: implicit declaration of funct
ion ‘to_video_device’
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3338: warning: initialization makes pointer
from integer without a cast
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3339: warning: return makes pointer from int
eger without a cast
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca50x_create_sysfs’:
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:3448: warning: implicit declaration of funct
ion ‘video_device_create_file’
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c: In function ‘spca5xx_probe’:
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:5504: warning: implicit declaration of funct
ion ‘video_device_alloc’
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:5504: warning: assignment makes pointer from
integer without a cast
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of ‘sizeof’
to incomplete type ‘struct video_device’
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of ‘sizeof’
to incomplete type ‘struct video_device’
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:5507: error: invalid application of ‘sizeof’ to incomplete type ‘struct video_device’
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:5509: error: dereferencing pointer to incomp lete type
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:5511: warning: implicit declaration of funct ion ‘video_set_drvdata’
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:5516: warning: implicit declaration of funct ion ‘video_register_device’
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: ‘VFL_TYPE_GRABBER’ undeclared ( first use in this function)
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: (Each undeclared identifier is reported only once
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:5516: error: for each function it appears in .)
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:5545: error: dereferencing pointer to incomp lete type
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:5546: warning: implicit declaration of funct ion ‘video_device_release’
/home/bob/spca5xx-20060501/drivers/usb/spca5xx.c:5548: warning: implicit declaration of funct ion ‘video_unregister_device’
make[2]: *** [/home/bob/spca5xx-20060501/drivers/usb/spca5xx.o] Error 1
make[1]: *** [_module_/home/bob/spca5xx-20060501] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make: *** [default] Error 2


Just in case, I also ran the "sudo modprobe -r spca5xx" command, which gave:
FATAL: Module spca5xx not found.

What can I do? I'm stuck... For information, if I ran webcam, I get:
reading config file: /home/bob/.webcamrc
v4l2: open /dev/video0: No such file or directory
v4l2: open /dev/video0: No such file or directory
v4l: open /dev/video0: No such file or directory
no grabber device available

Thanx!

LuckyABA 05-13-2007 07:14 PM

I managed to get the spca5xx driver installed but am still unable to get the webcam working. It shows me the same error.

Quote:

v4l: open /dev/video0: No such file or directory

Jyde 05-23-2007 07:08 PM

Likewise having a USB Creative Live! Vista IM Pro camera.

Actually, I managed to install gspca using the gspca_build bash file, it ran fine, left no errors behind, but when running sudo modprobe -r spca5xx, I also get the FATAL Module spca5xx not found.

Still don't have any /dev/video/.

Following a lot of searching, I tried installing the qc-usb package also (it was mentioned it was needed for this cam somewhere, though I am not too sure that is actually correct). Lots of errors, too many to mention, but basically could not find a cam anywhere.

I have been on Linux for about a week, so this is way beyond me, so any guidance from people in the know would be great.


All times are GMT -5. The time now is 09:47 PM.