Jump to content

HyperV Host with Ubuntu Guest with USB webcam passthrough

Hello everyone,

We have a 3D Printing server running on windows to manage and send files to said printers. We have used a second PC running Ubuntu running MJPEG streamer to use as a webcam server to monitor the prints. We no longer have access to the second PC and have tried to run ubuntu as a VM on HyperV. We got Ubuntu working, but we don't know how to get access to the webcam plugging into the host PC to work.

 

Thanks!

 

Link to comment
Share on other sites

Link to post
Share on other sites

well hyper-v doesn't support usb passthrough. Best option is to use something like virtual box or do it on the windows host, or run the windows system  in  a vm on linux.

Link to comment
Share on other sites

Link to post
Share on other sites

  • 4 weeks later...
On 4/5/2020 at 2:46 PM, Sahaj0321 said:

Hello everyone,

We have a 3D Printing server running on windows to manage and send files to said printers. We have used a second PC running Ubuntu running MJPEG streamer to use as a webcam server to monitor the prints. We no longer have access to the second PC and have tried to run ubuntu as a VM on HyperV. We got Ubuntu working, but we don't know how to get access to the webcam plugging into the host PC to work.

 

Thanks!

 

@Sahaj0321:  Check this resource: https://community.spiceworks.com/topic/2102507-passthrough-integrated-webcam-to-hyper-v-guest

If you edit the Windows Policy (gpedit.msc) in that article, it will allow you to pass a webcam as a resource via RDP.  The issue I'm running into is that the Hyper-V RDP mechanism is not allowing me to choose that as a resource to my Ubuntu guest OS.  If you find a solution for this final mile, let me know.

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 months later...
On 4/5/2020 at 10:46 PM, Sahaj0321 said:

Hello everyone,

We have a 3D Printing server running on windows to manage and send files to said printers. We have used a second PC running Ubuntu running MJPEG streamer to use as a webcam server to monitor the prints. We no longer have access to the second PC and have tried to run ubuntu as a VM on HyperV. We got Ubuntu working, but we don't know how to get access to the webcam plugging into the host PC to work.

 

Thanks!

 

Hi. Maybe you should try using UNG https://www.usb-over-ethernet.org/usb-in-virtual-machine/ for this situation. I used it for a VM when I was accessing a 3D mouse. Everything worked perfectly.

Setting in Ubuntu 20 - You need to add a repository from qt4.

sudo add-apt-repository ppa:rock-core/qt4; 
sudo apt-get update. and after sudo dpkg -i eveusb.deb; 
sudo apt-get install -f

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×