Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Installation & Upgrades
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Installation & Upgrades
For questions about upgrading and installation of your new Ubuntu OS.

 
Thread Tools Display Modes
Old October 27th, 2007   #1
linux23dragon
Quad Shot of Ubuntu
 
linux23dragon's Avatar
 
Join Date: Jul 2007
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
Lightbulb Web cam driver "Linux-UVC" (Install or Upgrade)

Summery

If you have a webcam that does not appear to work with Ekiga or any other web cam applications. Then this
thread maybe the solution for you. I've written some steps that will help you determine if the Linux-UVC driver
will (or should) work for you or not. This thread supports Hardy (Ubuntu-8.04), Gutsy (Ubuntu-7.10) and Ubuntu-7.04



Check to see if your webcam is supported with the Linux-UVC driver.

I'll first point you to the Supported Device Section of the official Linux-UVC home page (http://linux-uvc.berlios.de).
That should give you a list of supported Webcam models with the Linux-UVC driver itself.

You can find that out if the Webcam is working (or is detected by the UVC driver) by reading the Kernel System
log, using a program called System Log Viewer. You will find this program in the System menu on your task bar:-
System->Administration->System Log

Select the "kernel.log" and carefully read (line by line) until you see something like the following:-

Code:
Oct 27 10:19:07 core2-desktop kernel: [   32.416587] uvcvideo: Found UVC 1.00 device <unnamed> (046d:08c1)
Oct 27 10:19:07 core2-desktop kernel: [   32.430238] usbcore: registered new interface driver uvcvideo
Oct 27 10:19:07 core2-desktop kernel: [   32.430242] USB Video Class driver (v0.1.0)



If you find the "uvcvideo" lines in the kernel.log, then its safe to say that your webcam is detected and uses the
Linux-UVC drivers.

If you don't see any line that states "uvcvideo", then its safe to say that you don't have a UVC Webcam. And so
the webcam will not work with the Linux-UVC driver. There is lots of other Linux webcam drivers that may
support your webcam. And here is more information about webcam drivers and applications.

UPDATE:- more web cam driver support info can be found from tuxmobil.org


Installing or upgrading the Linux-UVC driver

Ubuntu-7.04 and 7.10 already has the Linux-UVC Driver installed in the kernel. However, this does not mean that
it will just work out of the box for everybody. The Linux driver is new (just around 2 years) and is improving with
more supported web cam models added every month or so.

Copy and past the following code into a terminal, to upgrade the Linux-UVC driver:-

For Hardy (Ubuntu-8.04) and Gutsy (Ubuntu-7.10)
Code:
sudo apt-get install subversion build-essential linux-headers-$(uname -r) &&
svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk &&
cd trunk &&
make &&
sudo cp -av /lib/modules/$(uname -r)/ubuntu/media/usbvideo/uvcvideo.ko /lib/modules &&
sudo install -v -m644 uvcvideo.ko /lib/modules/$(uname -r)/ubuntu/media/usbvideo/uvcvideo.ko &&
sudo depmod -ae $(uname -r)

Reboot

Note: You have a backup of the original driver located at "/lib/modules/uvcvideo.ko", in case the upgrade turned out
for the worst. You only need to copy it back to /lib/modules/$(uname -r)/ubuntu/media/usbvideo/
to restore the original driver. You can try to upgrade again at later date after the developers release some updates.



For Ubuntu-7.04
Code:
sudo apt-get install subversion build-essential linux-headers-$(uname -r) &&
svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk &&
cd trunk &&
make &&
sudo cp -av /lib/modules/$(uname -r)/kernel/ubuntu/media/usbvideo/uvcvideo.ko /lib/modules &&
sudo install -v -m644 uvcvideo.ko /lib/modules/$(uname -r)/kernel/ubuntu/media/usbvideo/uvcvideo.ko &&
sudo depmod -ae

Reboot

Note: You have a backup of the original driver located at "/lib/modules/uvcvideo.ko", in case the upgrade turned out
for the worst. You only need to copy it back to /lib/modules/$(uname -r)/kernel/ubuntu/media/usbvideo/
to restore the original driver. You can try to upgrade again at later date after the developers release some updates.



