Motion - Support Question 2008x 03x 06x 212155

Driver ov51x-jpeg with more than 3 cams

Question

Hello!!!

Perhaps you could help me to know where is this problem.

I want to use the ov51x-jpeg 1.5.1 driver for ubuntu (2.6.22-14-generic) to use 8 Creative Live IM cams for Motion 3.2.9.

The driver works perfectly with three cams, but if I add a fourth, when system does open it I receive this error:

"Failed to open video device /dev/video3: No space left on device"

Only 3 cams works at same time.

I have tried to connect every cam to different usb bus, but no luck frown, sad smile

What do you think? A problem of driver? Perhaps my hardware?

THANK YOU VERY MUCH!!!!!

Miguel

lsusb
Bus 003 Device 002: ID 041e:4052 Creative Technology, Ltd 
Bus 002 Device 015: ID 041e:4052 Creative Technology, Ltd 
Bus 002 Device 014: ID 041e:4052 Creative Technology, Ltd 
Bus 001 Device 031: ID 041e:4052 Creative Technology, Ltd


dmesg
[14423.181396] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: USB OV519 video device found
[14423.535181] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: Sensor is an OV7670 
[14424.178869] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: Device at usb-0000:00:13.0-1 registered to minor 0 
[14424.179203] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: USB OV519 video device found 
[14424.631633] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: Sensor is an OV7670 
[14426.499850] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: Device at usb-0000:00:02.2-3 registered to minor 1 
[14426.500180] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: USB OV519 video device found 
[14426.949667] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: Sensor is an OV7670 
[14428.825927] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: Device at usb-0000:00:02.3-2.1.4.4.2 registered to minor 2 
[14428.826257] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: USB OV519 video device found 
[14429.279323] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: Sensor is an OV7670 
[14431.152554] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: Device at usb-0000:00:02.3-2.1.4.4.3 registered to minor 3 
[14431.152900] usbcore: registered new interface driver ov51x 
[14431.153035] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: 1.5.1 : ov51x USB Camera Driver 
[14453.863753] /usr/src/modules/ov51x-jpeg/ov51x-jpeg-core.c: init isoc: usb_submit_urb(0) ret -28


Motion has problems opening the 4th cam (/dev/video3), I only can open three cams at same time.
[0] Processing thread 0 - config file motion.conf 
[0] Processing config file /etc/motion/thread1.conf 
[0] Processing config file /etc/motion/thread2.conf 
[0] Processing config file /etc/motion/thread3.conf 
[0] Processing config file /etc/motion/thread4.conf 
[0] Motion 3.2.9 Started 
[0] ffmpeg LIBAVCODEC_BUILD 3352064 LIBAVFORMAT_BUILD 3344896 
[0] Thread 1 is from /etc/motion/thread1.conf 
[0] Thread 2 is from /etc/motion/thread2.conf 
[0] Thread 3 is from /etc/motion/thread3.conf 
[0] Thread 4 is from /etc/motion/thread4.conf 
[1] Thread 1 started 
[2] Thread 2 started 
[3] Thread 3 started 
[4] Thread 4 started 
[1] Not a V4L2 device?
[1] Using VIDEO_PALETTE_YUV420P palette
[1] Using V4L1
[1] Started stream webcam server in port 8000 
[2] Not a V4L2 device?
[2] Using VIDEO_PALETTE_YUV420P palette
[2] Using V4L1
[3] Not a V4L2 device?
[2] Started stream webcam server in port 8001 
[3] Using VIDEO_PALETTE_YUV420P palette 
[3] Using V4L1 [4] Failed to open video device /dev/video3: No space left on device 
[4] Capture error calling vid_start 
[4] Thread finishing...

Environment

Motion version: 3.2.9
ffmpeg version:  
Libraries: ffmpeg, mysql, postgresql
Server OS: Ubuntu 7, kernel 2.6.22-14-generic

-- MiguelRivas - 06 Mar 2008

Answer

Maybe someone else than I can answer you. But have you tried to contact the team behind the driver? This sounds like a driver issue.

-- KennethLavrsen - 07 Mar 2008

Not a driver problem it's a well known issue with USB bandwitdh :

http://www.lavrsen.dk/twiki/bin/view/Motion/FrequentlyAskedQuestions#sync_error_in_proc_xxxx_No_space

-- AngelCarpintero - 16 Jun 2008
Topic revision: r3 - 16 Jun 2008, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.