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

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

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
Thread Tools Display Modes
Old June 14th, 2008   #1
KemKev
First Cup of Ubuntu
 
Join Date: Jun 2008
Beans: 10
Unhappy [SOLVED] HP Pavilion DV6000 Integrated WebCam Problems

I'm having some difficulty getting my integrated webcam working on my DV6000 with Hardy Heron 8.04.

When I run "lsusb", I get the info below

Bus 002 Device 002: ID 050d:0845 Belkin Components
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 05ca:1810 Ricoh Co., Ltd
Bus 001 Device 001: ID 0000:0000


When I run lsmod | grep videodev, I get:

videodev 30720 1 uvcvideo
v4l1_compat 15492 2 uvcvideo,videodev
v4l2_common 21888 3 uvcvideo,compat_ioctl32,videodev


Then, I then got the "r5u870-0.10.0.tgz" and after unpacking and running the "make" command, I get the following:

make -C /lib/modules/2.6.24-18-generic/build M=/home/colin/Desktop/r5u870-0.10.0 V=0 modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.24-18-generic'
CC [M] /home/colin/Desktop/r5u870-0.10.0/r5u870_md.o

In file included from /home/colin/Desktop/r5u870-0.10.0/r5u870_md.c:55:
/home/colin/Desktop/r5u870-0.10.0/usbcam.h:36:29: error: media/video-buf.h: No such file or directory

make[2]: *** [/home/colin/Desktop/r5u870-0.10.0/r5u870_md.o] Error 1

make[1]: *** [_module_/home/colin/Desktop/r5u870-0.10.0] Error 2

make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-18-generic'

make: *** [all] Error 2


I've downloaded the file form different sources, but all the packages contain the same files, so I'm not sure why I'm getting all the errors.

I've also tried to run Cheese and a few other apps to see if I could get the cam recognized, but no luck.

I came across a site that says the Linux headers changed names in Hardy, and so the compilation will only work on kernels up to 2.6.22. Hardy is 2.6.24 Is there a work around?

Any help would be greatly appreciated. Thanks much.
KemKev is offline   Reply With Quote
Old June 15th, 2008   #2
KemKev
First Cup of Ubuntu
 
Join Date: Jun 2008
Beans: 10
Re: HP Pavilion DV6000 Integrated WebCam Problems

Help anyone? I'd really appreciate it.

Thanks.
KemKev is offline   Reply With Quote
Old June 16th, 2008   #3
KemKev
First Cup of Ubuntu
 
Join Date: Jun 2008
Beans: 10
<SOLVED> Re: HP Pavilion DV6000 Integrated WebCam Problems

Found an old thread with a suggestion I tried and got the webcam working. For those still trying to get theirs working, you may want to try this:

Firstly:
* Verify that you have svn installed.
* Remove any instance of r5u870 or the ry5u870 modules you may already have from previous attempts.

Code:

svn co http://svn.mediati.org/svn/r5u870/trunk ~/r5u870
cd ~/r5u870
sudo make
sudo make install
sudo modprobe r5u870

Then try xawtv to see if the cam works (sudo apt-get install xawtv)

test is using code: xawtv /dev/video0

I apologize for not remembering where the initial thread is located, and as such, for being unable to give credit to the person who posted this solution. If s/he is reading this, thank you.

Good Luck.

Last edited by KemKev; June 16th, 2008 at 12:11 AM..
KemKev is offline   Reply With Quote
Old June 26th, 2008   #4
afdanistan
First Cup of Ubuntu
 
Join Date: Aug 2006
My beans are hidden!
Re: [SOLVED] HP Pavilion DV6000 Integrated WebCam Problems

Brilliant!!! Your directions worked perfectly! Thanks so much!
afdanistan is offline   Reply With Quote
Old June 28th, 2008   #5
aquamammal
Just Give Me the Beans!
 
aquamammal's Avatar
 
Join Date: Nov 2007
Beans: 56
Re: [SOLVED] HP Pavilion DV6000 Integrated WebCam Problems

Thank you. This some how solved my Skype problems. Web cam still doesn't work with Cheese, but I really wanted to web cam with other people.
__________________
Run a HP Pavilion dv1000t Laptop w/ 2gig Ram. Ubuntu 8.04 Hardy w/ Compiz.
aquamammal is offline   Reply With Quote
Old July 16th, 2008   #6
ozzyprv
Gee! These Aren't Roasted!
 
Join Date: Aug 2007
Location: Red Deer, AB-Canada
Beans: 216
Ubuntu 9.04 Jaunty Jackalope
Re: [SOLVED] HP Pavilion DV6000 Integrated WebCam Problems

This workedwith my dc9005ca (Ricoh) too.

Thanks.
__________________
Ozzy - User: Linux 452359 | Ubuntu 16872 |
Desktop: P4 2.6 GHz/2GB RAM//Ubuntu 8.04/XP Pro | Laptop01: HP Pavillion dv9005ca/Ubuntu 9.04/Vista | Laptop02: Dell Studio XPS 1340/Ubuntu 9.04(server)/Vista |
ozzyprv is offline   Reply With Quote
Old August 27th, 2008   #7
retro93292
First Cup of Ubuntu
 
retro93292's Avatar
 
Join Date: Aug 2008
Location: California
Beans: 3
Ubuntu 8.04 Hardy Heron
Send a message via Yahoo to retro93292
Re: [SOLVED] HP Pavilion DV6000 Integrated WebCam Problems