The Linux-UVC driver only supports V4L2 (Video 4 Linux 2) applications. You should be able to use Ekiga by using
the V4L2 plug in found in Ekiga preferences (Edit->preferences:- Video device section).

There is a unofficial WiKi page that details the applications that work (or not) with your supported webcam. Have
a look at the "Known Problems" section for workarounds and patches, that you might need. The Wiki
also details on how to use an official test program called luvcview. It is recommended to use luvcview, to see if
your Webcam is working correctly with the Linux-UVC driver.

Last edited by linux23dragon; May 16th, 2008 at 10:29 PM.. Reason: Included the backup information
linux23dragon is offline   Reply With Quote
Old January 14th, 2008   #2
tyboon
Just Give Me the Beans!
 
tyboon's Avatar
 
Join Date: Mar 2007
Location: Athens GR - Olten Ch
Beans: 81
Ubuntu 8.04 Hardy Heron
Send a message via Skype™ to tyboon
Re: Web Cam driver "Linux-UVC" (Install or Upgrade)

man.........you rock ......
It did work .... thanks a lot...
__________________
Follow the source......Open your eyes....
tyboon is offline   Reply With Quote
Old February 9th, 2008   #3
magicrobotmonkey
Just Give Me the Beans!
 
Join Date: Apr 2006
Beans: 35
Re: Web cam driver "Linux-UVC" (Install or Upgrade)

yea, this helped me with getting skype to work right, thanks a lot!
magicrobotmonkey is offline   Reply With Quote
Old February 29th, 2008   #4
maconlysource
First Cup of Ubuntu
 
Join Date: Nov 2006
My beans are hidden!
Exclamation Re: Web Cam driver "Linux-UVC" (Install or Upgrade) NO GO

Cannot get my compaq c756ca webcam to work in Ubuntu 7.1.

If I install Hardy, it works fine. It does use uvcvideo in Hardy.

Any ideas how I can get it to work in 7.1?

If I start xawtv in 7.1 I get a black screen and the webcam blue light blinks. Cheese freezes, and camoram cannot find dev/video0.

Thanks in advance.
maconlysource is offline   Reply With Quote
Old March 1st, 2008   #5
tribunal
A Carafe of Ubuntu
 
Join Date: Sep 2006
Location: Saint-Petersburg, Russia
Beans: 96
Kubuntu 7.10 Gutsy Gibbon
Send a message via ICQ to tribunal
Re: Web Cam driver "Linux-UVC" (Install or Upgrade)

yes, it works
But no so good as I want it to
I have some bugs with my Logitech Ultra-Vision
After some time SOMETHING happens and my cam stops working
It works ok only after restarting PC, or shutting down the cam, and rmmod/modprobe drivers
What should I do?
There are something about patches in
here, but I'm not a system developer to use them
tribunal is offline   Reply With Quote
Old March 9th, 2008   #6
ericstoesser
First Cup of Ubuntu
 
Join Date: Jan 2008
Beans: 11
Re: Web Cam driver "Linux-UVC" (Install or Upgrade)

will this work with stickam
ericstoesser is offline   Reply With Quote
Old March 9th, 2008   #7
Mustard
Chocolate Ubuntu Mocha Blend
 
Mustard's Avatar
 
Join Date: Jun 2005
Location: Australia
Beans: 1,777
Ubuntu 9.10 Karmic Koala
Re: Web Cam driver "Linux-UVC" (Install or Upgrade)

Quote:
Originally Posted by ericstoesser View Post
will this work with stickam
I dont think it will help with stickam, as the problem with stickam is that it is using Adobe Flash, and Adobe Flash doesnt support V4L2. The UVC drivers only work with V4L2. So basically if your camera relies on UVC drivers, it wont work with anything that uses V4L1.
Mustard is offline   Reply With Quote
Old March 24th, 2008   #8
Koen460
First Cup of Ubuntu
 
Join Date: Mar 2008
Beans: 1
Re: Web Cam driver "Linux-UVC" (Install or Upgrade)

thnx for your reply. I m new user and have to get used to this environment. So sorry if I don't reply correctly at this very moment.
Koen460 is offline   Reply With Quote
Old March 29th, 2008   #9
cirpo
First Cup of Ubuntu
 
