VirtualBox

Opened 17 years ago

Last modified 9 years ago

#242 new defect

No image with USB 2.0 webcams

Reported by: PeterValentine Owned by:
Component: USB Version: VirtualBox 2.2.2
Keywords: USB Cc:
Guest type: other Host type: other

Description

I need to test streaming video products inside of the virtual machine. After installing the drivers inside the virtual machine and opening Windows Movie Maker, AMCAP, or my own software the stream is just blank. The drivers are found and installed properly and it is not a problem with the hardware. No error is given but the stream from the device (webcam of sorts) is just a blank black feed.

Attachments (7)

lsusb_logitech_quickcam_pro_for_notebooks.txt (36.6 KB ) - added by kanchev 16 years ago.
lsusb output of ID 046d:0991 Logitech, Inc. QuickCam Pro for Notebooks
lsusb.out (33.0 KB ) - added by Balaji 15 years ago.
lsusb for Chicony webcam
lsusb.ubuntu810guest-qc9000.out (40.9 KB ) - added by Markus Mayer 15 years ago.
lsusb output, Ubuntu 8.10 @ 2.6.24-23-generic guest, Windows Vista 32bit host, Logitech QuickCam Pro 9000
guvcview.ubuntu810guest-qc9000.out (5.7 KB ) - added by Markus Mayer 15 years ago.
verbose output of guvcview with a QuickCam Pro 9000 on Ubuntu 8.10 guest
lsusb_quickcampro8500.odt (20.2 KB ) - added by ytreza 15 years ago.
lsusb -v for quickcam pro 8500 on host Linux Mint Elyssa (2.6.24-22-generic )
WindowsXP-2010-06-08-18-43-27.log (74.4 KB ) - added by Drew Honnoll 14 years ago.
log file from Virtualbox its self
usb_webcam (1.7 KB ) - added by didierg 14 years ago.
Fedora kernel oops using Logitech webcam from XP SP3 virtual machine

Download all attachments as: .zip

Change History (111)

comment:1 by Sander van Leeuwen, 16 years ago

Summary: Streaming video through USB into the virtual machine.No image with USB webcam

comment:2 by Sander van Leeuwen, 16 years ago

Version: VirtualBox 1.3.6VirtualBox 1.6.0

comment:4 by Sander van Leeuwen, 16 years ago

Retry with 1.6.0 and try with and without the USB 2.0 option in VBox please.

in reply to:  4 comment:5 by jkeats3, 16 years ago

Replying to sandervl73:

Retry with 1.6.0 and try with and without the USB 2.0 option in VBox please.

Hello, I have the same issue still in VBox v1.6. My camera is a Logitech Ultravision, running on WinXP Pro guest and Ubuntu Hardy Heron (8.04) host. The camera isn't even detected by WindowsXP when only USB 1.1 is enabled. When both the USB 1.1 and USB 2.0 options are enabled, the camera is detected no problem, but once again shows only a blank screen. Also, the microphone does not function.

comment:6 by rahl, 16 years ago

Quite the same here. Using VirtualBox 1.6.0, host is Ubuntu 8.04, guest ist Windows XP Pro. The computer is Toshiba Tecra S3 laptop.

Camera is Logitech QuickCam for Notebooks Pro. This device is not recognised by Windows when USB 2.0 option is disabled. Otherwise, the device is recognised and driver can be installed properly. When I use the camera, the activity LED goes on and off properly, but a black rectangle is displayed where the video should appear.

What is the status of this issue? Can anyone at Innotek/Sun reproduce it? If not, the I'd try to gather more information. Is there any freely available tool which I could use to capture USB traffic on the host and/or the guest?

in reply to:  6 comment:7 by squirrely, 16 years ago

Replying to rahl:

Quite the same here. Using VirtualBox 1.6.0, host is Ubuntu 8.04, guest ist Windows XP Pro. The computer is Toshiba Tecra S3 laptop. Camera is Logitech QuickCam? for Notebooks Pro. This device is not >recognised by Windows when USB 2.0 option is disabled. Otherwise, >the device is recognised and driver can be installed properly. When >I use the camera, the activity LED goes on and off properly, but a >black rectangle is displayed where the video should appear.


Exactly the same behavior here (but Kubuntu & Dell XPS M1330).

comment:8 by Olivier Bornet, 16 years ago

Same for me.

Virtual Box 1.6.0 Host: Mac OS X 10.5.3 on MacBook Pro Guest: Windows XP Pro SP2. Camera: Logitech Fusion

Drivers are installed correctly. Camera seems working (activity led goes on/off), but no image at all. Just a blank image.

in reply to:  8 comment:9 by Olivier Bornet, 16 years ago

Replying to bornet:

Virtual Box 1.6.0 Host: Mac OS X 10.5.3 on MacBook Pro Guest: Windows XP Pro SP2. Camera: Logitech Fusion

Drivers are installed correctly. Camera seems working (activity led goes on/off), but no image at all. Just a blank image.

I have just try with a Ubuntu Guest. Same problem when trying to access the MacBook Pro iSight camera: seems working (green light on), but only a black image. :-(

comment:10 by germannoob, 16 years ago

I've the same problem. WindowsXP Host and Debian lenny (6th june 2008) guest. The host is able of only usb 1.1 and the cam isn't working with usb 2.0 on and off.

I've Logitech Quickcam Pro 4000 and Logitech Quickcam for Notebooks.

Driver is the qc-usb.

I was able to get it to work for one time, but don't know how. gqcam makes white screen while vlc is complaining about missing audio device.

VMWare Player is working fine.

comment:11 by port80, 16 years ago

No image as well with my Zonet ZVC7500 (Sonix chipset) Webcam. Windows xp sp2 host with VB 1.6.2, Windows xp sp2 guest w/ 1.6.2 guest additions. Drivers install fine. Video image is blank (white screen) and when I try to capture says capturing 0 frames and dropping 0 frames. Tried VBox settings usb 1.1 and usb 2.0. Tried reducing frame rate to 10 fps. No joy. Works fine outside of VBox.

comment:12 by Johanes, 16 years ago

I can't get any image as well with Creative Webcam NX Pro.

- Fedora host, VB 1.6.2
- Windows XP sp3 guest with guest additions
- Camera driver from Creative version 1_03_03_0326

comment:13 by babedream312, 16 years ago

Using Ubuntu 8.04 with win xp in a VBOX 1.62 webcams are not working here too:

  • The build in webcam of my asus 5920g notebook only shows a black image (led goes on).
  • A USB2 webcam centronic flexcam only shows a black image (led goes on).
  • An olg logitech webcam works, but only VERY choppy and often hangs for several seconds.

All three webcams work perfectly wheen booting real win xp or win vista.

comment:14 by Frank Mehnert, 16 years ago

Component: otherUSB

by kanchev, 16 years ago

lsusb output of ID 046d:0991 Logitech, Inc. QuickCam Pro for Notebooks

comment:15 by kanchev, 16 years ago

I have the same issue as the others. I have a Logitech Quickcam Pro for Notebooks (see attached lsusb output). My host OS is Fedora 9 with kernel 2.6.25.9-76.fc9.i686 and I'm running VirtualBox 1.6.2. I have a Samsung X11 laptop with Intel Core 2 Duo (2.16 GHz) processor and 2GB of RAM.

The guest OS is Windows XP SP3 and I'm giving it 1GB RAM and 30GB hdd. I've downloaded the current latest Logitech Quickcam for Notebooks drivers (qc1150.exe) from the Logitech website. The drivers installed correctly without any problems, as far as I can tell comparing with the native windows installation. But then, when I tried to use the web cam, the led on the cam goes on and off correctly but there isn't any picture. Looks like the program is controlling the web cam but couldn't get any picture. Sometimes the Logitech program even crashes, but when I start it again (no reboot, no plug out/in of the web cam) it works like before (no crash, but no picture or sound). Sound is not working too.

The host OS (Fedora 9) recognizes the webcam with the uvcvideo driver:

usb 1-3: new high speed USB device using ehci_hcd and address 11
usb 1-3: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device <unnamed> (046d:0991)
input: UVC Camera (046d:0991) as /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/input/input16
ALSA sound/usb/usbaudio.c:2798: 11:3:1: add audio endpoint 0x86
ALSA sound/usb/usbmixer.c:988: [5] FU [Mic Capture Switch] ch = 1, val = 0/1/1
ALSA sound/usb/usbmixer.c:988: [5] FU [Mic Capture Volume] ch = 1, val = 4608/7680/1
usb 1-3: New USB device found, idVendor=046d, idProduct=0991
usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=2
usb 1-3: SerialNumber: 04511BEF
ALSA sound/usb/usbaudio.c:1353: setting usb interface 3:1

It seems to works correctly, I've tried it with Skype 2.0 and Cheese. I couldn't get the microphone working with skype, but this is probably because there isn't any pulseaudio support for skype yet.

Please fix this, as the Linux software for the web cam is not as mature as the windows one, since Logitech doesn't provide any Linux drivers. I hate to reboot to windows just for the web cam.

Thanks

comment:16 by beli, 16 years ago

Same problem remains for version 1.6.4

Running on Dell xps 1330 , ubuntu 8.04 host and windows xp guest

Webcam runs fine in ubuntu. Gets detected and installed in virtual win xp with usb2.0 support, but blank screen. Without usb2.0 support webcam doesn't get installed.

comment:17 by venky, 16 years ago

DELL XPS m1530 on Arch Linux Host and Windows XP guest OS USB2.o enabled on virtualbox 2.0.2 webcam not detected properly. Works great in arch linux with uvc dtivers

comment:18 by thuper29, 15 years ago

same problem here on virtualbox 2.0.4 on ubuntu 8.04 host running windows xp sp3 guest and also windows 2000 pro guest with a logitech quickcam fusion

comment:19 by Balaji, 15 years ago

I confirm this problem on VirtualBox 2.0.6 also on Ubuntu 8.10. This is an increasingly irritating bug. Please help fix this issue. What debug information do you need from us.

Mine is a Chicony Webcam and works perfectly on Linux. It is also detected as a USB Video device on Windows XP. However when I open it, the device simply shows a blank window with nothing on it. I cannot take pictures also with it. But the Webcam LED glows once the device is opened from "My computer".

by Balaji, 15 years ago

Attachment: lsusb.out added

lsusb for Chicony webcam

comment:20 by Sander van Leeuwen, 15 years ago

Version: VirtualBox 1.6.0VirtualBox 2.0.6

comment:21 by Shawn Starr, 15 years ago

I can confirm this also fails for me on a QuickCam Pro 4000 HOWEVER, Using QuickCam 8.x software I do get video and audio working...

The new 10.x software does not work for me and has never worked.

comment:22 by teixeiras, 15 years ago

Black screen when i try to access my webcam, it detect and skype even get true name of it and canera lights go on when i try to acess and of when i stop reproduction

Host: windows vista Client: debian

Driver on client: uvcvideo

Camera: Acer Crystal eye camera

comment:23 by felixcorrales, 15 years ago

I have an Asus 1000H, 2GB RAM, it has a built-in webcam Chicony CNF7129.

Virtualization Software: Virtualbox 2.0.6 Host OS: Ubuntu 8.10 Guest OS: Windows XP SP2 Result: The webcam device simply shows a blank window with nothing on it.

Virtualization Software: Virtualbox 2.0.6 Host OS: Windows XP SP3 Guest OS: Windows XP SP2 Result: The webcam device doesn't work.

Virtualization Software: VMware Server 2.0.0, build 116503 Host OS: Ubuntu 8.10 Guest OS: Windows XP SP2 Result: The webcam device doesn't work.

Note: VMware and Virtualbox seem to have the same bug.

comment:24 by felixcorrales, 15 years ago

I have an Asus 1000H, 2GB RAM, it has a built-in webcam Chicony CNF7129.

Virtualization Software: Virtualbox 2.0.6. Host OS: Ubuntu 8.10. Guest OS: Windows XP SP2. Result: The webcam device simply shows a blank window with nothing on it.

Virtualization Software: Virtualbox 2.0.6. Host OS: Windows XP SP3. Guest OS: Windows XP SP2. Result: The webcam device doesn't work.

Virtualization Software: VMware Server 2.0.0, build 116503. Host OS: Ubuntu 8.10. Guest OS: Windows XP SP2. Result: The webcam device doesn't work.

I have to mention that the problem is present only with my buit-in webcam Chicony CNF7129.

I tried with other external USB webcams and all of them work without any problem.

Virtualization Software: Virtualbox 2.0.6, Host OS: Ubuntu 8.10, Guest OS: Windows XP SP2.

Note: VMware and Virtualbox seem to have the same bug.

in reply to:  22 comment:26 by Valerio Pilo, 15 years ago

Replying to teixeiras:

Black screen when i try to access my webcam, it detect and skype even get true name of it and canera lights go on when i try to acess and of when i stop reproduction

Host: windows vista Client: debian

Driver on client: uvcvideo Camera: Acer Crystal eye camera

Same camera (SuYin integrated webcam) on Windows XP; on an OpenSUSE 11.0 host.

This post on the board seems to give evidence of an handling issue in VBox..

comment:27 by Martin Lindhe, 15 years ago

Same issue here. Host Ubuntu 8.10, Guest Windows XP SP 3. Webcam is working in Ubuntu but black screen in Windows Guest. Light goes on / off on the webcam, and it "appears" to work except no video is displayed from it.

Webcam is a 041e:4063 "Creative VF0410 Live! Cam Video IM Pro"

comment:28 by 3vi1, 15 years ago

I, too, see this bug using a Logitech Quickcam Pro 9000 in a WinXP guest. The host is running Kubuntu 9.04 (Jaunty) alpha-2 (2.6.28-3-generic kernel).

in reply to:  description comment:29 by Justin Pugh, 15 years ago

I'm having the same issue using a driver-less webcam (which doesn't work so great in Linux) which can be found here: http://www.dealextreme.com/details.dx/sku.2887 VirtualBox identifies this as Sonix Technology Co., Ltd. USB 2.0 Camera [0100] This webcam is.. 0c45:62c0 Sonix USB 2.0 Camera (Acer Aspire 5050 and HP Pavilion DV6000 notebooks) (According to the Linux UVC driver)

Using Ubuntu Intrepid Ibex, Sun xVM VirtualBox (v 2.1.0) I have found that accessing the camera through "My Computer" shows a completely black view, while accessing it through an open source webcam application Dorgem yields a complete green view.

comment:30 by vondanix, 15 years ago

same problem, weird solution. I turned ON the camera and turned OFF the monitor. opened it after a few seconds and it works again. :O

xp sp3 a4tech pk-635 vm303

comment:31 by 3vi1, 15 years ago

What do you mean, vondanix? "OFF the monitor"? Are you using a monitor that has the webcam built-in or something? They're two different devices entirely, here.

comment:32 by 3vi1, 15 years ago

BTW - still having this bug with 2.1.2

comment:33 by Sander van Leeuwen, 15 years ago

Version: VirtualBox 2.0.6VirtualBox 2.1.2

comment:34 by diegofd, 15 years ago

Same problem here:

  • Host: Debian unstable.
  • Guests: Windows XP Professional SP3 & Windows Vista Home
  • VirtualBox 2.1.2
  • VirtualBox Guest Additions 2.1.2r41885
  • Camera: Logitech QuickCam Pro 9000

The camera works in the host and is detected in both guests, the drivers are correctly installed and updated to the lastest version. Camera's LED is turned on when activated inside the guest and turned off when deactivated, but there isn't image.

I get the same result with or without 3D acceleration enabled in the VM.

by Markus Mayer, 15 years ago

lsusb output, Ubuntu 8.10 @ 2.6.24-23-generic guest, Windows Vista 32bit host, Logitech QuickCam Pro 9000

comment:35 by Markus Mayer, 15 years ago

Added lsusb output (see above). Same problem here with 2.1.2; Camera is detected and LED turns on, but the image is black.

by Markus Mayer, 15 years ago

verbose output of guvcview with a QuickCam Pro 9000 on Ubuntu 8.10 guest

comment:36 by Markus Mayer, 15 years ago

Tried starting VirtualBox as administrator and ... that didn't change anything. I've noticed some "uvcvideo: Failed to resubmit video URB (-45)" entries in the syslog as soon as I tried to access the camera (guvcview, etc.); There is no hint of anything going wrong in VirtualBox' logs itself though.

by ytreza, 15 years ago

Attachment: lsusb_quickcampro8500.odt added

lsusb -v for quickcam pro 8500 on host Linux Mint Elyssa (2.6.24-22-generic )

comment:37 by ytreza, 15 years ago

Hi ,

useless to say same problem for me except that the display screen is grey...

configuration :
-host : Linux Mint Elyssa kernel 2.6.24-22-generic

-guest : Windows 2000

-virtualbox 2.1.2

-webcam : Logitech Quickcam pro 8500 (see lsusb_quickcampro8500.odt that I attached for the lsusb -v )

I made some test with the console log of virtualbox active at the same time

so here there are some results and the steps to reproduce it :

when windows is started go in virtualbox interfaces Peripheriques > USB device > unselect the webcam (strange already it is named Unknown Peripherique...) in the console log I have :

 00:21:12.781 USB: Successfully reset device '08e1ab38[proxy 046d:08c5]'