That was great , works good . Props for re-posting
retro93292 is offline   Reply With Quote
Old December 7th, 2008   #8
ozzyprv
Gee! These Aren't Roasted!
 
Join Date: Aug 2007
Location: Red Deer, AB-Canada
Beans: 216
Ubuntu 9.04 Jaunty Jackalope
Re: <SOLVED> Re: HP Pavilion DV6000 Integrated WebCam Problems

Quote:
Originally Posted by KemKev View Post

Code:

svn co http://svn.mediati.org/svn/r5u870/trunk ~/r5u870
cd ~/r5u870
sudo make
sudo make install
sudo modprobe r5u870

Then try xawtv to see if the cam works (sudo apt-get install xawtv)

test is using code: xawtv /dev/video0

I apologize for not remembering where the initial thread is located, and as such, for being unable to give credit to the person who posted this solution. If s/he is reading this, thank you.

Good Luck.
The http address does not work (at least today/right now.
Any idea of a different source?
__________________
Ozzy - User: Linux 452359 | Ubuntu 16872 |
Desktop: P4 2.6 GHz/2GB RAM//Ubuntu 8.04/XP Pro | Laptop01: HP Pavillion dv9005ca/Ubuntu 9.04/Vista | Laptop02: Dell Studio XPS 1340/Ubuntu 9.04(server)/Vista |
ozzyprv is offline   Reply With Quote
Old December 17th, 2008   #9
bushd
First Cup of Ubuntu
 
Join Date: Nov 2008
Beans: 6
Re: <SOLVED> Re: HP Pavilion DV6000 Integrated WebCam Problems

This worked wonderfully but something I should mention incase someone else finds themselves in the same situation: chmod your /dev/video0. It didn't dawn on me until I saw the original output of Xawtv telling me no permission (couldn't see the others) so I sudo xawtv and it worked. Well, video0 is chmodded to allow access now (777) because I haven't figured out how to give me and my non-existant root access only. I did find out that I hate cheese because even now it doesn't work when I can get Ekiga and Xawtv to work.
bushd is offline   Reply With Quote
Old December 18th, 2008   #10
hmich176
A Carafe of Ubuntu
 
hmich176's Avatar
 
Join Date: Jun 2008
Beans: 83
Ubuntu 9.04 Jaunty Jackalope
Re: <SOLVED> Re: HP Pavilion DV6000 Integrated WebCam Problems

This DID NOT work for me. I got this code:
Code:
make -C /lib/modules/2.6.24-22-generic/build M=/home/harry/r5u870 V=0 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-22-generic'
  CC [M]  /home/harry/r5u870/usbcam/usbcam_fops.o
/home/harry/r5u870/usbcam/usbcam_fops.c:24:30: error: media/v4l2-ioctl.h: No such file or directory
/home/harry/r5u870/usbcam/usbcam_fops.c: In function ‘usbcam_v4l_ioctl’:
/home/harry/r5u870/usbcam/usbcam_fops.c:1162: warning: unused variable ‘udp’
/home/harry/r5u870/usbcam/usbcam_fops.c: At top level:
/home/harry/r5u870/usbcam/usbcam_fops.c:1214: error: variable ‘this_cam_ops’ has initializer but incomplete type
/home/harry/r5u870/usbcam/usbcam_fops.c:1215: error: unknown field ‘vidioc_querycap’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1215: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1215: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1216: error: unknown field ‘vidioc_enum_fmt_vid_cap’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1216: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1216: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1217: error: unknown field ‘vidioc_g_fmt_vid_cap’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1217: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1217: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1218: error: unknown field ‘vidioc_s_fmt_vid_cap’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1218: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1218: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1219: error: unknown field ‘vidioc_try_fmt_vid_cap’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1219: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1219: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1220: error: unknown field ‘vidioc_reqbufs’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1220: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1220: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1221: error: unknown field ‘vidioc_querybuf’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1221: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1221: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1222: error: unknown field ‘vidioc_qbuf’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1222: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1222: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1223: error: unknown field ‘vidioc_dqbuf’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1223: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1223: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1224: error: unknown field ‘vidiocgmbuf’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1224: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1224: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1225: error: unknown field ‘vidioc_enum_input’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1225: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1225: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1226: error: unknown field ‘vidioc_streamon’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1226: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1226: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1227: error: unknown field ‘vidioc_streamoff’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1227: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1227: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1228: error: unknown field ‘vidioc_g_input’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1228: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1228: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1229: error: unknown field ‘vidioc_s_input’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1229: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1229: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1230: error: unknown field ‘vidioc_queryctrl’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1230: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1230: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1231: error: unknown field ‘vidioc_g_ctrl’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1231: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1231: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1232: error: unknown field ‘vidioc_s_ctrl’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1232: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1232: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1233: error: unknown field ‘vidioc_querymenu’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1233: warning: excess elements in struct initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1233: warning: (near initialization for ‘this_cam_ops’)
/home/harry/r5u870/usbcam/usbcam_fops.c:1238: error: unknown field ‘vfl_type’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1240: error: unknown field ‘ioctl_ops’ specified in initializer
/home/harry/r5u870/usbcam/usbcam_fops.c:1240: warning: initialization makes integer from pointer without a cast
make[3]: *** [/home/harry/r5u870/usbcam/usbcam_fops.o] Error 1
make[2]: *** [/home/harry/r5u870/usbcam] Error 2
make[1]: *** [_module_/home/harry/r5u870] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-22-generic'
make: *** [all] Error 2
hmich176 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 02:29 PM.


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