i cant instal my creative web cam and i cant use it with ubuntu

Asked by mohammad_magdy

i have problem with my web cam,and i saw here some same problems,and i tried to read it and do it like typing lsusb
and it give me
Bus 005 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 004 Device 002: ID 041e:4052 Creative Technology, Ltd
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
and then i typed as they said and it is give me that:
sudo aptget update; sudo apt-get upgrade
sudo: aptget: command not found
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mohammad@mohammad-desktop:~$ sudo apt-get install camorama build-essential gspca-source linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-2.6.22-14-generic is already the newest version.
The following extra packages will be installed:
  debhelper dpkg-dev g++ g++-4.1 gettext html2text intltool-debian libc6-dev
  libstdc++6-4.1-dev linux-libc-dev module-assistant patch po-debconf
Suggested packages:
  dh-make debian-keyring g++-multilib g++-4.1-multilib gcc-4.1-doc cvs
  gettext-doc kernel-package glibc-doc manpages-dev libstdc++6-4.1-doc
  diff-doc
Recommended packages:
  libmail-sendmail-perl libcompress-zlib-perl
The following NEW packages will be installed:
  build-essential camorama debhelper dpkg-dev g++ g++-4.1 gettext gspca-source
  html2text intltool-debian libc6-dev libstdc++6-4.1-dev linux-libc-dev
  module-assistant patch po-debconf
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
Need to get 6718kB/10.7MB of archives.
After unpacking 42.7MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Abort.
i hope to find answer as soon
thankssssss alot

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gspca Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

To install your webcam please read this https://answers.launchpad.net/ubuntu/+source/hal/+question/18852

Hope this helps

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

Better there is a typo:

---- To install the webcam ( you must have an active internet connection ):
1) - We do all from terminal
2) - When the system ask you for password, give your user password, you don't see nothing when you type it, then press enter

Open a terminal from Applications->Accessories->Terminal and type:

sudo apt-get update; sudo apt-get upgrade
sudo apt-get install camorama build-essential gspca-source linux-headers-$(uname -r)
cd /usr/src
sudo tar -xjvf gspca-source.tar.bz2
cd /usr/src/modules/gspca/
sudo make
sudo make install
modprobe gspca
camorama

If your cam color are no good open the: /etc/modprobe.d/options file

sudo gedit /etc/modprobe.d/options

and add this row at the end of file:
options gspca force_rgb=1

add the module gspca at the end of /etc/modules file, type:

sudo gedit /etc/modules

add a row at the end of file and type:
gspca

Save and exit and reboot your pc reopen Camorama from menu: Applications->Graphics->...

Give me some feedback
HTH

Revision history for this message
mohammad_magdy (magdy-zak) said :
#3

