LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-02-2007, 02:10 PM   #1
bogdan.dusa
LQ Newbie
 
Registered: Aug 2005
Location: Bucharest, Romania
Posts: 14

Rep: Reputation: 0
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!
 
Old 05-13-2007, 08:14 PM   #2
LuckyABA
LQ Newbie
 
Registered: Jan 2005
Posts: 17

Rep: Reputation: 0
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
 
Old 05-23-2007, 08:08 PM   #3
Jyde
Member
 
Registered: May 2007
Posts: 72

Rep: Reputation: 16
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.

Last edited by Jyde; 05-23-2007 at 08:10 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creative Live!Cam IM steph57535 Mandriva 1 03-05-2007 02:48 AM
Creative Live Cam IM steph57535 Linux - Hardware 1 02-25-2007 03:04 PM
Possible to get video files from USB Creative PC-CAM 300 digital camera/webcam? furfurdemon666 Linux - Hardware 1 08-24-2004 10:33 AM
Unable to open Video device - creative web cam pugsley Linux - Hardware 1 07-05-2004 11:06 PM
WebCam NX pro from Creative madangsweh Linux - Hardware 2 09-27-2003 03:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration