Skip to contentSkip to conversation

V4L error on Linux 2.6.22

DISCUSSION Gilles Curchod 2 participants 2 messages Nov 24, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi,

As part of my diploma project, I'd like to set a demonstration with two i.MX31 boards: one with a webcam sending a UDP/RTP stream video and the other getting this stream and displaying it to the framebuffer.

I have a Logitech Webcam (id 046d:08ad). The i.MX31 boards run Linux 2.6.22.6.
I installed the GSPCA (gspcav1-20071224) drivers and I god the following message while starting the GSPCA module:

    /imx/sandbox/drivers/gspcav1-20071224/gspca_core.c: USB GSPCA camera
found.(ZC3XX)
    /imx/sandbox/drivers/gspcav1-20071224/gspca_core.c:
[spca5xx_probe:4275] Camera type JPEG
    /imx/sandbox/drivers/gspcav1-20071224/Vimicro/zc3xx.h:

[zc3xx_config:669] Find Sensor HV7131R(c)
usb_endpoint usbdev1.3_ep81: ep_device_release called for
usbdev1.3_ep81
usb_endpoint usbdev1.3_ep82: ep_device_release called for
usbdev1.3_ep82

    /imx/sandbox/drivers/gspcav1-20071224/gspca_core.c:
[spca5xx_getcapability:1249] maxw 640 maxh 480 minw 160 minh 120
    gspca 1-1:1.1: usb_probe_interface
    gspca 1-1:1.1: usb_probe_interface - got id
    gspca 1-1:1.2: usb_probe_interface
    gspca 1-1:1.2: usb_probe_interface - got id
    usbcore: registered new interface driver gspca

Then I use a self-made GStreamer application to get the device's image and send the stream via UDP/RTP.
The equivalent gst-launch command is:

    gst-launch-0.10 -v v4lsrc !

video/x-raw-yuv,format='(fourcc)'I420,width='(int)'320,height='(int)'240,framerate='(fraction)'25/1

! ffmpegcolorspace ! ffenc_mpeg4 ! rtpmp4vpay ! udpsink host=10.192.51.44 port=5000

While I do this on my Ubuntu 8.04, it works fine, but on my embedded system, I got the following output:

    /imx/sandbox/drivers/gspcav1-20071224/gspca_core.c:
[spca5xx_set_light_freq:1932] Sensor currently not support light fre.
    /imx/sandbox/drivers/gspcav1-20071224/gspca_core.c:
[gspca_set_isoc_ep:945] ISO EndPoint found 0x81 AlternateSet 7
    /imx/sandbox/drivers/gspcav1-20071224/gspca_core.c:
[spca5xx_do_ioctl:2124] Bridge ZC301-2
    /imx/sandbox/drivers/gspcav1-20071224/gspca_core.c:
[spca5xx_do_ioctl:2124] Bridge ZC301-2
    /imx/sandbox/drivers/gspcav1-20071224/gspca_core.c: VIDIOCMCAPTURE:

invalid format (7)

Is this a V4L configuration issue?

Thank for your help.

Gilles

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#1 lore raw
Quoted 1 line · Gilles Curchod

Hi,

Hi Gilles,

	[snip]
Quoted 4 lines

I have a Logitech Webcam (id 046d:08ad). The i.MX31 boards run Linux 2.6.22.6.
I installed the GSPCA (gspcav1-20071224) drivers and I god the following message while starting the GSPCA module:

	[snip]

You should not use the gspca v1. It is not maintained anymore. The new gspca driver is in the kernel version 2.6.27, but you may get it from mercurial repositories at LinuxTv.org. Don't forget to read the gspca_README in my page.

Cheers.

Signature · 8 lines
Ken ar c'hentañ |             ** Breizh ha Linux atav! **
Jef             |               http://moinejf.free.fr/


--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list