00:21:12.916 Audio: set_record_source ars=0 als=0 (not implemented)
00:21:12.976 Audio: set_record_source ars=0 als=0 (not implemented)
00:21:13.028 Audio: set_record_source ars=0 als=0 (not implemented)
00:21:13.075 Audio: set_record_source ars=0 als=0 (not implemented)

then reselect the webcam device :

00:21:34.554 VUSB: attached '08f03bc0[proxy 046d:08c5]' to port 2
00:21:35.468 Audio: set_record_source ars=0 als=0 (not implemented)
00:21:35.544 Audio: set_record_source ars=0 als=0 (not implemented)
00:21:35.610 Audio: set_record_source ars=0 als=0 (not implemented)
00:21:35.700 Audio: set_record_source ars=0 als=0 (not implemented)

launching msn 7.5 going in Tools > configure webcam

it seens that is a Logitech Quickcam pro 8500 but the display still is grey

and in the console log only one line is added :

00:43:19.115 PIT: mode=2 count=0x4ad (1197) - 996.81 Hz (ch=0)

I hope that this details will be helpfull for all of us.

Best Regards and

Good luck to all the team that is working on this issue.

comment:38 by 3vi1, 15 years ago

I've seen that, with the latest version of Yahoo Messenger, the video *does* eventually change from a black box to a (somewhat) working cam image. It only seems to start working if I bring up the preferences menus and click around a bit.

Unfortunately, it's very erratic;h the image often freezes and appears to not be refreshed at regular intervals.

comment:39 by rvbox, 15 years ago

The following workaround works for me: disable USB2.0 support for the host: rmmod ehci-hcd

You will be able to use only USB1 devices on the host ... You can "re-enable" USB2.0 by modprobe ehci-hcd ( the camera will not work anymore )

Host: Ubuntu 8.04.2 ( kernel compiled from the source ) Guest: Windows XP

Virtual Box 2.1.2 Guest Additions installed

Logitech QuickCam Pro

N.B.: You need root/sudo permissions for modprobe/rmmod commands

comment:40 by ytreza, 15 years ago

You will be able to use only USB1 devices on the host ... You can "re-enable" USB2.0 by modprobe ehci-hcd ( the camera will not work anymore ) 

maybe I understand it bad but I would like that my camera still work :-p

comment:41 by Charles Jones, 15 years ago

Same problem confirmed here. VB - 2.1.2 Host OS - Debian Lenny Hardware - Cisco/Logitech VTC cam Guest OS - XP SP3 with Guest Additions installed

Removing USB 2.0 support isn't an option for me here. I use entirely too many high-speed devices on the host (drives/network adapters, etc) to consider slowing them all down just for this.

A fix would be wonderful as I am trying to get Cisco Unified Video Advantage to work in the guest.

comment:42 by Shawn Starr, 15 years ago

This does not work with VB 2.2.0 beta 2, Any update on the status of this? Alot of us webcam users cannot use it in VirtualBox at all, I have a QuickCam pro 9000 and the red LED turns on but no USB communication occurs after.

comment:43 by M, 15 years ago

Same problem with Toshiba L350-038 running Ubuntu 8.10 (host), Virtualbox 2.1.4, XP (guest), and a built-in Chicony webcam.

I could not even get the driver to be recognized in XP (guest) until I entered

none /proc/bus/usb usbfs devgid=1000,devmode=664 0 0

into /etc/fstab, and now the camera driver loads (in XP) but no image. After about 20 seconds the driver software crashes. Skype also crashes when a call is attempted - I am not sure if it is related.

It appears to be a problem across the board as far as model, flavour, etc. Does anyone actually have a webcam working with Linux as a host and XP as a guest?

in reply to:  description ; comment:44 by buddycat, 15 years ago

i can also confirm no webcam image on both internal webcam and logitech 9000 pro (new):

lenovo r61 ubuntu ibex fresh xp build on virtualbox 2.1.4

my logietch webcam works ok on ubuntu.

in reply to:  44 comment:45 by buddycat1, 15 years ago

can confirm that webcam has no video or sound on ubuntu ibex on most recent 2.2 release via ubuntu vbox package. is there any estimate as to when this will be fixed. really, this is the last thing i need to turn off my windows xp native box for good. please...

comment:46 by Chaiwat Suttipongsakul, 15 years ago

I'm using VirtualBox 2.2.2 on OSX host, and also can't use Webcam.

The guest OS is Windows XP. It can detect webcam and install driver perfectly. But there is no video output from webcam. Please fix, or at least tell us the root cause of the problem.

comment:47 by Mark, 15 years ago

I can confirm that this bug exists with all the following configurations:

  • Webcam Microsoft Livecam Show, driver 2.04
  • Virtualbox 2.2 and 2.2.2
  • Hosts Ubuntu 8.1, 9.04 and Windows XP SP3
  • Guest Windows XP SP3

Driver is recognised in guest in all cases but image is just black.

Please let us know if you plan to do anything about this bug or whether we should be using an alternative virtualisation product?

comment:48 by diegofd, 15 years ago

I think that there are enough confirmations of this bug. I have a question: Is there any webcam that works (show image) inside VirtualBox?

comment:49 by Chaiwat Suttipongsakul, 15 years ago

It's really annoyed me that the ticket opened 2 years ago, but still didn't assign to anyone.

comment:50 by Frank Mehnert, 15 years ago

Tickets are normally assigned not assigned to anyone. The primary USB devices we tested were memory sticks and USB tokens and such stuff.

comment:51 by Chaiwat Suttipongsakul, 15 years ago

So, may I assume that VirtualBox does not currently support USB streaming device? With this assumption, users who really want to use USB streaming device will know that they have to use another virtualization software.

comment:52 by Frank Mehnert, 15 years ago

Summary: No image with USB webcamNo image with USB 2.0 webcams
Version: VirtualBox 2.1.2VirtualBox 2.2.2

Actually the VBox EHCI controller (used for the USB 2.0 emulation) currently does not support isochronous transfers. Older webcams for USB 1.1 should work (we tested some in the past) but I admit that missing EHCI support will make many USB webcams currently unusable with VirtualBox. We are working on adding support for isochronous transfers into one of the next releases.

