LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-06-2011, 11:03 AM   #1
farzadfedora
Member
 
Registered: Jul 2007
Distribution: kubuntu
Posts: 80

Rep: Reputation: 15
Question How to use webcam on kubuntu


hey guys

I have searched that how i can use my webcam on kubuntu(ubuntu)

I found out i have to install some applications like "cheese" or "vlc" to capture the stream

but they cant recognise my webcam

can anybody help me with this issue?

( I have a laptop and it has a build-in webcam )

--Sorry for my bad english--
 
Old 04-06-2011, 11:30 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by farzadfedora View Post
hey guys

I have searched that how i can use my webcam on kubuntu(ubuntu) I found out i have to install some applications like "cheese" or "vlc" to capture the stream but they cant recognise my webcam

can anybody help me with this issue? ( I have a laptop and it has a build-in webcam )
We might be able to help, if you provided some actual details. Things like what KIND of laptop? Version of Kubuntu? What you've tried/done thus far? What error(s) you're seeing?? Just telling us "I've got a webcam and it doesn't work", gives us nothing to go on.

You can try an "lsusb" or "lspci", and check for the webcam there. And are you able to SEE a picture from the webcam, but not able to capture a stream, or does nothing work?
 
Old 04-10-2011, 07:28 AM   #3
farzadfedora
Member
 
Registered: Jul 2007
Distribution: kubuntu
Posts: 80

Original Poster
Rep: Reputation: 15
Quote:
We might be able to help, if you provided some actual details. Things like what KIND of laptop? Version of Kubuntu? What you've tried/done thus far? What error(s) you're seeing?? Just telling us "I've got a webcam and it doesn't work", gives us nothing to go on.

You can try an "lsusb" or "lspci", and check for the webcam there. And are you able to SEE a picture from the webcam, but not able to capture a stream, or does nothing work?


lsusb Result:

Code:
Bus 007 Device 005: ID 044e:3012 Alps Electric Co., Ltd 
Bus 007 Device 004: ID 044e:3013 Alps Electric Co., Ltd 
Bus 007 Device 003: ID 044e:3010 Alps Electric Co., Ltd Bluetooth Adapter
Bus 007 Device 002: ID 044e:3011 Alps Electric Co., Ltd 
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05ca:1839 Ricoh Co., Ltd Visual Communication Camera VGP-VCC6 [R5U870]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
lspci Result:

Code:
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HBM (ICH8M-E) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 RAID bus controller: Intel Corporation Mobile 82801 SATA RAID Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation G84 [GeForce 8600M GT] (rev a1)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E Gigabit Ethernet Controller (rev 13)
06:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
08:03.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
08:03.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
08:03.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
I have a VAIO model VGN-AR-870NB Laptop and I installed kubuntu 10.10 on it
so far I didnt installed any software or driver for my webcam because I couldn't find any...
when I use programs that try to capture the stream , they say: NO DEVICE FOUND

Last edited by farzadfedora; 04-10-2011 at 07:29 AM.
 
Old 04-10-2011, 05:22 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by farzadfedora View Post
I have a VAIO model VGN-AR-870NB Laptop and I installed kubuntu 10.10 on it
Putting "r5u870 ubuntu" into Google yields a setup page with complete instructions:
http://www.arakhne.org/ricoh/
Quote:
so far I didnt installed any software or driver for my webcam because I couldn't find any...
when I use programs that try to capture the stream , they say: NO DEVICE FOUND
This makes no sense....if you didn't install any software to USE the webcam, how can it give you errors??? Again, what have you tried/done?? WHAT gives you the "No DEVICE FOUND" message, and when?

Try putting your user into the "video" group, if it's not there already, and try running cheese to see if you get a picture.
 
Old 04-11-2011, 06:17 AM   #5
farzadfedora
Member
 
Registered: Jul 2007
Distribution: kubuntu
Posts: 80

Original Poster
Rep: Reputation: 15
Quote:
This makes no sense....if you didn't install any software to USE the webcam, how can it give you errors??? Again, what have you tried/done?? WHAT gives you the "No DEVICE FOUND" message, and when?

Try putting your user into the "video" group, if it's not there already, and try running cheese to see if you get a picture.
I installed cheese ... when I run it it says No Device Found
I added my user into video group ... but it didnt help

Quote:
Putting "r5u870 ubuntu" into Google yields a setup page with complete instructions:
http://www.arakhne.org/ricoh/
Im going to try this one ....
I hope it works ...
I'll post the result ... tnx
 
Old 04-12-2011, 02:30 AM   #6
farzadfedora
Member
 
Registered: Jul 2007
Distribution: kubuntu
Posts: 80

Original Poster
Rep: Reputation: 15
Quote:
Putting "r5u870 ubuntu" into Google yields a setup page with complete instructions:
http://www.arakhne.org/ricoh/



I tried to compile the driver and I got this

Code:
make -C /lib/modules/2.6.35-27-generic/build M=/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870 V=0 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-27-generic'
  CC [M]  /home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870/usbcam/usbcam_util.o
/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870/usbcam/usbcam_util.c: In function ‘usbcam_urb_allocbuf’:
/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870/usbcam/usbcam_util.c:164: error: implicit declaration of function ‘usb_buffer_alloc’
/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870/usbcam/usbcam_util.c:167: warning: assignment makes pointer from integer without a cast
/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870/usbcam/usbcam_util.c: In function ‘usbcam_urb_freebuf’:
/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870/usbcam/usbcam_util.c:178: error: implicit declaration of function ‘usb_buffer_free’
make[3]: *** [/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870/usbcam/usbcam_util.o] Error 1
make[2]: *** [/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870/usbcam] Error 2
make[1]: *** [_module_/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-27-generic'
make: *** [all] Error 2
and when I use this command (from instructions in the link) : modprobe r5u870
its the result

Code:
FATAL: Module r5u870 not found.
 
Old 04-12-2011, 12:09 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,622

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by farzadfedora View Post
I tried to compile the driver and I got this

Code:
make -C /lib/modules/2.6.35-27-generic/build M=/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870 V=0 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-27-generic'
  CC [M]  /home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870/usbcam/usbcam_util.o
/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870/usbcam/usbcam_util.c: In function ‘usbcam_urb_allocbuf’:
/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870/usbcam/usbcam_util.c:164: error: implicit declaration of function ‘usb_buffer_alloc’
/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870/usbcam/usbcam_util.c:167: warning: assignment makes pointer from integer without a cast
/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870/usbcam/usbcam_util.c: In function ‘usbcam_urb_freebuf’:
/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870/usbcam/usbcam_util.c:178: error: implicit declaration of function ‘usb_buffer_free’
make[3]: *** [/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870/usbcam/usbcam_util.o] Error 1
make[2]: *** [/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870/usbcam] Error 2
make[1]: *** [_module_/home/farzad/Download/ricoh-webcam-r5u870-0.11.5/r5u870] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-27-generic'
make: *** [all] Error 2
and when I use this command (from instructions in the link) : modprobe r5u870
its the result

Code:
FATAL: Module r5u870 not found.
Right. Read the message you're getting...the make isn't completing, so the installation (and the subsequent modprobe), is failing. Until you get the module built, you obviously won't be able to install it.

What kernel are you running? Do a uname -a, and make sure it's the 2.6.35-27-generic. If not, you're trying to compile against the wrong kernel source, and will need to install the right one, before continuing. Which version of the module did you download? There are several on that page, depending on your kernel, along with one for UVC or WDM chipsets. Again, reference their instructions.
 
Old 04-17-2011, 02:28 AM   #8
farzadfedora
Member
 
Registered: Jul 2007
Distribution: kubuntu
Posts: 80

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by TB0ne View Post
Right. Read the message you're getting...the make isn't completing, so the installation (and the subsequent modprobe), is failing. Until you get the module built, you obviously won't be able to install it.

What kernel are you running? Do a uname -a, and make sure it's the 2.6.35-27-generic. If not, you're trying to compile against the wrong kernel source, and will need to install the right one, before continuing. Which version of the module did you download? There are several on that page, depending on your kernel, along with one for UVC or WDM chipsets. Again, reference their instructions.

Hi
I found a suitable driver for my kernel (2.6.35) at http://code.google.com/p/r5u870/

Tnx a loooooooot
Problem solved
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
webcam & card-readers in kubuntu farzadfedora Linux - Laptop and Netbook 1 02-06-2010 11:21 AM
LXer: Setting Up Motion webcam security system with your Webcam with Email & FTP. LXer Syndicated Linux News 0 06-24-2009 09:42 PM
kubuntu 7.10 freeze's when webcam is in use jessica_lilly Ubuntu 1 03-21-2008 09:22 AM
How To Install A Usb Webcam [Genius WebCam on Suse 9.1 Personal] ofvergara SUSE / openSUSE 4 11-29-2006 12:09 PM
I want to veiw my friends webcam, im using Lycoris, how do i c his webcam? CaffeinatedGamer Linux - Newbie 10 06-07-2005 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration