Author Topic: Problem with setup more than one webcam  (Read 3306 times)

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Problem with setup more than one webcam
« on: February 29, 2008, 09:22:07 am »
Hi,

Does somebody try to setup more than one webcan in the LinuxMCE 0710? I have following errors in the syslog:
Code: [Select]
Feb 29 10:18:41 dcerouter kernel: [ 8364.190681] ohci_hcd 0000:00:02.0: leak ed ffff810040eb31e0 (#81) state 2
Feb 29 10:18:41 dcerouter kernel: [ 8364.479610] /build/buildd/linux-ubuntu-modules-2.6.22-2.6.22/debian/build/build-generic/media/gspcav1/gspca_core.c: init isoc: usb_submit_urb(0) ret -28
Feb 29 10:18:41 dcerouter kernel: [ 8364.482664] ohci_hcd 0000:00:02.0: leak ed ffff810040eb3230 (#81) state 2
Feb 29 10:18:41 dcerouter : [2] Failed to open video device /dev/video1: No space left on device

I found that those errors indicate some problem with bandwidth of USB bus. Is there some way to fix it?

Thanks in advance.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Problem with setup more than one webcam
« Reply #1 on: February 29, 2008, 10:24:51 am »
After digging this error in the Google found what's causing it - USB bandwidth exceeded.

See also: http://forums.gentoo.org/viewtopic-p-3368798.html#3368798 and http://ubuntuforums.org/showthread.php?t=247646. So, solution is to connect cameras to the different USB buses or patch the driver to get less bandwidth.

In my case both cameras are connected to the same bus (lsusb):
Code: [Select]
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 0458:7007 KYE Systems Corp. (Mouse Systems) VideoCAM Web
Bus 001 Device 003: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller
Bus 001 Device 002: ID 05a9:0511 OmniVision Technologies, Inc. OV511 WebCam
Bus 001 Device 001: ID 0000:0000
Will try to connect one of them to the Bus 002.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Problem with setup more than one webcam
« Reply #2 on: February 29, 2008, 03:19:39 pm »
After digging this error in the Google found what's causing it - USB bandwidth exceeded.

See also: http://forums.gentoo.org/viewtopic-p-3368798.html#3368798 and http://ubuntuforums.org/showthread.php?t=247646. So, solution is to connect cameras to the different USB buses or patch the driver to get less bandwidth.

In my case both cameras are connected to the same bus (lsusb):
Code: [Select]
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 0458:7007 KYE Systems Corp. (Mouse Systems) VideoCAM Web
Bus 001 Device 003: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller
Bus 001 Device 002: ID 05a9:0511 OmniVision Technologies, Inc. OV511 WebCam
Bus 001 Device 001: ID 0000:0000
Will try to connect one of them to the Bus 002.

Hmmm... have not seen that here whe we have USB cameras attached. We mostly use IP cams though it has to be said.
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk