Page 1 of 1

Webcam issue (Host:Windows7 Guest:Fedora 13)

Posted: 4. Apr 2011, 08:41
by slyth
Running VB 3.2.6 (lab's computer, not upgrading at the mean time) on Windows 7 as host and linux (Fedora 13) as guest.
Everything is running fine (shared folder ..etc) except for the webcam (Logicool USB Camera Orbit/Sphere AF).

When the webcam is plugged in, I get "Unknown device" on the small usb thing at the bottom right screen (with a checked mark on the left). lsusb on linux guest shows:
Bus 002 Device 002: ID 80ee:0021
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 046d:0994 Logitech, Inc. QuickCam Orbit/Sphere AF
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

video0 exists on /dev/ whenever the webcam is plugged in (means it is detected by the linux guest?)

When running one of my OpenCV program (which uses a webcam), the webcam's indicator lights up and dies, and gives me this:
select timeout
select timeout
OpenCV Error: Assertion failed (buf.data && buf.isContinuous()) in imdecode_, file highgui/loadsave.cpp, line 307
terminate called after throwing an instance of 'cv::Exception'
Aborted (core dumped)

So I tried running the webcam on other frame grabber program, but I get a black screen(no video capture), and the webcam's indicator lights up and dies whenever I close the program.

The webcam does work on Windows7 host.
Anyone knows what should I do so I can get my webcam to work?
Let me know if you need other information.