it is gived me that
mohammad@mohammad-desktop:~$ sudo apt-get update; sudo apt-get upgrade
[sudo] password for mohammad:
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/main Translation-en_US
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/restricted Translation-en_US
Get:1 http://eg.archive.ubuntu.com gutsy Release.gpg [191B]
Ign http://eg.archive.ubuntu.com gutsy/main Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy/restricted Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy/universe Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy/multiverse Translation-en_US
Get:2 http://eg.archive.ubuntu.com gutsy-updates Release.gpg [191B]
Ign http://eg.archive.ubuntu.com gutsy-updates/main Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy-updates/restricted Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy-updates/universe Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy-updates/multiverse Translation-en_US
Hit http://eg.archive.ubuntu.com gutsy Release
Get:3 http://security.ubuntu.com gutsy-security Release.gpg [191B]
Ign http://security.ubuntu.com gutsy-security/main Translation-en_US
Ign http://security.ubuntu.com gutsy-security/restricted Translation-en_US
Hit http://eg.archive.ubuntu.com gutsy-updates Release
Ign http://security.ubuntu.com gutsy-security/universe Translation-en_US
Ign http://security.ubuntu.com gutsy-security/multiverse Translation-en_US
Hit http://security.ubuntu.com gutsy-security Release
Hit http://eg.archive.ubuntu.com gutsy/main Packages
Hit http://security.ubuntu.com gutsy-security/main Packages
Hit http://security.ubuntu.com gutsy-security/restricted Packages
Hit http://security.ubuntu.com gutsy-security/main Sources
Hit http://security.ubuntu.com gutsy-security/restricted Sources
Hit http://eg.archive.ubuntu.com gutsy/restricted Packages
Hit http://eg.archive.ubuntu.com gutsy/main Sources
Hit http://eg.archive.ubuntu.com gutsy/restricted Sources
Hit http://eg.archive.ubuntu.com gutsy/universe Packages
Hit http://eg.archive.ubuntu.com gutsy/universe Sources
Hit http://eg.archive.ubuntu.com gutsy/multiverse Packages
Hit http://eg.archive.ubuntu.com gutsy/multiverse Sources
Hit http://security.ubuntu.com gutsy-security/universe Packages
Hit http://security.ubuntu.com gutsy-security/universe Sources
Hit http://security.ubuntu.com gutsy-security/multiverse Packages
Hit http://security.ubuntu.com gutsy-security/multiverse Sources
Hit http://eg.archive.ubuntu.com gutsy-updates/main Packages
Hit http://eg.archive.ubuntu.com gutsy-updates/restricted Packages
Hit http://eg.archive.ubuntu.com gutsy-updates/main Sources
Hit http://eg.archive.ubuntu.com gutsy-updates/restricted Sources
Hit http://eg.archive.ubuntu.com gutsy-updates/universe Packages
Hit http://eg.archive.ubuntu.com gutsy-updates/universe Sources
Hit http://eg.archive.ubuntu.com gutsy-updates/multiverse Packages
Hit http://eg.archive.ubuntu.com gutsy-updates/multiverse Sources
Fetched 3B in 3s (1B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mohammad@mohammad-desktop:~$

and i think i still have my problem
vi cant use my cam

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

ok please go on you must do all the sent steps...

Thank you

Revision history for this message
mohammad_magdy (magdy-zak) said :
#5

i did what u tell me u can see it:
mohammad@mohammad-desktop:~$ sudo apt-get update; sudo apt-get upgrade
[sudo] password for mohammad:
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/main Translation-en_US
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/restricted Translation-en_US
Get:1 http://eg.archive.ubuntu.com gutsy Release.gpg [191B]
Ign http://eg.archive.ubuntu.com gutsy/main Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy/restricted Translation-en_US
Get:2 http://security.ubuntu.com gutsy-security Release.gpg [191B]
Ign http://security.ubuntu.com gutsy-security/main Translation-en_US
Ign http://security.ubuntu.com gutsy-security/restricted Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy/universe Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy/multiverse Translation-en_US
Get:3 http://eg.archive.ubuntu.com gutsy-updates Release.gpg [187B]
Ign http://eg.archive.ubuntu.com gutsy-updates/main Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy-updates/restricted Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy-updates/universe Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy-updates/multiverse Translation-en_US
Ign http://security.ubuntu.com gutsy-security/universe Translation-en_US
Ign http://security.ubuntu.com gutsy-security/multiverse Translation-en_US
Hit http://security.ubuntu.com gutsy-security Release
Hit http://eg.archive.ubuntu.com gutsy Release
Hit http://eg.archive.ubuntu.com gutsy-updates Release
Hit http://security.ubuntu.com gutsy-security/main Packages
Hit http://eg.archive.ubuntu.com gutsy/main Packages
Hit http://eg.archive.ubuntu.com gutsy/restricted Packages
Hit http://eg.archive.ubuntu.com gutsy/main Sources
Hit http://eg.archive.ubuntu.com gutsy/restricted Sources
Hit http://security.ubuntu.com gutsy-security/restricted Packages
Hit http://security.ubuntu.com gutsy-security/main Sources
Hit http://security.ubuntu.com gutsy-security/restricted Sources
Hit http://eg.archive.ubuntu.com gutsy/universe Packages
Hit http://eg.archive.ubuntu.com gutsy/universe Sources
Hit http://eg.archive.ubuntu.com gutsy/multiverse Packages
Hit http://eg.archive.ubuntu.com gutsy/multiverse Sources
Hit http://eg.archive.ubuntu.com gutsy-updates/main Packages
Hit http://eg.archive.ubuntu.com gutsy-updates/restricted Packages
Hit http://security.ubuntu.com gutsy-security/universe Packages
Hit http://security.ubuntu.com gutsy-security/universe Sources
Hit http://security.ubuntu.com gutsy-security/multiverse Packages
Hit http://security.ubuntu.com gutsy-security/multiverse Sources
Hit http://eg.archive.ubuntu.com gutsy-updates/main Sources
Hit http://eg.archive.ubuntu.com gutsy-updates/restricted Sources
Hit http://eg.archive.ubuntu.com gutsy-updates/universe Packages
Hit http://eg.archive.ubuntu.com gutsy-updates/universe Sources
Hit http://eg.archive.ubuntu.com gutsy-updates/multiverse Packages
Hit http://eg.archive.ubuntu.com gutsy-updates/multiverse Sources
Fetched 3B in 2s (1B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mohammad@mohammad-desktop:~$ sudo apt-get install camorama build-essential gspca-source linux-headers-$(uname -r)mohammad
Reading package lists... Done
Building dependency tree
Reading state information... Done
camorama is already the newest version.
E: Couldn't find package linux-headers-2.6.22-14-genericmohammad
mohammad@mohammad-desktop:~$ cd /usr/src
mohammad@mohammad-desktop:/usr/src$ sudo tar -xjvf gspca-source.tar.bz2
tar: gspca-source.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mohammad@mohammad-desktop:/usr/src$ sudo tar -xjvf gspca-source.tar.bz2
tar: gspca-source.tar.bz2: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mohammad@mohammad-desktop:/usr/src$ cd /usr/src/modules/gspca/
bash: cd: /usr/src/modules/gspca/: No such file or directory
mohammad@mohammad-desktop:/usr/src$ sudo make
make: *** No targets specified and no makefile found. Stop.
mohammad@mohammad-desktop:/usr/src$ sudo apt-get install camorama build-essential gspca-source linux-headers-$(mohammad -r)
bash: mohammad: command not found
Reading package lists... Done
Building dependency tree
Reading state information... Done
camorama is already the newest version.
Package linux-headers is not installed, so not removed
The following extra packages will be installed:
  debhelper dpkg-dev g++ g++-4.1 gettext html2text intltool-debian libc6-dev
  libstdc++6-4.1-dev linux-libc-dev module-assistant patch po-debconf
Suggested packages:
  dh-make debian-keyring g++-multilib g++-4.1-multilib gcc-4.1-doc cvs
  gettext-doc kernel-package glibc-doc manpages-dev libstdc++6-4.1-doc
  diff-doc
Recommended packages:
  libmail-sendmail-perl libcompress-zlib-perl
The following NEW packages will be installed:
  build-essential debhelper dpkg-dev g++ g++-4.1 gettext gspca-source
  html2text intltool-debian libc6-dev libstdc++6-4.1-dev linux-libc-dev
  module-assistant patch po-debconf
0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 6522kB/10.5MB of archives.
After unpacking 41.3MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://eg.archive.ubuntu.com gutsy-updates/main linux-libc-dev 2.6.22-14.47 [653kB]
Media change: please insert the disc labeled
 'Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016)'
in the drive '/cdrom/' and press enter

Get:2 http://eg.archive.ubuntu.com gutsy-updates/main libc6-dev 2.6.1-1ubuntu10 [3287kB]
Get:3 http://eg.archive.ubuntu.com gutsy/main html2text 1.3.2a-3build1 [90.6kB]
Get:4 http://eg.archive.ubuntu.com gutsy/main gettext 0.16.1-2ubuntu3 [1552kB]
Get:5 http://eg.archive.ubuntu.com gutsy/main intltool-debian 0.35.0+20060710.1 [31.6kB]
Get:6 http://eg.archive.ubuntu.com gutsy/main po-debconf 1.0.9 [117kB]
Get:7 http://eg.archive.ubuntu.com gutsy/main debhelper 5.0.51ubuntu3 [526kB]
Get:8 http://eg.archive.ubuntu.com gutsy/universe module-assistant 0.10.11 [100kB]
Get:9 http://eg.archive.ubuntu.com gutsy/universe gspca-source 01.00.16-1-1 [165kB]
Fetched 6522kB in 4m10s (26.0kB/s)
Selecting previously deselected package linux-libc-dev.
(Reading database ... 110926 files and directories currently installed.)
Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.22-14.47_i386.deb) ...
Selecting previously deselected package libc6-dev.
Unpacking libc6-dev (from .../libc6-dev_2.6.1-1ubuntu10_i386.deb) ...
Selecting previously deselected package libstdc++6-4.1-dev.
Unpacking libstdc++6-4.1-dev (from .../libstdc++6-4.1-dev_4.1.2-16ubuntu2_i386.deb) ...
Selecting previously deselected package g++-4.1.
Unpacking g++-4.1 (from .../g++-4.1_4.1.2-16ubuntu2_i386.deb) ...
Selecting previously deselected package g++.
Unpacking g++ (from .../g++_4.1.2-9ubuntu2_i386.deb) ...
Selecting previously deselected package patch.
Unpacking patch (from .../p/patch/patch_2.5.9-4_i386.deb) ...
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.14.5ubuntu16_all.deb) ...
Selecting previously deselected package build-essential.
Unpacking build-essential (from .../build-essential_11.3ubuntu1_i386.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-3build1_i386.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.16.1-2ubuntu3_i386.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.9_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_5.0.51ubuntu3_all.deb) ...
Selecting previously deselected package module-assistant.
Unpacking module-assistant (from .../module-assistant_0.10.11_all.deb) ...
Selecting previously deselected package gspca-source.
Unpacking gspca-source (from .../gspca-source_01.00.16-1-1_all.deb) ...
Setting up linux-libc-dev (2.6.22-14.47) ...
Setting up libc6-dev (2.6.1-1ubuntu10) ...
Setting up patch (2.5.9-4) ...
Setting up dpkg-dev (1.14.5ubuntu16) ...
Setting up html2text (1.3.2a-3build1) ...

Setting up gettext (0.16.1-2ubuntu3) ...

Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.9) ...
Setting up debhelper (5.0.51ubuntu3) ...
Setting up module-assistant (0.10.11) ...
Setting up gspca-source (01.00.16-1-1) ...
Setting up libstdc++6-4.1-dev (4.1.2-16ubuntu2) ...
Setting up g++-4.1 (4.1.2-16ubuntu2) ...
Setting up g++ (4:4.1.2-9ubuntu2) ...

Setting up build-essential (11.3ubuntu1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
mohammad@mohammad-desktop:/usr/src$ sudo tar -xjvf gspca-source.tar.bz2
modules/
modules/gspca/
modules/gspca/debian/
modules/gspca/debian/rules
modules/gspca/debian/control.modules.in
modules/gspca/debian/postinst.modules.in
modules/gspca/debian/control
modules/gspca/debian/compat
modules/gspca/debian/copyright
modules/gspca/debian/changelog
modules/gspca/utils/
modules/gspca/utils/spcausb.h
modules/gspca/utils/spcaCompat.h
modules/gspca/utils/spcagamma.h
modules/gspca/Vimicro/
modules/gspca/Vimicro/ov7630c.h
modules/gspca/Vimicro/vc032x_sensor.h
modules/gspca/Vimicro/hv7131c.h
modules/gspca/Vimicro/tas5130c.h
modules/gspca/Vimicro/hdcs2020.h
modules/gspca/Vimicro/icm105a.h
modules/gspca/Vimicro/pb0330.h
modules/gspca/Vimicro/cs2102.h
modules/gspca/Vimicro/hv7131b.h
modules/gspca/Vimicro/tas5130c_vf0250.h
modules/gspca/Vimicro/zc3xx.h
modules/gspca/Vimicro/vc032x.h
modules/gspca/Vimicro/pas106b.h
modules/gspca/Sunplus/
modules/gspca/Sunplus/spca506.h
modules/gspca/Sunplus/spca505.dat
modules/gspca/Sunplus/spca508_init.h
modules/gspca/Sunplus/spca501_init-OSX.h
modules/gspca/Sunplus/spca501.dat
modules/gspca/Sunplus/spca561-OSX.h
modules/gspca/Sunplus/spca561.h
modules/gspca/Sunplus/spca501_init.h
modules/gspca/Sunplus/spca508.dat
modules/gspca/Sunplus/spca505_init.h
modules/gspca/Sunplus/spca508_init-OSX.h
modules/gspca/Conexant/
modules/gspca/Conexant/cxlib.h
modules/gspca/Conexant/cx11646.h
modules/gspca/gspca_core.c
modules/gspca/decoder/
modules/gspca/decoder/gspcadecoder-OSX.h
modules/gspca/decoder/gspcadecoder-OSX.c
modules/gspca/decoder/gspcadecoder.h
modules/gspca/decoder/gspcadecoder.c
modules/gspca/Sonix/
modules/gspca/Sonix/sn9cxxx.h
modules/gspca/Sonix/sonix.h
modules/gspca/Sunplus-jpeg/
modules/gspca/Sunplus-jpeg/sp5xxfw2.h
modules/gspca/Sunplus-jpeg/spca500_init.h
modules/gspca/Sunplus-jpeg/sp5xxfw2.dat
modules/gspca/Sunplus-jpeg/jpeg_qtables.h
modules/gspca/Sunplus-jpeg/spca500.dat
modules/gspca/changelog
modules/gspca/Transvision/
modules/gspca/Transvision/tv8532.h
modules/gspca/Etoms/
modules/gspca/Etoms/et61xx51.h
modules/gspca/Pixart/
modules/gspca/Pixart/pac207.h
modules/gspca/Pixart/pac207-OSX.h
modules/gspca/Mars-Semi/
modules/gspca/Mars-Semi/mr97311.h
modules/gspca/gspca.h
modules/gspca/Makefile
modules/gspca/Makefile.kld
modules/gspca/gspca_build
mohammad@mohammad-desktop:/usr/src$ cd /usr/src/modules/gspca/
mohammad@mohammad-desktop:/usr/src/modules/gspca$ sudo make
make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/modules/gspca CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M] /usr/src/modules/gspca/gspca_core.o
  CC [M] /usr/src/modules/gspca/decoder/gspcadecoder.o
  LD [M] /usr/src/modules/gspca/gspca.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC /usr/src/modules/gspca/gspca.mod.o
  LD [M] /usr/src/modules/gspca/gspca.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