Join Date: Mar 2005
Beans: 8
Re: Web Cam driver "Linux-UVC" (Install or Upgrade)

hi,
can't get it working...


modprobe uvcvideo
Code:
FATAL: Error inserting uvcvideo (/lib/modules/2.6.22-14-generic/ubuntu/media/usbvideo/uvcvideo.ko): Unknown symbol in module, or unknown parameter (see dmesg)
dmesg output:

Quote:

[ 312.503261] uvcvideo: disagrees about version of symbol video_devdata
[ 312.503266] uvcvideo: Unknown symbol video_devdata
[ 312.503469] uvcvideo: disagrees about version of symbol video_unregister_device
[ 312.503472] uvcvideo: Unknown symbol video_unregister_device
[ 312.503536] uvcvideo: disagrees about version of symbol video_device_alloc
[ 312.503538] uvcvideo: Unknown symbol video_device_alloc
[ 312.503588] uvcvideo: disagrees about version of symbol video_register_device
[ 312.503590] uvcvideo: Unknown symbol video_register_device
[ 312.503749] uvcvideo: disagrees about version of symbol video_device_release
[ 312.503751] uvcvideo: Unknown symbol video_device_release
help...


thanks

cirpo
cirpo is offline   Reply With Quote
Old March 29th, 2008   #10
carlos_listas
First Cup of Ubuntu
 
Join Date: Mar 2008
Beans: 5
Hardy Heron (Ubuntu Development)
Unhappy Re: Web Cam driver "Linux-UVC" (Install or Upgrade)

Hi all, until today morning my web can was working very well, but I installed a cx18 driver to try do work a hp tv tuner (http://ivtvdriver.org/index.php/Cx18) and after this my webcan didn't work more.

hp pavilion dv9640us
/var/log/messagesNo LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu hardy (development branch)
Release: 8.04
Codename: hardy



before cx18 module

Mar 28 21:02:02 tocals-linux kernel: [ 46.453205] uvcvideo: Found UVC 1.00 device HP Webcam (04f2:b023)
Mar 28 21:02:02 tocals-linux kernel: [ 46.455223] usbcore: registered new interface driver uvcvideo
Mar 29 14:41:01 tocals-linux kernel: [ 47.412424] uvcvideo: Found UVC 1.00 device HP Webcam (04f2:b023)
Mar 29 14:41:01 tocals-linux kernel: [ 47.414471] usbcore: registered new interface driver uvcvideo

after cx18 module

:# modprobe uvcvideo
FATAL: Error inserting uvcvideo (/lib/modules/2.6.24-12-generic/ubuntu/media/usbvideo/uvcvideo.ko): Unknown symbol in module, or unknown parameter (see dmesg)

Mar 29 16:12:22 tocals-linux kernel: [ 55.180567] uvcvideo: disagrees about version of symbol video_devdata
Mar 29 16:12:22 tocals-linux kernel: [ 55.180571] uvcvideo: Unknown symbol video_devdata
Mar 29 16:12:22 tocals-linux kernel: [ 55.180988] uvcvideo: disagrees about version of symbol video_unregister_device
Mar 29 16:12:22 tocals-linux kernel: [ 55.180990] uvcvideo: Unknown symbol video_unregister_device
Mar 29 16:12:22 tocals-linux kernel: [ 55.181122] uvcvideo: disagrees about version of symbol video_device_alloc
Mar 29 16:12:22 tocals-linux kernel: [ 55.181124] uvcvideo: Unknown symbol video_device_alloc
Mar 29 16:12:22 tocals-linux kernel: [ 55.181211] uvcvideo: disagrees about version of symbol video_register_device
Mar 29 16:12:22 tocals-linux kernel: [ 55.181214] uvcvideo: Unknown symbol video_register_device
Mar 29 16:12:22 tocals-linux kernel: [ 55.181473] uvcvideo: disagrees about version of symbol video_device_release
Mar 29 16:12:22 tocals-linux kernel: [ 55.181475] uvcvideo: Unknown symbol video_device_release
carlos_listas is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:37 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry