PDA

View Full Version : bulid in camera not working



somusofthand
25th August 2008, 04:18 PM
Hi to all
Could you help to me ? How do i configure my laptop web camera ?
My laptop has as follow
Lenovo y410 , Fedora 8,
Lot of advanced thanks to your favorite reply.

jtang613
25th August 2008, 07:18 PM
We need to know exactly which webcam you have. Post the output of:

/sbin/lsusb

somusofthand
26th August 2008, 08:05 AM
$lspci

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #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:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (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 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
04:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
06:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
08:06.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
08:06.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
08:06.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 12)
08:06.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
08:06.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)

jtang613
26th August 2008, 12:47 PM
We need to know exactly which webcam you have. Post the output of:

/sbin/lsusb

loodpool
26th August 2008, 12:50 PM
$lspci

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #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:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (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 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
04:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
06:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express (rev 02)
08:06.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
08:06.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
08:06.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 12)
08:06.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
08:06.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
you have to use uvc or gspca driver.
for further informations see http://mxhaard.free.fr

somusofthand
28th August 2008, 01:16 PM
$ /sbin/lsups
Bus 007 Device 001: ID 1d6b:0001
Bus 002 Device 002: ID 04f2:b008 Chicony Electronics Co., Ltd
Bus 002 Device 001: ID 1d6b:0002
Bus 006 Device 001: ID 1d6b:0001
Bus 005 Device 001: ID 1d6b:0001
Bus 001 Device 001: ID 1d6b:0002
Bus 004 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0001

jtang613
28th August 2008, 01:36 PM
$ /sbin/lsups
Bus 007 Device 001: ID 1d6b:0001
Bus 002 Device 002: ID 04f2:b008 Chicony Electronics Co., Ltd
Bus 002 Device 001: ID 1d6b:0002
Bus 006 Device 001: ID 1d6b:0001
Bus 005 Device 001: ID 1d6b:0001
Bus 001 Device 001: ID 1d6b:0002
Bus 004 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0001
At least you got the output right - which leads me to think you used the lsusb command, not lsups, and just retyped it wrong in the forum.

Anywho, your Chicony camera is supported by the UVC driver. See: http://linux-uvc.berlios.de/
Search that page for 04f2:b008

somusofthand
29th August 2008, 06:41 AM
some time Chicony Electronics Co., Ltd detected. Now it do not detect. Please help to me.

I will see link

[root@localhost somu]# svn checkout svn://svn.berlios.de/linux-uvc/linux-uvc/trunk
Checked out revision 244.
[root@localhost somu]# cd trunk/
[root@localhost trunk]# make
Building USB Video Class driver...
make: *** /lib/modules/2.6.25.14-69.fc8/build: No such file or directory. Stop.
make: *** [uvcvideo] Error 2
[root@localhost trunk]#

it shows error

jtang613
29th August 2008, 12:58 PM
some time Chicony Electronics Co., Ltd detected. Now it do not detect. Please help to me.
Explain.



make: *** /lib/modules/2.6.25.14-69.fc8/build: No such file or directory. Stop.
it shows error
You need to install the kernel-devel package.

yum install kernel-devel

somusofthand
29th August 2008, 01:50 PM
successfully i installed kernel-devel and trunk package also :-) .
now i can see
Bus 002 Device 002: ID 04f2:b008 Chicony Electronics Co., Ltd without fail.

But digikam shows that failed to detect camera. Can you tell me how do i detect ? :-(

jtang613
29th August 2008, 03:46 PM
AFAIK, Digikam is used for managing photos from a Digital Camera, not a WebCam. You need a webcam application to make use of your webcam.

Try Cheese: http://www.gnome.org/projects/cheese/

yum install cheese

Or webKam for KDE: http://www.kde-apps.org/content/show.php/WebKam?content=76902

somusofthand
29th August 2008, 05:05 PM
i install cheese. It shows "unable to find webcam, Sorry!"
next what i do ? Please help me ?

somusofthand
1st September 2008, 08:14 AM
It is woking fine at kopete.

Lot of thanks to jtang613.

somusofthand
1st September 2008, 08:14 AM
i can see my face.