mohammad@mohammad-desktop:/usr/src/modules/gspca$ sudo make install
mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko
rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko
install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
/sbin/depmod -ae
mohammad@mohammad-desktop:/usr/src/modules/gspca$ modprobe gspca
WARNING: Error inserting v4l1_compat (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/v4l1-compat.ko): Operation not permitted
WARNING: Error inserting v4l2_common (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/v4l2-common.ko): Operation not permitted
WARNING: Error inserting videodev (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/videodev.ko): Operation not permitted
FATAL: Error inserting gspca (/lib/modules/2.6.22-14-generic/ubuntu/media/gspcav1/gspca.ko): Operation not permitted
mohammad@mohammad-desktop:/usr/src/modules/gspca$ camorama
mohammad@mohammad-desktop:/usr/src/modules/gspca$

but it tells me could not connect to the video device
plzz tell me what it my fault, thanks about ur care ,thanks alot

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

Here is wrong
sudo apt-get install camorama build-essential gspca-source linux-headers-$(uname -r)mohammad

The row must be:
sudo apt-get install camorama build-essential gspca-source linux-headers-$(uname -r)

Without append your name...!

Please retry

---- To install the webcam ( you must have an active internet connection ):
1) - We do all from terminal
2) - When the system ask you for password, give your user password, you don't see nothing when you type it, then press enter