comment:53 by cookiecaper, 15 years ago

I get the same thing with an Arch Linux 2.6.29.4 host, XP SP3 guest, and Logitech QuickCam Pro 9000. Please fix. :)

in reply to:  52 comment:54 by steve, 15 years ago

Replying to frank:

Actually the VBox EHCI controller (used for the USB 2.0 emulation) currently does not support isochronous transfers. Older webcams for USB 1.1 should work (we tested some in the past) but I admit that missing EHCI support will make many USB webcams currently unusable with VirtualBox. We are working on adding support for isochronous transfers into one of the next releases.

Thank you for finally declaring this to be a Bug or a missing capability. I will stop trying to install the driver. Can you give any idea when EHCI support will be available. I have just upgraded to ver 2.2.4 r 47978 and the problems with iSight are not changed. thank you steve

comment:55 by Frank Mehnert, 15 years ago

No ETA for having the missing isochronous support for EHCI known but work is in progress.

comment:56 by Frank Mehnert, 15 years ago

Actually 3.0.0 (released two days ago) has some improvement for isochronous USB transfer but we expect still problems. Feedback is welcome.

in reply to:  56 comment:57 by Steve Maring, 15 years ago

Replying to frank:

Actually 3.0.0 (released two days ago) has some improvement for isochronous USB transfer but we expect still problems. Feedback is welcome.

still seeing no video with 3.0.0 (ubuntu host; winxp vm) with two different webcams

comment:58 by Mark, 15 years ago

(See my previous post for my config.) Same here - version 3.0.0 making no difference: still getting a blank screen.

comment:59 by Charles Jones, 15 years ago

XP Guest on Debian Lenny Host: See previous posts for further details.

I have had success with my webcam since upgrading to VB 3.0.0. I am using Cisco Unified Video Advantage and Unified Personal Communicator with a Cisco-branded Logitech USB webcam, and have had no problems getting it to work since the upgrade. No modifications were needed, the camera just started working on the Guest after booting it up under VB 3.0.0.

comment:60 by ktuomain, 15 years ago

XP Guest on Ubuntu 9.04 Host & VirtualBox 3.0.0: When I try access webcam from XP guest, the whole XP virtual machine process crashes immediately. On previous versions of VirtualBox there was blank video stream, but the guest didn't crash.

comment:61 by ktuomain, 15 years ago

This is listing from dmesg when the crashing of the virtual machine process happens:

... [34335.812237] usb 2-5: usbfs: usb_submit_urb returned -90 [34335.813308] usb 2-5: usbfs: usb_submit_urb returned -90 [34335.813311] usb 2-5: usbfs: usb_submit_urb returned -90 [34335.813314] usb 2-5: usbfs: usb_submit_urb returned -90 [34335.847974] VirtualBox[12850]: segfault at 71f0 ip 00007f74460ac3c4 sp 00007f744da19e50 error 4 in VBoxDD.so[7f7446016000+1bf000]

comment:62 by Frank Mehnert, 15 years ago

ktuomain, any chance to provide a core dump? If so, please contact me at frank _dot_ mehnert _at_ sun _dot_ com.

comment:63 by steve, 15 years ago

I wonder if the problem now is that the Apple supplied iSight Driver is not working correctly with the VirtualBox video driver ?

Fact the iSight driver in Settings>>System>>Hardeware>>devices shows Yellow Question mark alert

Fact: another person on this thread has his standalone USB camera working Logitech etc.

Fact: The current driver "sort of " works as the camera is recognized, Green Light comes on but no Image

If I understand correctly we need to have these two drivers working together the cm\amera specific iSight and the VBox video driver. To my best knowledge there is only one driver for the Apple built-in iSight supplied by Apple. I am hoping that VBox folks can hav a look and see if there is some sort of conflict or issue with these two pieces playing nice together

steve

comment:64 by mike, 15 years ago

I have had this bug for a while now; I recently updated to virtualbox 3.0, I was very happy to see my web cam working(almost). The problem I am having is that although the cam is showing video, it is also having a _lot_ of corruption of the video frames. The video looks choppy and _many_ frames have junk coving part of the picture. before 3.0 I could only get just a black video feed(so this is an improvement :) ). My system is Ubuntu linux host, with Windows XP guest; I have a dell m1330 with "Bus 002 Device 003: ID 05a9:2640 OmniVision Technologies, Inc." built in usb web cam.

comment:65 by John, 15 years ago

I can confirm that this appears mostly resolved with 3.0 as well, with a "OmniVision Technologies, Inc USB webcam built into my Dell monitor. The very first time I tried it, I had the same experience as javaiscoolmike described above, choppy with frames of junk and black bouncing all over the place, where you can occasionally see pieces of the image mixed into them.

However, when I described this to a coworker and he asked to see, and I loaded up the Scanners and Cameras control panel in windows for another look, it worked just fine. It has not gone back to the choppy mangled bouncy image which showed up on the very first attempt. Since then, the camera has been functioning properly in the windows guest.

Using Ubuntu Jaunty 64-bit host with a Windows XP Pro 32-bit guest.

comment:66 by Wikimig, 15 years ago

Hi Frank, I have pretty much the same crash when using my USB2.0 webcam (Host = Linux 64 ; guest = Win XP SP2). I did a dump (170Mo tar.gz) so send a mail if you would like to get it. vbox _at_ alaux _ dot _net

comment:67 by nxmehta, 15 years ago

Running Ubuntu 9.04 x86 host, Windows XP SP3 guest, Logitech Quickcam Deluxe for Notebooks. I got USB devices working by adding the following line to my /etc/fstab:

none /proc/bus/usb usbfs devgid=129,devmode=664 0 0

Where 129 is the gid of my vboxusers group.

I was able to install Logitech's webcam software fine. First use of logitech's software to test the webcam worked perfectly (very exciting). However, I now get seemingly random virtualbox crashes whenever I try to use the webcam. My kern.log is littered with these messages (like, hundreds of them):

Jul 21 09:15:16 lanfear kernel: [65011.578068] usb 2-3: usbfs: usb_submit_urb returned -27
Jul 21 09:15:16 lanfear kernel: [65011.579145] usb 2-3: usbfs: usb_submit_urb returned -27
Jul 21 09:15:16 lanfear kernel: [65011.579150] usb 2-3: usbfs: usb_submit_urb returned -27
Jul 21 09:15:16 lanfear kernel: [65011.579154] usb 2-3: usbfs: usb_submit_urb returned -27
Jul 21 09:15:16 lanfear kernel: [65011.580222] usb 2-3: usbfs: usb_submit_urb returned -27
Jul 21 09:15:16 lanfear kernel: [65011.580226] usb 2-3: usbfs: usb_submit_urb returned -27

Looks like we're almost there with webcam support but not quite...

Let me know if there's anything else I can do to help debug (coredump, etc).

comment:68 by Jonathan McCloud, 15 years ago

Logitech QuickCam Pro 9000 video capture works, integrated mic/audio capture does not. video capture definitely lags. Logitech webcam software starts recording vid, quickly prompts that audio isn't recognized, then locks up. have to press control alt delete to kill the webcam software manually. windows sound recorder (set to use the Logitech webcam integrated mic) completely locks the guest and a lot of times the ENTIRE host (have to reboot). rosetta stone doesn't recognize audio input from the webcam's integrated mic. webcam video capture and integrated audio/mic work great in ubuntu jaunty without anything needing to be done....used medibuntu's version of skype 2 and gnome sound recorder to test.

