How i can connect my ELEMENT ONE 300 PRO nortek USB webcam

Asked by piolop

On a Gutsy Ubuntu fully upgraded i want to access to my usb cam but i can't resolve it.
Do you have some suggestion or tips...?
I use a kernel 2.6.22-10-generic and when i connect the USB cam doing a lsusb i get:
Bus 001 Device 002: ID 0c45:602c Microdia Clas Ohlson TWC-30XOP WebCam

What can i do ?
Thank you.

Question information

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

I think you can use gspca v4l kernel module source and compile it:
a) - we must download some requested packages:
sudo apt-get update; sudo apt-get install camorama build-essential linux-headers-$(uname -r)

we can get the source code from the package: gspca-source - source for the gspca v4l kernel module
to do this from a terminal we must type:
sudo apt-get install gspca-source

Now we have the source code and into /usr/src directory there must be:
/usr/src/gspca-source.tar.bz2

We must extract the files:
cd /usr/src
tar -xjvf gspca-source.tar.bz2
now we have a modules/gspca subdir and we must move in:
cd modules/gspca
and we must compile the source code to do this we must type:
make
and install the modules, we type:
sudo make install
and after we can test/load kernel module with:
sudo modprobe gspca
if we get no error now we can automatize the load at startup, we open:
sudo gedit /etc/modules
and we append the module name into a new line at the end of file, we must write:
gspca
We close and save the file.
We can also add an option to module we must open:
sudo gedit /etc/modprobe.d/options
and then add the line below
options gspca force_rgb=1
save and exit
We can test the webcam with camorama, we can type from terminal:
camorama
If the cam don't work please retry after a fully reboot of the system.

You will find Camorama item from:
Applications->Graphics->....

We can get the latest gspca source code directy from: http://mxhaard.free.fr/download.html

HTH

Revision history for this message
piolop (ste-helpeco) said :
#2

Thanks elart, that solved my question.

Revision history for this message
Alessandro Drudi (alexdrudi) said :
#3

Following the suggested procedure on 8.10, at the "make" step I get the error:
____________________________
ale@dodo2:/usr/src/modules/gspca$ 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.27-11-generic'
  CC [M] /usr/src/modules/gspca/gspca_core.o
/usr/src/modules/gspca/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
/usr/src/modules/gspca/gspca_core.c: In function ‘spca5xx_ioctl’:
/usr/src/modules/gspca/gspca_core.c:2463: error: implicit declaration of function ‘video_usercopy’
/usr/src/modules/gspca/gspca_core.c: At top level:
/usr/src/modules/gspca/gspca_core.c:2609: error: unknown field ‘owner’ specified in initializer
/usr/src/modules/gspca/gspca_core.c:2609: warning: initialization from incompatible pointer type
/usr/src/modules/gspca/gspca_core.c:2611: error: unknown field ‘type’ specified in initializer
/usr/src/modules/gspca/gspca_core.c: In function ‘spca50x_create_sysfs’:
/usr/src/modules/gspca/gspca_core.c:2769: error: implicit declaration of function ‘video_device_create_file’
/usr/src/modules/gspca/gspca_core.c:2780: error: implicit declaration of function ‘video_device_remove_file’
/usr/src/modules/gspca/gspca_core.c: In function ‘spca5xx_probe’:
/usr/src/modules/gspca/gspca_core.c:4301: error: incompatible types in assignment
make[2]: *** [/usr/src/modules/gspca/gspca_core.o] Error 1
make[1]: *** [_module_/usr/src/modules/gspca] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
make: *** [default] Error 2
________________________________

- previous steps completed ok
- /usr/src/modules/gspca (included) and below has 777

might just be a blunder ... any clue? Thanks