Open a terminal from Applications->Accessories->Terminal and type:

sudo apt-get update; sudo apt-get upgrade
sudo apt-get install camorama build-essential gspca-source linux-headers-$(uname -r)
cd /usr/src
sudo tar -xjvf gspca-source.tar.bz2
cd /usr/src/modules/gspca/
sudo make
sudo make install
modprobe gspca
camorama

If your cam color are no good open the: /etc/modprobe.d/options file

sudo gedit /etc/modprobe.d/options

and add this row at the end of file:
options gspca force_rgb=1

add the module gspca at the end of /etc/modules file, type:

sudo gedit /etc/modules

add a row at the end of file and type:
gspca

Save and exit and reboot your pc reopen Camorama from menu: Applications->Graphics->...

Give me some feedback
HTH

Revision history for this message
mohammad_magdy (magdy-zak) said :
#7

i think the problem is here when i type
modprobe gspca

it gives me that :

WARNING: Error inserting v4l1_compat (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/v4l1-compat.ko): Operation not permitted
WARNING: Error inserting v4l2_common (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/v4l2-common.ko): Operation not permitted
WARNING: Error inserting videodev (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/videodev.ko): Operation not permitted
FATAL: Error inserting gspca (/lib/modules/2.6.22-14-generic/ubuntu/media/gspcav1/gspca.ko): Operation not permitted

