C Board  

Go Back   C Board > Community Boards > Tech Board

Reply
 
LinkBack Thread Tools Display Modes
Old 02-11-2009, 05:11 PM   #1
Protocol Test Engineer
 
ssharish2005's Avatar
 
Join Date: Sep 2005
Location: fseek(UK)
Posts: 1,324
Virtual Box

Hello all,

Right, I have a question for you all. I guess, people here might have heard about VirtualBox before. It’s something similar to what VMware does. It a Virtual machine, but this a freeware from Sun Microsystems. Anyway, I was running into problem with the virtual box, which I need a solution now. Thought of all different solution from my side but nothing works.

I have a Virtual box running on my Windows XP Professional OS. And a Windows XP Prof on my Virtual Box as well. My host machine contains like 8 USB ports. What I want is to make like 4 USB ports dedicated to Virtual box and keep rest for the local host. When I say dedicated to virtual box, it should totally be invisible to the host machine. This is my requirement.

But, as far as my knowledge about the Virtual box, to mount the USB ports is not possible (I might be wrong here). But what you could say is if this device gets connected to any USB in the host, that device will be mounted automatically to the virtual machine. That, is the target device like web cam or something get plugged into anyone of the USB port then probably we have an option of saying the virtual box if this target device with so and so serial no gets connected, then it gets mounted to Virtual box.

But my requirement is to mount a pool of usb port to the virtual machine regards if the usb is attached to any device or not. When the virtual box starts it should mount like 4 ports automatically. For this to happen, I need some low level information of usb ports it self. How will I get the serial no etc of all the usb ports on my machine?

Thanks a lot guys!

ssharish
__________________
Life is like riding a bicycle. To keep your balance you must keep moving - Einstein
ssharish2005 is offline   Reply With Quote
Old 02-11-2009, 07:40 PM   #2
Code Abuser
 
Join Date: Jan 2009
Posts: 16
What you want is a USB passthrough which dedicates certain USB ports to your virtual machine exclusively. I know VMWare has this ability, can't remember if VirtualBox is capable of it though. So if you can't get it working in VirtualBox, try a different emulator.
sorrofix is offline   Reply With Quote
Old 02-12-2009, 04:55 AM   #3
Protocol Test Engineer
 
ssharish2005's Avatar
 
Join Date: Sep 2005
Location: fseek(UK)
Posts: 1,324
Hi Sorrofix, I really appreciate your information on USB pass-through. But I lack the information on that concept. Could you please help in giving more information? May be some good source?

Thanks!

ssharish
__________________
Life is like riding a bicycle. To keep your balance you must keep moving - Einstein
ssharish2005 is offline   Reply With Quote
Old 02-12-2009, 05:08 AM   #4
Kernel hacker
 
Join Date: Jul 2007
Location: Farncombe, Surrey, England
Posts: 15,686
Basically, passthrough means that the device (e.g. USB) is given directly to the controlling virtual machine, rather than being part of the VMM (Virtual Machine Monitor, aka Hypervisor). This usually assumes that you give an entire device (e.g all USB ports of a particular USB host controller, as registers for each USB controller is usually shared).

--
Mats
__________________
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
matsp is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Abnormal Program Termination when executed from C:\Program Files\... m37h0d Windows Programming 48 09-26-2008 03:45 AM
How to program a "back" button with MFC 99atlantic Windows Programming 3 04-26-2005 08:34 PM
New Theme XSquared A Brief History of Cprogramming.com 160 04-01-2004 08:00 PM
Tab Controls - API -KEN- Windows Programming 7 06-02-2002 09:44 AM
C++ XML Class edwardtisdale C++ Programming 0 12-10-2001 11:14 PM


All times are GMT -6. The time now is 02:32 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22