Virtualbox 3.0.2 Jaunty 64-bit host Windows XP Pro SP3 x86 tried PulseAudio & Alsa guest additions installed, latest addition already added to vboxusers group AND tried adding the "none /proc/bus/usb usbfs devgid=129,devmode=664 0 0" line to the /etc/fstab (I didn't use 129, but the right ID on my system)

haven't seen anything in the VBox logs that seems to indicate the problem, but if you need them to be submitted I will. let me know what else would be helpful to attach/send.

comment:69 by samtheeagle, 15 years ago

Attempting to use a Philips Toucam 840K within a WinXp guest leads to the device taking a very long time to initialize the guest CPU to become maxed out causing the rest of the guest system lock up. No video stream is ever seen. The only way I can recover from this situation is to disconnect the webcam from the guest, at which point it begins to respond again.

I have set the vboxusers group to have access to the usbfs via the fstab.

I'm running VirtualBox 3.02 on Crunchbang 9.04 with a Windows XP Home guest. Happy to supply any other information that might help to get this fixed!

comment:70 by fsa, 15 years ago

I've just updated from VirtualBox 3.0.2 to 3.0.4 and my Pavilion's internal webcam works now. I used to get a blank picture.

Host is Linux x86_64, guest is WinXP.

lsusb info:

Bus 001 Device 002: ID 0c45:62c0 Microdia Sonix USB 2.0 Camera

comment:71 by nxmehta, 15 years ago

I upgraded from 3.0.2 to 3.0.4 as well, and although I'm still seeing lots of "usb 2-3: usbfs: usb_submit_urb returned -27" messages, VirtualBox hasn't crashed yet, so that's good.

comment:72 by steve, 15 years ago

MAC Book as the Host running 10.5.7 OSX Win XP Pro as the guest

Just updated to VBox 3.0.4 and still no image on the iSight camera in the Guest O/S The camera is recognized, the little GREEN light goes on but the picture is all Black

Now I am using the Apple iSight drivers from Boot Camp is there a better choice for the driver

OR should the VBox driver take care of everything ?

I have a second MBP and running Fusion and the camera works perfectly no extra driver needed so is Fusion doing something radically different or do I have a silly error in my VBOx config ?

I note on this thread that some folks have some cameras working but I do not

believe that anyone has the built in iSight camera working correct ?

comment:73 by Chaiwat Suttipongsakul, 15 years ago

Test virtualbox 3.0.4, still don't see any image.

Host: iMac with OSX 10.5.8 Guest: Windows 7 32bit WebCam: SN9C201

comment:74 by samtheeagle, 15 years ago

Did a quick test on a 3.0.4 Windows Xp host, running the same guest image as before... I get a video stream from the webcam now, but it seems to be VERY cpu intensive. It pretty much consumed all of the cycles. Progress, but I'm not sure it's quite to the point of being usable yet. Will attempt to test on the original crunchbang linux host too and feedback the results.

comment:75 by samtheeagle, 15 years ago

Same result on my linux host running the xp guest :( Like I said, progress, but still not usable.

comment:76 by James, 15 years ago

Fedora 11 (host), VirtualBox 3.0.4, Windows 7 RC (guest), QuickCam E3500

Fedora 11 recognises the webcam and it works perfectly in Cheese. Windows 7 recognises the device without any problems, and installs the drivers fine, but when I get to using it in MSN Messenger, I just get loads of interference on the video picture.

Any idea when this issue will be fixed? My old webcam worked fine in VirtualBox (albeit being USB 1.1 I think).

comment:77 by Mark, 15 years ago

Just installed 3.0.8, updated all host and guest drivers - the kitchen sink. Still not working - still get a blank screen in guest. Will this ever be fixed? (XP SP3 guest, Windows 7 host, MS Lifecam Show with 3.0 drivers, Virtualbox 3.0.8.)

comment:78 by scatha, 14 years ago

Trying to get an IDS uEye USB 2.0 Camera in XP/2000 guest and on SuSE linux host, i'm trying since VBox 1.6 now using 3.0.8 - the driver can be installed, and when using the demo program, the camera is recognized, however the image grabbing never works. I hear there's still a missing DMA feature ?

comment:79 by Mark, 14 years ago

Just updated to 3.0.10. No change - still not working. Looking at the fact that frequency of comments to this bug have gone down reecently, is it safe to assume that others (or indeed the virtualbox developers) have given up on usb 2 webcams and virtualbox ever working together?

comment:80 by diegofd, 14 years ago

As I commented before: I have a Logitech QuickCam Pro 9000, and since VirtualBox 3.0 it works. Sometimes it does weird things (like no image or really dark image), but deattaching and reattaching the camera solves everything.

comment:81 by cookiecaper, 14 years ago

My QuickCam Pro 9000 seems to work now too, though it seems a little slow. Arch Linux host, WinXP guest, VB 3.0.10.

It seems, however, that sharpness settings and so on are altered in Windows and not corrected in Linux, though this is a uvcvideo problem and not a VirtualBox problem.

comment:82 by Shawn Starr, 14 years ago

my QuickCam Pro 9000 works, however the microphone does not work right. The sound is completely garbled and the sample rate seems sped up too much.

comment:83 by Benjamín Valero Espinosa, 14 years ago

I have just updated to 3.0.10 and on running VirtualBox I get a message telling me not to have /sys/bus/usb/drivers in /etc/fstab. I don't remember why I have that line there, but I think it is because it was recommended at VirtualBox FAQ. I have commented it and restarted and now my webcam works perfectly. Well, a little slow, but I suppose that's because my laptop is relatively old.

comment:84 by tipo, 14 years ago

Host Ubuntu 9.10 Karmic Koala, Guest WXP sp3 Logitech Pro 4000, Virtualbox PUEL 3.010 r54097 with guest additions As earlier noted working with Quickcam (windows) 8.4.1 not with 10.x For MSN i had to increase video memory to the maximum 128Mb to succesfully receive and send both sides video captures. Sound is ok if i use the Camera microphone. Video and sound are much more delayed in virtual XP. Video also loses frames and is of less quality, but it works!

comment:85 by Markus Mayer, 14 years ago

No video here. Quickcam 9000, Linux guest (Ubuntu 9.10), Windows 7 host. uvccapture actually grabs a frame, but it consists only of a few lines, maybe 30 pixels, followed by garbage. Cheese recognizes the cam but only shows the test picture.

comment:86 by Markus Mayer, 14 years ago

Forgot that: It's VirtualBox 3.1.2 r56123 on Windows 7 x64.

comment:87 by Shawn Starr, 14 years ago

QuickCam Pro 9000 no longer works with latest VirtualBox 3.1.4 r57640 in Windows XP 32bit guest on a 64bit host, just see white, trying to turn it on/off causes VirtualBox to crash completely.

comment:88 by Shawn Starr, 14 years ago

I should mention I get a bad error from 2.6.33 kernel:

1347.690429] WARNING: at drivers/usb/host/ehci-hcd.c:1071 ehci_endpoint_reset+0x9f/0xf3()

[ 1347.690435] Hardware name: 4058CTO [ 1347.690438] clear_halt for a busy endpoint [ 1347.690442] Modules linked in: tcp_lp aes_x86_64 aes_generic netconsole configfs ipv6 vboxnetadp vboxnetflt vboxdrv cpufreq_ondemand acpi_cpufreq freq_table uinput snd_hda_codec_conexant snd_hda_intel snd_hda_codec arc4 snd_usb_audio snd_seq iTCO_wdt snd_pcm e1000e ecb iwlagn sdhci_pci sdhci mmc_core snd_hwdep i2c_i801 iTCO_vendor_support iwlcore ricoh_mmc snd_usb_lib thinkpad_acpi uvcvideo mac80211 cfg80211 snd_rawmidi snd_timer videodev v4l1_compat v4l2_compat_ioctl32 video hwmon snd_page_alloc output rfkill joydev snd_seq_device snd soundcore wmi firewire_ohci firewire_core crc_itu_t yenta_socket rsrc_nonstatic ata_generic pata_acpi radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last unloaded: microcode] [ 1347.690560] Pid: 2220, comm: VirtualBox Not tainted 2.6.33 #1 [ 1347.690565] Call Trace: [ 1347.690579] [<ffffffff8103df1e>] ? warn_slowpath_common+0x76/0x8f [ 1347.690587] [<ffffffff8103df8b>] ? warn_slowpath_fmt+0x40/0x45 [ 1347.690596] [<ffffffff812af8fb>] ? usb_control_msg+0xe6/0xf9 [ 1347.690605] [<ffffffff812c1c48>] ? ehci_endpoint_reset+0x9f/0xf3 [ 1347.690612] [<ffffffff812afb64>] ? usb_clear_halt+0x61/0x6a [ 1347.690620] [<ffffffff812b7c51>] ? usbdev_do_ioctl+0x3d1/0xffe [ 1347.690637] [<ffffffffa031a674>] ? supdrvIOCtlFast+0x3f/0x54 [vboxdrv] [ 1347.690651] [<ffffffffa031a130>] ? VBoxDrvLinuxIOCtl+0x3b/0x193 [vboxdrv] [ 1347.690658] [<ffffffff812b8899>] ? usbdev_ioctl+0x9/0x10 [ 1347.690667] [<ffffffff810d294a>] ? vfs_ioctl+0x23/0x93 [ 1347.690674] [<ffffffff810d3191>] ? do_vfs_ioctl+0x475/0x4b9 [ 1347.690682] [<ffffffff810d3220>] ? sys_ioctl+0x4b/0x6f [ 1347.690690] [<ffffffff81008982>] ? system_call_fastpath+0x16/0x1b [ 1347.690696] ---[ end trace 74269145810c113e ]--- [ 1386.713139] VirtualBox[2220] general protection ip:7ff2e9d2bf1d sp:7ff2eb6d0b60 error:0 in VBoxDD.so[7ff2e9c8b000+1d6000]

comment:89 by icedecker, 14 years ago

Any news on this bug? Because I confirm that it happens on a Win7 host and Ubuntu 10.04 guest. The webcam is detected by Ubuntu, but the image appears black on Cheese, guvcview and xwtv.

comment:90 by fourchette, 14 years ago

reproduced on 3.2.0 (open source version, freshly installed yesterday) all VirtualBox additionnals stuff installed too.

OS host => Windows XP 64bits OS virtual => Windows XP 32bits

webcam used is Logitech quickcam E3500

The webcam gets installed and all. The webcam complains it's connected to a USB 1.1 port instead of a USB 2.0 port though, don't know if it should be mentioned here or not.

the funny thing is that this model seems to have an embedded microphone because it seems to detects some noise when i speak to the webcam however the video output remains completely white (where the webcam video is supposed to the displayed)

comment:91 by Drew Honnoll, 14 years ago

Where do I get the logs from. I have to have this working VERY soon. I need my webcam the only reason my significant other even uses Winblows is to have Yahoo Messanger with voice. Thats just it the with voice part. I can´t justify putting a 32 bit pice of garbage made by microsux on a brand new 64 bit computer. I´ll virtualize and even share 1.5GB of the 4 GB of available memory but that is as far as I will take it.

by Drew Honnoll, 14 years ago

log file from Virtualbox its self

by didierg, 14 years ago

Attachment: usb_webcam added

Fedora kernel oops using Logitech webcam from XP SP3 virtual machine

comment:92 by didierg, 14 years ago

Linux kernel ooops when trying to use Logitech webcam from VirtualBox

Configuration:

Linux azerty 2.6.34-43.fc14.x86_64 #1 SMP Thu Jun 17 10:32:12 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux as host VirtualBox-3.2-3.2.4_62467_fedora13-1.x86_64 Bus 002 Device 005: ID 046d:09a1 Logitech, Inc. QuickCam Communicate MP/S5500 Microsoft Windows XP SP3 as guest

And from ~/.VirtualBox/Machines/Windows XP/Windows XP.xml

<USBController enabled="true" enabledEhci="true"/>

in reply to:  description comment:93 by rodes, 13 years ago

The same problem persists... I'm running WinXP SP3 on the VM. The installation of the webcam works fine (using the proper manufacturer's drivers). But when I start skype, msn, and even the manufacturer's webcam program, they show me a black screen and no sound on the mic... My webcam is the Microsoft Lifecam Cinema. There is any hope to solve this bug? Thanks in advance.

comment:94 by Jonadab Torres, 13 years ago

I was wondering if anyone has made any progress on getting an iSight camera to work with VirtualBox running WinXP or Win7. I am trying to do remote desktop support for Windows users, on a MacBook Pro using VirtualBox running WinXP or Win7, and a camera would be very useful being that the support is being done remotely. Especially for meeting with the clients and such.

comment:95 by FreakRob, 12 years ago

So this is a _known issue_ for five years and has not "yet" been taken care of? What is going on here?

comment:96 by lsmithso, 12 years ago

Issue for me too. I'm running VirtualBox 4.1.8 r75467 on an OS X host with an Ubuntu 11.10 guest. EHCI is enabled and /dev/video0 exists on the guest, but nothing can read the device. syslog says:

uvcvideo: Failed to resubmit video URB (-27).

Each time I try to capture a video.

Any ideas?

comment:97 by matteo sisti sette, 12 years ago

The issue is still present in 4.1.16

Five years, unbelievable.

comment:98 by krakadil_gena, 12 years ago

Well, I spent like two days trying to fix the drivers, and whatever, and then found this ticket ... five years ?! seriously ?! Ok, how long will it take to fix it after I say this:

Guys, just install the VMware Player !! The camera worked from first trial, and the soft is very cool. (Using Ubuntu 11.04 as main, and Windows XP as virtual machine)

comment:99 by Doener87, 11 years ago

Please do something here. 7 Months later there is still this issue is present. Proppably toggether with the Multicore -> USB 2.0 not working bug!

comment:100 by b17jps, 11 years ago

Logitech USB C920 Web Camera fails with black screen in VirtualBox 4.2.12 r84940 running Guest Windows XP-SP3 with Primary host MAC OS X 10.7.5. Logitech drivers install correctly, USB 2.0 working, and Web Camera is visible, Extensions applied as Administrator. Image capture just displays black image, usb communication in effect (red indicator shows traffic flow working). Capturing photo image counts down 3-2-1 (with Logitech Webcam Software), Webcam led lights, usb traffic flows in both directions, no display, just black. Tried uninstalling and reinstalling, to no effect. Webcam functions correctly as does usb.

comment:101 by VboxLubuntu, 10 years ago

I too have this Issue. Black webcam feed, no picture. Win 7 Host, Lubuntu 12.04 Guest. Guest additions installed. Webcam is Logitech c910

Please Oracle this is a long outstanding problem with many people interested in a fix. If you need any logs please request.

Last edited 10 years ago by VboxLubuntu (previous) (diff)

comment:102 by sunlover, 10 years ago

VirtualBox 4.3 includes an experimental webcam passthrough: https://www.virtualbox.org/manual/ch09.html#idp57489856

VboxLubuntu, please try it on your Win 7 Host. Thanks.

comment:103 by Szpak, 10 years ago

I have tried the new feature with VirtualBox 4.3.14 and Fedora 19 as both Host and Guest OS. I was able to capture camera output using Cheese running on guest Fedora (great!).

The only issue is that I have very visible delay (about 1,5-2 seconds). I was playing with various MaxFrame and MaxPayloadTransferSize values, but even for 5 frames per second the delay is the same. VirtualBox (on host) utilises CPU (one core) on ~60%, Cheese (on guest) ~20%.

Is there something to tweak to reduce that delay?

Marcin

comment:104 by H0wdy, 9 years ago

This issue is still happening with some other webcams, such as integrated ones:

Even with passthrough, it's not resolved.

https://www.virtualbox.org/ticket/13728

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use