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

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Multimedia & Video
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.

Multimedia & Video
Have multimedia question? ATI, Nvidia, Sound cards. Just ask here.

 
Thread Tools Display Modes
Old October 19th, 2006   #1
potterzot
5 Cups of Ubuntu
 
Join Date: Jul 2005
Beans: 27
Thumbs up HOWTO: HP laptop webcam

This is using Edgy Etch, don't know how it works with previous versions. If you have a new HP laptop of the dv2000 series or similar, you probably realized that your webcam doesn't work. The spca5xx driver documented elsewhere seems like it would support it, but at the time of writing, only the UVL driver supports this webcam. First, check out this webpage:

To get the UVC driver, go to:

Code:
http://linux-uvc.berlios.de/
you probably have to install svn:

Code:
sudo aptitude install subversion
then check out the source of the UVC driver and compile and install:

Code:
svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
cd trunk
sudo make
sudo make install
Thats it! Ekiga detects my webcam after this with no problem. Don't know if this fixes the mic, haven't tested it. At this point it probably doesn't.

My webcam is a Sonix Microdia webcam, with address 0c45 62c0. You can find this information by doing:

Code:
sudo lsusb -v
and checking through the listings. You should see a usb 2.0 webcam listing there somewhere.
potterzot is offline   Reply With Quote
Old October 21st, 2006   #2
Rul
5 Cups of Ubuntu
 
Join Date: Oct 2006
Location: San Diego, CA
Beans: 30
Kubuntu 7.10 Gutsy Gibbon
Re: HOWTO: HP laptop webcam

Hi,

I did what you said but when I write

sudo make

the terminal answer:

Building USB Video Class driver...
/bin/sh: line 0: cd: /lib/modules/2.6.15-27-386/build: No such file or directorymake: *** [uvcvideo] Error 1

I check it out and effectively there si no build file

What can I do?

by the way, the mic is already working...
Rul is offline   Reply With Quote
Old October 26th, 2006   #3
eitan
Just Give Me the Beans!
 
Join Date: Oct 2005
Location: Austin, Texas
Beans: 76
Hardy Heron (Ubuntu Development)
Re: HOWTO: HP laptop webcam

forgot to mention my specs in the previous post: i'm running an hp dv2000 laptop (core duo).
eitan is offline   Reply With Quote
Old October 29th, 2006   #4
Bastanteroma
A Carafe of Ubuntu
 
Bastanteroma's Avatar
 
Join Date: Apr 2006
Beans: 128
Re: HOWTO: HP laptop webcam

When I try to make I get the following message:

/horriss@horriss:~/trunk$ sudo make
Building USB Video Class driver...
cd: 1: can't cd to /lib/modules/2.6.17-10-386/build
make: *** [uvcvideo] Error 2

Do I need to install something to compile things?
Bastanteroma is offline   Reply With Quote
Old October 29th, 2006   #5
anaconda
Fresh Brewed Ubuntu
 
anaconda's Avatar
 
Join Date: Mar 2006
Beans: 1,193
Hardy Heron (Ubuntu Development)
Re: HOWTO: HP laptop webcam

Thank you for the instructions! worked perfectly!

And for you "Bastanteroma"
You need to have kernel headers installed before running the sudo make and sudo make install..

To install kernel headers for your kernel version type:
sudo apt-get install linux-headers-`uname -r`

EDIT: and ofcourse you also need the compiler...
sudo apt-get install build-essential

PS. I would guess that the webcam stops working each time after installing new kernel.. we just need to install kernel headers for each kernel, and run the sudo make && sudo make install agin..
__________________
____________
anaconda

Last edited by anaconda; October 29th, 2006 at 03:39 PM..
anaconda is offline   Reply With Quote
Old November 29th, 2006   #6
dimkal
5 Cups of Ubuntu
 
Join Date: May 2006
Beans: 23
Hardy Heron (Ubuntu Development)
Re: HOWTO: HP laptop webcam

webcam now works great on dv2000z (AMDx64), but mic isn't working ... any ideas?
dimkal is offline   Reply With Quote
Old February 13th, 2007   #7
uggeli
Just Give Me the Beans!
 
Join Date: Oct 2004
Location: Finland
Beans: 57
Ubuntu 7.10 Gutsy Gibbon
Re: HOWTO: HP laptop webcam

Quote:
Originally Posted by anaconda View Post
PS. I would guess that the webcam stops working each time after installing new kernel.. we just need to install kernel headers for each kernel, and run the sudo make && sudo make install agin..
You were right about that. Now when I got 2.6.17-11-generic kernel webcam stopped working. I tried to install driver again, but nothing happens. Ekiga still claims it doesn't recognize any device. Well there wasn't much use of that cam anyway (maybe it will when gaim will have video support), but sure it would be nice to get it working again.
__________________
Linux: Be root
Windows: Reboot
uggeli is offline   Reply With Quote
Old October 26th, 2006   #8
eitan
Just Give Me the Beans!
 
Join Date: Oct 2005
Location: Austin, Texas
Beans: 76
Hardy Heron (Ubuntu Development)
Re: HOWTO: HP laptop webcam

thanks for posting this howto.
i checked out and installed linux-uvc from svn (trunk) as you suggested. lsusb does indeed show a sonix webcam. however, the ekiga wizard still behaves the same way, claiming it did not detect anything. most annoying.

also, no change to the status of getting my mic to work.

disappointed..
eitan is offline   Reply With Quote
Old April 22nd, 2007   #9
ZERO_SHIFT
Way Too Much Ubuntu
 
ZERO_SHIFT's Avatar
 
Join Date: Sep 2006
Location: State College, PA
Beans: 226
Ubuntu 7.10 Gutsy Gibbon
Send a message via MSN to ZERO_SHIFT Send a message via Skype™ to ZERO_SHIFT
Red face Re: HOWTO: HP laptop webcam

I have hp dv2000 followed instr. but Webcam did not work??
__________________
UnRealistic Deal on a PS3
Intel Core 2 Duo 2.0 GHz---2 GB RAM---nVIDIA GeForce 7200 GO
http://realistic--virtuality.blogspot.com/
ZERO_SHIFT is offline   Reply With Quote
Old June 10th, 2007   #10
nuvolavinz
First Cup of Ubuntu
 
Join Date: Jun 2007
Beans: 1
Re: HOWTO: HP laptop webcam

hi there,
ive tried really anything you explained so well,
but still the webcam and the mic are not working.
is there any other thing or driver i should install?
thank you
vinz

ot: cant update covers on ipod using amarok, but thats a long long story...
nuvolavinz 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 04:48 AM.


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