LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   WEBCAM detected but can't get Image on kernel 2.6.25 ??? (https://www.linuxquestions.org/questions/linux-newbie-8/webcam-detected-but-cant-get-image-on-kernel-2-6-25-a-642884/)

saxena2222 05-17-2008 11:25 AM

WEBCAM detected but can't get Image on kernel 2.6.25 ???
 
Dear all,
I am wkging with an embeded device called IMOTE2 (used in wireless sensor n/w), on which I have loaded kernel 2.6.25, and trying to attach a webcam (Logitech quickcam communicate deluxe 046d:0992), for capturing images.This webcam require UVC driver.

After loading kernel and filesystem , I am booting this device through hyperterminal and loading required modules:as follows---->>>>
=====================================================================
# lsmod
Module Size Used by Not tainted
tos_mac 23724 0
usbhid 21636 0
usb_storage 38464 0
uvcvideo 53384 0
v4l2_common 11136 0
ohci_hcd 17960 0
usbcore 122524 5 usbhid,usb_storage,uvcvideo,ohci_hcd
da9030 13268 2 tos_mac,ohci_hcd
compat_ioctl32 1184 1 uvcvideo
v4l2_int_device 3040 0
videodev 30720 1 uvcvideo
v4l1_compat 12900 2 uvcvideo,videodev
i2c_pxa 7392 1
i2c_core 20016 3 v4l2_common,da9030,i2c_pxa
======================================================================

but when i give command
/usr/bin/vidcat -d /dev/video0 -f jpeg -p y > /root/test.jpg
it gives an error: Can't get image

WEBCAM DETECTION: Even webcam gets detected as follows (but indicator light on webcam lits up only once, that too, for a very short duration , while loading ohci_hcd module, then permanently goes off)
==================================================================
da9030: module loaded
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
into probe
next big of probe
Invalid mode 0, set to non-power switch mode.
pxa27x-ohci pxa27x-ohci: PXA27x OHCI
pxa27x-ohci pxa27x-ohci: new USB bus registered, assigned bus number 1
pxa27x-ohci pxa27x-ohci: irq 3, io mem 0x4c000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
usbcore: registered new interface driver uvcvideo
USB Video Class driver (SVN r209)
usb 1-1: new full speed USB device using pxa27x-ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device <unnamed> (046d:0992)
input: UVC Camera (046d:0992) as /class/input/input0
====================================================================

I am unable to trace out the problem....
pls help me to capture images using this webcam??????????????
regards!!
DHARM


All times are GMT -5. The time now is 07:15 PM.