← Back to team overview

kernel-packages team mailing list archive

[Bug 1227583] Re: Webcam USB bandwidth problem when connected using USB2.0 hub

 

apport information

** Tags added: apport-collected raring

** Description changed:

  I have a strange problem with webcams Creative Live! Cam Sync HD VF0770 (041e:4095).
  I have two of them.
  I would like to stream simultaneous streams with 1280x720 at 5fps.
  When connected directly to laptop, I can do this, actually I can stream the same resolution at 30fps.
  But, when I plug both of them using USB hub (Gembird 7-port USB2.0 powered hub), I can stream one camera.
  But when starting the second one, the dmesg throws error
  
  uvcvideo: Failed to submit URB 0 (-28).
  
  and the mjpg-streamer shows
  
  Unable to start capture: No space left on device
  
  From other defects reported here I understand that this is a problem with USB bandwidth allocation.
  However, the USB for both cameras seems to be set at 480Mbit - this is the output of lsusb -v -t
  
  /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M
      |__ Port 4: Dev 19, If 0, Class=hub, Driver=hub/4p, 480M
          |__ Port 2: Dev 24, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
          |__ Port 2: Dev 24, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
          |__ Port 2: Dev 24, If 2, Class=audio, Driver=, 480M
          |__ Port 2: Dev 24, If 3, Class=audio, Driver=, 480M
          |__ Port 3: Dev 20, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
          |__ Port 3: Dev 20, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
          |__ Port 3: Dev 20, If 2, Class=audio, Driver=, 480M
          |__ Port 3: Dev 20, If 3, Class=audio, Driver=, 480M
          |__ Port 4: Dev 21, If 0, Class=hub, Driver=hub/4p, 480M
  
  I tried lowering the resolution for both cams to 320x240, minimum fps for the camera is 5, so I can't go any lower than that.
  Can anyone, please, point me out how can I investigate this problem further?
+ --- 
+ ApportVersion: 2.9.2-0ubuntu8.3
+ Architecture: amd64
+ DistroRelease: Ubuntu 13.04
+ MarkForUpload: True
+ Package: linux (not installed)
+ ProcEnviron:
+  TERM=xterm
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
+ Tags:  raring
+ Uname: Linux 3.9.0-030900rc3-generic x86_64
+ UnreportableReason: The running kernel is not an Ubuntu kernel
+ UpgradeStatus: Upgraded to raring on 2013-07-09 (72 days ago)
+ UserGroups: adm cdrom davfs2 dialout dip fuse i2c lpadmin plugdev sudo

** Attachment added: "HookError_cloud_archive.txt"
   https://bugs.launchpad.net/bugs/1227583/+attachment/3829675/+files/HookError_cloud_archive.txt

** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1227583

Title:
  Webcam USB bandwidth problem when connected using USB2.0 hub

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  I have a strange problem with webcams Creative Live! Cam Sync HD VF0770 (041e:4095).
  I have two of them.
  I would like to stream simultaneous streams with 1280x720 at 5fps.
  When connected directly to laptop, I can do this, actually I can stream the same resolution at 30fps.
  But, when I plug both of them using USB hub (Gembird 7-port USB2.0 powered hub), I can stream one camera.
  But when starting the second one, the dmesg throws error

  uvcvideo: Failed to submit URB 0 (-28).

  and the mjpg-streamer shows

  Unable to start capture: No space left on device

  From other defects reported here I understand that this is a problem with USB bandwidth allocation.
  However, the USB for both cameras seems to be set at 480Mbit - this is the output of lsusb -v -t

  /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/5p, 480M
      |__ Port 4: Dev 19, If 0, Class=hub, Driver=hub/4p, 480M
          |__ Port 2: Dev 24, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
          |__ Port 2: Dev 24, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
          |__ Port 2: Dev 24, If 2, Class=audio, Driver=, 480M
          |__ Port 2: Dev 24, If 3, Class=audio, Driver=, 480M
          |__ Port 3: Dev 20, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
          |__ Port 3: Dev 20, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 480M
          |__ Port 3: Dev 20, If 2, Class=audio, Driver=, 480M
          |__ Port 3: Dev 20, If 3, Class=audio, Driver=, 480M
          |__ Port 4: Dev 21, If 0, Class=hub, Driver=hub/4p, 480M

  I tried lowering the resolution for both cams to 320x240, minimum fps for the camera is 5, so I can't go any lower than that.
  Can anyone, please, point me out how can I investigate this problem further?
  --- 
  ApportVersion: 2.9.2-0ubuntu8.3
  Architecture: amd64
  DistroRelease: Ubuntu 13.04
  MarkForUpload: True
  Package: linux (not installed)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  Tags:  raring
  Uname: Linux 3.9.0-030900rc3-generic x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: Upgraded to raring on 2013-07-09 (72 days ago)
  UserGroups: adm cdrom davfs2 dialout dip fuse i2c lpadmin plugdev sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1227583/+subscriptions


References