Unmout web cam without disconnecting
I have a Logitech web cam (usb) connected to my ubuntu 12.04 OS. I also use a virtualization program (VBox) to run another(guest) OS. Now, I want to use the web cam in my guest OS, and in order to do this, I need to "unmount"(without physically disconnecting) the camera from the host OS, so that the guest OS would be able to capture and mount. What are the commands to: (1) identify the camera in the hardware devices, and (2) unmount or unattach the camera from the host (Ubuntu) system?. Thanks for the help.
|
Quote:
Product ID numbers, and added the manufacturers name in that field. You can get the Vendor ID and Product ID from a lsusb command in a command prompt in ubuntu. The line will look something like this: Quote:
Once that is added, go to the Devices drop down and the top, click USB devieces, and make sure there is a check beside the web cam. My guest is Win XP. XP detected the new hardware, added the driver, and in the control panel, I clicked on Scanners and Cameras, ran the wizard and took a picture. I'm sure any other web cam app will work with it now. It should not matter what your guest is, you should only need to make a filter, so you can pass the device over to the guest. What you do in the guest will depend on what your guest system is. |
camorri:
Quote:
|
Did you install Guest Additions?
What version of v-box? Quote:
|
Quote:
|
Have you got gtk-lshw installed ? Its an application that shows hardware information, driver information, in a nice format.
You can run, in a konsole as root, the command 'gtk-lshw' to launch the application. If you get 'command not found' that means you do not have it installed. Go into your package manager, and see if its available. It is for most distros. Install it, run it, and post the information for the web cam. This is what it will look like, your device is probably different than mine. Quote:
|
camorri:
Finally, I was able to have the guest OS (Ubuntu) to recognize the camera, as you can see when I run lsusb on a terminal. Quote:
I couldn't get the command gtk-lshw, but I could run sudo lshw, but doesn't show the same info. Any suggestion will be welcomed. Thanks. wp |
Quote:
Open a konsole in the host system, where it works. As root run the command 'lsmod | grep stv*' and I think you will see some lines of output. On my web cam I see : Quote:
On the guest system, you can try 'modprobe gspca_stv0900' ; adjust the the name to match what you find with the lsmod command. You need a driver for the web cam to operate. This link shows a way to figure out the web cam, and driver. -->http://nixbits.net/wiki/Webcams_for_linux |
All times are GMT -5. The time now is 06:16 PM. |