sorry i think by the time i will do it,keep learning me man ,thanks

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#8

Yes there is a typo try

sudo modprobe gspca

Revision history for this message
mohammad_magdy (magdy-zak) said :
#9

 i correct the row and type:
sudo apt-get install camorama build-essential gspca-source linux-headers-$(uname -r)

look

mohammad@mohammad-desktop:~$ sudo apt-get update; sudo apt-get upgrade
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/main Translation-en_US
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/restricted Translation-en_US
Get:1 http://eg.archive.ubuntu.com gutsy Release.gpg [191B]
Ign http://eg.archive.ubuntu.com gutsy/main Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy/restricted Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy/universe Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy/multiverse Translation-en_US
Get:2 http://eg.archive.ubuntu.com gutsy-updates Release.gpg [187B]
Ign http://eg.archive.ubuntu.com gutsy-updates/main Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy-updates/restricted Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy-updates/universe Translation-en_US
Ign http://eg.archive.ubuntu.com gutsy-updates/multiverse Translation-en_US
Hit http://eg.archive.ubuntu.com gutsy Release
Get:3 http://security.ubuntu.com gutsy-security Release.gpg [191B]
Ign http://security.ubuntu.com gutsy-security/main Translation-en_US
Hit http://eg.archive.ubuntu.com gutsy-updates Release
Ign http://security.ubuntu.com gutsy-security/restricted Translation-en_US
Ign http://security.ubuntu.com gutsy-security/universe Translation-en_US
Ign http://security.ubuntu.com gutsy-security/multiverse Translation-en_US
Hit http://security.ubuntu.com gutsy-security Release
Hit http://eg.archive.ubuntu.com gutsy/main Packages
Hit http://eg.archive.ubuntu.com gutsy/restricted Packages
Hit http://eg.archive.ubuntu.com gutsy/main Sources
Hit http://security.ubuntu.com gutsy-security/main Packages
Hit http://eg.archive.ubuntu.com gutsy/restricted Sources
Hit http://eg.archive.ubuntu.com gutsy/universe Packages
Hit http://eg.archive.ubuntu.com gutsy/universe Sources
Hit http://eg.archive.ubuntu.com gutsy/multiverse Packages
Hit http://eg.archive.ubuntu.com gutsy/multiverse Sources
Hit http://eg.archive.ubuntu.com gutsy-updates/main Packages
Hit http://eg.archive.ubuntu.com gutsy-updates/restricted Packages
Hit http://eg.archive.ubuntu.com gutsy-updates/main Sources
Hit http://security.ubuntu.com gutsy-security/restricted Packages
Hit http://security.ubuntu.com gutsy-security/main Sources
Hit http://security.ubuntu.com gutsy-security/restricted Sources
Hit http://eg.archive.ubuntu.com gutsy-updates/restricted Sources
Hit http://eg.archive.ubuntu.com gutsy-updates/universe Packages
Hit http://eg.archive.ubuntu.com gutsy-updates/universe Sources
Hit http://eg.archive.ubuntu.com gutsy-updates/multiverse Packages
Hit http://eg.archive.ubuntu.com gutsy-updates/multiverse Sources
Hit http://security.ubuntu.com gutsy-security/universe Packages
Hit http://security.ubuntu.com gutsy-security/universe Sources
Hit http://security.ubuntu.com gutsy-security/multiverse Packages
Hit http://security.ubuntu.com gutsy-security/multiverse Sources
Fetched 3B in 2s (1B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mohammad@mohammad-desktop:~$ sudo apt-get install camorama build-essential gspca-source linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
camorama is already the newest version.
build-essential is already the newest version.
gspca-source is already the newest version.
linux-headers-2.6.22-14-generic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mohammad@mohammad-desktop:~$ cd /usr/src
mohammad@mohammad-desktop:/usr/src$ sudo tar -xjvf gspca-source.tar.bz2
modules/
modules/gspca/
modules/gspca/debian/
modules/gspca/debian/rules
modules/gspca/debian/control.modules.in
modules/gspca/debian/postinst.modules.in
modules/gspca/debian/control
modules/gspca/debian/compat
modules/gspca/debian/copyright
modules/gspca/debian/changelog
modules/gspca/utils/
modules/gspca/utils/spcausb.h
modules/gspca/utils/spcaCompat.h
modules/gspca/utils/spcagamma.h
modules/gspca/Vimicro/
modules/gspca/Vimicro/ov7630c.h
modules/gspca/Vimicro/vc032x_sensor.h
modules/gspca/Vimicro/hv7131c.h
modules/gspca/Vimicro/tas5130c.h
modules/gspca/Vimicro/hdcs2020.h
modules/gspca/Vimicro/icm105a.h
modules/gspca/Vimicro/pb0330.h
modules/gspca/Vimicro/cs2102.h
modules/gspca/Vimicro/hv7131b.h
modules/gspca/Vimicro/tas5130c_vf0250.h
modules/gspca/Vimicro/zc3xx.h
modules/gspca/Vimicro/vc032x.h
modules/gspca/Vimicro/pas106b.h
modules/gspca/Sunplus/
modules/gspca/Sunplus/spca506.h
modules/gspca/Sunplus/spca505.dat
modules/gspca/Sunplus/spca508_init.h
modules/gspca/Sunplus/spca501_init-OSX.h
modules/gspca/Sunplus/spca501.dat
modules/gspca/Sunplus/spca561-OSX.h
modules/gspca/Sunplus/spca561.h
modules/gspca/Sunplus/spca501_init.h
modules/gspca/Sunplus/spca508.dat
modules/gspca/Sunplus/spca505_init.h
modules/gspca/Sunplus/spca508_init-OSX.h
modules/gspca/Conexant/
modules/gspca/Conexant/cxlib.h
modules/gspca/Conexant/cx11646.h
modules/gspca/gspca_core.c
modules/gspca/decoder/
modules/gspca/decoder/gspcadecoder-OSX.h
modules/gspca/decoder/gspcadecoder-OSX.c
modules/gspca/decoder/gspcadecoder.h
modules/gspca/decoder/gspcadecoder.c
modules/gspca/Sonix/
modules/gspca/Sonix/sn9cxxx.h
modules/gspca/Sonix/sonix.h
modules/gspca/Sunplus-jpeg/
modules/gspca/Sunplus-jpeg/sp5xxfw2.h
modules/gspca/Sunplus-jpeg/spca500_init.h
modules/gspca/Sunplus-jpeg/sp5xxfw2.dat
modules/gspca/Sunplus-jpeg/jpeg_qtables.h
modules/gspca/Sunplus-jpeg/spca500.dat
modules/gspca/changelog
modules/gspca/Transvision/
modules/gspca/Transvision/tv8532.h
modules/gspca/Etoms/
modules/gspca/Etoms/et61xx51.h
modules/gspca/Pixart/
modules/gspca/Pixart/pac207.h
modules/gspca/Pixart/pac207-OSX.h
modules/gspca/Mars-Semi/
modules/gspca/Mars-Semi/mr97311.h
modules/gspca/gspca.h
modules/gspca/Makefile
modules/gspca/Makefile.kld
modules/gspca/gspca_build
mohammad@mohammad-desktop:/usr/src$ cd /usr/src/modules/gspca/
mohammad@mohammad-desktop:/usr/src/modules/gspca$ sudo make
make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/modules/gspca CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
mohammad@mohammad-desktop:/usr/src/modules/gspca$ sudo make install
mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko
rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko
install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
/sbin/depmod -ae
mohammad@mohammad-desktop:/usr/src/modules/gspca$ modprobe gspca
WARNING: Error inserting v4l1_compat (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/v4l1-compat.ko): Operation not permitted
WARNING: Error inserting v4l2_common (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/v4l2-common.ko): Operation not permitted
WARNING: Error inserting videodev (/lib/modules/2.6.22-14-generic/kernel/drivers/media/video/videodev.ko): Operation not permitted
FATAL: Error inserting gspca (/lib/modules/2.6.22-14-generic/ubuntu/media/gspcav1/gspca.ko): Operation not permitted
mohammad@mohammad-desktop:/usr/src/modules/gspca$ camorama
mohammad@mohammad-desktop:/usr/src/modules/gspca$

but still have that message: could not connect to the video device, really i feel shame of you,but at all i have to say thanks

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#10

Please ONLY type this:

sudo modprobe gspca

give your user password if requested, you don't see nothing when you type it, then press enter.

Then type

camorama

Revision history for this message
mohammad_magdy (magdy-zak) said :
#11

i did what u said but i typed :
sudo modprobe gspca
and i gived it my password as it requsted, and i type it correctly, i know there noting will show while i type it,and not thing, it said: COULD NOT TO CONNECT TO VIDEO DEVICE (/DVN/VIDEO0). PLEAS CHECK CONNECTION.
SORRY

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#12

Ok first try to add your user to video group

adduser youruser video

replace youruser with your real username

Then try to cat the input of the device /dev/video0 open a terminal, type:

cat /dev/video0

you must see mangled char coming from your connected webcam
if they come to terminal then press ctrl + c to stop.
You must still view bad chars visualization on your terminal to reset good chars type a blind:

reset

Then try camstream to view your webcam, type:

apt-get update
apt-get install camstream

then to run camstream simply type camstream
Try also to view your webacam with Ekiga Softphone from menu: Applications->Internet->Ekiga Softphone

Hope this helps

Revision history for this message
Maday (madayjd) said :
#13

I have a Philips web cam and it used to work with Windows, but now I change to Ubuntu and It doesn't work... what can I do?

Can you help with this problem?

Provide an answer of your own, or ask mohammad_magdy for more information if necessary.

To post a message you must log in.